diff options
author | Karl Berry <karl@freefriends.org> | 2017-09-13 22:07:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-09-13 22:07:57 +0000 |
commit | 09386405a3f7b1064ac18e3b15094fd0104fe562 (patch) | |
tree | 74ee524b51b646f6b349883d40517f7ac8295196 /Master/texmf-dist/doc/latex/robustindex/robustmanual.tex | |
parent | b82d4c39f1b663053307ba40a6044a5176697a7b (diff) |
robustindex (14sep17)
git-svn-id: svn://tug.org/texlive/trunk@45294 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/robustindex/robustmanual.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/robustindex/robustmanual.tex | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/robustindex/robustmanual.tex b/Master/texmf-dist/doc/latex/robustindex/robustmanual.tex index df3a549df5f..9f1b76b1595 100644 --- a/Master/texmf-dist/doc/latex/robustindex/robustmanual.tex +++ b/Master/texmf-dist/doc/latex/robustindex/robustmanual.tex @@ -100,6 +100,41 @@ $$\verb!\indexincontents!$$ somewhere before the \verb!\printindex!. \index{alpha!see beta} -We now use $\verb!\printindex!$ to get an index (on a new page). +Before discussing the \verb|multind| option we now use $\verb!\printindex!$ to get an index (on a new page). \printindex + +\section*{The \texttt{multind} option} +The \verb!multind! option provides +support for multiple indexes, albeit in a plain index style. +Suppose the preamble contains \verb!\usepackage[multind]{robustindex}!. + +Let us say we want to use four indexes. First we choose tags to identify them. +Say we use the tags \verb|main|, \verb|bis|, \verb|a1|, \verb|b1|. +The tag \verb|main| is always known and +the index with tag \verb|main| becomes active at the \verb|\begin{document}|. + +With the \verb!\setindex! command we activate an index. +Thus \verb!\setindex{bis}! tells \LaTeX\ that the active index is now the index identified by the tag +\verb|bis|, until the next \verb!\setindex! command. The other indexes are inactivated. +If a tag has not been encountered +before, then a new index with that tag is created. +The \verb!\index! command and +the \verb|\printindex| commands write to/from the active index. +This is all you need to know about option \verb!multind!.\\ + + +To see how option \verb!multind! may be used, you may also compare the file +\verb|multisample.tex| with the output after + +latex multisample.tex + +makeindex multisample + +latex multisample.tex + +latex multisample.tex + + + + \end{document} |