summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/robustindex/robustmanual.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/robustindex/robustmanual.tex')
-rw-r--r--Master/texmf-dist/doc/latex/robustindex/robustmanual.tex37
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}