texlive[60991] Master/texmf-dist: suftesi

commits+karl at tug.org commits+karl at tug.org
Sun Nov 7 22:42:57 CET 2021


Revision: 60991
          http://tug.org/svn/texlive?view=revision&revision=60991
Author:   karl
Date:     2021-11-07 22:42:57 +0100 (Sun, 07 Nov 2021)
Log Message:
-----------
suftesi

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	2021-11-07 21:27:54 UTC (rev 60990)
+++ trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2021-11-07 21:42:57 UTC (rev 60991)
@@ -56,7 +56,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
 %<class>\ProvidesClass{suftesi}
 %<*class>
-    [2021/06/06 v3.1.3 A class for typesetting theses, books and articles]
+    [2021/11/01 v3.2.0 A class for typesetting theses, books and articles]
 %</class>
 %<*driver>
 \documentclass[12pt]{ltxdoc}
@@ -248,7 +248,7 @@
   \draw[draw=gray!10,thick] (\expaperwidth,0) -- (\expaperwidth,\expaperheight);
   \draw[xshift=\exxshift,body] (0,0) rectangle (\extextwidth,\extextheight);
   \draw[xshift=\exzshift,body] (0,0) rectangle (\extextwidth,\extextheight);
-  \node at (\expaperwidth,-4) (caption) {\parbox{2.5cm}{\centering\footnotesize\texttt{#2}\par (\sufgetlength[cm]{2}{\expaperwidth} $\times$ \sufgetlength[cm]{2}{\expaperheight})\par}};
+  \node at (\expaperwidth,-4) (caption) {\parbox{3cm}{\centering\footnotesize\texttt{#2}\par (\sufgetlength[cm]{2}{\expaperwidth} $\times$ \sufgetlength[cm]{2}{\expaperheight})\par}};
   \end{tikzpicture}}
 % --------------------------------------------------------
 % OTHER THUMBNAILS
@@ -338,7 +338,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{5686}
+% \CheckSum{5685}
 %
 % \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
@@ -356,6 +356,8 @@
 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %   Right brace   \}     Tilde         \~}
 %
+% \changes{v3.2.0}{2021/11/01}{Fixed a bug in \cmd{xfootnote} command. 
+% Fixed a bug occurring when using the \cmd{geometry} command.}
 % \changes{v3.1.3}{2021/06/06}{Maintenance release. 
 % Moved commands for breaking titles after \opt{titletoc} settings. 
 % Corrected a bug in \cmd{maketitle} with the \opt{collection} structure. 
@@ -485,7 +487,7 @@
 % on the basis of Sebastian Kosch's Crimson. 
 % The \texttt{typewriter} font is Inconsolata, 
 % designed by Raph Levien and the \textsf{sans serif} text 
-% is typeset in Linux Biolinum, created by Philipp H.~Pol. 
+% is typeset in Linux Biolinum, created by Philipp H.~Poll. 
 %\end{minipage}
 %
 % \vfill
@@ -912,7 +914,7 @@
 % The default roman font is Cochineal by Michael Sharpe,
 % the sans serif font is Linux Biolinum, designed by Philipp H. 
 % Poll,\index{Poll, Philipp H.} and the typewriter face is Inconsolata 
-% by Michael Sharpe. Cochineal is a fork of Crimson, by Sebastian Kosch, 
+% by Raph Levien. Cochineal is a fork of Crimson, by Sebastian Kosch, 
 % a font inspired by masterpieces like Sabon (Jan Tschichold) and Minion 
 % (Robert Slimbach). It is a very complete typeface and it offers full 
 % support for Greek and Cyrillic, real small caps (even in italic shape) 
@@ -960,7 +962,8 @@
 %
 % \optitem[10\OR 10pt]{fontsize}{\meta{dimen}}
 % Sets the main font sizes for the document, changing the \cmd{baselineskip} 
-% accordingly. This option is based on the \sty{fontsize} package \parencite{fontsize}. The \meta{fontsize} can be given in any unit recognized 
+% accordingly. This option is based on the \sty{fontsize} package \parencite{fontsize}.
+% The \meta{fontsize} can be given in any unit recognized 
 % by TeX (for example: \opt{6mm}, \opt{1ex}, \opt{11.5pt}). 
 % If the unit is not declared it defaults to \texttt{pt}. 
 % If you want to set a specific value for \cmd{baselineskip} 
@@ -967,8 +970,11 @@
 % you have to use the \cmd{changefontsize}\oarm{baselineskip}\arm{fontsize} command. 
 %
 % \optitem[low]{smallcapsstyle}{\opt{low}\OR\opt{upper}}
-% Effective only with \opt{\meta{level}font=smallcaps} and \opt{toc\meta{level}font=smallcaps} options (see sections \ref{sec:titles} and \ref{sec:toc}).
-% With \hologo{XeLaTeX} or \hologo{LuaLaTeX} this option is effective only if a font selection command (such as \cmd{setmainfont}) is given.
+% Effective only with \opt{\meta{level}font=smallcaps} and
+% \opt{toc\meta{level}font=smallcaps} options (see sections \ref{sec:titles} 
+% and \ref{sec:toc}).
+% With \hologo{XeLaTeX} or \hologo{LuaLaTeX} this option is effective only if a font
+% selection command (such as \cmd{setmainfont}) is given.
 %   \begin{valuelist}
 %     \item[low] Prints lowercase spaced \textsc{\lsstyle small capitals}.
 %     \item[upper] Prints spaced \textsc{\lsstyle Small Capitals} with uppercase initials.
@@ -1593,8 +1599,7 @@
 %    \scriptsize\@thefnmark.\hskip.5em}%
 %}\hfill
 %\fakefootnote{\renewcommand\@makefntext{%
-%    \textsuperscript{\scriptsize\@thefnmark}\hskip.3em}
-%}
+%    \raisebox{3pt}{\scriptsize\@thefnmark}\hskip.3em}\vspace*{5pt}}
 %\makeatother
 %\caption{The four styles for the footnotes: \opt{bulged}, \opt{hung}, \opt{dotted}, \opt{superscript}}\label{fig:fakefootnote}
 %\end{figure}
@@ -1656,7 +1661,7 @@
 % \changes{v0.9b}{2012/09/23}{New command \cmd{xfootnote}}
 %
 % Aa command to print a footnote with a discretionary
-% symbols given in the optional argument (default:\texttt{*}).  
+% symbols given in the optional argument (default:~\texttt{*}).  
 % It does not increment the footnote counter.
 %
 % \cmditem{marginpar}{text}
@@ -5334,10 +5339,6 @@
 \else
   \let\SUF at versionof\relax
 \fi
-\AtBeginDocument{%
- \pagestyle{fancy}
-  \renewcommand{\headrulewidth}{0pt} 
-  \renewcommand{\footnoterule}{}}
 %    \end{macrocode}
 % \paragraph{The \opt{default} headers}
 % In previous versions \cmd{SUF at HEAD@thechapter} and 
@@ -5384,10 +5385,25 @@
 \fi
 \def\SUF at leftrightmark{%
   \if at mainmatter\leftmark\else\rightmark\fi} 
-\pagestyle{sufdefault}
-  \ifsuftesi at centerheader\pagestyle{centerheader}\else\fi
-  \ifsuftesi at sufplain\pagestyle{sufplain}\else\fi
 %    \end{macrocode}
+% The \cmd{geometry} command gives the expected result 
+% only if used \textit{before} the page style assignment.
+% So this must be declared at the beginning of the document:
+%    \begin{macrocode}
+\AtBeginDocument{%
+  \renewcommand{\headrulewidth}{0pt}
+  \renewcommand{\footnoterule}{}
+  \ifsuftesi at centerheader
+   \pagestyle{centerheader}
+    \else
+     \ifsuftesi at sufplain
+      \pagestyle{sufplain}
+       \else
+      \pagestyle{sufdefault}
+     \fi
+   \fi
+}
+%    \end{macrocode}
 % \subsection{Notes and quotations}
 % \paragraph{Block Quotations}
 % New environments for block quotations according to a popular Italian style. 
@@ -5441,10 +5457,11 @@
 \fi
 %    \end{macrocode}
 % \paragraph{The \cmd{xfootnote} command} Prints a footnote with discretionary
-% symbol give in the first argument.
+% symbol give in the first argument. Since version 1.3.4 \cmd{protected at xdef}
+% replaces \cmd{xdef}.
 %    \begin{macrocode}
 \newcommand*\xfootnote[1][*]{%
-  \xdef\@thefnmark{#1}%
+  \protected at xdef\@thefnmark{#1}%
     \@footnotemark\@footnotetext}
 %    \end{macrocode}
 % \paragraph{Marginal notes}

Modified: trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2021-11-07 21:27:54 UTC (rev 60990)
+++ trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2021-11-07 21:42:57 UTC (rev 60991)
@@ -26,7 +26,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesClass{suftesi}
-    [2021/06/06 v3.1.3 A class for typesetting theses, books and articles]
+    [2021/11/01 v3.2.0 A class for typesetting theses, books and articles]
 \RequirePackage{xkeyval}
 \newif\ifsuftesi at article
 \newif\ifsuftesi at collection
@@ -2704,10 +2704,6 @@
 \else
   \let\SUF at versionof\relax
 \fi
-\AtBeginDocument{%
- \pagestyle{fancy}
-  \renewcommand{\headrulewidth}{0pt}
-  \renewcommand{\footnoterule}{}}
 \renewcommand{\chaptermark}[1]{%
   \markboth{\chaptertitlename\ \SUF at HEAD@thechapter}{#1}}
   \ifsuftesi at article
@@ -2744,9 +2740,19 @@
 \fi
 \def\SUF at leftrightmark{%
   \if at mainmatter\leftmark\else\rightmark\fi}
-\pagestyle{sufdefault}
-  \ifsuftesi at centerheader\pagestyle{centerheader}\else\fi
-  \ifsuftesi at sufplain\pagestyle{sufplain}\else\fi
+\AtBeginDocument{%
+  \renewcommand{\headrulewidth}{0pt}
+  \renewcommand{\footnoterule}{}
+  \ifsuftesi at centerheader
+   \pagestyle{centerheader}
+    \else
+     \ifsuftesi at sufplain
+      \pagestyle{sufplain}
+       \else
+      \pagestyle{sufdefault}
+     \fi
+   \fi
+}
 \renewenvironment{quotation}
   {\list{}{\listparindent\parindent%
     \itemindent    \listparindent
@@ -2790,7 +2796,7 @@
 \def\thefootnote{\@fnsymbol\c at footnote}%
 \fi
 \newcommand*\xfootnote[1][*]{%
-  \xdef\@thefnmark{#1}%
+  \protected at xdef\@thefnmark{#1}%
     \@footnotemark\@footnotetext}
 \let\oldmarginpar\marginpar
 \ifSUF at marginpar



More information about the tex-live-commits mailing list.