summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/refstyle
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-02 21:42:59 +0000
committerKarl Berry <karl@freefriends.org>2024-02-02 21:42:59 +0000
commit2324ff648b9b67fc2bff885bbfe4a27985bd3ff6 (patch)
treee00e99b528bf9cc714b333cd14b8991c2aab43d7 /Master/texmf-dist/tex/latex/refstyle
parentfea5d9b764b96e65938b604e0da574a2cdc47344 (diff)
refstyle (2feb24)
git-svn-id: svn://tug.org/texlive/trunk@69680 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/refstyle')
-rw-r--r--Master/texmf-dist/tex/latex/refstyle/refstyle.cfg21
-rw-r--r--Master/texmf-dist/tex/latex/refstyle/refstyle.sty4
2 files changed, 11 insertions, 14 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,
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