From bf9156e531a3f6e83314e834a760ede0ba73cc59 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 23 Jun 2018 20:56:05 +0000 Subject: yathesis (23jun18) git-svn-id: svn://tug.org/texlive/trunk@48079 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/yathesis/yathesis.cls | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex/yathesis') diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls index 6f13ba18670..6a1b2a37034 100644 --- a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls +++ b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls @@ -12,7 +12,7 @@ %% See http://www.latex-project.org/lppl.txt %% ----------------------------------------------------------------------- \def\fileversion{v0.99s} -\def\filedate{2018/06/21} +\def\filedate{2018/06/22} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{yathesis}[\filedate\space\fileversion\space Yet another class for writing thesis (DB)] \RequirePackage{pgfopts}[2011/06/02]% @@ -3670,6 +3670,11 @@ {% \bgroup \YAD@localstyle% + \@ifundefined {Etoc@\YAD@localtocsdepth @@} + {% + }{% + \etocsetnexttocdepth{\YAD@localtocsdepth}% + } \YAD@computelocalnumwidths\relax% \@ifundefined {Etoc@\YAD@localtocsdepth @@} {% @@ -3831,6 +3836,11 @@ \YAD@tmp@section[#1][#2]{#3}% }% \newcommandtwoopt{\YAD@unstarred@section}[3][][]{% + \boolfalse{YAD@nonnumbered@section}% + \boolfalse{YAD@nonnumbered@subsection}% + \boolfalse{YAD@nonnumbered@subsubsection}% + \boolfalse{YAD@nonnumbered@paragraph}% + \boolfalse{YAD@nonnumbered@subparagraph}% \YAD@tmp@section[#1][#2]{#3}% }% \LetLtxMacro{\YAD@ORI@subsection}{\subsection} @@ -3859,6 +3869,10 @@ \YAD@tmp@subsection[#1]{#2}% }% \newcommand{\YAD@unstarred@subsection}[2][]{% + \boolfalse{YAD@nonnumbered@subsection}% + \boolfalse{YAD@nonnumbered@subsubsection}% + \boolfalse{YAD@nonnumbered@paragraph}% + \boolfalse{YAD@nonnumbered@subparagraph}% \YAD@tmp@subsection[#1]{#2}% }% \LetLtxMacro{\YAD@ORI@subsubsection}{\subsubsection} @@ -3886,6 +3900,9 @@ \YAD@tmp@subsubsection[#1]{#2}% }% \newcommand{\YAD@unstarred@subsubsection}[2][]{% + \boolfalse{YAD@nonnumbered@subsubsection}% + \boolfalse{YAD@nonnumbered@paragraph}% + \boolfalse{YAD@nonnumbered@subparagraph}% \YAD@tmp@subsubsection[#1]{#2}% }% \LetLtxMacro{\YAD@ORI@paragraph}{\paragraph} @@ -3912,6 +3929,8 @@ \YAD@tmp@paragraph[#1]{#2}% }% \newcommand{\YAD@unstarred@paragraph}[2][]{% + \boolfalse{YAD@nonnumbered@paragraph}% + \boolfalse{YAD@nonnumbered@subparagraph}% \YAD@tmp@paragraph[#1]{#2}% }% \LetLtxMacro{\YAD@ORI@subparagraph}{\subparagraph} @@ -3937,6 +3956,7 @@ \YAD@tmp@subparagraph[#1]{#2}% }% \newcommand{\YAD@unstarred@subparagraph}[2][]{% + \boolfalse{YAD@nonnumbered@subparagraph}% \YAD@tmp@subparagraph[#1]{#2}% }% \@ifpackageloaded{floatrow}{% -- cgit v1.2.3