File: arabimac.tex

package info (click to toggle)
arabtex 3.09-3
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 2,376 kB
  • ctags: 42
  • sloc: makefile: 32; sh: 10
file content (34 lines) | stat: -rw-r--r-- 981 bytes parent folder | download | duplicates (2)
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
% arabimac.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Print the Index of Report 1993/11
% 19.03.1996
% Lagally
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\addcontentsline{toc}{chapter}{Index}

% the following is black magic!

{\catcode `\_=12 \catcode `\"=12 \catcode `\~=12 
\catcode `\|=12 \catcode `\<=12 \catcode `\>=12
\let \1 _ \let \2 " \let \3 ~ \let \4 | \let \5 < \let \6 >

\catcode `\_=13 \catcode `\"=13 \catcode `\~=13 
\catcode `\|=13 \catcode `\<=13 \catcode `\>=13

\def _{{\tt \1}} \def "{{\tt \2}} \def ~{{\tt \3}}
\def |{{\tt \4}} \def <{{\tt \5}} \def >{{\tt \6}}

{\catcode `\|=0 \catcode `\\=12 |gdef |B{\}}
\def \|{{\tt \B \4}}

\let \oldindex \theindex
\def \theindex {\oldindex \thispagestyle{headings}}

\makeatletter % fix quirk in LaTeX 2e
\def \@idxitem {\par\hangindent 40\p@}
\makeatother

\input arabdoc.ind % index
}
\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%