diff options
author | Norbert Preining <norbert@preining.info> | 2024-03-09 03:04:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-03-09 03:04:53 +0000 |
commit | bb1788335b7c394ee980b7b6f12b81f5223bbd63 (patch) | |
tree | 1c53bbe5ff2a09f7864c9f758ed934b014aa58f5 /macros/latex/contrib/yathesis | |
parent | 0eba0875b1bcc4a022360ed72a29a81e041cd467 (diff) |
CTAN sync 202403090304
Diffstat (limited to 'macros/latex/contrib/yathesis')
-rw-r--r-- | macros/latex/contrib/yathesis/README.md | 2 | ||||
-rw-r--r-- | macros/latex/contrib/yathesis/doc/yathesis-fr.pdf | bin | 6462456 -> 6463137 bytes | |||
-rw-r--r-- | macros/latex/contrib/yathesis/exemples/specimen/these.pdf | bin | 1256548 -> 1257015 bytes | |||
-rw-r--r-- | macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx | 8 | ||||
-rw-r--r-- | macros/latex/contrib/yathesis/source/yathesis.dtx | 50 |
5 files changed, 38 insertions, 22 deletions
diff --git a/macros/latex/contrib/yathesis/README.md b/macros/latex/contrib/yathesis/README.md index 2e3268733d..a733e2c842 100644 --- a/macros/latex/contrib/yathesis/README.md +++ b/macros/latex/contrib/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/macros/latex/contrib/yathesis/doc/yathesis-fr.pdf b/macros/latex/contrib/yathesis/doc/yathesis-fr.pdf Binary files differindex 889dddfe2f..8cb190be11 100644 --- a/macros/latex/contrib/yathesis/doc/yathesis-fr.pdf +++ b/macros/latex/contrib/yathesis/doc/yathesis-fr.pdf diff --git a/macros/latex/contrib/yathesis/exemples/specimen/these.pdf b/macros/latex/contrib/yathesis/exemples/specimen/these.pdf Binary files differindex 72d8c92210..2867956f0e 100644 --- a/macros/latex/contrib/yathesis/exemples/specimen/these.pdf +++ b/macros/latex/contrib/yathesis/exemples/specimen/these.pdf diff --git a/macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx b/macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx index 33838d9870..0e87b16a40 100644 --- a/macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx +++ b/macros/latex/contrib/yathesis/source/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/macros/latex/contrib/yathesis/source/yathesis.dtx b/macros/latex/contrib/yathesis/source/yathesis.dtx index 867fc3f937..a03d55f178 100644 --- a/macros/latex/contrib/yathesis/source/yathesis.dtx +++ b/macros/latex/contrib/yathesis/source/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 } |