GeneralIndice from multiple chapters

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Longinus
Posts: 7
Joined: Mon Nov 03, 2008 7:13 pm

Indice from multiple chapters

Post by Longinus »

Hello all,

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Indice from multiple chapters

Post by phi »

Hello,

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.
Post Reply