diff options
author | Karl Berry <karl@freefriends.org> | 2018-04-30 22:45:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-04-30 22:45:09 +0000 |
commit | 6e74bc926a94668b3647fd2e14d9bf7c31ab31fa (patch) | |
tree | 0981e7e9b26087cfb0dba5d294372eccf35438b2 /Master/texmf-dist/tex/latex/robustindex | |
parent | 3769a3e704759d87832efcd18bb9d1cfc8067f5f (diff) |
robustindex (30apr18)
git-svn-id: svn://tug.org/texlive/trunk@47521 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/robustindex')
-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 |