texlive[69680] Master/texmf-dist: refstyle (2feb24)

commits+karl at tug.org commits+karl at tug.org
Fri Feb 2 22:42:59 CET 2024


Revision: 69680
          https://tug.org/svn/texlive?view=revision&revision=69680
Author:   karl
Date:     2024-02-02 22:42:59 +0100 (Fri, 02 Feb 2024)
Log Message:
-----------
refstyle (2feb24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/refstyle/README
    trunk/Master/texmf-dist/doc/latex/refstyle/refconfig.pdf
    trunk/Master/texmf-dist/doc/latex/refstyle/refstyle.pdf
    trunk/Master/texmf-dist/source/latex/refstyle/refconfig.dtx
    trunk/Master/texmf-dist/source/latex/refstyle/refstyle.dtx
    trunk/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg
    trunk/Master/texmf-dist/tex/latex/refstyle/refstyle.sty

Modified: trunk/Master/texmf-dist/doc/latex/refstyle/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/refstyle/README	2024-02-02 21:42:47 UTC (rev 69679)
+++ trunk/Master/texmf-dist/doc/latex/refstyle/README	2024-02-02 21:42:59 UTC (rev 69680)
@@ -32,9 +32,9 @@
 
       refstyle.pdf   User manual for refstyle package. It was
                      produced by executing:
-					 
+
                         latex refstyle.ins
-						
+
                         pdflatex refstyle.dtx
                         pdflatex refstyle.dtx
                         makeindex -s gglo.ist -o refstyle.gls refstyle.glo

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

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

Modified: trunk/Master/texmf-dist/source/latex/refstyle/refconfig.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/refstyle/refconfig.dtx	2024-02-02 21:42:47 UTC (rev 69679)
+++ trunk/Master/texmf-dist/source/latex/refstyle/refconfig.dtx	2024-02-02 21:42:59 UTC (rev 69680)
@@ -91,7 +91,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{1092}
+% \CheckSum{1089}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -115,6 +115,7 @@
 % \changes{v0.4}{2010/10/21}{Add \cmd{\RSlsttwotxt} for lists}
 % \changes{v0.5}{2010/11/02}{Bug fixes}
 % \changes{v0.6}{2024/01/31}{robustification of AMS'  \cmd{\eqref}}
+% \changes{v0.6b}{2024/02/01}{Bug fix}
 %
 %   \DoNotIndex{
 %   \",\@chapapp,\@ifpackageloaded,\AtBeginDocument,
@@ -184,8 +185,8 @@
 % \subsection{Identification}
 %    \begin{RSframed}
 %    \begin{macrocode}
-\ProvidesFile{refstyle.cfg}[2024/01/31\space
-                            v0.6\space
+\ProvidesFile{refstyle.cfg}[2024/02/01\space
+                            v0.6b\space
                             Configuration file for refstyle (DNJ Els)]
 %    \end{macrocode}
 %    \end{RSframed}
@@ -995,9 +996,10 @@
 %    If \pkg{amsmath.sty} is loaded, store \cmd{\eqref}
 %    and then undefine it before the template is created.
 %    \begin{macrocode}
-\AddToHook{package/amsmath/after}%
-    {\NewCommandCopy\AMSeqref\eqref
-     \RS at removedef{eqref}}%
+\AddToHook{package/amsmath/after}{%
+    \NewCommandCopy\AMSeqref\eqref
+    \DeclareCommandCopy\RSeqrefform\AMSeqref
+    \RS at removedef{eqref}}
 %    \end{macrocode}
 %    \begin{macrocode}
 \newref{eq}{%
@@ -1012,8 +1014,8 @@
 %    \end{macrocode}
 %    Make way for \pkg{amsmath.sty} definitions
 %    \begin{macrocode}
-\let\RSeqref\eqref
-\let\eqref\relax
+\NewCommandCopy\RSeqref\eqref
+\RS at removedef{eqref}
 %    \end{macrocode}
 %    Some footwork to bring the AMS definition of
 %    \cmd{\eqref} back if \pkg{amsmath.sty} is loaded
@@ -1020,11 +1022,7 @@
 %    afterwards.
 %    \begin{macrocode}
 \AtBeginDocument{%
-   \@ifpackageloaded{amsmath}%
-      {\DeclareCommandCopy\RSeqrefform\AMSeqref}%
-      {}%
-     \let\eqref=\RSeqref
-   }
+    \DeclareCommandCopy\eqref\RSeqref}
 %    \end{macrocode}
 %    \end{RSframed}
 %

Modified: trunk/Master/texmf-dist/source/latex/refstyle/refstyle.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/refstyle/refstyle.dtx	2024-02-02 21:42:47 UTC (rev 69679)
+++ trunk/Master/texmf-dist/source/latex/refstyle/refstyle.dtx	2024-02-02 21:42:59 UTC (rev 69680)
@@ -27,8 +27,8 @@
 % -------------------------------------------------------------------
 %
 %<*pkg>
-\newcommand*{\RefstyleFileDate}{2024/01/31}
-\newcommand*{\RefstyleFileVersion}{v0.6}
+\newcommand*{\RefstyleFileDate}{2024/02/01}
+\newcommand*{\RefstyleFileVersion}{v0.6b}
 %</pkg>
 %
 %

Modified: trunk/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg	2024-02-02 21:42:47 UTC (rev 69679)
+++ trunk/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg	2024-02-02 21:42:59 UTC (rev 69680)
@@ -15,8 +15,8 @@
 %% Original by Danie Els (dnjels at gmail.com)
 %% -------------------------------------------------------------------
 %% 
-\ProvidesFile{refstyle.cfg}[2024/01/31\space
-                            v0.6\space
+\ProvidesFile{refstyle.cfg}[2024/02/01\space
+                            v0.6b\space
                             Configuration file for refstyle (DNJ Els)]
 %%-- ENGLISH ------------------------------------
 \newcommand\RSukenglish{%
@@ -511,9 +511,10 @@
       lsttxt    = \RSlsttxt}
 %%-- TEMPLATE FOR EQUATIONS ---------------------
 \newcommand*{\RSeqrefform}[1]{\textup{(\ref{#1})}}
-\AddToHook{package/amsmath/after}%
-    {\NewCommandCopy\AMSeqref\eqref
-     \RS at removedef{eqref}}%
+\AddToHook{package/amsmath/after}{%
+    \NewCommandCopy\AMSeqref\eqref
+    \DeclareCommandCopy\RSeqrefform\AMSeqref
+    \RS at removedef{eqref}}
 \newref{eq}{%
    name      = \RSeqtxt,
    names     = \RSeqstxt,
@@ -523,14 +524,10 @@
    rngtxt    = \RSrngtxt,
    lsttwotxt = \RSlsttwotxt,
    lsttxt    = \RSlsttxt}
-\let\RSeqref\eqref
-\let\eqref\relax
+\NewCommandCopy\RSeqref\eqref
+\RS at removedef{eqref}
 \AtBeginDocument{%
-   \@ifpackageloaded{amsmath}%
-      {\DeclareCommandCopy\RSeqrefform\AMSeqref}%
-      {}%
-     \let\eqref=\RSeqref
-   }
+    \DeclareCommandCopy\eqref\RSeqref}
 %%-- TEMPLATE FOR FIGURES -----------------------
    \newref{fig}{%
       name      = \RSfigtxt,

Modified: trunk/Master/texmf-dist/tex/latex/refstyle/refstyle.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/refstyle/refstyle.sty	2024-02-02 21:42:47 UTC (rev 69679)
+++ trunk/Master/texmf-dist/tex/latex/refstyle/refstyle.sty	2024-02-02 21:42:59 UTC (rev 69680)
@@ -25,8 +25,8 @@
 %% This Current Maintainer of this work is Danie Els (dnjels at gmail.com)
 %% -------------------------------------------------------------------
 %% 
-\newcommand*{\RefstyleFileDate}{2024/01/31}
-\newcommand*{\RefstyleFileVersion}{v0.6}
+\newcommand*{\RefstyleFileDate}{2024/02/01}
+\newcommand*{\RefstyleFileVersion}{v0.6b}
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{refstyle}[\RefstyleFileDate\space



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