texlive[70512] branches/branch2023.final/Master/texmf-dist: yathesis

commits+karl at tug.org commits+karl at tug.org
Sat Mar 9 00:20:03 CET 2024


Revision: 70512
          https://tug.org/svn/texlive?view=revision&revision=70512
Author:   karl
Date:     2024-03-09 00:20:03 +0100 (Sat, 09 Mar 2024)
Log Message:
-----------
yathesis (branch) (9mar24)

Modified Paths:
--------------
    branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
    branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/README.md
    branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip
    branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex
    branches/branch2023.final/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx
    branches/branch2023.final/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
    branches/branch2023.final/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
    branches/branch2023.final/Master/texmf-dist/tex/latex/yathesis/yathesis.cls

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md	2024-03-08 23:19:49 UTC (rev 70511)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md	2024-03-08 23:20:03 UTC (rev 70512)
@@ -1,5 +1,11 @@
 # [Unreleased]
 
+# [1.0.12] - 2024-03-07
+
+## Changed
+- Documentation improved
+- Code more robust
+
 # [1.0.11] - 2023-02-24
 
 ## Changed

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/README.md
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/README.md	2024-03-08 23:19:49 UTC (rev 70511)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/README.md	2024-03-08 23:20:03 UTC (rev 70512)
@@ -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 at univ-littoral.fr`
 - Released under the LaTeX Project Public License v1.3c or later. See
   http://www.latex-project.org/lppl.txt

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex	2024-03-08 23:19:49 UTC (rev 70511)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex	2024-03-08 23:20:03 UTC (rev 70512)
@@ -710,6 +710,12 @@
     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

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex	2024-03-08 23:19:49 UTC (rev 70511)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex	2024-03-08 23:20:03 UTC (rev 70512)
@@ -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

Modified: branches/branch2023.final/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx
===================================================================
--- branches/branch2023.final/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx	2024-03-08 23:19:49 UTC (rev 70511)
+++ branches/branch2023.final/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx	2024-03-08 23:20:03 UTC (rev 70512)
@@ -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

Modified: branches/branch2023.final/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
===================================================================
--- branches/branch2023.final/Master/texmf-dist/source/latex/yathesis/yathesis.dtx	2024-03-08 23:19:49 UTC (rev 70511)
+++ branches/branch2023.final/Master/texmf-dist/source/latex/yathesis/yathesis.dtx	2024-03-08 23:20:03 UTC (rev 70512)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2012-2023 by Denis Bitouz'e <denis.bitouze at univ-littoral.fr>
+% Copyright (C) 2012-2024 by Denis Bitouz'e <denis.bitouze at 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 at 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 @@
 % 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 @@
 %<*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 @@
 \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 @@
 %
 % \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 @@
             \YAD at localstyle % pour les local TOCs qui suivent
             \ifbool{YAD at mainmatter}%
             {%
-            \pagestyle{mainmatter}%
+              \pagestyle{mainmatter}%
             }{%
             }%
             \ifbool{YAD at backmatter}%
@@ -3628,7 +3634,7 @@
             \YAD at localstyle % pour les local TOCs qui suivent
             \ifbool{YAD at mainmatter}%
             {%
-            \pagestyle{mainmatter}%
+              \pagestyle{mainmatter}%
             }{%
             }%
             \ifbool{YAD at backmatter}%
@@ -5944,12 +5950,18 @@
 \xapptocmd{\listoftables}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
 \xpretocmd{\listoffigures}{\renewcommand{\YAD at localtoc}{}}{}{}%
 \xapptocmd{\listoffigures}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
-\xpretocmd{\printbibliography}{\renewcommand{\YAD at localtoc}{}}{}{}%
-\xapptocmd{\printbibliography}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
-\xpretocmd{\printglossary}{\renewcommand{\YAD at localtoc}{}}{}{}%
-\xapptocmd{\printglossary}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
-\xpretocmd{\printindex}{\renewcommand{\YAD at localtoc}{}}{}{}%
-\xapptocmd{\printindex}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
+\ifcsdef{printbibliography}{%
+  \xpretocmd{\printbibliography}{\renewcommand{\YAD at localtoc}{}}{}{}%
+  \xapptocmd{\printbibliography}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
+  }{}%
+\ifcsdef{printglossary}{%
+  \xpretocmd{\printglossary}{\renewcommand{\YAD at localtoc}{}}{}{}%
+  \xapptocmd{\printglossary}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
+  }{}%
+\ifcsdef{printindex}{%
+  \xpretocmd{\printindex}{\renewcommand{\YAD at localtoc}{}}{}{}%
+  \xapptocmd{\printindex}{\renewcommand{\YAD at localtoc}{\YAD at 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 @@
   }
   \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
 }

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty	2024-03-08 23:19:49 UTC (rev 70511)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty	2024-03-08 23:20:03 UTC (rev 70512)
@@ -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
 }

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/yathesis/yathesis.cls
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/yathesis/yathesis.cls	2024-03-08 23:19:49 UTC (rev 70511)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/yathesis/yathesis.cls	2024-03-08 23:20:03 UTC (rev 70512)
@@ -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 at localstyle % pour les local TOCs qui suivent
             \ifbool{YAD at mainmatter}%
             {%
-            \pagestyle{mainmatter}%
+              \pagestyle{mainmatter}%
             }{%
             }%
             \ifbool{YAD at backmatter}%
@@ -2076,7 +2076,7 @@
             \YAD at localstyle % pour les local TOCs qui suivent
             \ifbool{YAD at mainmatter}%
             {%
-            \pagestyle{mainmatter}%
+              \pagestyle{mainmatter}%
             }{%
             }%
             \ifbool{YAD at backmatter}%
@@ -3914,12 +3914,18 @@
 \xapptocmd{\listoftables}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
 \xpretocmd{\listoffigures}{\renewcommand{\YAD at localtoc}{}}{}{}%
 \xapptocmd{\listoffigures}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
-\xpretocmd{\printbibliography}{\renewcommand{\YAD at localtoc}{}}{}{}%
-\xapptocmd{\printbibliography}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
-\xpretocmd{\printglossary}{\renewcommand{\YAD at localtoc}{}}{}{}%
-\xapptocmd{\printglossary}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
-\xpretocmd{\printindex}{\renewcommand{\YAD at localtoc}{}}{}{}%
-\xapptocmd{\printindex}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
+\ifcsdef{printbibliography}{%
+  \xpretocmd{\printbibliography}{\renewcommand{\YAD at localtoc}{}}{}{}%
+  \xapptocmd{\printbibliography}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
+  }{}%
+\ifcsdef{printglossary}{%
+  \xpretocmd{\printglossary}{\renewcommand{\YAD at localtoc}{}}{}{}%
+  \xapptocmd{\printglossary}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
+  }{}%
+\ifcsdef{printindex}{%
+  \xpretocmd{\printindex}{\renewcommand{\YAD at localtoc}{}}{}{}%
+  \xapptocmd{\printindex}{\renewcommand{\YAD at localtoc}{\YAD at default@localtoc}}{}{}%
+}{}%
 \LetLtxMacro{\YAD at ORI@section}{\section}%
 \renewcommand\section{%
   \if at mainmatter%



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