texlive[73033] Master/texmf-dist: suftesi (4dec24)

commits+karl at tug.org commits+karl at tug.org
Wed Dec 4 22:12:06 CET 2024


Revision: 73033
          https://tug.org/svn/texlive?view=revision&revision=73033
Author:   karl
Date:     2024-12-04 22:12:05 +0100 (Wed, 04 Dec 2024)
Log Message:
-----------
suftesi (4dec24)

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-12-04 00:41:59 UTC (rev 73032)
+++ trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2024-12-04 21:12:05 UTC (rev 73033)
@@ -56,7 +56,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
 %<class>\ProvidesClass{suftesi}
 %<*class>
-    [2024/11/27 v3.2.3 A class for typesetting theses, books and articles]
+    [2024/12/04 v3.2.5 A class for typesetting theses, books and articles]
 %</class>
 %<*driver>
 \documentclass[12pt]{ltxdoc}
@@ -337,7 +337,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{5698}
+% \CheckSum{5688}
 %
 % \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,10 @@
 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %   Right brace   \}     Tilde         \~}
 %
+% \changes{v3.2.5}{2024/12/04}{Removed \sty{zref} package and substituted with \sty{footnpag}. 
+% Now, with the \opt{fewfootnotes} option, if you have more than three footnotes per page, 
+% an error will be issued instead of a warning}
+% \changes{v3.2.4}{2024/12/04}{Maintenance release. The code  of the  fix in version 3.2.2 was  in conflict with \sty{defaultfont}=\sty{cochineal}/\sty{libertine}/\sty{palatino} option. Removed.}
 % \changes{v3.2.3}{2024/11/27}{Fixed an inconsistency relating to \sty{indentfirst}.}
 % \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}.}
@@ -465,7 +469,7 @@
 % \DoNotIndex{\titlepage,\vss,\vtop,\xdef,\@gobbletwo,\color,\dimexpr}
 % \DoNotIndex{\huge,\large,\makebox,\ProcessOptions,\renewcommand}
 %
-%\nocite{appendix,caption,color,crop,enumitem,emptypage,fancyhdr,fixltxhyph,fontsize,mathalpha,libertinust1math,newtx,geometry,iftex,microtype,multicol,titlesec,titletoc,xkeyval,cclicenses,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine,cochineal,mathpazo,bera,amsthm,zref,etoolbox}
+%\nocite{appendix,caption,color,crop,enumitem,emptypage,fancyhdr,fixltxhyph,fontsize,mathalpha,libertinust1math,newtx,geometry,iftex,microtype,multicol,titlesec,titletoc,xkeyval,cclicenses,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine,cochineal,mathpazo,bera,amsthm,footnpag,etoolbox}
 %
 % \thispagestyle{empty}
 %
@@ -621,7 +625,7 @@
 %               & \textrm{Global}                 & appendix, caption, color, crop, enumitem, emptypage, etoolbox,
 %                                                   fancyhdr, fixltxhyph, fontenc, fontsize, geometry, iftex,
 %                                                   microtype, multicol, titlesec, titletoc, 
-%                                                   xkeyval, cclicenses*, zref**                             \\
+%                                                   xkeyval, cclicenses*, footnpag**                             \\
 % \midrule
 %               & \textrm{\hologo{pdfLaTeX} only} & fontenc                                  \\
 % \midrule
@@ -1629,6 +1633,7 @@
 % 		It is available only in documents with 
 % 		three footnotes per page maximum. 
 % 		The symbol sequence is: *, **, ***. 
+%       Two \LaTeX{} runs are required.
 %     \item[false] Uses numbers to mark the footnotes.
 %   \end{valuelist}
 %
@@ -5442,8 +5447,7 @@
 % Enable only with three footnotes per page maximum.
 %    \begin{macrocode}
 \ifSUF at fewfootnotes
-\RequirePackage[perpage]{zref}
- \zmakeperpage{footnote}
+ \RequirePackage{footnpag}
 \AtBeginDocument{%
 \def\@fnsymbol#1{%
    \ifcase#1\or \TextOrMath\textasteriskcentered *\or
@@ -5450,9 +5454,13 @@
    \TextOrMath {\textasteriskcentered\textasteriskcentered}{**}\or
    \TextOrMath {\textasteriskcentered%
                 \textasteriskcentered\textasteriskcentered}{***}\or
-  \protect\ClassWarningNoLine{suftesi}%
-  {Too many footnotes per page. Compile again or\MessageBreak
-   remove the class option 'fewfootnote'}
+  \protect\ClassError{suftesi}%
+  {Too many footnotes per page. \MessageBreak
+   Remove the class option 'fewfootnote'\MessageBreak
+   Two LaTeX runs required.}
+  {Too many footnotes per page. \MessageBreak
+   Remove the class option 'fewfootnote'\MessageBreak
+   Two LaTeX runs required.}
   \fi
 }%
 }
@@ -5459,19 +5467,6 @@
 \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}.
@@ -6598,6 +6593,15 @@
   version = {v2.32}
 }
 
+ at manual{footnpag,
+  title = {The \sty{footnpag} package},
+  author = {Joachim Schrod},
+  url = {http://www.ctan.org/pkg/footnpag},
+  urldate = {2024-12-04}, 
+  date = {1995-08-04},
+  version = {v2.6}
+}
+
 @manual{epigraph,
   title = {The \sty{epigraph} package},
   author = {Peter R. Wilson and Will Robertson},

Modified: trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2024-12-04 00:41:59 UTC (rev 73032)
+++ trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2024-12-04 21:12:05 UTC (rev 73033)
@@ -26,7 +26,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesClass{suftesi}
-    [2024/11/27 v3.2.3 A class for typesetting theses, books and articles]
+    [2024/12/04 v3.2.5 A class for typesetting theses, books and articles]
 \RequirePackage{xkeyval}
 \newif\ifsuftesi at article
 \newif\ifsuftesi at collection
@@ -2780,8 +2780,7 @@
     \SUF at quotation@size}
   {\endlist}
 \ifSUF at fewfootnotes
-\RequirePackage[perpage]{zref}
- \zmakeperpage{footnote}
+ \RequirePackage{footnpag}
 \AtBeginDocument{%
 \def\@fnsymbol#1{%
    \ifcase#1\or \TextOrMath\textasteriskcentered *\or
@@ -2788,22 +2787,18 @@
    \TextOrMath {\textasteriskcentered\textasteriskcentered}{**}\or
    \TextOrMath {\textasteriskcentered%
                 \textasteriskcentered\textasteriskcentered}{***}\or
-  \protect\ClassWarningNoLine{suftesi}%
-  {Too many footnotes per page. Compile again or\MessageBreak
-   remove the class option 'fewfootnote'}
+  \protect\ClassError{suftesi}%
+  {Too many footnotes per page. \MessageBreak
+   Remove the class option 'fewfootnote'\MessageBreak
+   Two LaTeX runs required.}
+  {Too many footnotes per page. \MessageBreak
+   Remove the class option 'fewfootnote'\MessageBreak
+   Two LaTeX runs required.}
   \fi
 }%
 }
 \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.