diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/yathesis/yathesis.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/yathesis/yathesis.dtx | 50 |
1 files changed, 33 insertions, 17 deletions
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 } |