summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-08 23:20:03 +0000
committerKarl Berry <karl@freefriends.org>2024-03-08 23:20:03 +0000
commit82a8435606ae17f3eb1f43cb3343e805a44429a3 (patch)
tree3dac8965b4c49974c557865758e306dc923cae2c
parentea8a4705f31907ac587bd88e0ee04ce76b9d93e2 (diff)
yathesis (branch) (9mar24)
git-svn-id: svn://tug.org/texlive/branches/branch2023.final@70512 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md6
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zipbin4109600 -> 4107611 bytes
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex6
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdfbin6462456 -> 6463137 bytes
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdfbin1256548 -> 1257015 bytes
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex8
-rw-r--r--Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx8
-rw-r--r--Master/texmf-dist/source/latex/yathesis/yathesis.dtx50
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty8
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis.cls26
11 files changed, 76 insertions, 38 deletions
diff --git a/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md b/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
index 56d19ded2cf..668d53a003d 100644
--- a/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
+++ b/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
@@ -1,5 +1,11 @@
# [Unreleased]
+# [1.0.12] - 2024-03-07
+
+## Changed
+- Documentation improved
+- Code more robust
+
# [1.0.11] - 2023-02-24
## Changed
diff --git a/Master/texmf-dist/doc/latex/yathesis/README.md b/Master/texmf-dist/doc/latex/yathesis/README.md
index 2e3268733da..a733e2c842f 100644
--- a/Master/texmf-dist/doc/latex/yathesis/README.md
+++ b/Master/texmf-dist/doc/latex/yathesis/README.md
@@ -1,6 +1,6 @@
-----------------------------------------------------------------------
-- `yathesis` --- Yet Another Thesis Class, version 1.0.11
+- `yathesis` --- Yet Another Thesis Class, version 1.0.12
- E-mail: `denis.bitouze@univ-littoral.fr`
- Released under the LaTeX Project Public License v1.3c or later. See
http://www.latex-project.org/lppl.txt
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip b/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip
index 1ebc1b1ff12..4ac2b7c2f67 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip
+++ b/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex b/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex
index 1f148ffb99c..b06627f5d3c 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex
+++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex
@@ -710,6 +710,12 @@ Ce colophon peut être personnalisé au moyen de l'option
permettant de modifier le texte par défaut du colophon.}%
%
Cette commande permet de redéfinir le \meta{texte} par défaut du colophon.
+
+ \begin{dbwarning}{Commande \protect\refCom{colophontext} : dans le corps du
+ et document avant \protect\refCom{maketitle}}{}
+ Pour qu'elle soit opérationnelle, la commande \refCom{colophontext} doit
+ être employée entre \lstinline+\begin{document}+ et \refCom{maketitle}.
+ \end{dbwarning}
\end{docCommand}
La \yatCl{} s'appuie sur le \Package{colophon} pour composer le colophon. De ce
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf b/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
index 889dddfe2f9..8cb190be11f 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
+++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
index 72d8c92210c..2867956f0e6 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
+++ b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex
index 83c23a35662..043218162e4 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex
+++ b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex
@@ -128,7 +128,7 @@
\floatsetup[figure]{style=BOXED}%
%
% Numéro de version du package pgfplots
-\pgfplotsset{compat=1.17}
+\pgfplotsset{compat=1.18}
%
% Ajustement pour éviter, dans la table des matières, des débordements de
% numéros de pages dans la marge de droite
@@ -137,11 +137,11 @@
\makeatother
%
% Macro pour mettre en forme les noms de fichiers
-\newcommand{\fichier}[1]{\texttt{#1}}
+\NewDocumentCommand{\fichier}{ m }{\texttt{#1}}
% Macro pour mettre en forme les noms de packages LaTeX
-\newcommand{\package}[1]{\textsf{#1}}
+\NewDocumentCommand{\package}{ m }{\textsf{#1}}
% Macro pour mettre en forme des locutions étrangères
-\newcommand{\locution}[1]{\emph{#1}}
+\NewDocumentCommand{\locution}{ m }{\emph{#1}}
%
% Commande permettant de faire figurer d'un seul coup toutes les références des
% ressources bibliographiques ci-dessus, même si elles ne sont pas citées
diff --git a/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx b/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx
index 33838d9870c..0e87b16a409 100644
--- a/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx
+++ b/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx
@@ -219,7 +219,7 @@
%
% Numéro de version du package pgfplots
%COMMENT
-\pgfplotsset{compat=1.17}
+\pgfplotsset{compat=1.18}
%<<COMMENT
%
% Ajustement pour éviter, dans la table des matières, des débordements de
@@ -245,15 +245,15 @@
%<<COMMENT
% Macro pour mettre en forme les noms de fichiers
%COMMENT
-\newcommand{\fichier}[1]{\texttt{#1}}
+\NewDocumentCommand{\fichier}{ m }{\texttt{#1}}
%<<COMMENT
% Macro pour mettre en forme les noms de packages LaTeX
%COMMENT
-\newcommand{\package}[1]{\textsf{#1}}
+\NewDocumentCommand{\package}{ m }{\textsf{#1}}
%<<COMMENT
% Macro pour mettre en forme des locutions étrangères
%COMMENT
-\newcommand{\locution}[1]{\emph{#1}}
+\NewDocumentCommand{\locution}{ m }{\emph{#1}}
%</flat-sample|macros-sample>
%<*these-sample|flat-sample>
%<<COMMENT
diff --git a/Master/texmf-dist/source/latex/yathesis/yathesis.dtx b/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
index 867fc3f9377..a03d55f1789 100644
--- a/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
+++ b/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2012-2023 by Denis Bitouz'e <denis.bitouze@univ-littoral.fr>
+% Copyright (C) 2012-2024 by Denis Bitouz'e <denis.bitouze@univ-littoral.fr>
% -------------------------------------------------------------------------------
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -23,7 +23,7 @@
%<*readme>
-----------------------------------------------------------------------
-- `yathesis` --- Yet Another Thesis Class, version 1.0.11
+- `yathesis` --- Yet Another Thesis Class, version 1.0.12
- E-mail: `denis.bitouze@univ-littoral.fr`
- Released under the LaTeX Project Public License v1.3c or later. See
http://www.latex-project.org/lppl.txt
@@ -85,7 +85,7 @@ Typesetting the documentation of the class requires:
% This field contains the version of the package.
% The value is optional.
% The value is restricted to 32 characters.
-\version{1.0.11 2023-02-24}
+\version{1.0.12 2024-03-07}
% -------------------------------------------------------------------------
% This field contains the name of the author(s).
% The value is optional.
@@ -199,6 +199,12 @@ Note: The “ya” in the package name stands for “yet another”.
%<*changelog>
# [Unreleased]
+# [1.0.12] - 2024-03-07
+
+## Changed
+- Documentation improved
+- Code more robust
+
# [1.0.11] - 2023-02-24
## Changed
@@ -488,8 +494,8 @@ Note: The “ya” in the package name stands for “yet another”.
\fi
%</internal>
%<*class|install>
-\def\yathesisversion{1.0.11}
-\def\yathesisdate{2023-02-24}
+\def\yathesisversion{1.0.12}
+\def\yathesisdate{2024-03-07}
%</class|install>
%<*install>
\input l3docstrip.tex
@@ -756,8 +762,8 @@ This work consists of the file yathesis.dtx
%
% \DoNotIndex{\addbibresource,\biolinumKeyGlyph,\DeclareRobustCommand,\ClassWarning,\DescribeOption,\DescribeShortCut,\ifcase,\ifnum,\ifthenelse,\option,\pagestyle}
%
-% \def\yathesisversion{1.0.11}
-% \def\yathesisdate{2023-02-24}
+% \def\yathesisversion{1.0.12}
+% \def\yathesisdate{2024-03-07}
%
% \title{\textsf{yathesis} : classe \LaTeX{} pour la rédaction de thèses\\
% selon les (des) règles en vigueur en France\thanks{Ce fichier décrit la version
@@ -3593,7 +3599,7 @@ This work consists of the file yathesis.dtx
\YAD@localstyle % pour les local TOCs qui suivent
\ifbool{YAD@mainmatter}%
{%
- \pagestyle{mainmatter}%
+ \pagestyle{mainmatter}%
}{%
}%
\ifbool{YAD@backmatter}%
@@ -3628,7 +3634,7 @@ This work consists of the file yathesis.dtx
\YAD@localstyle % pour les local TOCs qui suivent
\ifbool{YAD@mainmatter}%
{%
- \pagestyle{mainmatter}%
+ \pagestyle{mainmatter}%
}{%
}%
\ifbool{YAD@backmatter}%
@@ -5944,12 +5950,18 @@ This work consists of the file yathesis.dtx
\xapptocmd{\listoftables}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
\xpretocmd{\listoffigures}{\renewcommand{\YAD@localtoc}{}}{}{}%
\xapptocmd{\listoffigures}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
-\xpretocmd{\printbibliography}{\renewcommand{\YAD@localtoc}{}}{}{}%
-\xapptocmd{\printbibliography}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
-\xpretocmd{\printglossary}{\renewcommand{\YAD@localtoc}{}}{}{}%
-\xapptocmd{\printglossary}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
-\xpretocmd{\printindex}{\renewcommand{\YAD@localtoc}{}}{}{}%
-\xapptocmd{\printindex}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
+\ifcsdef{printbibliography}{%
+ \xpretocmd{\printbibliography}{\renewcommand{\YAD@localtoc}{}}{}{}%
+ \xapptocmd{\printbibliography}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
+ }{}%
+\ifcsdef{printglossary}{%
+ \xpretocmd{\printglossary}{\renewcommand{\YAD@localtoc}{}}{}{}%
+ \xapptocmd{\printglossary}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
+ }{}%
+\ifcsdef{printindex}{%
+ \xpretocmd{\printindex}{\renewcommand{\YAD@localtoc}{}}{}{}%
+ \xapptocmd{\printindex}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
+}{}%
% \end{macrocode}
% On redéfinit la commande ×\section× de sorte que, comme la commande
% ×\chapter×, elle dispose d'un argument optionnel supplémentaire permettant de
@@ -7439,8 +7451,12 @@ style=#yadsymbolstyle,⟨autre⟩
}
\xpretocmd{\conclusion}{\cleardoublepage\zlabel{conclusion}}{}{}
\xpretocmd{\conclusion*}{\cleardoublepage\zlabel{conclusion}}{}{}
- \xpretocmd{\printbibliography}{\cleardoublepage\zlabel{printbibliography}}{}{}
- \xpretocmd{\printindex}{\cleardoublepage\zlabel{printindex}}{}{}
+ \ifcsdef{printbibliography}{%
+ \xpretocmd{\printbibliography}{\cleardoublepage\zlabel{printbibliography}}{}{}
+ }{}
+ \ifcsdef{printindex}{%
+ \xpretocmd{\printindex}{\cleardoublepage\zlabel{printindex}}{}{}
+ }{}
\xapptocmd{\makebackcover}{\zlabel{makebackcover}}{}{}
\let\include\input
}
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
index 276f5d3b2d8..b4fba5d2e42 100644
--- a/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
+++ b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
@@ -74,8 +74,12 @@
}
\xpretocmd{\conclusion}{\cleardoublepage\zlabel{conclusion}}{}{}
\xpretocmd{\conclusion*}{\cleardoublepage\zlabel{conclusion}}{}{}
- \xpretocmd{\printbibliography}{\cleardoublepage\zlabel{printbibliography}}{}{}
- \xpretocmd{\printindex}{\cleardoublepage\zlabel{printindex}}{}{}
+ \ifcsdef{printbibliography}{%
+ \xpretocmd{\printbibliography}{\cleardoublepage\zlabel{printbibliography}}{}{}
+ }{}
+ \ifcsdef{printindex}{%
+ \xpretocmd{\printindex}{\cleardoublepage\zlabel{printindex}}{}{}
+ }{}
\xapptocmd{\makebackcover}{\zlabel{makebackcover}}{}{}
\let\include\input
}
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls
index 65d141e8a5e..52a3150d946 100644
--- a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls
+++ b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls
@@ -11,8 +11,8 @@
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% -----------------------------------------------------------------------
-\def\yathesisversion{1.0.11}
-\def\yathesisdate{2023-02-24}
+\def\yathesisversion{1.0.12}
+\def\yathesisdate{2024-03-07}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{yathesis}[\yathesisdate\space v\yathesisversion\space Yet another class for writing thesis (DB)]
\ExplSyntaxOn
@@ -2041,7 +2041,7 @@
\YAD@localstyle % pour les local TOCs qui suivent
\ifbool{YAD@mainmatter}%
{%
- \pagestyle{mainmatter}%
+ \pagestyle{mainmatter}%
}{%
}%
\ifbool{YAD@backmatter}%
@@ -2076,7 +2076,7 @@
\YAD@localstyle % pour les local TOCs qui suivent
\ifbool{YAD@mainmatter}%
{%
- \pagestyle{mainmatter}%
+ \pagestyle{mainmatter}%
}{%
}%
\ifbool{YAD@backmatter}%
@@ -3914,12 +3914,18 @@
\xapptocmd{\listoftables}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
\xpretocmd{\listoffigures}{\renewcommand{\YAD@localtoc}{}}{}{}%
\xapptocmd{\listoffigures}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
-\xpretocmd{\printbibliography}{\renewcommand{\YAD@localtoc}{}}{}{}%
-\xapptocmd{\printbibliography}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
-\xpretocmd{\printglossary}{\renewcommand{\YAD@localtoc}{}}{}{}%
-\xapptocmd{\printglossary}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
-\xpretocmd{\printindex}{\renewcommand{\YAD@localtoc}{}}{}{}%
-\xapptocmd{\printindex}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
+\ifcsdef{printbibliography}{%
+ \xpretocmd{\printbibliography}{\renewcommand{\YAD@localtoc}{}}{}{}%
+ \xapptocmd{\printbibliography}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
+ }{}%
+\ifcsdef{printglossary}{%
+ \xpretocmd{\printglossary}{\renewcommand{\YAD@localtoc}{}}{}{}%
+ \xapptocmd{\printglossary}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
+ }{}%
+\ifcsdef{printindex}{%
+ \xpretocmd{\printindex}{\renewcommand{\YAD@localtoc}{}}{}{}%
+ \xapptocmd{\printindex}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
+}{}%
\LetLtxMacro{\YAD@ORI@section}{\section}%
\renewcommand\section{%
\if@mainmatter%