<!entity % index "idx|cdx|nidx|ncdx" > <!element idx - - (#pcdata)> <!element cdx - - (#pcdata)> <!element nidx - - (#pcdata)> <!element ncdx - - (#pcdata)>
tag | my translation |
idx | index |
cdx | code index (terminaltype index) |
nidx | invisible index |
ncdx | invisible code index (terminaltype index) |
|
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.
There are two ways to include indices into your document. Look at both and decide.
<article opts="makeidx">
.sgml2latex -m mydocument.sgml
.mydocument.idx
.mydocument.idx
with the makeindex
command like makeindex mydocument.idx
.mydocument.ind
.sgml2latex -o tex -m mydocument.sgml
.mydocument.tex
.mydocument.tex
with the editor of your choice.\end{document}
(should be somewhere
close to the end of the file) and insert the text
\printindex
bevor this line.latex mydocument.tex
.mydocument.dvi
wich aggain you might
process with dvips
to generate a postscript document.
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.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |