summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/refstyle/refstyle.cfg')
-rw-r--r--Master/texmf-dist/tex/latex/refstyle/refstyle.cfg21
1 files changed, 9 insertions, 12 deletions
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,