From ee1c33c3be42182e536085ffd2083212d39f5852 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 14 Aug 2006 16:34:24 +0000 Subject: splitindex update (30jul06) git-svn-id: svn://tug.org/texlive/trunk@1955 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/splitindex/splitidx.dtx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/source/latex/splitindex/splitidx.dtx') diff --git a/Master/texmf-dist/source/latex/splitindex/splitidx.dtx b/Master/texmf-dist/source/latex/splitindex/splitidx.dtx index dc1dd2be757..6b279faace6 100644 --- a/Master/texmf-dist/source/latex/splitindex/splitidx.dtx +++ b/Master/texmf-dist/source/latex/splitindex/splitidx.dtx @@ -1,10 +1,10 @@ -% \CheckSum{551} +% \CheckSum{555} % \iffalse % ====================================================================== % splitindex.dtx % Copyright (c) Markus Kohm, 2002-2006 % -% $Id: splitidx.dtx,v 1.2 2006/03/07 10:41:51 mjk Exp $ +% $Id: splitidx.dtx,v 1.17 2006/07/29 07:00:46 mjk Exp $ % % This file is part of the `SplitIndex bundle'. % --------------------------------------------- @@ -34,7 +34,7 @@ %\ProvidesFile{splitidx.drv}[% %\ProvidesPackage{splitidx}[% % \fi - 2006/03/07 v0.9 multiple indices for LaTeX] + 2006/07/30 v1.0 multiple indices for LaTeX] % \iffalse %<*driver> \documentclass{ltxdoc} @@ -53,7 +53,7 @@ \title{Creating More Than One Index Using \Package{splitidx} And \Program{SplitIndex}\thanks{This file is version \fileversion{} of file \File{\filename}. Nevertheless it should be stable.}} -\author{Markus Kohm\thanks{Markus Kohm \textless kohm@gmx.de\textgreater}} +\author{Markus Kohm\thanks{Markus Kohm \textless komascript\textcircled{\tiny at}gmx.info\textgreater}} \date{\filedate} \begin{document} \maketitle @@ -1006,7 +1006,7 @@ \let\@se@nd@xc@d@\relax % \end{macrocode} % -% There is also an option to make \cs{sindex} ignores it optional argument and +% There is also an option to make \cs{sindex} ignores the optional argument and % behaves like \cs{index}. % \begin{macrocode} \DeclareOption{allatone}{% @@ -1093,6 +1093,8 @@ % used to write out the index entry. This hook may be used from % e.g. \Package{hyperref} to add \verb|hyperpage| to the font selection of the % page number. This only works with \verb+encap |+. +% \changes{v1.0}{2006/07/30}{one level expansion of \cs{\@tempa} for +% hyperref hook} % \begin{macrocode} \newcommand*{\@wrsindex}[2][]{% \ifx\relax#1\relax @@ -1109,7 +1111,8 @@ \expandafter\ifx\csname @@wrsindex\endcsname\relax \@@@wrsindex{#1}{{\@tempa}{\thepage}}% \else - \@@wrsindex{#1}\@tempa||\\% + \def\@tempb{\@@wrsindex{#1}}% + \expandafter\@tempb\@tempa||\\% \fi \endgroup \@esphack @@ -1141,7 +1144,7 @@ \endgroup } % \end{macrocode} -% If \Package{hyperref} was loaded at \cs{begin{document}} and +% If \Package{hyperref} was loaded at \cs{begin\{document\}} and % \Package{hyperref}-option \texttt{hyperindex} isn't disabled, and the hook % is not used, define it: % \begin{macrocode} -- cgit v1.2.3