• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. Index Generation > 11.2. makeindex—A program to format and sort ind...

11.2. makeindex—A program to format and sort indexes

In the previous section we showed examples where we ran the MakeIndex program using its default settings. In this section we will first take a closer look at the MakeIndex program, and then discuss ways of changing its behavior.

11.2.1. Generating the formatted index

To generate the formatted index, you should run the MakeIndex program by typing the following command (where main is the name of the input file):

Image

This produces the file main.ind, which will be called the .ind file here. If MakeIndex generated no error messages, you can now rerun LaTeX on the document and the index will appear. (You can remove the \makeindex command if you do not want to regenerate the index.) Page 658 describes what happens at this point if there are error messages.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint