GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
LATEX Indexing |
20201017 Index entries can be added to the LATEX source
document with \index{}
.
To obtain a see:
\index{apache2|see {apache}} apache2, see apache \index{nfs|(} nfs, 25-32 ... \index{nfs|)} |
To have the index included in the resulting file be sure to include the following toward the end of the document:
\clearemptydoublepage \lfoot{}\rfoot{} \addcontentsline{toc}{chapter}{Index} \printindex |
When processing the file the sequence of commands will include makeindex amongst the pdflatex commands, to then view the resulting pdf file with evince:
$ pdflatex mydoc.tex $ makeindex mydoc $ pdflatex mydoc.tex $ pdflatex mydoc.tex $ evince mydoc.pdf |