diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/yathesis/yathesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/yathesis/yathesis.cls | 26 |
1 files changed, 16 insertions, 10 deletions
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% |