diff options
Diffstat (limited to 'Master/texmf-dist/tex')
3 files changed, 26 insertions, 43 deletions
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty index b85a0747879..65b16c05af9 100644 --- a/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty +++ b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty @@ -7,7 +7,7 @@ %% yathesis.dtx (with options: `demopkg') %% ----------------------------------------------------------------------- %% yathesis --- Yet Another Thesis Class -%% E-mail: denis.bitouze@lmpa.univ-littoral.fr +%% 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 %% ----------------------------------------------------------------------- @@ -77,11 +77,11 @@ } %% ---------------------------------------------------------------------------------- %% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 +%% conditions of the LaTeX Project Public License, either version 1.3c %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX +%% and version 1.3c or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis-translations.tex b/Master/texmf-dist/tex/latex/yathesis/yathesis-translations.tex index e4c7ada2d4e..c70634d2f4a 100644 --- a/Master/texmf-dist/tex/latex/yathesis/yathesis-translations.tex +++ b/Master/texmf-dist/tex/latex/yathesis/yathesis-translations.tex @@ -7,7 +7,7 @@ %% yathesis.dtx (with options: `translations') %% ----------------------------------------------------------------------- %% yathesis --- Yet Another Thesis Class -%% E-mail: denis.bitouze@lmpa.univ-littoral.fr +%% 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 %% ----------------------------------------------------------------------- @@ -92,11 +92,11 @@ of}% %% ---------------------------------------------------------------------------------- %% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 +%% conditions of the LaTeX Project Public License, either version 1.3c %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX +%% and version 1.3c or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls index 74781e91e13..de41c429f05 100644 --- a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls +++ b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls @@ -7,12 +7,12 @@ %% yathesis.dtx (with options: `class') %% ----------------------------------------------------------------------- %% yathesis --- Yet Another Thesis Class -%% E-mail: denis.bitouze@lmpa.univ-littoral.fr +%% 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 %% ----------------------------------------------------------------------- -\def\fileversion{v0.99p} -\def\filedate{2016/12/08} +\def\fileversion{v0.99q} +\def\filedate{2018/04/10} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{yathesis}[\filedate\space\fileversion\space Yet another class for writing thesis (DB)] \RequirePackage{pgfopts}[2011/06/02]% @@ -2030,25 +2030,23 @@ % \renewcommand{\setcounter}[2]{}% % \newcommand*{\YAD@chapter@header}{% - \ifthenelse{% - \value{secnumdepth}>-1 - \and - \value{chapter}>0 + \ifboolexpr{ + (test {\ifnumcomp{\value{secnumdepth}}{>}{-1}} or (not bool + {YAD@nonnumbered@chapter})) and test {\ifnumcomp{\value{chapter}}{>}{0}} }{% \MakeUppercase\chaptername{}\ \thechapter.% }{% - } + }% \chaptertitle% }% \newcommand*{\YAD@section@header}{% - \ifthenelse{% - \value{secnumdepth}>0 - \and - \value{chapter}>0 + \ifboolexpr{ + (test {\ifnumcomp{\value{secnumdepth}}{>}{0}} or (not bool + {YAD@nonnumbered@section})) and test {\ifnumcomp{\value{chapter}}{>}{0}} }{% \thesection.% }{% - } + }% \sectiontitle% }% \AtBeginDocument{% @@ -2111,7 +2109,6 @@ \setfoot{}{}{}% }% \newpagestyle{prepreliminary}[]{% - \restoregeometry% \setcounter{secnumdepth}{-10}% \YAD@setfoot% }% @@ -2735,6 +2732,7 @@ }{% }% \expandafter\selectlanguage\expandafter{\YAD@mainlanguage}% +\restoregeometry% \pagestyle{preliminary}% }% \AtEndDocument{% @@ -3717,12 +3715,12 @@ \LetLtxMacro{\YAD@ORI@chapter}{\chapter}% \AfterPreamble{% delay the redefinition when titlesec has done its own \renewcommand\chapter{% - \boolfalse{YAD@nonnumbered@chapter}% - \boolfalse{YAD@nonnumbered@section}% - \boolfalse{YAD@nonnumbered@subsection}% - \boolfalse{YAD@nonnumbered@subsubsection}% - \boolfalse{YAD@nonnumbered@paragraph}% - \boolfalse{YAD@nonnumbered@subparagraph}% + % \boolfalse{YAD@nonnumbered@chapter}% + % \boolfalse{YAD@nonnumbered@section}% + % \boolfalse{YAD@nonnumbered@subsection}% + % \boolfalse{YAD@nonnumbered@subsubsection}% + % \boolfalse{YAD@nonnumbered@paragraph}% + % \boolfalse{YAD@nonnumbered@subparagraph}% % \ifbool{YAD@localbibs}{% \let\YAD@ORI@blx@warn@bibempty\blx@warn@bibempty% @@ -3786,11 +3784,6 @@ \xapptocmd{\printindex}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}% \LetLtxMacro{\YAD@ORI@section}{\section} \renewcommand\section{% - % \boolfalse{YAD@nonnumbered@section}% - % \boolfalse{YAD@nonnumbered@subsection}% - % \boolfalse{YAD@nonnumbered@subsubsection}% - % \boolfalse{YAD@nonnumbered@paragraph}% - % \boolfalse{YAD@nonnumbered@subparagraph}% \if@mainmatter% \ifbool{YAD@nonnumbered@chapter}{% }{% @@ -3836,10 +3829,6 @@ }% \LetLtxMacro{\YAD@ORI@subsection}{\subsection} \renewcommand\subsection{% - % \boolfalse{YAD@nonnumbered@subsection}% - % \boolfalse{YAD@nonnumbered@subsubsection}% - % \boolfalse{YAD@nonnumbered@paragraph}% - % \boolfalse{YAD@nonnumbered@subparagraph}% \if@mainmatter% \ifbool{YAD@nonnumbered@section}{% }{% @@ -3868,9 +3857,6 @@ }% \LetLtxMacro{\YAD@ORI@subsubsection}{\subsubsection} \renewcommand\subsubsection{% - % \boolfalse{YAD@nonnumbered@subsubsection}% - % \boolfalse{YAD@nonnumbered@paragraph}% - % \boolfalse{YAD@nonnumbered@subparagraph}% \if@mainmatter% \ifbool{YAD@nonnumbered@subsection}{% }{% @@ -3898,8 +3884,6 @@ }% \LetLtxMacro{\YAD@ORI@paragraph}{\paragraph} \renewcommand\paragraph{% - % \boolfalse{YAD@nonnumbered@paragraph}% - % \boolfalse{YAD@nonnumbered@subparagraph}% \if@mainmatter% \ifbool{YAD@nonnumbered@subsubsection}{% }{% @@ -3926,7 +3910,6 @@ }% \LetLtxMacro{\YAD@ORI@subparagraph}{\subparagraph} \renewcommand\subparagraph{% - % \boolfalse{YAD@nonnumbered@subparagraph}% \if@mainmatter% \ifbool{YAD@nonnumbered@paragraph}{% }{% @@ -4228,11 +4211,11 @@ } %% ---------------------------------------------------------------------------------- %% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 +%% conditions of the LaTeX Project Public License, either version 1.3c %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX +%% and version 1.3c or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. |