summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/refstyle/README4
-rw-r--r--Master/texmf-dist/doc/latex/refstyle/refconfig.pdfbin303725 -> 303096 bytes
-rw-r--r--Master/texmf-dist/doc/latex/refstyle/refstyle.pdfbin485427 -> 485236 bytes
-rw-r--r--Master/texmf-dist/source/latex/refstyle/refconfig.dtx24
-rw-r--r--Master/texmf-dist/source/latex/refstyle/refstyle.dtx4
-rw-r--r--Master/texmf-dist/tex/latex/refstyle/refstyle.cfg21
-rw-r--r--Master/texmf-dist/tex/latex/refstyle/refstyle.sty4
7 files changed, 26 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/latex/refstyle/README b/Master/texmf-dist/doc/latex/refstyle/README
index 93d23dc15e1..8838e87b1d2 100644
--- a/Master/texmf-dist/doc/latex/refstyle/README
+++ b/Master/texmf-dist/doc/latex/refstyle/README
@@ -32,9 +32,9 @@ FILES IN DISTRIBUTION
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
diff --git a/Master/texmf-dist/doc/latex/refstyle/refconfig.pdf b/Master/texmf-dist/doc/latex/refstyle/refconfig.pdf
index c16ae09cca4..763913aea4e 100644
--- a/Master/texmf-dist/doc/latex/refstyle/refconfig.pdf
+++ b/Master/texmf-dist/doc/latex/refstyle/refconfig.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/refstyle/refstyle.pdf b/Master/texmf-dist/doc/latex/refstyle/refstyle.pdf
index a7bc4632952..425e0ea313c 100644
--- a/Master/texmf-dist/doc/latex/refstyle/refstyle.pdf
+++ b/Master/texmf-dist/doc/latex/refstyle/refstyle.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/refstyle/refconfig.dtx b/Master/texmf-dist/source/latex/refstyle/refconfig.dtx
index 22a675b8ac2..69a04bb407e 100644
--- a/Master/texmf-dist/source/latex/refstyle/refconfig.dtx
+++ b/Master/texmf-dist/source/latex/refstyle/refconfig.dtx
@@ -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@removedef{eqref}}%
+\AddToHook{package/amsmath/after}{%
+ \NewCommandCopy\AMSeqref\eqref
+ \DeclareCommandCopy\RSeqrefform\AMSeqref
+ \RS@removedef{eqref}}
% \end{macrocode}
% \begin{macrocode}
\newref{eq}{%
@@ -1012,19 +1014,15 @@
% \end{macrocode}
% Make way for \pkg{amsmath.sty} definitions
% \begin{macrocode}
-\let\RSeqref\eqref
-\let\eqref\relax
+\NewCommandCopy\RSeqref\eqref
+\RS@removedef{eqref}
% \end{macrocode}
% Some footwork to bring the AMS definition of
% \cmd{\eqref} back if \pkg{amsmath.sty} is loaded
% afterwards.
% \begin{macrocode}
\AtBeginDocument{%
- \@ifpackageloaded{amsmath}%
- {\DeclareCommandCopy\RSeqrefform\AMSeqref}%
- {}%
- \let\eqref=\RSeqref
- }
+ \DeclareCommandCopy\eqref\RSeqref}
% \end{macrocode}
% \end{RSframed}
%
diff --git a/Master/texmf-dist/source/latex/refstyle/refstyle.dtx b/Master/texmf-dist/source/latex/refstyle/refstyle.dtx
index 1b5b6509d6d..ba2ee5fde5f 100644
--- a/Master/texmf-dist/source/latex/refstyle/refstyle.dtx
+++ b/Master/texmf-dist/source/latex/refstyle/refstyle.dtx
@@ -27,8 +27,8 @@
% -------------------------------------------------------------------
%
%<*pkg>
-\newcommand*{\RefstyleFileDate}{2024/01/31}
-\newcommand*{\RefstyleFileVersion}{v0.6}
+\newcommand*{\RefstyleFileDate}{2024/02/01}
+\newcommand*{\RefstyleFileVersion}{v0.6b}
%</pkg>
%
%
diff --git a/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg b/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg
index 031a2aac185..4dece4fe33a 100644
--- a/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg
+++ b/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg
@@ -15,8 +15,8 @@
%% Original by Danie Els (dnjels@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@removedef{eqref}}%
+\AddToHook{package/amsmath/after}{%
+ \NewCommandCopy\AMSeqref\eqref
+ \DeclareCommandCopy\RSeqrefform\AMSeqref
+ \RS@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@removedef{eqref}
\AtBeginDocument{%
- \@ifpackageloaded{amsmath}%
- {\DeclareCommandCopy\RSeqrefform\AMSeqref}%
- {}%
- \let\eqref=\RSeqref
- }
+ \DeclareCommandCopy\eqref\RSeqref}
%%-- TEMPLATE FOR FIGURES -----------------------
\newref{fig}{%
name = \RSfigtxt,
diff --git a/Master/texmf-dist/tex/latex/refstyle/refstyle.sty b/Master/texmf-dist/tex/latex/refstyle/refstyle.sty
index 9bb88debe82..ee65177af7c 100644
--- a/Master/texmf-dist/tex/latex/refstyle/refstyle.sty
+++ b/Master/texmf-dist/tex/latex/refstyle/refstyle.sty
@@ -25,8 +25,8 @@
%% This Current Maintainer of this work is Danie Els (dnjels@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