diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-31 20:58:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-31 20:58:14 +0000 |
commit | d920a872558b4a7a19e0af8b459cacbe0f8e4017 (patch) | |
tree | 221d3a48e170e8827417334183542cae3954fc3e /Master/texmf-dist/tex/latex/refstyle | |
parent | b1e27408fb0f51f342b31d7dbd3c5a9829428cf3 (diff) |
refstyle (31jan24)
git-svn-id: svn://tug.org/texlive/trunk@69648 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/refstyle')
-rw-r--r-- | Master/texmf-dist/tex/latex/refstyle/refstyle.cfg | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/refstyle/refstyle.sty | 15 |
2 files changed, 16 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg b/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg index 11ad74d2bee..031a2aac185 100644 --- a/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg +++ b/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg @@ -12,11 +12,11 @@ %% ------------------------------------------------------------------- %% This file may be customized to suit specific user requirements. %% -%% Original by Danie Els <dnjels@sun.ac.za> +%% Original by Danie Els (dnjels@gmail.com) %% ------------------------------------------------------------------- %% -\ProvidesFile{refstyle.cfg}[2010/11/02\space - 0.5\space +\ProvidesFile{refstyle.cfg}[2024/01/31\space + v0.6\space Configuration file for refstyle (DNJ Els)] %%-- ENGLISH ------------------------------------ \newcommand\RSukenglish{% @@ -511,10 +511,9 @@ lsttxt = \RSlsttxt} %%-- TEMPLATE FOR EQUATIONS --------------------- \newcommand*{\RSeqrefform}[1]{\textup{(\ref{#1})}} -\@ifpackageloaded{amsmath}% - {\let\AMSeqref\eqref - \let\eqref\relax}% - {} +\AddToHook{package/amsmath/after}% + {\NewCommandCopy\AMSeqref\eqref + \RS@removedef{eqref}}% \newref{eq}{% name = \RSeqtxt, names = \RSeqstxt, @@ -528,9 +527,8 @@ \let\eqref\relax \AtBeginDocument{% \@ifpackageloaded{amsmath}% - {\RS@ifundefined{AMSeqref}{\let\AMSeqref\eqref}{}% - \let\RSeqrefform\AMSeqref}% - {}% + {\DeclareCommandCopy\RSeqrefform\AMSeqref}% + {}% \let\eqref=\RSeqref } %%-- TEMPLATE FOR FIGURES ----------------------- diff --git a/Master/texmf-dist/tex/latex/refstyle/refstyle.sty b/Master/texmf-dist/tex/latex/refstyle/refstyle.sty index b482db84d9b..9bb88debe82 100644 --- a/Master/texmf-dist/tex/latex/refstyle/refstyle.sty +++ b/Master/texmf-dist/tex/latex/refstyle/refstyle.sty @@ -6,7 +6,7 @@ %% %% refstyle.dtx (with options: `pkg') %% -%% Copyright (C) 2002--2010 Danie Els +%% Copyright (C) 2002--2024 Danie Els %% %% ------------------------------------------------------------------- %% The refstyle package @@ -18,16 +18,17 @@ %% of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of LaTeX -%% version 2005/12/01 or later. +%% version 2008/12/01 or later. %% -%% This work is "maintained" (as per LPPL maintenance status) -%% by Danie Els (dnjels@sun.ac.za). +%% This work has the LPPL maintenance status 'maintained'. +%% +%% This Current Maintainer of this work is Danie Els (dnjels@gmail.com) %% ------------------------------------------------------------------- %% -\newcommand*{\RefstyleFileDate}{2010/11/02} -\newcommand*{\RefstyleFileVersion}{v0.5} +\newcommand*{\RefstyleFileDate}{2024/01/31} +\newcommand*{\RefstyleFileVersion}{v0.6} -\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{refstyle}[\RefstyleFileDate\space \RefstyleFileVersion\space Reference formatting (DNJ Els)] |