texlive[72956] Master/texmf-dist: suftesi (24nov24)
commits+karl at tug.org
commits+karl at tug.org
Sun Nov 24 21:53:08 CET 2024
Revision: 72956
https://tug.org/svn/texlive?view=revision&revision=72956
Author: karl
Date: 2024-11-24 21:53:07 +0100 (Sun, 24 Nov 2024)
Log Message:
-----------
suftesi (24nov24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
trunk/Master/texmf-dist/doc/latex/suftesi/templates.zip
trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
Modified: trunk/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/suftesi/templates.zip
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx 2024-11-24 20:52:59 UTC (rev 72955)
+++ trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx 2024-11-24 20:53:07 UTC (rev 72956)
@@ -56,7 +56,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<class>\ProvidesClass{suftesi}
%<*class>
- [2023/09/07 v3.2.1 A class for typesetting theses, books and articles]
+ [2022/11/24 v3.2.2 A class for typesetting theses, books and articles]
%</class>
%<*driver>
\documentclass[12pt]{ltxdoc}
@@ -337,7 +337,7 @@
%</driver>
% \fi
%
-% \CheckSum{5685}
+% \CheckSum{5697}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -355,6 +355,7 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \changes{v3.2.2}{2024/11/24}{Temporarily fixed a conflict between \sty{amstext} and \sty{zref}.}
% \changes{v3.2.1}{2023/09/07}{Removed \sty{substitutefont} package (obsolete) and replaced \cmd{substitutefont} with \cmd{DeclareFontFamilySubstitution} provided by the \LaTeX\ kernel. Definitions of \texttt{sufred} and \texttt{sufgray} color moved \cmd{AtBeginDocument}.}
% \changes{v3.2.0}{2021/11/01}{Fixed a bug in \cmd{xfootnote} command.
% Fixed a bug occurring when using the \cmd{geometry} command.}
@@ -5457,6 +5458,19 @@
\def\thefootnote{\@fnsymbol\c at footnote}%
\fi
% \end{macrocode}
+% The \sty{zref} conflicts with \sty{amstext} (loaded by \sty{amsmath}),
+% because \sty{amstext} changes stepcounter. This is a temporary fix
+% by Frank Mittelbach on \url{https://github.com/ho-tex/zref/issues/11}:
+% \begin{macrocode}
+\AtBeginDocument{%
+\let\ZREF at org@stepcounter\stepcounter
+\def\stepcounter#1{%
+ \ifcsname @stepcounterhook@#1\endcsname
+ \csname @stepcounterhook@#1\endcsname
+ \fi
+ \ZREF at org@stepcounter{#1}%
+}}
+% \end{macrocode}
% \paragraph{The \cmd{xfootnote} command} Prints a footnote with discretionary
% symbol give in the first argument. Since version 1.3.4 \cmd{protected at xdef}
% replaces \cmd{xdef}.
Modified: trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls 2024-11-24 20:52:59 UTC (rev 72955)
+++ trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls 2024-11-24 20:53:07 UTC (rev 72956)
@@ -26,7 +26,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesClass{suftesi}
- [2023/09/07 v3.2.1 A class for typesetting theses, books and articles]
+ [2022/11/24 v3.2.2 A class for typesetting theses, books and articles]
\RequirePackage{xkeyval}
\newif\ifsuftesi at article
\newif\ifsuftesi at collection
@@ -2796,6 +2796,14 @@
}
\def\thefootnote{\@fnsymbol\c at footnote}%
\fi
+\AtBeginDocument{%
+\let\ZREF at org@stepcounter\stepcounter
+\def\stepcounter#1{%
+ \ifcsname @stepcounterhook@#1\endcsname
+ \csname @stepcounterhook@#1\endcsname
+ \fi
+ \ZREF at org@stepcounter{#1}%
+}}
\newcommand*\xfootnote[1][*]{%
\protected at xdef\@thefnmark{#1}%
\@footnotemark\@footnotetext}
More information about the tex-live-commits
mailing list.