texlive[59481] Master/texmf-dist: suftesi (5jun21)

commits+karl at tug.org commits+karl at tug.org
Sat Jun 5 23:12:34 CEST 2021


Revision: 59481
          http://tug.org/svn/texlive?view=revision&revision=59481
Author:   karl
Date:     2021-06-05 23:12:34 +0200 (Sat, 05 Jun 2021)
Log Message:
-----------
suftesi (5jun21)

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-06-05 21:12:21 UTC (rev 59480)
+++ trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2021-06-05 21:12:34 UTC (rev 59481)
@@ -56,7 +56,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
 %<class>\ProvidesClass{suftesi}
 %<*class>
-    [2021/05/23 v3.1.1 A class for typesetting theses, books and articles]
+    [2021/06/05 v3.1.2 A class for typesetting theses, books and articles]
 %</class>
 %<*driver>
 \documentclass[12pt]{ltxdoc}
@@ -338,7 +338,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{5685}
+% \CheckSum{5683}
 %
 % \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,7 +356,8 @@
 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %   Right brace   \}     Tilde         \~}
 %
-%  \changes{v3.1.1}{2021/05/23}{Redefined some boolean options. Renamed some private commands. Corrected a bug in headers numbering (\cmd{protect} removed). Disabled automatic partial ToC functionality. Improved \opt{fewfootnotes} option via \sty{zref}. Updated documentation.}
+% \changes{v3.1.2}{2021/06/05}{Corrected a bug with \opt{reverseauthortitle} option.}
+% \changes{v3.1.1}{2021/05/23}{Redefined some boolean options. Renamed some private commands. Corrected a bug in headers numbering (\cmd{protect} removed). Disabled automatic partial ToC functionality. Improved \opt{fewfootnotes} option via \sty{zref}. Updated documentation.}
 % \changes{v3.1.0}{2021/05/20}{Replaced \cmd{val}\cmd{nr} with \cmd{suftesi at val}\cmd{suftesi at nr}. Corrected a bug with \cmd{maketitle} in \opt{collection} structure. New options \opt{partialtoc} and \opt{maketitlestyle}. New commands for customizing the partial ToC. New value \opt{justify} for \opt{quotestyle} option. Improved \opt{quotesize} option. Renamed the \opt{revauthortitle} option to \opt{reverseauthortitle}. The options \opt{titlefont}, \opt{authorfont}, \opt{reverseauthortitle} now work for every structure. Renewed documentation}
 % \changes{v3.0.2}{2021/02/06}{Improved \opt{subsecstyle} and \opt{subsubsecstyle} options.}
 % \changes{v3.0.1}{2021/01/27}{Maintenance release.}
@@ -941,6 +942,18 @@
 % ^^A ----------------------------------------------------------------
 % 
 % \begin{optionlist*}
+% \optitem[cochineal]{defaultfont}{\opt{none}\OR\opt{cochineal}\OR\opt{libertine}\OR\opt{palatino}\OR\opt{standard}}
+%   \begin{valuelist}
+%     \item[none] Does not load any font (default with 
+%    \hologo{XeLaTeX} or \hologo{LuaLaTeX}). Use this option 
+%    if you want full control over the font selection
+%     \item[cochineal] Loads the Cochineal serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
+%     \item[libertine] Loads the Linux Libertine serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
+%     \item[palatino] Loads the New PX serif, the Linux Biolinum sans serif and the Inconsolata typewriter. Note that the New PX font does not provide support for Greek. The \opt{greekfont=artemisia} option offers a very good solution.
+% ^^A and {\fontfamily{artemisia}\selectfont Artemisia} by the {\fontfamily{artemisia}\selectfont Greek Font Society} for the greek text.
+%     \item[standard] Loads the \sty{lmodern} package: Latin Modern font family and CB Greek.
+%   \end{valuelist}
+%
 % \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 
@@ -957,17 +970,7 @@
 %     \item[upper] Prints spaced \textsc{\lsstyle Small Capitals} with uppercase initials.
 %   \end{valuelist}
 %
-% \optitem[cochineal]{defaultfont}{\opt{none}\OR\opt{cochineal}\OR\opt{libertine}\OR\opt{palatino}\OR\opt{standard}}
-%   \begin{valuelist}
-%     \item[none] Does not load any font (default with 
-%    \hologo{XeLaTeX} or \hologo{LuaLaTeX}). Use this option 
-%    if you want full control over the font selection
-%     \item[cochineal] Loads the Cochineal serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
-%     \item[libertine] Loads the Linux Libertine serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
-%     \item[palatino] Loads the New PX serif, the Linux Biolinum sans serif and the Inconsolata typewriter. Note that the New PX font does not provide support for Greek. The \opt{greekfont=artemisia} option offers a very good solution.
-% ^^A and {\fontfamily{artemisia}\selectfont Artemisia} by the {\fontfamily{artemisia}\selectfont Greek Font Society} for the greek text.
-%     \item[standard] Loads the \sty{lmodern} package: Latin Modern font family and CB Greek.
-%   \end{valuelist}
+%
 % \end{optionlist*}
 %
 % ^^A ----------------------------------------------------------------
@@ -1128,7 +1131,7 @@
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
-% In the following option \meta{level} can be \opt{part}, \opt{chap}, \opt{sec},
+% In the following options \meta{level} can be \opt{part}, \opt{chap}, \opt{sec},
 % \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}. You can see some
 % combinations of these options in figure \ref{fig:fakechapter}.
 %
@@ -1183,18 +1186,19 @@
 %
 % \changes{v2.9.3}{2020/001/29}{New commands to change the font of the section titles and numbers.}
 %
-% The commands in this section are experimental. They provide a fast way to customize the format of section titles and numbers. Note that in some cases you will have to manually adjust the spacing  accordingly, using \cmd{titlespacing}, \cmd{hskip}/\cmd{hspace}, \cmd{vskip}/\cmd{vspace}, and so on. 
+% The commands in this section are experimental. They provide a fast way to customize the format of section titles and numbers. Note that in some cases you will have to manually adjust the spacing  accordingly, using \cmd{titlespacing}, \cmd{hspace}, \cmd{vspace}, and so on. 
 %
+% Below \meta{level} can be \opt{part},
+% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
+%
 % \begin{ltxsyntax}
 % \cmditem*{\meta{level}font}{definition}
 %
-% Changes the font of the \meta{level} title, where \meta{level} can be \opt{part},
-% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
+% Changes the font of the \meta{level} title.
 %
 % \cmditem*{\meta{level}numfont}{definition}
 %
-% Changes the font of the \meta{level} number, where \meta{level} can be \opt{part},
-% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
+% Changes the font of the \meta{level} number.
 %
 % For example, if you used the \opt{chapfont=smallcaps} option, you can change the size of the chapter title accordingly with:
 % \begin{latexcode}
@@ -1302,6 +1306,7 @@
 %  \end{valuelist}
 % \optitem[roman]{toc\meta{level}font}{\opt{roman}\OR\opt{italic}\OR
 % \opt{smallcaps}}
+%   Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}.
 %  \begin{valuelist}
 %     \item[roman] Prints the \meta{level} ToC entry in roman.
 %     \item[italic] Prints the \meta{level} ToC entry in \emph{italic}.
@@ -1308,7 +1313,6 @@
 %     \item[smallcaps] Prints the \meta{level} ToC entry 
 %      in \textsc{\lsstyle spaced small caps}
 %  \end{valuelist}
-%   Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}.
 % \optitem[all]{twocolcontents}{\opt{toc}\OR\opt{lof}\OR
 % \opt{lot}\OR\opt{toclof}\OR\opt{toclot}\OR\opt{loflot}\OR\opt{all}}
 % This option activates the \opt{tocstyle=ragged} option 
@@ -1344,25 +1348,32 @@
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \paragraph{General commands}\label{sec:toc:commands:general}
+%        \paragraph{General commands}\label{sec:toc:commands:general}\mbox{}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
+% Below \meta{level} can be \opt{part},
+% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
+%
 % \begin{ltxsyntax}
+% 
 % \cmditem*{toc\meta{level}font}{definition}
 %
-% Changes the font of the \meta{level} title, where \meta{level} can be \opt{part},
-% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
+% Changes the font of the \meta{level} title.
 %
 % \cmditem*{toc\meta{level}numfont}{definition}
 %
-% Changes the font of the \meta{level} number, where \meta{level} can be \opt{part},
-% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
+% Changes the font of the \meta{level} number.
 %
+% \end{ltxsyntax}
+%
+% Below \meta{level} can be \opt{part}, \opt{chap},  \opt{sec},  \opt{subsec},  \opt{subsubsec},  \opt{par},  \opt{subpar}, \opt{fig}, \opt{tab}.
+%
+% \begin{ltxsyntax}
 % \cmditem{toclabelwidth}{level}{dim}
 % \changes{v0.9a}{2012/08/31}{New command \cmd{toclabelspace}}
 %
-% Adds the \meta{dim} to the \meta{level} label in the table of contents, where \meta{level} can be \opt{part}, \opt{chap},  \opt{sec},  \opt{subsec},  \opt{subsubsec},  \opt{par},  \opt{subpar}, \opt{fig}, \opt{tab}. For example, when using \opt{chapnumstyle=Roman} you would probably need to adjust the width of the chapter label with |\toclabelwidth{chap}{1em}|.
+% Adds the \meta{dim} to the \meta{level} label in the table of contents. For example, when using \opt{chapnumstyle=Roman} you would probably need to adjust the width of the chapter label with |\toclabelwidth{chap}{1em}|.
 %
 % \cmditem*{tocpartname}{definition}\hfill default: \cmd{partname}
 %
@@ -1388,7 +1399,7 @@
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \paragraph{Partial ToCs}\label{sec:toc:partialtoc}
+%        \paragraph{Partial ToCs}\label{sec:toc:partialtoc}\mbox{}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
@@ -1410,11 +1421,11 @@
 %
 % Sets the font size of the partial ToC.
 %
-% \cmditem*{partialtocbeforespace}{dimen}
+% \cmditem*{partialtocbeforespace}{dimen} \hfill default: |0pt|
 %
 % Sets the space before the partial ToC.
 %
-% \cmditem*{partialtocafterpace}{dimen}
+% \cmditem*{partialtocafterpace}{dimen} \hfill default: |2|\cmd{baselineskip}
 %
 % Sets the space after the partial ToC.
 %
@@ -1612,8 +1623,8 @@
 %
 % \optitem[true]{marginpar}{\opt{true}\OR\opt{false}}
 %   \begin{valuelist}
-%     \item[true] Prints the marginal notes.
-%     \item[false] Hide the marginal notes.
+%     \item[true] Prints the marginal notes set with \cmd{marginpar}.
+%     \item[false] Hide the marginal notes set with \cmd{marginpar}.
 %   \end{valuelist}
 % \optitem[standard]{captionstyle}{\opt{standard}\OR\opt{sanserif}\OR\opt{italic}\OR\opt{smallcaps}}
 % All these values print the caption in small size, changing the shape:
@@ -2418,6 +2429,7 @@
     {book,article,collection}[book]{%
 \ifcase\suftesi at nr\relax
 % \disable at keys{}{secnumstyle}
+  \SUF at titlepagetrue
   \def\SUF at chapswitch{\thechapter.}
 \or
   \suftesi at articletrue
@@ -2425,7 +2437,8 @@
   \def\SUF at chapswitch{}
 \or
   \suftesi at collectiontrue
-    \setkeys{}{headerstyle=authortitleinner}
+  \SUF at titlepagefalse
+  \setkeys{}{headerstyle=authortitleinner}
   \def\SUF at chapswitch{}
 \fi}
 %    \end{macrocode}
@@ -2445,11 +2458,13 @@
 \fi}
 %    \end{macrocode}
 % \paragraph{Other options}
+% The \opt{marginpar} option conflicts with the \sty{geometry} package
+% when it is declared without explicitly providing a value. To be fixed! 
 %    \begin{macrocode}
-\define at boolkey[SUF]{}{marginpar}[true]{}
-\define at boolkey[SUF]{}{partpage}[true]{}
-\define at boolkey[SUF]{}{draftdate}[true]{}
-\define at boolkey[SUF]{}{titlepage}[true]{}
+\define at boolkey{}[SUF@]{marginpar}[true]{}
+\define at boolkey{}[SUF@]{partpage}[true]{}
+\define at boolkey{}[SUF@]{draftdate}[true]{}
+\define at boolkey{}[SUF@]{titlepage}[true]{}
 %    \end{macrocode}
 % \subsubsection{Fonts}
 % \paragraph{Roman fonts}
@@ -3109,7 +3124,7 @@
   \suftesi at twocolumnlottrue
   \setkeys{}{tocstyle=ragged}
 \fi}
-\define at boolkey[SUF]{}{partialtoc}[true]{}
+\define at boolkey{}[SUF@]{partialtoc}[true]{}
 %    \end{macrocode}
 % \paragraph{Table of contents font}
 %    \begin{macrocode}
@@ -3284,7 +3299,7 @@
   \renewcommand\@makefntext{%
     \textsuperscript{\@thefnmark}\hskip.3em}
 \fi}
-\define at boolkey[SUF]{}{fewfootnotes}[true]{}
+\define at boolkey{}[SUF@]{fewfootnotes}[true]{}
 %    \end{macrocode}
 % \paragraph{Captions}
 %    \begin{macrocode}
@@ -3677,7 +3692,6 @@
 %    \end{macrocode}
 % \subsubsection{Options processing}
 %    \begin{macrocode}
-\ProcessOptionsX[SUF]<>\relax
 \ExecuteOptionsX<>{
   structure=book,
   pagelayout=standard,
@@ -3692,6 +3706,7 @@
   quotesize=footnotesize,
   quotestyle=center,
   captionstyle=standard,
+  marginpar=true,
   tocstyle=standard,
   partstyle=left,
   chapstyle=left,
@@ -5297,7 +5312,7 @@
 \partialtocparlabelfont{}
 \partialtocsubparlabelfont{}
 \partialtocbeforespace{0pt}
-\partialtocafterspace{0pt}
+\partialtocafterspace{2\baselineskip}
 \partialtocbeforecode{}
 \partialtocaftercode{}
 %    \end{macrocode}
@@ -5595,7 +5610,7 @@
    \SUF at authortitle@align
     \let\footnote\thanks
      \parindent=0pt
-    {\SUF at second}%
+    {\SUF at second\par}%
    \label{begin:\thearticle}
 %    \end{macrocode}
 % Check if you don't use \sty{hyperrref} provided by Enrico Gregorio
@@ -5615,7 +5630,7 @@
     {\SUF at tocTIT@font{\@headtitle}}}
     \endgroup%
     \par\nobreak\vspace{2ex}
-    {\SUF at first%
+    {\SUF at first\par%
     \vskip1.5cm}}%
     }
 % \newenvironment{article}
@@ -5715,9 +5730,7 @@
       {\SUF at first\par}%
       \vskip 3em%
       {\lineskip .75em%
-        \begin{tabular}[t]{c}%
-          \SUF at second
-        \end{tabular}\par}%
+        \SUF at second\par}%
         \vskip 1.5em%
       {\SUF at datefont\@date\par}%       
     \end{center}\par
@@ -5769,9 +5782,7 @@
      {\SUF at first\par}%
      \vskip 1.5em%
      {\lineskip .5em%
-       \begin{tabular}[t]{c}%
-        \SUF at second\par
-       \end{tabular}\par}%
+       \SUF at second\par}%
      \vskip 1em%
      {\SUF at datefont\@date\par}%
    \end{center}%

Modified: trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2021-06-05 21:12:21 UTC (rev 59480)
+++ trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2021-06-05 21:12:34 UTC (rev 59481)
@@ -26,7 +26,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesClass{suftesi}
-    [2021/05/23 v3.1.1 A class for typesetting theses, books and articles]
+    [2021/06/05 v3.1.2 A class for typesetting theses, books and articles]
 \RequirePackage{xkeyval}
 \newif\ifsuftesi at article
 \newif\ifsuftesi at collection
@@ -97,6 +97,7 @@
 \define at choicekey{}{structure}[\suftesi at val\suftesi at nr]
     {book,article,collection}[book]{%
 \ifcase\suftesi at nr\relax
+  \SUF at titlepagetrue
   \def\SUF at chapswitch{\thechapter.}
 \or
   \suftesi at articletrue
@@ -104,7 +105,8 @@
   \def\SUF at chapswitch{}
 \or
   \suftesi at collectiontrue
-    \setkeys{}{headerstyle=authortitleinner}
+  \SUF at titlepagefalse
+  \setkeys{}{headerstyle=authortitleinner}
   \def\SUF at chapswitch{}
 \fi}
 \define at choicekey{}{version}[\suftesi at val\suftesi at nr]
@@ -119,10 +121,10 @@
 \or
   \AtBeginDocument{\crop[off]}
 \fi}
-\define at boolkey[SUF]{}{marginpar}[true]{}
-\define at boolkey[SUF]{}{partpage}[true]{}
-\define at boolkey[SUF]{}{draftdate}[true]{}
-\define at boolkey[SUF]{}{titlepage}[true]{}
+\define at boolkey{}[SUF@]{marginpar}[true]{}
+\define at boolkey{}[SUF@]{partpage}[true]{}
+\define at boolkey{}[SUF@]{draftdate}[true]{}
+\define at boolkey{}[SUF@]{titlepage}[true]{}
 \define at choicekey{}{defaultfont}[\suftesi at val\suftesi at nr]
     {none,cochineal,libertine,palatino,standard,compatibility}[cochineal]{%
 \ifcase\suftesi at nr\relax
@@ -743,7 +745,7 @@
   \suftesi at twocolumnlottrue
   \setkeys{}{tocstyle=ragged}
 \fi}
-\define at boolkey[SUF]{}{partialtoc}[true]{}
+\define at boolkey{}[SUF@]{partialtoc}[true]{}
 \define at choicekey{}{tocpartfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
 \ifcase\suftesi at nr\relax
@@ -898,7 +900,7 @@
   \renewcommand\@makefntext{%
     \textsuperscript{\@thefnmark}\hskip.3em}
 \fi}
-\define at boolkey[SUF]{}{fewfootnotes}[true]{}
+\define at boolkey{}[SUF@]{fewfootnotes}[true]{}
 \RequirePackage{caption}
 \captionsetup{labelsep=period,font=small,textformat=period}
 \define at choicekey{}{captionstyle}[\suftesi at val\suftesi at nr]
@@ -1264,7 +1266,6 @@
   \def\SUF at second{\SUF at authorstyle\SUF at authorfont\@author}
   \relax
 \fi}
-\ProcessOptionsX[SUF]<>\relax
 \ExecuteOptionsX<>{
   structure=book,
   pagelayout=standard,
@@ -1279,6 +1280,7 @@
   quotesize=footnotesize,
   quotestyle=center,
   captionstyle=standard,
+  marginpar=true,
   tocstyle=standard,
   partstyle=left,
   chapstyle=left,
@@ -2691,7 +2693,7 @@
 \partialtocparlabelfont{}
 \partialtocsubparlabelfont{}
 \partialtocbeforespace{0pt}
-\partialtocafterspace{0pt}
+\partialtocafterspace{2\baselineskip}
 \partialtocbeforecode{}
 \partialtocaftercode{}
 \RequirePackage{fancyhdr}
@@ -2936,7 +2938,7 @@
    \SUF at authortitle@align
     \let\footnote\thanks
      \parindent=0pt
-    {\SUF at second}%
+    {\SUF at second\par}%
    \label{begin:\thearticle}
    \@ifundefined{Hy at raisedlink}{\let\texorpdfstring\@firstoftwo}{%
     \xdef\@currentHref{title.\thearticle}%
@@ -2950,7 +2952,7 @@
     {\SUF at tocTIT@font{\@headtitle}}}
     \endgroup%
     \par\nobreak\vspace{2ex}
-    {\SUF at first%
+    {\SUF at first\par%
     \vskip1.5cm}}%
     }
 \newenvironment{article}
@@ -3028,9 +3030,7 @@
       {\SUF at first\par}%
       \vskip 3em%
       {\lineskip .75em%
-        \begin{tabular}[t]{c}%
-          \SUF at second
-        \end{tabular}\par}%
+        \SUF at second\par}%
         \vskip 1.5em%
       {\SUF at datefont\@date\par}%
     \end{center}\par
@@ -3082,9 +3082,7 @@
      {\SUF at first\par}%
      \vskip 1.5em%
      {\lineskip .5em%
-       \begin{tabular}[t]{c}%
-        \SUF at second\par
-       \end{tabular}\par}%
+       \SUF at second\par}%
      \vskip 1em%
      {\SUF at datefont\@date\par}%
    \end{center}%



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