texlive[73055] Master/texmf-dist: suftesi (6dec24)
commits+karl at tug.org
commits+karl at tug.org
Fri Dec 6 23:32:52 CET 2024
Revision: 73055
https://tug.org/svn/texlive?view=revision&revision=73055
Author: karl
Date: 2024-12-06 23:32:52 +0100 (Fri, 06 Dec 2024)
Log Message:
-----------
suftesi (6dec24)
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-06 22:32:42 UTC (rev 73054)
+++ trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx 2024-12-06 22:32:52 UTC (rev 73055)
@@ -10,9 +10,10 @@
All rights reserved.
-This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
-of this license or (at your option) any later version.
+This work may be distributed and/or modified under
+the conditions of the LaTeX Project Public License,
+either version 1.3 of this license or (at your
+option) any later version.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of LaTeX
@@ -32,20 +33,22 @@
\nopreamble\nopostamble
\file{suftesi.bib}{\from{suftesi.dtx}{bib}}}
-\Msg{***********************************************************}
+\Msg{*********************************************}
\Msg{*}
-\Msg{* To finish the installation you have to move the following}
-\Msg{* files into a directory searched by TeX:}
+\Msg{* To finish the installation you have to move
+\Msg{* the following files into a directory}
+\Msg{* searched by TeX:}
\Msg{*}
\Msg{* \space\space suftesi.cls}
\Msg{*}
\Msg{*}
-\Msg{* To produce the documentation on suftesi's code run}
-\Msg{* the file ending with `.dtx' through (pdf)LaTeX. See the}
+\Msg{* To produce the documentation on suftesi's}
+\Msg{* code run the file ending with `.dtx'}
+\Msg{* through pdfLaTeX. See the}
\Msg{* README file for more details.}
\Msg{*}
\Msg{* Happy TeXing}
-\Msg{***********************************************************}
+\Msg{*********************************************}}
\endgroup
%</internal>
% \fi
@@ -56,7 +59,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<class>\ProvidesClass{suftesi}
%<*class>
- [2024/12/04 v3.2.5 A class for typesetting theses, books and articles]
+ [2024/12/06 v3.2.6 A class for typesetting theses, books and articles]
%</class>
%<*driver>
\documentclass[12pt]{ltxdoc}
@@ -93,9 +96,10 @@
% FONTS
%--------------------------------------------------------
\usepackage{cochineal}
-% To use the cochineal inside the document we have to define the family
-% because the .fd files of the font refer to conditionals
-% defined in 'cochineal.sty’:
+% To use the cochineal inside the document we have
+% to define the family because the .fd files of the
+% font refer to conditionals defined in
+% 'cochineal.sty’:
\DeclareFontFamily{T1}{Cochineal-LF}{}
\DeclareFontShape{T1}{Cochineal-LF}{m}{n}{
<-> s*[1.0] Cochineal-Roman-osf-t1}{}
@@ -125,10 +129,23 @@
\usepackage[style=philosophy-classic]{biblatex}
\addbibresource{suftesi.bib}
\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,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine,
-cochineal,mathpazo,bera,amsthm}
+\addtocategory{pkgs-loaded}{
+fixltxhyph,
+luatex85,
+appendix,caption,
+color,crop,enumitem,
+emptypage,fancyhdr,
+fontsize,mathalpha,
+libertinust1math,newtx,
+geometry,iftex,
+microtype,multicol,
+titlesec,titletoc,
+xkeyval,cclicenses,
+lm,textcomp,
+newpx,biolinum,
+inconsolata,libertine,
+cochineal,mathpazo,
+bera,amsthm}
\usepackage{array}
\usepackage{booktabs}
\usepackage{multirow}
@@ -196,17 +213,23 @@
\makeatother
\newcommand{\mygrpxsize}{12.5}
\def\latintxt{Aliquam auctor, pede consequat
- laoreet varius, eros tellus maris quam, pellentesque hendrerit.
+ laoreet varius, eros tellus maris quam,
+ pellentesque hendrerit.
Verecundia conditur.}
-\def\latintxtb{Morbi luctus, wisi viverra faucibus pretium,
- nihil est placerat pro cuius loquentis verba. Sed maleficium in quibusdam certum.}
-\def\greektxt{Πρῶτον εἰπεῖν περὶ τί καὶ τίνος ἐστὶν ἡ σκέψις, ὅτι περὶ
-ἀπόδειξιν καὶ ἐπιστήμης ἀποδεικτικῆς· εἶτα διορίσαι τί
-ἐστι πρότασις καὶ τί ὅρος καὶ τί συλλογισμός}
+\def\latintxtb{Morbi luctus, wisi viverra faucibus
+ pretium, nihil est placerat pro cuius loquentis
+ verba. Sed maleficium in quibusdam certum.}
+\def\greektxt{Πρῶτον εἰπεῖν περὶ τί καὶ τίνος ἐστὶν
+ ἡ σκέψις, ὅτι περὶ ἀπόδειξιν καὶ ἐπιστήμης
+ ἀποδεικτικῆς· εἶτα διορίσαι τί ἐστι πρότασις καὶ
+ τί ὅρος καὶ τί συλλογισμός}
\newcommand{\greekexample}[4]{%
- \noindent\textbf{#3}{ \fontfamily{#1}\selectfont\latintxt\ }%
+ \noindent\textbf{#3}%
+ {\fontfamily{#1}\selectfont\ \latintxt\ }%
{\fontfamily{#2}\fontsize{#4}{13}\selectfont%
- \textgreek{\greektxt}} {\fontfamily{#1}\selectfont\latintxtb}\par\vskip 6pt plus 1pt minus 1pt}
+ \textgreek{\greektxt}}
+ {\fontfamily{#1}\selectfont\latintxtb}\par
+ \vskip 6pt plus 1pt minus 1pt}
% --------------------------------------------------------
% LAYOUTS THUMBNAILS
% --------------------------------------------------------
@@ -337,24 +360,9 @@
%</driver>
% \fi
%
-% \CheckSum{5688}
+% \CheckSum{5695}
%
-% \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
-% Lower-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
-% Digits \0\1\2\3\4\5\6\7\8\9
-% Exclamation \! Double quote \" Hash (number) \#
-% Dollar \$ Percent \% Ampersand \&
-% Acute accent \' Left paren \( Right paren \)
-% Asterisk \* Plus \+ Comma \,
-% Minus \- Point \. Solidus \/
-% Colon \: Semicolon \; Less than \<
-% Equals \= Greater than \> Question mark \?
-% Commercial at \@ Left bracket \[ Backslash \\
-% Right bracket \] Circumflex \^ Underscore \_
-% Grave accent \` Left brace \{ Vertical bar \|
-% Right brace \} Tilde \~}
-%
+% \changes{v3.2.6}{2024/12/06}{New option \opt{loadfontsize} to temporarily fix a bug in calculation made by \sty{flontsize} when loaded by the class.}
% \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}
@@ -975,6 +983,13 @@
% If you want to set a specific value for \cmd{baselineskip}
% you have to use the \cmd{changefontsize}\oarm{baselineskip}\arm{fontsize} command.
%
+% \optitem[false]{loadfontsize}{\opt{true}\OR\opt{false}}
+% The previous option has limitations in calculating values.
+% It will be fixed, hopefully, in future versions.
+% This option disables it by default and gives full access to the \sty{fontsize} package.
+% If you have documents typeset with the previous option
+% you can reactivate it with \opt{loadfontsize=true}
+%
% \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}
@@ -2411,6 +2426,7 @@
\newif\ifsuftesi at ctocpar
\newif\ifsuftesi at ctocsubpar
\newif\ifsuftesi at FSPL
+\newif\ifsuftesi at loadfontsize
% \end{macrocode}
% The class is based on the standard \sty{book} class but the following options are disabled as they contrast with the layouts provided by the class. Specifically, the first five options are actually ineffective, while the \opt{landscape} option rotates the page correctly, but sets the text width according to the class options, effectively making it unusable.
% \begin{macrocode}
@@ -2433,10 +2449,13 @@
\ProcessOptions
\relax
\LoadClass{book}
-\RequirePackage{fontsize}
+\DeclareOptionX{loadfontsize}{\suftesi at loadfontsizetrue}
\DeclareOptionX{parindent}{\setlength{\parindent}{#1}}
\ExecuteOptionsX{parindent=\baselineskip}
\ProcessOptionsX*\relax
+\ifsuftesi at loadfontsize
+\RequirePackage{fontsize}
+\else\fi
% \end{macrocode}
% \subsection{Options setting}
% \subsubsection{Structure}
Modified: trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls 2024-12-06 22:32:42 UTC (rev 73054)
+++ trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls 2024-12-06 22:32:52 UTC (rev 73055)
@@ -12,9 +12,10 @@
%%
%% All rights reserved.
%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license or (at your option) any later version.
+%% This work may be distributed and/or modified under
+%% the conditions of the LaTeX Project Public License,
+%% either version 1.3 of this license or (at your
+%% option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
@@ -26,7 +27,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesClass{suftesi}
- [2024/12/04 v3.2.5 A class for typesetting theses, books and articles]
+ [2024/12/06 v3.2.6 A class for typesetting theses, books and articles]
\RequirePackage{xkeyval}
\newif\ifsuftesi at article
\newif\ifsuftesi at collection
@@ -74,6 +75,7 @@
\newif\ifsuftesi at ctocpar
\newif\ifsuftesi at ctocsubpar
\newif\ifsuftesi at FSPL
+\newif\ifsuftesi at loadfontsize
\DeclareOption{a4paper}{%
\ClassWarningNoLine{suftesi}{Option 'a4paper' not available}{}}
\DeclareOption{a5paper}{%
@@ -90,10 +92,13 @@
\ProcessOptions
\relax
\LoadClass{book}
-\RequirePackage{fontsize}
+\DeclareOptionX{loadfontsize}{\suftesi at loadfontsizetrue}
\DeclareOptionX{parindent}{\setlength{\parindent}{#1}}
\ExecuteOptionsX{parindent=\baselineskip}
\ProcessOptionsX*\relax
+\ifsuftesi at loadfontsize
+\RequirePackage{fontsize}
+\else\fi
\define at choicekey{}{structure}[\suftesi at val\suftesi at nr]
{book,article,collection}[book]{%
\ifcase\suftesi at nr\relax
More information about the tex-live-commits
mailing list.