summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/yathesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-03 16:47:41 +0000
committerKarl Berry <karl@freefriends.org>2018-05-03 16:47:41 +0000
commit6f8ad37e609437f0652a21fe34ae0a55803e107c (patch)
tree1215dfdc96585472aa18dad03b984e877012b8f1 /Master/texmf-dist/tex/latex/yathesis
parent0ab50bc3d1ddb30ac5f4a9ba8d147e8c2f834d65 (diff)
yathesis (11apr18)
git-svn-id: svn://tug.org/texlive/trunk@47591 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/yathesis')
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty6
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis-translations.tex6
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis.cls57
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'.