General ⇒ Indice from multiple chapters
Indice from multiple chapters
For long document that uses \include{chapter}, how can one generate one big index section at the end with \makeidx?
I have a master file that contains all the \include{} commands and it also contains some indexed terms. However, the index pages printed only display indexed items in the master file, NOT the ones in the included chapters.
Your comment and hint would be appreciated. Thank you for your time.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Indice from multiple chapters
the master file needs a \makeindex command in the preamble and the \printindex command where the index should appear. After the first LaTeX run, you have to feed the .idx file through an index processor like texindy or makeindex, the run LaTeX again. This should suffice to produce an index for all entries in all chapters.