diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/refstyle/refstyle.cfg | 21 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/refstyle/refstyle.sty | 4 |
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 |