diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/covington/covington.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/covington/covington.sty | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/covington/covington.sty b/Master/texmf-dist/tex/latex/covington/covington.sty index cc17661c094..079d0eef9c6 100644 --- a/Master/texmf-dist/tex/latex/covington/covington.sty +++ b/Master/texmf-dist/tex/latex/covington/covington.sty @@ -42,8 +42,8 @@ %%% Metadata %%% -\def\filedate{2023/12/02} -\def\fileversion{2.13} +\def\filedate{2023/12/11} +\def\fileversion{2.14} \def\filename{covington.sty} % Macro to issue warnings @@ -189,8 +189,10 @@ % Counter to generate unique example ID \newcounter{explid} +\def\ownexcounterprep{} \ifownexcounter \newcounter{covex} + \renewcommand{\thecovex}{\ownexcounterprep\arabic{covex}}% \newcommand{\@exampleno}{\stepcounter{explid}\refstepcounter{covex}\thecovex} \else \newcommand{\@exampleno}{\stepcounter{explid}\refstepcounter{equation}\theequation} @@ -538,7 +540,9 @@ \setcounter{covfnex}{\arabic{covexsave}}% \else \ifownexcounter - \renewcommand{\thecovex}{\exfmt{covex}}% + \ifexfmtchanged% + \renewcommand{\thecovex}{\ownexcounterprep\exfmt{covex}}% + \fi% \setcounter{covexsave}{\arabic{covex}}% \usecounter{covex}% % sets it to zero, unwantedly \setcounter{covex}{\arabic{covexsave}}% % restores previous value |