IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

Linuxdoc Reference - An Introduction to the linuxdoc DTD

Search Howtos :Match :
Next Previous Contents

11. Indices


<!entity % index "idx|cdx|nidx|ncdx" >

<!element idx - - (#pcdata)>
<!element cdx - - (#pcdata)>
<!element nidx - - (#pcdata)>
<!element ncdx - - (#pcdata)>


tag
my translation
idxindex
cdxcode index (terminaltype index)
nidxinvisible index
ncdxinvisible code index (terminaltype index)
Index elements

The index tags serve for making a index of your document. They are only useful if you want do do LaTeX mapping. They only differ very slightly as mentioned in table Index elements.

11.1 Including a index

There are two ways to include indices into your document. Look at both and decide.

Manually

  1. Set the opts attribute of your document class to contain the packages makeidx. You do that by: <article opts="makeidx">.
  2. Mark all the words you want to be in the index later with a idx tag or cdx tag. If the word you want to index to a location in your document is not within the text you simply write it at the location you want to index with the nidx tag. Itīs like the normal idx only the tagged text will be silently dropped in the normal document.
  3. Process your file with makeindex sgml2latex -m mydocument.sgml.
    This will produce an additional mydocument.idx.
  4. Process mydocument.idx with the makeindex command like makeindex mydocument.idx.
    This will produce an additional mydocument.ind.
  5. To include the now generated index in your document you process your document with sgml2latex -o tex -m mydocument.sgml.
    This results in output of mydocument.tex.
  6. Edit mydocument.tex with the editor of your choice.
    You look for the line \end{document} (should be somewhere close to the end of the file) and insert the text \printindex bevor this line.
  7. Process the modified file with latex mydocument.tex.
    This gives you the final mydocument.dvi wich aggain you might process with dvips to generate a postscript document.
A lot of a mess, ain't it?

Hacked

I'm currently working on a patch to the sgmltools to automate the inclusion and generation of a index. To find out the current state see http://www.bnhof.de/~uwe/lnd/indexpatch/index.html.


Next Previous Contents
Search Howtos :Match :
DbVisualizer 6.5.2
The Universal Database Tool
PhpMyAdmin 3.1.2 rc1
Php front-end to MySQL administration
Xine 1.1.6
Free video player
Glade 3.5.5
User interface builder for GTK+ and Gnome
Evolution 2.25.4
GNOME mailer, calendar, contact manager and communications tool
GEdit 2.25.4
Small but powerful text editor
LimeWire 5.0.4
Gnutella Client
WebGUI 7.6.8
A fully featured content management system.
GTK2 2.14.7
GUI Toolkit
Brasero 0.9.0
Application to burn CD/DVD
Free IT Magazines, White Papers, eBooks, and more !
Dr. Dobb's Journal

Dr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries.

The 7 Things that IT Security Professionals MUST KNOW!

Gain key insight into security problem and find the safest means to protect your technological assets.

Database Trends and Applications

Provides timely coverage of the technology, intelligence and insight needed to plan, implement and manage information-rich projects.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info