texlive[68200] Master/texmf-dist: suftesi (7sep23)

commits+karl at tug.org commits+karl at tug.org
Thu Sep 7 22:15:13 CEST 2023


Revision: 68200
          http://tug.org/svn/texlive?view=revision&revision=68200
Author:   karl
Date:     2023-09-07 22:15:13 +0200 (Thu, 07 Sep 2023)
Log Message:
-----------
suftesi (7sep23)

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	2023-09-07 20:15:03 UTC (rev 68199)
+++ trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2023-09-07 20:15:13 UTC (rev 68200)
@@ -5,7 +5,7 @@
 \preamble
 
 The 'suftesi' document class 
-Copyright (C) 2009-2021 Ivan Valbusa
+Copyright (C) 2009-2023 Ivan Valbusa
 <ivan dot valbusa at gmail dot com>
 
 All rights reserved.
@@ -56,7 +56,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
 %<class>\ProvidesClass{suftesi}
 %<*class>
-    [2021/11/01 v3.2.0 A class for typesetting theses, books and articles]
+    [2023/09/07 v3.2.1 A class for typesetting theses, books and articles]
 %</class>
 %<*driver>
 \documentclass[12pt]{ltxdoc}
@@ -127,8 +127,7 @@
 \DeclareBibliographyCategory{pkgs-loaded}
 \addtocategory{pkgs-loaded}{appendix,caption,color,crop,enumitem,emptypage,
 fancyhdr,fixltxhyph,fontsize,mathalpha,libertinust1math,newtx,geometry,
-iftex,microtype,multicol,titlesec,titletoc,xkeyval,cclicenses,
-substitutefont,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine,
+iftex,microtype,multicol,titlesec,titletoc,xkeyval,cclicenses,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine,
 cochineal,mathpazo,bera,amsthm}
 \usepackage{array}
 \usepackage{booktabs}
@@ -356,8 +355,9 @@
 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %   Right brace   \}     Tilde         \~}
 %
+% \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.}
+	% 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. 
@@ -463,7 +463,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,substitutefont,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,zref,etoolbox}
 %
 % \thispagestyle{empty}
 %
@@ -621,7 +621,7 @@
 %                                                   microtype, multicol, titlesec, titletoc, 
 %                                                   xkeyval, cclicenses*, zref**                             \\
 % \midrule
-%               & \textrm{\hologo{pdfLaTeX} only} & fontenc, substitutefont                                  \\
+%               & \textrm{\hologo{pdfLaTeX} only} & fontenc                                  \\
 % \midrule
 %               & \textrm{\hologo{LuaLaTeX} only} & luatex85                                                 \\
 % \midrule
@@ -3789,8 +3789,10 @@
 \RequirePackage{emptypage}
 \RequirePackage{microtype}
 \RequirePackage{color}
+\AtBeginDocument{
   \definecolor{sufred}{rgb}{0.5,0,0}
   \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
+}
 \RequirePackage{iftex}
 \ifLuaTeX  
   \RequirePackage{luatex85}
@@ -3841,7 +3843,6 @@
     ************************************}}}
 \else
 \RequirePackage[LGR,T1]{fontenc}
-\RequirePackage{substitutefont}
 \AtBeginDocument{\fontencoding{T1}\selectfont}
 %    \end{macrocode}
 % Now we load the macros for the \sty{defaultfont} option. 
@@ -4030,7 +4031,7 @@
 %The following macro was created by Claudio Beccari. Some time later, Massimiliano Dominici suggested the use of \cmd{AtEndPreamble} instead of \cmd{AtBeginDocument}, to make the \env{otherlanguage} environment work.\label{page:atendpreamble}
 %    \begin{macrocode}
 \AtEndPreamble{
-  \substitutefont{LGR}{\rmdefault}{\SUF at greekfamily}
+  \DeclareFontFamilySubstitution{LGR}{\rmdefault}{\SUF at greekfamily}
   \DeclareRobustCommand{\greektext}{%
     \usefont{LGR}{\SUF at greekfamily}{\f at series}{\f at shape}
     \def\encodingdefault{LGR}}
@@ -6522,16 +6523,6 @@
   version = {1.627}
 }
 
- at manual{substitutefont,
-  title = {The \textsf{\MakeLowercase{Substitutefont}} package},
-  subtitle = {Easy font substitution},
-  author = {Milde, Günter},
-  url = {http://www.ctan.org/pkg/substitutefont},
-  urldate = {2020-05-24}, 
-  date = {2013-11-04},
-  version = {0.1.4}
-}
-
 @manual{textcomp,
   title = {The \textsf{\MakeLowercase{Textcomp}} package},
   subtitle = {\LaTeX\ support for the Text Companion fonts},

Modified: trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2023-09-07 20:15:03 UTC (rev 68199)
+++ trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2023-09-07 20:15:13 UTC (rev 68200)
@@ -7,7 +7,7 @@
 %% suftesi.dtx  (with options: `class')
 %% 
 %% The 'suftesi' document class
-%% Copyright (C) 2009-2021 Ivan Valbusa
+%% Copyright (C) 2009-2023 Ivan Valbusa
 %% <ivan dot valbusa at gmail dot com>
 %% 
 %% All rights reserved.
@@ -26,7 +26,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesClass{suftesi}
-    [2021/11/01 v3.2.0 A class for typesetting theses, books and articles]
+    [2023/09/07 v3.2.1 A class for typesetting theses, books and articles]
 \RequirePackage{xkeyval}
 \newif\ifsuftesi at article
 \newif\ifsuftesi at collection
@@ -1319,8 +1319,10 @@
 \RequirePackage{emptypage}
 \RequirePackage{microtype}
 \RequirePackage{color}
+\AtBeginDocument{
   \definecolor{sufred}{rgb}{0.5,0,0}
   \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
+}
 \RequirePackage{iftex}
 \ifLuaTeX
   \RequirePackage{luatex85}
@@ -1356,7 +1358,6 @@
     ************************************}}}
 \else
 \RequirePackage[LGR,T1]{fontenc}
-\RequirePackage{substitutefont}
 \AtBeginDocument{\fontencoding{T1}\selectfont}
 \ifsuftesi at nofont
 \ifsuftesi at greekfont
@@ -1530,7 +1531,7 @@
   \fi
 \fi
 \AtEndPreamble{
-  \substitutefont{LGR}{\rmdefault}{\SUF at greekfamily}
+  \DeclareFontFamilySubstitution{LGR}{\rmdefault}{\SUF at greekfamily}
   \DeclareRobustCommand{\greektext}{%
     \usefont{LGR}{\SUF at greekfamily}{\f at series}{\f at shape}
     \def\encodingdefault{LGR}}



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