The index will be generated automatically by the lyxtox script (which will call the collateindex.pl Perl script that came with the docbook-dsssl-stylesheets package you installed in Section 3.2) as a separate file. You must arrange to have this file incorporated into your document. The easiest way to do this is by file entity reference. In the preample of your document, add an internal subset that defines the index file entity:
<!entity index SYSTEM "index.sgml"> |
We have done this already in Section 4.6. See Section 7.1.9 for the sed scripts that insert the appendix SGML entity at the end of the SGML file and Section 7.1.11 for the explanation of the subsequent index generation.
From the user perspective, all it remains is to enter the words that shall be included in the index. This is done as usual in LyX: from the menu, choose either Insert-->”Index entry of preceding word” (which I personally find easier), or Insert-->”Index entry”, then enter the required word.
![]() |
Don't underestimate the importance of an Index! |
|---|---|
|
It is easy to neglect index generation. It is so boring, having to read the whole document again, word for word, and hour for hour use the menu to "insert index entry of preceding word"! But don't underestimate the importance of a good, complete index for your document, especially if it is of the order of a book! A knowledgeable reader will allways appreciate the possibility to use the Index to arrive at the information he is searching, rather than the usual time-consuming physical, or, even worse, virtual page browsing. Plan a whole working day for index generation of every 100 pages of text. |
| Last updated Mon Sep 24 01:19:25 CEST 2007 | Permalink: http://www.karakas-online.de/mySGML/lyx-index.html | All contents © 2002-2007 Chris Karakas |