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/tex/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/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/yathesis/yathesis.cls | 26 |
2 files changed, 22 insertions, 12 deletions
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% |