diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/yathesis/yathesis.cls | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls index ac2d4f31df4..65d141e8a5e 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.10} -\def\yathesisdate{2022-06-13} +\def\yathesisversion{1.0.11} +\def\yathesisdate{2023-02-24} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{yathesis}[\yathesisdate\space v\yathesisversion\space Yet another class for writing thesis (DB)] \ExplSyntaxOn @@ -21,8 +21,6 @@ \RequirePackage{pgfopts}[2011/06/02]% \RequirePackage{etoolbox}[2011/01/03]% \RequirePackage{xpatch}[2012/10/02]% -\RequirePackage{filehook}[2011/10/12]% -\RequirePackage{hopatch}[2012/05/28]% \RequirePackage{letltxmacro}[2010/09/02]% \RequirePackage{twoopt}[1999/04/12]% \RequirePackage{xifthen}[2009/04/17]% @@ -338,7 +336,7 @@ \def\YAD@localtocsdepth{#1}% }% \ifboolexpr{% - test {\@ifundefined {Etoc@\YAD@localtocsdepth @@}} + test {\etocifunknownlevelTF {\YAD@localtocsdepth}} or % test {\ifstrequal{#1}{part}} or % @@ -520,6 +518,7 @@ }% \RequirePackage[\YAD@secondarylanguage,main=\YAD@mainlanguage]{babel}[2014/03/24] \RequirePackage{etoc}[2016/09/29]% +\providecommand*\etocifunknownlevelTF[1]{\@ifundefined{Etoc@#1@@}}% \ifdefined\etockeeporiginaltableofcontents\etockeeporiginaltableofcontents\fi \RequirePackage{iflang}[2007/11/11]% \RequirePackage{translator}[2010/06/12]% @@ -2053,7 +2052,7 @@ }% \newcommand\tableofcontents@YAD@with@argument[1][]{% \yadsetup{#1}% - \@ifundefined {Etoc@\cmdKV@YAD@depth @@} + \etocifunknownlevelTF {\cmdKV@YAD@depth} {% \YAD@ClassWarningNoLine{% La valeur (`\cmdKV@YAD@depth') passée à la clé `depth'\MessageBreak% @@ -3768,13 +3767,13 @@ {% \bgroup \YAD@localstyle% - \@ifundefined {Etoc@\YAD@localtocsdepth @@} + \etocifunknownlevelTF {\YAD@localtocsdepth} {% }{% \etocsetnexttocdepth{\YAD@localtocsdepth}% } \YAD@computelocalnumwidths\relax% - \@ifundefined {Etoc@\YAD@localtocsdepth @@} + \etocifunknownlevelTF {\YAD@localtocsdepth} {% }{% \etocsetnexttocdepth{\YAD@localtocsdepth}% @@ -4273,7 +4272,7 @@ }% }% }% -\hopatch@AfterPackage{glossaries}{% +\AddToHook{package/glossaries/after}{% \ifbool{YAD@output@paper}{% \ifbool{YAD@output@paper@star}{% }{% |