diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/robustindex/robustindex.sty | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/robustindex/robustindex.sty b/Master/texmf-dist/tex/latex/robustindex/robustindex.sty index 490758af944..8c3d3943412 100644 --- a/Master/texmf-dist/tex/latex/robustindex/robustindex.sty +++ b/Master/texmf-dist/tex/latex/robustindex/robustindex.sty @@ -64,7 +64,7 @@ % version 1999/12/01 or later. \ProvidesPackage{robustindex} - [2018/04/25 + [2018/04/28 index entries with pagerefs] \RequirePackage{makeidx} @@ -333,12 +333,12 @@ \newcommand{\letr@test}{\relax}% To test if entry starts with new letter. -\long\def\letr@test#1{\ifx#1\nxtletre\else\procletter{#1}\fi}% +\long\def\letr@test#1{\ifx#1\nxtletre\else\proc@letter{#1}\fi}% -\newcommand{\procletter}{\relax}% +\newcommand{\proc@letter}{\relax}% -\def\procletter#1{\long\def\item{\olditem}\indexcapstyle{\nwletre}\ifx#1\indnr -\expandafter\ja@\else #1\fi}% +\def\proc@letter#1{\long\def\item{\olditem}\ifx#1\relax\else\indexcapstyle{\nwletre}\fi +\ifx#1\indnr\expandafter\ja@\else #1\fi}% \newcommand{\olditem}{\relax}% @@ -398,7 +398,13 @@ Package needs \string\make index in preamble. Detected}\fi \addtocounter{multindctr}{-1}% \expandafter\edef\csname#1@rbstind\endcsname{\the\c@multindctr}% \edef\robustchoice{\csname#1@rbstind\endcsname}% -\@esphack \protected@write +\@esphack +\protected@write + \@indexfile {}{\string \indexentry + {\string\indnr\the\c@multindctr d91a @\protect\nxtletre\protect\def + \protect\nwletre{\relax}\string\jmptonine +}{9}}% +\protected@write \@indexfile {}{\string \indexentry {\string\indnr\the\c@multindctr a @\string\robustcutpoint \string\ifnum\string\robustchoice=\the\c@multindctr\string\multindpreamble |