diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bezos/esindex.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/bezos/esindex.sty | 47 |
1 files changed, 34 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/bezos/esindex.sty b/Master/texmf-dist/tex/latex/bezos/esindex.sty index 5fefcf2c184..f423ad6cd0b 100644 --- a/Master/texmf-dist/tex/latex/bezos/esindex.sty +++ b/Master/texmf-dist/tex/latex/bezos/esindex.sty @@ -1,12 +1,30 @@ -% This file is copyrighted (c) 1998-2004 by Javier Bezos. -% All Rights Reserved. -% -% This program can be redistributed and/or modified under the terms -% of the LaTeX Project Public License Distributed from CTAN -% archives in directory macros/latex/base/lppl.txt; either -% version 1 of the License, or any later version. - -\ProvidesPackage{esindex}[2004/07/19 v1.1 Spanish indexes] +% +--------------------------------------------------+ +% | Typeset ensindex.tex to get the documentation. | +% +--------------------------------------------------+ +% +%% Copyright (C) 1998-2004, 2006 Javier Bezos +%% All Rights Reserved +%% http://www.texytipografia.com +%% +%% This work may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 of this +%% license or (at your option) any later version. The latest version +%% of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Javier Bezos. +%% +%% This work consists of the files esindex.tex and esindex.sty. + +% Changes +% +% 2006/05/12. Bug fixed. Missing accents in multilevel entries. + +\ProvidesPackage{esindex}[2006/05/12 v1.2 Spanish indexes] \def\esx@level{`\!} \def\esx@actual{`\@} @@ -52,7 +70,8 @@ \let\esx@g\@empty \esx@bar@idx#2|\@@ \expandafter\esx@@index\esx@b!\@@ - \protected@edef\esx@g{\noexpand\index#1{\esx@g\esx@a}}% + \toks@\expandafter{\esx@g}% + \protected@edef\esx@g{\noexpand\index#1{\the\toks@\esx@a}}% \esx@g} } @@ -86,7 +105,8 @@ \ifnum\catcode`\"=\active \let"\"% \fi - \protected@xdef\esx@g{\esx@g#1\string &}% + \toks@\expandafter{\esx@g}% + \protected@xdef\esx@g{\the\toks@#1\string &}% \endgroup \begingroup \def*##1{% <- its lower case is the quote char (") @@ -98,10 +118,11 @@ \string*\string##1% \fi}% \def\esx@b{#2}% + \toks@\expandafter{\esx@g}% \ifx\esx@b\@empty - \protected@xdef\esx@g{\esx@g#1}% + \protected@xdef\esx@g{\the\toks@#1}% \else - \protected@xdef\esx@g{\esx@g#1!}% + \protected@xdef\esx@g{\the\toks@#1!}% \esx@@index#2\@@ \fi \endgroup} |