blob: f1d855a3a83ed6ec9b7de8b00dd2464896a8e2e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
\vfil\break
\tocentry{Index of control sequences, parameters, and
special symbols}\tocidx{}
%\def\indexentry#1#2{#1\hfill #2}
%
\newbox\indexbox
\newbox\leftcol
\newbox\rightcol
\def\beginindexbox{%
\setbox\indexbox=\vbox\bgroup\parskip=0pt plus .4pt
\everypar={\hangindent=1em \hangafter=1}%
\linepenalty=200 \hsize=.45\hsize \rightskip=0pt plus 1em
\parindent=0pt
\obeylines}
\let\endindexbox\egroup
\beginindexbox%
\obeylines\input ./0-index.tex
\endindexbox
\splittopskip=0pt
\dimpubb=\dimexpr \vsize -55pt \relax
\dimpuba=\dimexpr \vsize -10pt \relax
\def\firstpage{\setbox\leftcol=\vsplit\indexbox to \dimpubb
\setbox\rightcol=\vsplit\indexbox to \dimpubb
\line{\vtop{\vskip\splittopskip\unvbox\leftcol}\hfil
\vtop{\unvbox\rightcol}}%
\vfil\break
}
\def\fullpage{\setbox\leftcol=\vsplit\indexbox to \dimpuba
\setbox\rightcol=\vsplit\indexbox to \dimpuba
\line{\vtop{\vskip\splittopskip\unvbox\leftcol}\hfil
\vtop{\unvbox\rightcol}}
\vfil\break
}
\def\lastpage{%
\setbox\leftcol=\vsplit\indexbox to .54\ht\indexbox
\setbox\rightcol=\vsplit\indexbox to \ht\indexbox
\line{\vtop{\vskip\splittopskip\unvbox\leftcol}\hfil
\vtop{\unvbox\rightcol}}%
}
\vfil\eject
\xdef\sectiontitle{Index}%
\leavevmode\vskip-1ex
\centerline{\sectiontitlefont Index of control sequences,
parameters, and special symbols\qquad}
\bigskip
\firstpage
\lastpage
\endinput
|