diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-08 23:19:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-08 23:19:49 +0000 |
commit | 16e7af98f2b1cc746c4240da06e32609d97616a0 (patch) | |
tree | 9373f5a7f6197bbec1712f9bc864c8bb5829fd0d /Master/texmf-dist/source/latex | |
parent | 38e56e6181d9aa8e9e9acf83dcf17425bdd043d8 (diff) |
yathesis (9mar24)
git-svn-id: svn://tug.org/texlive/trunk@70511 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx | 8 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/yathesis/yathesis.dtx | 50 |
2 files changed, 37 insertions, 21 deletions
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 } |