summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/robustindex/multisample.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/robustindex/multisample.tex')
-rw-r--r--Master/texmf-dist/doc/latex/robustindex/multisample.tex23
1 files changed, 9 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/robustindex/multisample.tex b/Master/texmf-dist/doc/latex/robustindex/multisample.tex
index 545d19f8149..1e0458ee86a 100644
--- a/Master/texmf-dist/doc/latex/robustindex/multisample.tex
+++ b/Master/texmf-dist/doc/latex/robustindex/multisample.tex
@@ -1,23 +1,22 @@
-% multisample.tex 2017/09/29
+% multisample.tex 2018/04/11
\documentclass{book}
\usepackage{makeidx}
\usepackage[multind]{robustindex}
-\usepackage[plainpages=false,hyperindex=false]{hyperref}
+\usepackage[plainpages=false,hyperindex=false,colorlinks=true]{hyperref}
\title {A file with several indexes}
\author{Wilberd van der Kallen\index{wilberd@Wilberd}}
-\date{2017}
+\date{April 2018}
\makeindex % obligatory with robustindex
-\makeglossary % obligatory with robustglossary
+
\begin{document}
%\renewcommand{\indexcapstyle}[1]{\par\vskip1em plus.5em minus.3em\textbf{\uppercase{#1}}}
\renewcommand\thepage{\roman{page}}
-\index{zz@z}
-
+\index{z}
\setindex{b1}
@@ -35,13 +34,9 @@
\addcontentsline{toc}{chapter}{Preface}
\markboth{Preface}{Preface}
This file illustrates some features of the \verb!robustindex! package with option \verb!multind!. This option
- supports multiple indexes. We require that
-the argument to an \verb!\index! command starts with at least two lower case
-letters or with the symbol \verb!<!. So use \verb!\index{new york@New York}! instead of \verb!\index{New York}!, \verb!\index{za@z}!
-instead of \verb!\index{z}!.
-
-
-Although this is not a book, we have chosen the book style for illustration.
+ supports multiple indexes.
+
+ Although this is not a book, we have chosen the book style for illustration.
Let us say we want to use four indexes. First we choose tags to identify them.
In this file we use the tags \verb|main|, \verb|bis|, \verb|a1|, \verb|b1|.
With the \verb!\setindex! command we activate an index.
@@ -87,7 +82,7 @@ it again with the same index active as when you opened the range.
We have hacked various mechanisms of makeindex.
Subentries are still supported. We illustrate this in
\verb|multisample.tex| and appendix \ref{appendix} with alpha, beta and gamma.
-This also illustrates the use of \verb|\gobblepageref|.
+This also illustrates the use of \verb|\gobblepageref|, a variant of \verb!\see!.
\setindex{a1}\index{alpha!see beta}
\index{alpha!see also gamma\gobblepageref}