From 2324ff648b9b67fc2bff885bbfe4a27985bd3ff6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 2 Feb 2024 21:42:59 +0000 Subject: refstyle (2feb24) git-svn-id: svn://tug.org/texlive/trunk@69680 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/refstyle/refstyle.cfg | 21 +++++++++------------ Master/texmf-dist/tex/latex/refstyle/refstyle.sty | 4 ++-- 2 files changed, 11 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/tex') 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 -- cgit v1.2.3