MAKEINDEX(1) TeX Live MAKEINDEX(1) (NAME) makeindex - TeX troff (SYNOPSIS) makeindex [-c] [-g] [-i] [-l] [-o ind] [-p num] [-q] [-r] [-s sfile] [-t log] [-L] [-T] [idx0 idx1 idx2...] (DESCRIPTION) makeindex ( TeX (tex(1L)) troff(1) ) . ( ) . makeindex . makeindex make.index(1L) awk(1) troff(1) . troff TeX (EXAMPLES) . .idx LaTeX . (idx0) . . .idx . makeindex . -s makeindex .mst ( ) . . Index Preparation and Processing . (OPTIONS) -c ( ). . -g DIN 5007. makeindex : . : . makeindex TeX {"a, "o, "u "s} {ae, oe, ue ss} . ( '+'). makeindex . -i stdin. -o stdout . -l ( (ORDERING) ). -o ind ind . .ind (idx0) . -p num num ( ). num : any . odd . even . ([...]) . . .log (idx0) . -q stderr . stderr (transcript) . -r (SPECIAL EFFECTS) . ( 1--5). -s sty sty ( ). INDEXSTYLE . -t log log (transcript). .ilg (idx0) . -L (locale). . -T . . (STYLE FILE) makeindex .idx . INDEXSTYLE . . : . . <<%>> () . ("...") ('...') . . ( ) . . (INPUT STYLE SPECIFIERS) actual '@' . arg_close '}' . arg_open '{' . encap '|' . escape '\\' escape . : quote escape . . keyword "\\indexentry" makeindex . level '!' . page_compositor "-" ( SPECIAL EFFECTS ). quote '"' : quote escape . . range_close ')' . range_open '(' . (OUTPUT STYLE SPECIFIERS) preamble "\\begin{theindex}\n" . postamble "\n\n\\end{theindex}\n" . setpage_prefix "\n \\setcounter{page}{" . setpage_suffix "}\n" . group_skip "\n\n \\indexspace\n" . headings_flag 0 ( ) : ( 0 ). heading_prefix "" . heading_suffix "" . symhead_positive "Symbols" headings_flag . symhead_negative "symbols" headings_flag . numhead_positive "Numbers" headings_flag . numhead_negative "numbers" headings_flag . item_0 "\n \\item " ( 0) . item_1 "\n \\subitem " ( 1) . item_2 "\n \\subsubitem " 2 . item_01 "\n \\subitem " 0 1 . item_x1 "\n \\subitem " 0 1 0 . item_12 "\n \\subsubitem " 1 2 . item_x2 "\n \\subsubitem " 1 2 1 . delim_0 ", " 0 (: ). delim_1 ", " 1 (: ). delim_2 ", " 2 (: ). delim_n ", " (: ). delim_r "--" . delim_t "" . . encap_prefix "\\" () . encap_infix "{" () . encap_suffix "}". () . page_precedence "rnaRA". . : / . line_max 72 . indent_space "\t\t" (: ). indent_length 16 indent_space (: 16 2 ). suffix_2p "" . delim_r . : "f.". suffix_3p "" . delim_r suffix_mp . : "ff.". suffix_mp "" ( ). delim_r . : "f.". (EXAMPLES) TeX (TeX EXAMPLE) book.ist : preamble "\\documentstyle[12pt]{book} \\begin{document} \\begin{theindex} {\\small\n" postamble "\n\n} \\end{theindex} \\end{document}\n" ( ) foo.idx footmp.ind : makeindex -s book.ist -o footmp.ind -p odd foo ( foo.dvi !). TROFF (TROFF EXAMPLE) sample.ist : keyword "IX:" preamble ".\\\" start of index output \".\\\" enter two column mode .2C .SH .ce INDEX .XS INDEX .XE .R .ps 9p .vs 11p .sp .de I1 .ti 0.25i .. .de I2 .ti 0.5i .." postamble "\n.\\\" end of index output" setpage_prefix "\n.nr % " setpage_suffix "" group_skip "\n.sp 1.0" headings_flag 1 heading_prefix "\n.IS\n" heading_suffix "\n.IE" item_0 "\n.br\n" item_1 "\n.I1\n" item_2 "\n.I2\n" item_01 "\n.I1\n" item_x1 "\n.I1\n" item_12 "\n.I2\n" item_x2 "\n.I2\n" delim_0 ", " delim_1 ", " delim_2 ", " delim_r "-" delim_t "." encap_prefix "\\fB" encap_infix "" encap_suffix "\\fP" indent_space "" indent_length 0 -ms ( ): . .de IX .ie '\\n(.z'' .tm IX: \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9 {\\n(PN} .el \\!.IX \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9 {\\n(PN} .. ( {\\n(PN} . . troff(1) sample.txt : This is a sample file to test the \fImakeindex\fP(1L) program, and see .IX {indexing!programs!C language} .IX {makeindex@\fImakeindex\fP(1L)} .bp .rs .IX {Knuth} .IX {typesetting!computer-aided} how well it functions in the \fItroff\fP(1) environment. .IX stdout . (CREATING THE INDEX FILE IN THE BOURNE SHELL) makeindex : psroff -ms -Tpsc -t sample.txt > /dev/null 2> sample.tmp psroff ditroff . grep(1) : grep '^IX: ' sample.tmp > sample.idx UCSF /TRANSCRIPT (CREATING THE INDEX FILE USING UCSF ENHANCED TROFF/TRANSCRIPT) UCSF Enhanced troff/TRANSCRIPT -I psroff(1L) : psroff -ms -I sample.inp -Tpsc sample.txt : psroff -ms -I sample.inp -Tpsc -t sample.txt > /dev/null (COMPLETING THE INDEX) makeindex sample.inp . makeindex : makeindex -s sample.ist sample.idx troff(1) sample.ind . (ORDERING) makeindex (word ordering) -l (letter ordering) . . : word order letter order sea lion seal seal sea lion . 9 (nine), 123 10 (ten), see Derek, Bo . . . . (SPECIAL EFFECTS) \indexentry{alpha}{1} \indexentry{alpha!beta}{3} \indexentry{alpha!beta!gamma}{10} \item alpha, 1 \subitem beta, 3 \subsubitem gamma, 10 . level ( `!') . actual ( `@') . \indexentry{alpha@{\it alpha\/}}{1} \item {\it alpha\/}, 1 `@' . actual . item subitem subsubitem : \indexentry{aa@{\it aa\/}!bb@{\it bb\/}!cc@{\it cc\/}}{1} \item {\it aa}, 1 \subitem {\it bb}, 3 \subsubitem {\it cc}, 10 encap ( `|') : \indexentry{alpha|bold}{1} \item alpha, \bold{1} TeX \bold{n} {\bf n} . encap_prefix encap_infix encap_suffix . . . encap : \indexentry{alpha|see{beta}}{1} \item alpha, \see{beta}{1} \see{beta}{1} {\it see\/} beta . encap range_open ( `|(') range_close ( `|)') : \indexentry{alpha|(}{1} \indexentry{alpha|)}{5} \item alpha, 1--5 . . : \indexentry{alpha|(bold}{1} \indexentry{alpha|)}{5} \item alpha, \bold{1--5} . \indexentry{alpha|(}{1} \indexentry{alpha|bold}{3} \indexentry{alpha|)}{5} : \item alpha, \bold{3}, 1--5 (transcript) . . ( ) . \indexentry{alpha|(}{i} \indexentry{alpha}{iv} \indexentry{alpha}{3} \indexentry{alpha|)}{7} \item alpha, i--iv, 3--7 (transcript) . quote (<<">>) . \indexentry{alpha"@beta}{1} \item alpha@beta, 1 makeindex . quote escape (<<\>>) . \indexentry{f\"ur}{1} \item f\"ur, 1 TeX <> . page_compositor (<<->>) II-12 II. . . makeindex quote ... . makeindex . . : ( ) ( ... ) () ( ) ... . TeX . . \indexentry{" @" (space)}{32} \indexentry{"!@"! (exclamation point)}{33} \indexentry{""@"" (quotation mark)}{34} \indexentry{"#@"\# (sharp sign)}{35} \indexentry{"$@"\$ (dollar sign)}{36} \indexentry{"%@"\% (percent sign)}{37} \indexentry{"&@"\& (ampersand)}{38} \indexentry{"<@"$<$ (left angle bracket)}{60} \indexentry{"=@"= (equals)}{61} \indexentry{">@"$>$ (right angle bracket)}{62} \indexentry{"?@"? (query)}{63} \indexentry{"@@"@ (at sign)}{64} \indexentry{"[@"[ (left square bracket)}{91} \indexentry{"\@"\verb=\= (backslash)}{92} \indexentry{"]@"] (right square bracket)}{93} \indexentry{"^@"\verb=^= (caret)}{94} \indexentry{"_@"\verb=_= (underscore)}{95} \indexentry{"`@"\verb=~= (grave accent)}{96} \indexentry{"{@"\"{ (left brace)}{123} \indexentry{"|@"\verb="|= (vertical bar)}{124} \indexentry{"}@"\"} (right brace)}{125} \indexentry{"~@"\verb=~= (tilde)}{126} (actual) <<@>> TeX . at . makeindex : \begin{theindex} \item ! (exclamation point), 33 \item " (quotation mark), 34 \item \# (sharp sign), 35 \item \$ (dollar sign), 36 \item \% (percent sign), 37 \item \& (ampersand), 38 \item $<$ (left angle bracket), 60 \item = (equals), 61 \item $>$ (right angle bracket), 62 \item ? (query), 63 \item @ (at sign), 64 \item [ (left square bracket), 91 \item \verb=\= (backslash), 92 \item ] (right square bracket), 93 \item \verb=^= (caret), 94 \item \verb=_= (underscore), 95 \item \verb=~= (grave accent), 96 \item \{ (left brace), 123 \item \verb=|= (vertical bar), 124 \item \} (right brace), 125 \item \verb=~= (tilde), 126 \indexspace \item (space), 32 \end{theindex} (FILES) makeindex $TEXMFMAIN/tex/plain/makeindex/idxmac.tex TeX makeindex $TEXMFMAIN/tex/latex/base/makeidx.sty TeX makeindex (SEE ALSO) ditroff(1L), latex(1L), make.index (1L), qsort(3), tex(1L), troff(1L) UCSF Enhanced troff/TRANSCRIPT -- An Overview, R. P. C. Rodgers and Conrad Huang, LSMB Technical Report 90-2, UCSF School of Pharmacy, San Francisco, 1990. Index Preparation and Processing, Pehong Chen and Michael A. Harrison, Software: Practice and Experience, 19(9), 897-915, September 1988. Automating Index Preparation, Pehong Chen and Michael A. Harrison. Technical Report 87/347, Computer Science Division, University of California, Berkeley, 1987 ( LaTeX makeindex). MakeIndex: An Index Processor for LaTeX, Leslie Lamport, February 1987 ( LaTeX makeindex). Tools for Printing Indices, Jon L. Bentley and Brian W. Kernighan, Electronic Publishing -- Origination, Dissemination, and Design, 1(1), 3-18, June 1988 ( : Computing Science Technical Report No. 128, AT&T Bell Laboratories, Murray Hill, NJ 07974, 1986). (AUTHOR) Pehong Chen, Chen & Harrison International Systems, Inc. Palo Alto, California, USA. Rick P. C. Rodgers UCSF School of Pharmacy troff(1) . (ACKNOWLEDGMENTS) Leslie Lamport MakeIndex . Michael Harrison . Nelson Beebe TeX . Andreas Brosig . -ms Ravi Sethi AT&T Bell . LOG CONTRIB makeindex . makeindex TeX Live (https://tug.org/texlive) tex-k@tug.org . TeX Live 12 November 2014 MAKEINDEX(1)