texlive[71111] Master/texmf-dist: esindex (28apr24)

commits+karl at tug.org commits+karl at tug.org
Sun Apr 28 22:06:11 CEST 2024


Revision: 71111
          https://tug.org/svn/texlive?view=revision&revision=71111
Author:   karl
Date:     2024-04-28 22:06:11 +0200 (Sun, 28 Apr 2024)
Log Message:
-----------
esindex (28apr24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/esindex/README.md
    trunk/Master/texmf-dist/doc/latex/esindex/esindex.pdf
    trunk/Master/texmf-dist/doc/latex/esindex/esindex.tex
    trunk/Master/texmf-dist/tex/latex/esindex/esindex.sty

Modified: trunk/Master/texmf-dist/doc/latex/esindex/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esindex/README.md	2024-04-28 20:06:00 UTC (rev 71110)
+++ trunk/Master/texmf-dist/doc/latex/esindex/README.md	2024-04-28 20:06:11 UTC (rev 71111)
@@ -18,6 +18,10 @@
 ### Recent changes
 
 ```
+1.8   2024-04-27
+      - Fix - Some replacements stopped working in pdflatex with utf8
+        because of a change the LaTeX LICR.
+      
 1.7   2019-10-10
       - Fix - because of a change in a macro name, it stopped
         working with xe/lua

Modified: trunk/Master/texmf-dist/doc/latex/esindex/esindex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/esindex/esindex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esindex/esindex.tex	2024-04-28 20:06:00 UTC (rev 71110)
+++ trunk/Master/texmf-dist/doc/latex/esindex/esindex.tex	2024-04-28 20:06:11 UTC (rev 71111)
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 1998-2019 Javier Bezos http://www.texnia.com
+% Copyright (C) 1998-2024 Javier Bezos http://www.texnia.com
 %
 % This file may be distributed and/or modified under the conditions of
 % the MIT License. A version can be found at the end of this file.
@@ -14,7 +14,7 @@
 \usepackage[utf8]{inputenc}
 \usepackage[T1]{fontenc}
 
-\title{\textsf{esindex}\\\large 1.7\quad 2019-10-10}
+\title{\textsf{esindex}\\\large 1.8\quad 2024-04-27}
 
 \author{Javier Bezos}
 
@@ -46,7 +46,7 @@
 {\LARGE Generating automatically sort keys for \textit{MakeIndex}
 with \LaTeX\par}
 \vspace*{1ex}
-Version 1.7 (2019-10-10)\par
+Version 1.8 (2024-04-27)\par
 \texttt{https://github.com/jbezos/esindex}\par
 Javier Bezos (\texttt{http://www.texnia.com})
 
@@ -100,6 +100,8 @@
 with the definitions above the key for \verb|ràpid| is
 \verb|rapid^^Ar1pid|.)
 
+(Version 1.8 is just a bug fix.)
+
 \section{Spanish}
 
 Este paquete ha sido diseñado para facilitar la escritura de índices

Modified: trunk/Master/texmf-dist/tex/latex/esindex/esindex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/esindex/esindex.sty	2024-04-28 20:06:00 UTC (rev 71110)
+++ trunk/Master/texmf-dist/tex/latex/esindex/esindex.sty	2024-04-28 20:06:11 UTC (rev 71111)
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 1998-2019 Javier Bezos http://www.texnia.com
+% Copyright (C) 1998-2024 Javier Bezos http://www.texnia.com
 %
 % This file may be distributed and/or modified under the conditions of
 % the MIT License. A version can be found at the end of this file.
@@ -7,7 +7,7 @@
 % Repository: https://github.com/jbezos/esindex
 %
 
-\ProvidesPackage{esindex}[2019/10/10 v1.7 Spanish indexes (and more)]
+\ProvidesPackage{esindex}[2024/04/27 v1.8 Spanish indexes (and more)]
 
 \def\esx at level{`\!}
 \def\esx at actual{`\@}
@@ -92,15 +92,40 @@
 \gdef\esx at bar@eat#1|{\def\esx at a{|#1}}
 }
 
-\gdef\esindexexpandkey{%
-  \protected at edef\esindexkey{\esindexkey}}
+\gdef\esx at tolicr#1#2{%
+  \@ifundefined{u8\string:\string#1\string#2}%
+    {\unexpanded{#1#2}}%
+    {\@nameuse{u8\string:\string#1\string#2}}}
+
+\begingroup
+  \catcode`\^^c2=\active
+  \catcode`\^^c3=\active
+  \gdef\esx at expandkey#1{%
+    \ifnum\catcode`\^^c2=\active \ifnum\catcode`\^^c3=\active
+      \def\esx at a{^^c2^^c3}%
+      \protected at edef\esx at b{\esx at a}%
+      \ifx\esx at a\esx at b
+        \let\esx at cii ^^c2%
+        \let\esx at ciii ^^c3%
+        \def ^^c2{\esx at tolicr ^^c2}%
+        \def ^^c3{\esx at tolicr ^^c3}%
+        \protected at edef#1{#1}%
+        \let ^^c2\esx at cii
+        \let ^^c3\esx at ciii
+      \else
+        \protected at edef#1{#1}%
+      \fi
+    \fi\fi}
+\endgroup
+
+\gdef\esindexexpandkey{\esx at expandkey\esindexkey}
 \gdef\esindexexpandsubkey{%
   \ifx\esindexsubkey\relax\else
-    \protected at edef\esindexsubkey{\esindexsubkey}%
+    \esx at expandkey\esindexsubkey
   \fi}
 \gdef\esindexexpandsubsubkey{%
   \ifx\esindexsubsubkey\relax\else
-    \protected at edef\esindexsubsubkey{\esindexsubsubkey}%
+    \esx at expandkey\esindexsubsubkey
   \fi}
 
 \gdef\esindexexpandkeys{%



More information about the tex-live-commits mailing list.