summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/yathesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-12-10 22:49:12 +0000
committerKarl Berry <karl@freefriends.org>2016-12-10 22:49:12 +0000
commit754e02714f131e6dcf72a0888c62599aaa213ef2 (patch)
tree10254bc51ce968c42ddce803f5070f8a620a5227 /Master/texmf-dist/tex/latex/yathesis
parent815368415d7a82d0dca67d14f8c50fabb2cd388b (diff)
yathesis (10dec16)
git-svn-id: svn://tug.org/texlive/trunk@42671 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/yathesis')
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis-translations.tex112
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis.cls378
2 files changed, 369 insertions, 121 deletions
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis-translations.tex b/Master/texmf-dist/tex/latex/yathesis/yathesis-translations.tex
new file mode 100644
index 00000000000..e4c7ada2d4e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/yathesis/yathesis-translations.tex
@@ -0,0 +1,112 @@
+%%
+%% This is file `yathesis-translations.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% yathesis.dtx (with options: `translations')
+%% -----------------------------------------------------------------------
+%% yathesis --- Yet Another Thesis Class
+%% E-mail: denis.bitouze@lmpa.univ-littoral.fr
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% -----------------------------------------------------------------------
+\expression{coinstitute}{}{}%
+\expression{company}{}{}%
+\expression{institute}{}{}%
+\expression{email}{\Email}{\Email}%
+\expression{phone}{\Telefon}{\Telefon}%
+\expression{fax}{\Fax}{\Fax}%
+\expression{caution}{Avertissement}{Caution}%
+\expression{localbibname}{Bibliographie du pr\'esent chapitre}{Bibliography of the current chapter}%
+\expression{draft}{brouillon}{draft}%
+\expression{prepared-at}{Cette th\`ese a \'et\'e pr\'epar\'ee au}{This
+ thesis has been prepared at}%
+\expression{prepared-at-pl}{Cette th\`ese a \'et\'e pr\'epar\'ee dans les
+ laboratoires suivants.}{This thesis has been prepared at the following
+ research units.}%
+\expression{prepared-at-hdr}{Cette \textsc{hdr} a \'et\'e pr\'epar\'ee au}{This
+ habilitation to conduct research has been prepared at}%
+\expression{prepared-at-pl-hdr}{Cette \textsc{hdr} a \'et\'e pr\'epar\'ee dans
+ les laboratoires suivants.}{This habilitation to conduct research has been
+ prepared at the following research units.}%
+\expression{juniorresearcher}{charg\'e de recherche}{Junior Researcher}%
+\expression{juniorresearcherfem}{charg\'ee de recherche}{Junior Researcher}%
+\expression{juniorresearcher*}{charg\'e de recherche
+ \textsc{hdr}}{\textsc{hdr} Junior Researcher}%
+\expression{juniorresearcherfem*}{charg\'ee de recherche
+ \textsc{hdr}}{\textsc{hdr} Junior Researcher}%
+\expression{cosupervisor}{co-directeur}{Co-Supervisor}%
+\expression{cosupervisorfem}{co-directrice}{Co-Supervisor}
+\expression{comonitor}{co-encadrant}{Co-Monitor}%
+\expression{comonitorfem}{co-encadrante}{Co-Monitor}
+\expression{committeemembers}{Composition du jury}{Committee members}%
+\expression{estimateddefensedate}{Date de soutenance pr\'evue le}{Defense
+ date scheduled on}%
+\expression{supervisor}{directeur}{Supervisor}%
+\expression{supervisorfem}{directrice}{Supervisor}
+\expression{seniorresearcher}{directeur de recherche}{Senior Researcher}%
+\expression{seniorresearcherfem}{directrice de recherche}{Senior Researcher}%
+\expression{supervisors-in-committee}{Directeur de th\`ese}{Supervisor}%
+\expression{supervisors-in-committee-pl}{Directeurs de th\`ese}{Supervisors}%
+\expression{supervisors-in-committee-hdr}{Directeur}{Supervisor}%
+\expression{supervisors-in-committee-pl-hdr}{Directeurs}{Supervisors}%
+\expression{academicfield}{Discipline}{Academic Field}%
+\expression{doctoralschool}{\'Ecole doctorale}{Doctoral School}%
+\expression{aim}{En vue de l'obtention du grade de docteur de l'}{In order
+ to become Doctor from }%
+\expression{aimand}{ et de l'}{ and from }%
+\expression{examiners}{Examinateur}{Examiner}%
+\expression{examiners-pl}{Examinateurs}{Examiners}%
+\expression{guests}{Invit\'e}{Guest}%
+\expression{guests-pl}{Invit\'es}{Guests}%
+\expression{associateprofessor}{\textsc{mcf}}{Associate Professor}%
+\expression{associateprofessor*}{\textsc{mcf} \textsc{hdr}}{\textsc{hdr} Associate Professor}%
+\expression{keywords}{Mots cl\'es}{Keywords}%
+\expression{ordernumber}{Num\'ero d'ordre}{Order Number}%
+\expression{committeepresident}{pr\'esident du jury}{Committee President}%
+\expression{committeepresidentfem}{pr\'esidente du jury}{Committee President}%
+\expression{professor}{professeur}{Professor}%
+\expression{professorfem}{professeure}{Professor}%
+\expression{referees}{Rapporteur}{Referee}%
+\expression{referees-pl}{Rapporteurs}{Referees}%
+\expression{website}{Site}{Web Site}%
+\expression{localtocname}{Sommaire du pr\'esent chapitre}{Outline of the current
+ chapter}%
+\expression{defendedon}{Soutenue le}{Defended on}%
+\expression{speciality}{Sp\'ecialit\'e}{Speciality}%
+\expression{supervisedby}{Th\`ese dirig\'ee par}{Thesis supervised by}%
+\expression{supervisedby-hdr}{Directeurs}{Supervisors}%
+\expression{thesisdefendedby}{Th\`ese pr\'esent\'ee par}{Thesis defended by}%
+\expression{thesisdefendedby-hdr}{Habilitation \`a diriger les recherches
+ pr\'esent\'ee par}{Habilitation to conduct research defended by}%
+\expression{thesistitle}{Titre de la th\`ese}{Thesis Title}%
+\expression{thesistitle-hdr}{Titre de l'habilitation \`a diriger les
+ recherches}{Habilitation to conduct research's Title}%
+\expression{inprogress}{travail en cours}{work in progress}%
+\expression{universitydepartment}{Unit\'e de recherche}{University Department}%
+\expression{versiondate}{Version interm\'ediaire en date du}{Work in progress as
+ of}%
+\expression{inprogressfoottext}{\translate{lbl-versiondate}}{\translate{lbl-versiondate}}%
+\expression{submittedfoottext}{Version soumise en date du}{Submitted work as
+ of}%
+%% ----------------------------------------------------------------------------------
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Denis Bitouzé.
+%%
+%% This work consists of the file yathesis.dtx
+%% and the derived files yathesis.cls,
+%% yathesis.ins,
+%% yathesis.pdf,
+%% and a number of configuration files.
+%%
+%% End of file `yathesis-translations.tex'.
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls
index 3ea917408c7..74781e91e13 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\fileversion{v0.99o}
-\def\filedate{2016/10/30}
+\def\fileversion{v0.99p}
+\def\filedate{2016/12/08}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{yathesis}[\filedate\space\fileversion\space Yet another class for writing thesis (DB)]
\RequirePackage{pgfopts}[2011/06/02]%
@@ -23,6 +23,8 @@
}%
\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]%
\newbool{YAD@cosupervisor@or@comonitor}
\newbool{YAD@inprogress@work@star}
@@ -60,6 +62,12 @@
\newbool{YAD@mainmatter@used}
\newbool{YAD@localtocs}%
\newbool{YAD@nextwithlocaltoc}%
+\newbool{YAD@nonnumbered@chapter}%
+\newbool{YAD@nonnumbered@section}%
+\newbool{YAD@nonnumbered@subsection}%
+\newbool{YAD@nonnumbered@subsubsection}%
+\newbool{YAD@nonnumbered@paragraph}%
+\newbool{YAD@nonnumbered@subparagraph}%
\newlength{\cmdKV@YAD@logoheight}
\newlength{\YAD@max@logoheight}
\newlength{\YAD@default@logoheight}
@@ -468,7 +476,7 @@
}{%
\RequirePackage{fncychap}[2007/07/30]%
}%
-\RequirePackage{titleps}[2011/12/15]%
+\RequirePackage[nopatches]{titleps}[2011/12/15]%
\RequirePackage{nonumonpart}[2011/04/15]%
\RequirePackage{xcolor}[2007/01/21]%
\RequirePackage{datatool}[2014/03/08]%
@@ -609,6 +617,7 @@
\newcommand*{\YAD@configuration@directory}{configuration}
\newcommand*{\YAD@configuration@file}{thesis.cfg}
\newcommand*{\YAD@characteristics@file}{characteristics.tex}
+\newcommand*{\YAD@translations@file}{yathesis-translations.tex}
\AtEndPreamble{%
\@ifpackageloaded{siunitx}{%
\sisetup{detect-all}%
@@ -639,7 +648,7 @@
\YAD@href{\YAD@configuration@directory/#1}{#2}%
}{%
\YAD@href{\jobname.tex}{#2}%
- }
+ }%
}{%
#2%
}%
@@ -695,7 +704,7 @@
\YAD@reach@file[\YAD@configuration@file]{%
\translate{lbl-#1}%
}%
- \end{tabular}
+ \end{tabular}%
}%
}{%
\translate{lbl-#1}%
@@ -739,7 +748,7 @@
\end{enumerate}
Pour plus de d\'etails, consulter la documentation de la
classe \textsl{yathesis}.%
- \end{minipage}
+ \end{minipage}%
}%
\end{center}
}{%
@@ -1132,7 +1141,7 @@
\newcommand{\YAD@display@staff}[1]{%
\DTLforeach*{#1}{%
\YAD@committeemember@lastname=lastname,%
- \YAD@committeemember@fistname=firstname,%
+ \YAD@committeemember@firstname=firstname,%
\YAD@committeemember@role=role,%
\YAD@committeemember@corps=corps,%
\YAD@committeemember@sepcorpaffil=%
@@ -1174,10 +1183,10 @@
% Prénom
\YAD@reach@file{%
%
- \ifthenelse{\DTLiseq{\YAD@committeemember@fistname}{}}{%
+ \ifthenelse{\DTLiseq{\YAD@committeemember@firstname}{}}{%
\YAD@generic@argument@translate{firstname}%
}{%
- \YAD@committeemember@fistname%
+ \YAD@committeemember@firstname%
}%
}
\YAD@reach@file{%
@@ -1243,14 +1252,14 @@
\small%
\DTLifdbempty{YAD@staffs}{}{%
\ifthenelse{\DTLrowcount{YAD@supervisors}>1}{%
- \newcolumntype{u}{>{\itshape}lll}
+ \newcolumntype{u}{>{\itshape}lll}%
}{%
- \newcolumntype{u}{>{\itshape}l@{ }ll}
+ \newcolumntype{u}{>{\itshape}l@{ }ll}%
}%
\begin{tabular}[t]{u}
\DTLforeach*{YAD@supervisors}{%
\YAD@committeemember@lastname=lastname,%
- \YAD@committeemember@fistname=firstname,%
+ \YAD@committeemember@firstname=firstname,%
\YAD@committeemember@role=role%
}{%
% Nature des membres du jury
@@ -1268,10 +1277,10 @@
% Prénom
\YAD@reach@file{%
%
- \ifthenelse{\DTLiseq{\YAD@committeemember@fistname}{}}{%
+ \ifthenelse{\DTLiseq{\YAD@committeemember@firstname}{}}{%
\YAD@generic@argument@translate{firstname}%
}{%
- \YAD@committeemember@fistname%
+ \YAD@committeemember@firstname%
}%
}
% Nom
@@ -1307,7 +1316,7 @@
\\
}%
}%
- \end{tabular}
+ \end{tabular}%
}{%
}%
}%
@@ -1322,7 +1331,7 @@
%
\YAD@display@staff{\YAD@the@staff}%
}%
- \end{tabular}
+ \end{tabular}%
}%
\DeclareRobustCommand*\YAD@meta{\YAD@generic@argument}%
\newcommand*\YAD@logo{}%
@@ -1702,7 +1711,7 @@
% \YAD@firstname@author{} \bsc{\YAD@lastname@author}%
% }{%
\ifthenelse{\isempty{#1}}{%
- \YAD@firstname@author{} \bsc{\YAD@lastname@author}
+ \YAD@firstname@author{} \bsc{\YAD@lastname@author}%
}{%
\YAD@href{mailto:\YAD@email@author}{\YAD@firstname@author{} \bsc{\YAD@lastname@author}}%
}%
@@ -1920,8 +1929,8 @@
\YAD@globalstyle
\YAD@computenumwidths\relax%
\etoctableofcontents%
- \etocsetnexttocdepth{\YAD@tocdepth}
- \let\cmdKV@YAD@depth\YAD@tocdepth
+ \etocsetnexttocdepth{\YAD@tocdepth}%
+ \let\cmdKV@YAD@depth\YAD@tocdepth%
\let\cmdKV@YAD@name\contentsname%
\YAD@localstyle % pour les local TOCs qui suivent
}%
@@ -1945,8 +1954,8 @@
\YAD@computenumwidths\relax% note: a effet global
\etocsetnexttocdepth{\cmdKV@YAD@depth}% on doit le répéter, car c'est un truc à un coup seulement
\etoctableofcontents%
- \etocsettocdepth{\YAD@tocdepth}
- \let\cmdKV@YAD@depth\YAD@tocdepth
+ \etocsettocdepth{\YAD@tocdepth}%
+ \let\cmdKV@YAD@depth\YAD@tocdepth%
\let\cmdKV@YAD@name\contentsname%
\YAD@localstyle % pour les local TOCs qui suivent
}%
@@ -2013,10 +2022,10 @@
}%
\fi%
}
- \etocsettocdepth{\YAD@tocdepth}
+ \etocsettocdepth{\YAD@tocdepth}%
\AtBeginDocument{%
% \yadsetup{#1}%
- \YAD@setsecnumdepth{\YAD@secnumdepth}
+ \YAD@setsecnumdepth{\YAD@secnumdepth}%
}
% \renewcommand{\setcounter}[2]{}%
%
@@ -2222,6 +2231,7 @@
\MakeUppercase\appendixname{} \thechapter.\
}{%
}
+ \chaptertitle%
}{%
\YAD@section@header%
}%
@@ -2456,9 +2466,9 @@
\end{minipage}%
\ifthenelse{\equal{\cmdKV@YAD@frametitle}{none}}{%
}{%
- \end{tcolorbox}
+ \end{tcolorbox}%
}%
- \end{lrbox}
+ \end{lrbox}%
\settototalheight{\YAD@titleboxheight}{\YAD@titlebox}%
\setlength{\YAD@otherboxheight}{0.3\paperheight-\YAD@titleboxheight}%
%\YAD@astuce@expressioncle%
@@ -2678,7 +2688,7 @@
}%
\ifdraft{}{\vspace*{\stretch{.1}}}%
% \vspace*{\stretch{.1}}%
- \end{minipage}
+ \end{minipage}%
\ifthenelse{\equal{\cmdKV@YAD@frametitle}{none}}{%
}{%
% \ifdraft{}{\vspace*{\stretch{2}}}%
@@ -2958,7 +2968,7 @@
\YAD@reach@file{\YAD@generic@argument@translate{laboratory}}%
\\[.1cm]
\YAD@reach@file{\YAD@generic@argument@translate{laboratoryaddress}}%
- \end{minipage}
+ \end{minipage}%
}{%
}%
\DTLforeach*{laboratories}{%
@@ -3044,7 +3054,7 @@
}%
}%
\end{tabular}%
- \end{minipage}
+ \end{minipage}%
\ifthenelse{\DTLiseq{\YAD@laboratory@logo}{}}{%
}{%
\hspace{\stretch{1}}%
@@ -3238,7 +3248,7 @@
\\%
}{%
\newline%
- }
+ }%
\printlaboratoryaddress{\YAD@laboratory@address}%
\ifthenelse{\value{DTLrowi}=\cmdKV@YAD@numlaboratories}{\dtlbreak}{}%
}%
@@ -3418,7 +3428,7 @@
\setlength\epigraphrule{0pt}%
\begin{epigraphs}
\qitem{\YAD@generic@argument@translate{epigraphs}}{}%
- \end{epigraphs}
+ \end{epigraphs}%
\YAD@ClassError{%
\protect\makefrontepigraphs\space utilisee/\protect\frontepigraph\space
non utilisee%
@@ -3551,6 +3561,7 @@
\YAD@setlinestyle {paragraph}{\YAD@numwidthF}%
\YAD@setlinestyle {subparagraph}{\YAD@numwidthG}%
}
+\let\YAD@addcontentsline\addcontentsline
\newcommand\YAD@localstyle {%
\etocsettocstyle {%
\if@twocolumn
@@ -3562,11 +3573,13 @@
\setbox\YAD@leaderbox\hbox to \YAD@leaderboxwidth{\hss.\hss}%
\parindent\z@
\dimen@ 2.25em % soon to be \leftskip
+ \renewcommand\addcontentsline[3]{}%
\section *{\kern\dimen@ % \dimen@ works here by sheer luck
% \contentsname%
% \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\large\textbf{\translate{lbl-localtocname}}%
}%
+ \let\addcontentsline\YAD@addcontentsline
\parskip \z@skip \vspace{-1.25\baselineskip}% somewhat ad hoc
\leftskip 2.25em \rightskip 4.5em \advance\rightskip-\YAD@rightmargin\relax
\leavevmode\leaders\hrule\@height\p@\hfill\kern\z@\par
@@ -3697,14 +3710,20 @@
\boolfalse{YAD@nextwithlocaltoc}%
% \boolfalse{YAD@localtocs@classoption}%
}{%
- }
+ }%
}{%
}%
}{}{}%
-\let\YAD@ORI@chapter\chapter%
+\LetLtxMacro{\YAD@ORI@chapter}{\chapter}%
\AfterPreamble{% delay the redefinition when titlesec has done its own
- \renewcommand\chapter
- {%
+ \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}%
+ %
\ifbool{YAD@localbibs}{%
\let\YAD@ORI@blx@warn@bibempty\blx@warn@bibempty%
\def\blx@warn@bibempty{}%
@@ -3720,15 +3739,38 @@
}%
\@ifstar{\YAD@starred@chapter}{\YAD@unstarred@chapter}%
}%
- \newcommand{\YAD@starred@chapter}{%
- \setcounter{secnumdepth}{-10}%
- \YAD@ORI@chapter%
+ \newcommandtwoopt{\YAD@tmp@chapter}[3][][]{%
+ \ifthenelse{\isempty{#1}}{%
+ \ifthenelse{\isempty{#2}}{%
+ \YAD@ORI@chapter{#3}%
+ }{%
+ \YAD@ORI@chapter{#3}%
+ \chaptermark{#2}%
+ }%
+ }{%
+ \ifthenelse{\isempty{#2}}{%
+ \YAD@ORI@chapter[#1]{#3}%
+ }{%
+ \YAD@ORI@chapter[#1]{#3}%
+ \chaptermark{#2}%
+ }%
+ }%
}%
- \newcommand{\YAD@unstarred@chapter}{%
+ \newcommandtwoopt{\YAD@starred@chapter}[3][][]{%
+ \booltrue{YAD@nonnumbered@chapter}%
+ \booltrue{YAD@nonnumbered@section}%
+ \booltrue{YAD@nonnumbered@subsection}%
+ \booltrue{YAD@nonnumbered@subsubsection}%
+ \booltrue{YAD@nonnumbered@paragraph}%
+ \booltrue{YAD@nonnumbered@subparagraph}%
+ \YAD@setsecnumdepth{none}%
+ \YAD@tmp@chapter[#1][#2]{#3}%
+ }%
+ \newcommandtwoopt{\YAD@unstarred@chapter}[3][][]{%
\if@mainmatter%
\YAD@setsecnumdepth{\YAD@secnumdepth}
\fi%
- \YAD@ORI@chapter%
+ \YAD@tmp@chapter[#1][#2]{#3}%
}%
\xpretocmd{\tableofcontents}{\renewcommand{\YAD@localtoc}{}}{}{}%
\xapptocmd{\tableofcontents}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
@@ -3742,6 +3784,172 @@
\xapptocmd{\printglossary}{\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}}{}{}%
\xpretocmd{\printindex}{\renewcommand{\YAD@localtoc}{}}{}{}%
\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}{%
+ }{%
+ \YAD@setsecnumdepth{\YAD@secnumdepth}%
+ }%
+ \fi%
+ \@ifstar{\YAD@starred@section}{\YAD@unstarred@section}%
+}
+\newcommandtwoopt*{\YAD@tmp@section}[3][][]{%
+ \ifthenelse{\isempty{#1}}{%
+ \ifthenelse{\isempty{#2}}{%
+ \YAD@ORI@section{#3}%
+ }{%
+ \let\YAD@ORI@sectionmark\sectionmark%
+ \renewcommand\sectionmark[1]{}%
+ \YAD@ORI@section{#3}%
+ \YAD@ORI@sectionmark{#2}%
+ \let\sectionmark\YAD@ORI@sectionmark%
+ }%
+ }{%
+ \ifthenelse{\isempty{#2}}{%
+ \YAD@ORI@section[#1]{#3}%
+ }{%
+ \let\YAD@ORI@sectionmark\sectionmark%
+ \renewcommand\sectionmark[1]{}%
+ \YAD@ORI@section[#1]{#3}%
+ \YAD@ORI@sectionmark{#2}%
+ \let\sectionmark\YAD@ORI@sectionmark%
+ }%
+ }%
+}%
+\newcommandtwoopt{\YAD@starred@section}[3][][]{%
+ \booltrue{YAD@nonnumbered@section}%
+ \booltrue{YAD@nonnumbered@subsection}%
+ \booltrue{YAD@nonnumbered@subsubsection}%
+ \booltrue{YAD@nonnumbered@paragraph}%
+ \booltrue{YAD@nonnumbered@subparagraph}%
+ \YAD@setsecnumdepth{none}%
+ \YAD@tmp@section[#1][#2]{#3}%
+}%
+\newcommandtwoopt{\YAD@unstarred@section}[3][][]{%
+ \YAD@tmp@section[#1][#2]{#3}%
+}%
+\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}{%
+ }{%
+ \YAD@setsecnumdepth{\YAD@secnumdepth}%
+ }%
+ \fi%
+ \@ifstar{\YAD@starred@subsection}{\YAD@unstarred@subsection}%
+}
+\newcommand*{\YAD@tmp@subsection}[2][]{%
+ \ifthenelse{\isempty{#1}}{%
+ \YAD@ORI@subsection{#2}%
+ }{%
+ \YAD@ORI@subsection[#1]{#2}%
+ }%
+}%
+\newcommand{\YAD@starred@subsection}[2][]{%
+ \booltrue{YAD@nonnumbered@subsection}%
+ \booltrue{YAD@nonnumbered@subsubsection}%
+ \booltrue{YAD@nonnumbered@paragraph}%
+ \booltrue{YAD@nonnumbered@subparagraph}%
+ \YAD@setsecnumdepth{none}%
+ \YAD@tmp@subsection[#1]{#2}%
+}%
+\newcommand{\YAD@unstarred@subsection}[2][]{%
+ \YAD@tmp@subsection[#1]{#2}%
+}%
+\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}{%
+ }{%
+ \YAD@setsecnumdepth{\YAD@secnumdepth}%
+ }%
+ \fi%
+ \@ifstar{\YAD@starred@subsubsection}{\YAD@unstarred@subsubsection}%
+}
+\newcommand*{\YAD@tmp@subsubsection}[2][]{%
+ \ifthenelse{\isempty{#1}}{%
+ \YAD@ORI@subsubsection{#2}%
+ }{%
+ \YAD@ORI@subsubsection[#1]{#2}%
+ }%
+}%
+\newcommand{\YAD@starred@subsubsection}[2][]{%
+ \booltrue{YAD@nonnumbered@subsubsection}%
+ \booltrue{YAD@nonnumbered@paragraph}%
+ \booltrue{YAD@nonnumbered@subparagraph}%
+ \YAD@setsecnumdepth{none}%
+ \YAD@tmp@subsubsection[#1]{#2}%
+}%
+\newcommand{\YAD@unstarred@subsubsection}[2][]{%
+ \YAD@tmp@subsubsection[#1]{#2}%
+}%
+\LetLtxMacro{\YAD@ORI@paragraph}{\paragraph}
+\renewcommand\paragraph{%
+ % \boolfalse{YAD@nonnumbered@paragraph}%
+ % \boolfalse{YAD@nonnumbered@subparagraph}%
+ \if@mainmatter%
+ \ifbool{YAD@nonnumbered@subsubsection}{%
+ }{%
+ \YAD@setsecnumdepth{\YAD@secnumdepth}%
+ }%
+ \fi%
+ \@ifstar{\YAD@starred@paragraph}{\YAD@unstarred@paragraph}%
+}
+\newcommand*{\YAD@tmp@paragraph}[2][]{%
+ \ifthenelse{\isempty{#1}}{%
+ \YAD@ORI@paragraph{#2}%
+ }{%
+ \YAD@ORI@paragraph[#1]{#2}%
+ }%
+}%
+\newcommand{\YAD@starred@paragraph}[2][]{%
+ \booltrue{YAD@nonnumbered@paragraph}%
+ \booltrue{YAD@nonnumbered@subparagraph}%
+ \YAD@setsecnumdepth{none}%
+ \YAD@tmp@paragraph[#1]{#2}%
+}%
+\newcommand{\YAD@unstarred@paragraph}[2][]{%
+ \YAD@tmp@paragraph[#1]{#2}%
+}%
+\LetLtxMacro{\YAD@ORI@subparagraph}{\subparagraph}
+\renewcommand\subparagraph{%
+ % \boolfalse{YAD@nonnumbered@subparagraph}%
+ \if@mainmatter%
+ \ifbool{YAD@nonnumbered@paragraph}{%
+ }{%
+ \YAD@setsecnumdepth{\YAD@secnumdepth}%
+ }%
+ \fi%
+ \@ifstar{\YAD@starred@subparagraph}{\YAD@unstarred@subparagraph}%
+}
+\newcommand*{\YAD@tmp@subparagraph}[2][]{%
+ \ifthenelse{\isempty{#1}}{%
+ \YAD@ORI@subparagraph{#2}%
+ }{%
+ \YAD@ORI@subparagraph[#1]{#2}%
+ }%
+}%
+\newcommand{\YAD@starred@subparagraph}[2][]{%
+ \booltrue{YAD@nonnumbered@subparagraph}%
+ \YAD@setsecnumdepth{none}%
+ \YAD@tmp@subparagraph[#1]{#2}%
+}%
+\newcommand{\YAD@unstarred@subparagraph}[2][]{%
+ \YAD@tmp@subparagraph[#1]{#2}%
+}%
\@ifpackageloaded{floatrow}{%
\xpatchcmd{\float@listhead}{\chapter}{\YAD@ORI@chapter}{}{}%
}{%
@@ -3809,11 +4017,10 @@
\AtEndPreamble{%
\@ifpackageloaded{biblatex}{%
\defbibheading{bibintoc}[\bibname]{\chapter*{#1}}%
- % \defbibheading{subbibintoc}[\bibname]{\section*{#1}}%
\defbibheading{YAD@localbibs@heading}[\translate{lbl-localbibname}]{%
- % \YAD@setsecnumdepth{none}%
+ \renewcommand\addcontentsline[3]{}%
\section*{#1}%
- % \YAD@setsecnumdepth{\YAD@secnumdepth}%
+ \let\addcontentsline\YAD@addcontentsline
}%
\@ifpackageloaded{csquotes}{%
\SetCiteCommand{\autocite}%
@@ -4011,85 +4218,14 @@
\expression{meta-epigraphs}{\'epigraphes}{epigraphs}
\expression{meta-abstract}{r\'esum\'e}{abstract}%
\expression{meta-ordernumber}{num\'ero d'ordre}{order number}%
-\expression{coinstitute}{}{}%
-\expression{company}{}{}%
-\expression{institute}{}{}%
-\expression{email}{\Email}{\Email}%
-\expression{phone}{\Telefon}{\Telefon}%
-\expression{fax}{\Fax}{\Fax}%
-\expression{caution}{Avertissement}{Caution}%
-\expression{localbibname}{Bibliographie du pr\'esent chapitre}{Bibliography of the current chapter}%
-\expression{draft}{brouillon}{draft}%
-\expression{prepared-at}{Cette th\`ese a \'et\'e pr\'epar\'ee au}{This
- thesis has been prepared at}%
-\expression{prepared-at-pl}{Cette th\`ese a \'et\'e pr\'epar\'ee dans les
- laboratoires suivants.}{This thesis has been prepared at the following
- research units.}%
-\expression{prepared-at-hdr}{Cette \textsc{hdr} a \'et\'e pr\'epar\'ee au}{This
- habilitation to conduct research has been prepared at}%
-\expression{prepared-at-pl-hdr}{Cette \textsc{hdr} a \'et\'e pr\'epar\'ee dans
- les laboratoires suivants.}{This habilitation to conduct research has been
- prepared at the following research units.}%
-\expression{juniorresearcher}{charg\'e de recherche}{Junior Researcher}%
-\expression{juniorresearcherfem}{charg\'ee de recherche}{Junior Researcher}%
-\expression{juniorresearcher*}{charg\'e de recherche
- \textsc{hdr}}{\textsc{hdr} Junior Researcher}%
-\expression{juniorresearcherfem*}{charg\'ee de recherche
- \textsc{hdr}}{\textsc{hdr} Junior Researcher}%
-\expression{cosupervisor}{co-directeur}{Co-Supervisor}%
-\expression{cosupervisorfem}{co-directrice}{Co-Supervisor}
-\expression{comonitor}{co-encadrant}{Co-Monitor}%
-\expression{comonitorfem}{co-encadrante}{Co-Monitor}
-\expression{committeemembers}{Composition du jury}{Committee members}%
-\expression{estimateddefensedate}{Date de soutenance pr\'evue le}{Defense
- date scheduled on}%
-\expression{supervisor}{directeur}{Supervisor}%
-\expression{supervisorfem}{directrice}{Supervisor}
-\expression{seniorresearcher}{directeur de recherche}{Senior Researcher}%
-\expression{seniorresearcherfem}{directrice de recherche}{Senior Researcher}%
-\expression{supervisors-in-committee}{Directeur de th\`ese}{Supervisor}%
-\expression{supervisors-in-committee-pl}{Directeurs de th\`ese}{Supervisors}%
-\expression{supervisors-in-committee-hdr}{Directeur}{Supervisor}%
-\expression{supervisors-in-committee-pl-hdr}{Directeurs}{Supervisors}%
-\expression{academicfield}{Discipline}{Academic Field}%
-\expression{doctoralschool}{\'Ecole doctorale}{Doctoral School}%
-\expression{aim}{En vue de l'obtention du grade de docteur de l'}{In order
- to become Doctor from }%
-\expression{aimand}{ et de l'}{ and from }%
-\expression{examiners}{Examinateur}{Examiner}%
-\expression{examiners-pl}{Examinateurs}{Examiners}%
-\expression{guests}{Invit\'e}{Guest}%
-\expression{guests-pl}{Invit\'es}{Guests}%
-\expression{associateprofessor}{\textsc{mcf}}{Associate Professor}%
-\expression{associateprofessor*}{\textsc{mcf} \textsc{hdr}}{\textsc{hdr} Associate Professor}%
-\expression{keywords}{Mots cl\'es}{Keywords}%
-\expression{ordernumber}{Num\'ero d'ordre}{Order Number}%
-\expression{committeepresident}{pr\'esident du jury}{Committee President}%
-\expression{committeepresidentfem}{pr\'esidente du jury}{Committee President}%
-\expression{professor}{professeur}{Professor}%
-\expression{professorfem}{professeure}{Professor}%
-\expression{referees}{Rapporteur}{Referee}%
-\expression{referees-pl}{Rapporteurs}{Referees}%
-\expression{website}{Site}{Web Site}%
-\expression{localtocname}{Sommaire du pr\'esent chapitre}{Outline of the current chapter}%
-\expression{defendedon}{Soutenue le}{Defended on}%
-\expression{speciality}{Sp\'ecialit\'e}{Speciality}%
-\expression{supervisedby}{Th\`ese dirig\'ee par}{Thesis supervised by}%
-\expression{supervisedby-hdr}{Directeurs}{Supervisors}%
-\expression{thesisdefendedby}{Th\`ese pr\'esent\'ee par}{Thesis defended
- by}%
-\expression{thesisdefendedby-hdr}{Habilitation \`a diriger les recherches
- pr\'esent\'ee par}{Habilitation to conduct research defended by}%
-\expression{thesistitle}{Titre de la th\`ese}{Thesis Title}%
-\expression{thesistitle-hdr}{Titre de l'habilitation \`a diriger les recherches}{Habilitation to conduct research's Title}%
-\expression{inprogress}{travail en cours}{work in progress}%
-\expression{universitydepartment}{Unit\'e de recherche}{University
- Department}%
-\expression{versiondate}{Version interm\'ediaire en date
-du}{Work in progress as of}%
-\expression{inprogressfoottext}{\translate{lbl-versiondate}}{\translate{lbl-versiondate}}%
-\expression{submittedfoottext}{Version soumise en date du}{Submitted work
- as of}%
+\InputIfFileExists{\YAD@translations@file}{}{%
+ \ClassError{%
+ Fichier \`YAD@translations@file' non trouve%
+ }{%
+ Le fichier \`YAD@translations@file' n'a pas ete trouve.\MessageBreak%
+ Veuillez verifier votre installation de la classe `yathesis'.%
+ }%
+}
%% ----------------------------------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3