% Package robustmultind.sty, Wilberd van der Kallen, April 2009. % Repairs inconsistency between packages multind and robustindex. % Do not declare multind after robustindex or after robustmultind. % As multind and robustindex are loaded already by package robustmultind, % one need not declare them at all. \ProvidesPackage{robustmultind} [2009/04/28 multiple indices with pagerefs] \RequirePackage{multind} \RequirePackage{robustindex} \def\@wrindex#1#2{\stepcounter{indexctr}% \stepcounter{indexctr}% \@bsphack \protected@write \@auxout {}{% \string \newlabel {\indstring\theindexctr}{{\relax }{\thepage }% \ifx\ifHy@bookmarks\undefined\else{\relax }{page.\thepage }{}\fi% }% }% \xdef\@gtempa{\@ifundefined{#1@idxfile}{}{\expandafter \write\csname #1@idxfile\endcsname{\string \indexentry{\findencap#2|\relax}{\theindexctr}}}}\endgroup\@gtempa \if@nobreak \ifvmode\nobreak\fi\fi\@esphack}% \relax