summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/refstyle
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-02-02 03:05:29 +0000
committerNorbert Preining <norbert@preining.info>2024-02-02 03:05:29 +0000
commitb5a938a222c59addea5ca0a22cd53b2bbf66e1fa (patch)
treecd1c6770b784ca5783c143fee1031b2ab5fc240c /macros/latex/contrib/refstyle
parenta494a509f3f4a13a450c898488155f7aa5353bd3 (diff)
CTAN sync 202402020305
Diffstat (limited to 'macros/latex/contrib/refstyle')
-rw-r--r--macros/latex/contrib/refstyle/README4
-rw-r--r--macros/latex/contrib/refstyle/refconfig.dtx24
-rw-r--r--macros/latex/contrib/refstyle/refconfig.pdfbin303725 -> 303096 bytes
-rw-r--r--macros/latex/contrib/refstyle/refstyle.dtx4
-rw-r--r--macros/latex/contrib/refstyle/refstyle.pdfbin485427 -> 485236 bytes
5 files changed, 15 insertions, 17 deletions
diff --git a/macros/latex/contrib/refstyle/README b/macros/latex/contrib/refstyle/README
index 93d23dc15e..8838e87b1d 100644
--- a/macros/latex/contrib/refstyle/README
+++ b/macros/latex/contrib/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/macros/latex/contrib/refstyle/refconfig.dtx b/macros/latex/contrib/refstyle/refconfig.dtx
index 22a675b8ac..69a04bb407 100644
--- a/macros/latex/contrib/refstyle/refconfig.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/refstyle/refconfig.pdf b/macros/latex/contrib/refstyle/refconfig.pdf
index c16ae09cca..763913aea4 100644
--- a/macros/latex/contrib/refstyle/refconfig.pdf
+++ b/macros/latex/contrib/refstyle/refconfig.pdf
Binary files differ
diff --git a/macros/latex/contrib/refstyle/refstyle.dtx b/macros/latex/contrib/refstyle/refstyle.dtx
index 1b5b6509d6..ba2ee5fde5 100644
--- a/macros/latex/contrib/refstyle/refstyle.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/refstyle/refstyle.pdf b/macros/latex/contrib/refstyle/refstyle.pdf
index a7bc463295..425e0ea313 100644
--- a/macros/latex/contrib/refstyle/refstyle.pdf
+++ b/macros/latex/contrib/refstyle/refstyle.pdf
Binary files differ