From ba62f0377310c7f2e4029f977ac250e8ffa0dd41 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 25 Jul 2021 20:51:50 +0000 Subject: yathesis git-svn-id: svn://tug.org/texlive/trunk@60066 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md | 14 + Master/texmf-dist/doc/latex/yathesis/README.md | 2 +- .../latex/yathesis/addons/completion/yathesis.cwl | 360 ++++++---------- .../doc/latex/yathesis/french/canevas-specimen.zip | Bin 4099932 -> 4143269 bytes .../french/documentation/corps/introduction.tex | 4 +- .../documentation/corps/personnalisation.tex | 10 + .../yathesis/french/documentation/yathesis-fr.bib | 4 +- .../yathesis/french/documentation/yathesis-fr.pdf | Bin 6373433 -> 6469140 bytes .../yathesis/french/documentation/yathesis-fr.tex | 2 + .../french/exemples/specimen/a-plat/these.pdf | Bin 1246063 -> 1261113 bytes .../french/exemples/specimen/a-plat/these.tex | 3 + .../latex/yathesis/yathesis-samples-templates.dtx | 6 + .../texmf-dist/source/latex/yathesis/yathesis.dtx | 457 +++++++++------------ Master/texmf-dist/tex/latex/yathesis/yathesis.cls | 86 ++-- 14 files changed, 430 insertions(+), 518 deletions(-) diff --git a/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md b/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md index 46742100da5..a490efc9b88 100644 --- a/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md @@ -1,5 +1,19 @@ # [Unreleased] +# [1.0.8] - 2021-07-13 + +## Fixed +- Bug gh #85 (https://git.io/JCTjv). +- Bug gh #84 (https://git.io/JCTpu). +- Bug gh #83 (https://git.io/JYfz8). + +## Changed +- The fix of #85 above renders ineffective the `\includeonly` command when the + option `\localbibs` is used. This is an incompatible change but only for + a command that is used only temporarily, so we don't increment the major + version number. +- Again expose `\listoflistings` in the samples. + # [1.0.7] - 2021-03-24 ## Removed diff --git a/Master/texmf-dist/doc/latex/yathesis/README.md b/Master/texmf-dist/doc/latex/yathesis/README.md index 4c43f536a9e..cf129bfa683 100644 --- a/Master/texmf-dist/doc/latex/yathesis/README.md +++ b/Master/texmf-dist/doc/latex/yathesis/README.md @@ -1,6 +1,6 @@ ----------------------------------------------------------------------- -- `yathesis` --- Yet Another Thesis Class, version 1.0.7 +- `yathesis` --- Yet Another Thesis Class, version 1.0.8 - 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 diff --git a/Master/texmf-dist/doc/latex/yathesis/addons/completion/yathesis.cwl b/Master/texmf-dist/doc/latex/yathesis/addons/completion/yathesis.cwl index 66f077541bc..eea48956d19 100644 --- a/Master/texmf-dist/doc/latex/yathesis/addons/completion/yathesis.cwl +++ b/Master/texmf-dist/doc/latex/yathesis/addons/completion/yathesis.cwl @@ -45,17 +45,21 @@ #include:xstring # # Document class +# #keyvals:\documentclass/yathesis mainlanguage=#french,english secnumdepth=#part,chapter,section,subsection,subsubsection,paragraph,subparagraph space=#single,onehalf,double chap-style=#Sonny,Lenny,Glenn,Conny,Rejne,Bjarne,PetersLenny,Bjornstrup,none +fncychap=#Sonny,Lenny,Glenn,Conny,Rejne,Bjarne,PetersLenny,Bjornstrup,none nofrontcover#true,false sepcorpaffilfrench= sepcorpaffilenglish= version=#inprogress,inprogress*,submitted,submitted*,final,draft output=#screen,paper,paper* -colophon=#verso-frontcover,recto-backcover,nowhere +colophon-location=#verso-frontcover,recto-backcover,nowhere +hdr +numlaboratories=%<⟨nombre de laboratoires affichés⟩%> localtocs localtocs/depth=#section,subsection,subsubsection,paragraph,subparagraph localbibs @@ -82,163 +86,96 @@ noabstract nomakeabstract notableofcontents noprintbibliography -graphicx -adjustbox -setspace -xcolor -datatool -titlesec -draftwatermark -babel -datetime2 +graphicx={%<⟨options du package graphicx⟩%>} +adjustbox={%<⟨options du package adjustbox⟩%>} +setspace={%<⟨options du package setspace⟩%>} +xcolor={%<⟨options du package xcolor⟩%>} +datatool={%<⟨options du package datatool⟩%>} +titlesec={%<⟨options du package titlesec⟩%>} +draftwatermark={%<⟨options du package draftwatermark⟩%>} +babel={%<⟨options du package babel⟩%>} +datetime2={%<⟨options du package datetime2⟩%>} +corps=%<⟨corporation⟩%> +role=%<⟨role⟩%> #endkeyvals # -\yadsetup{%}#n +\yadsetup{⟨options⟩%keyvals}#n # # Cover and title pages # # Author -\author{%}{%}#n -\author[%]{%}{%}#n +\author{⟨prénom⟩}{⟨nom⟩}#n +\author[⟨email⟩]{⟨prénom⟩}{⟨nom⟩}#n # # Title, etc. -\title[titre dans la langue secondaire%text]{titre dans la langue principale%text}#n -\subtitle[sous-titre dans la langue secondaire%text]{sous-titre dans la langue principale%text}#n -\academicfield[discipline dans la langue secondaire%text]{discipline dans la langue principale%text}#n -\speciality[spécialité dans la langue secondaire%text]{spécialité dans la langue principale%text}#n -\subject[sujet dans la langue secondaire%text]{sujet dans la langue principale%text}#n -# -\title{titre%text}#n -\subtitle{sous-titre%text}#n -\academicfield{discipline%text}#n -\speciality{spécialité%text}#n -\subject{sujet%text}#n -\date{%}{%}{%}#n -\submissiondate{%}{%}{%}#n +\title[⟨titre dans la langue secondaire⟩%text]{⟨titre dans la langue principale⟩%text}#n +\subtitle[⟨sous-titre dans la langue secondaire⟩%text]{⟨sous-titre dans la langue principale⟩%text}#n +\academicfield[⟨discipline dans la langue secondaire⟩%text]{⟨discipline dans la langue principale⟩%text}#n +\speciality[⟨spécialité dans la langue secondaire⟩%text]{⟨spécialité dans la langue principale⟩%text}#n +\subject[⟨sujet dans la langue secondaire⟩%text]{⟨sujet dans la langue principale⟩%text}#n +# +\title{⟨titre⟩%text}#n +\subtitle{⟨sous-titre⟩%text}#n +\academicfield{⟨discipline⟩%text}#n +\speciality{⟨spécialité⟩%text}#n +\subject{⟨sujet⟩%text}#n +\date{⟨jour⟩}{⟨mois⟩}{⟨année⟩}#n +\submissiondate{⟨jour⟩}{⟨mois⟩}{⟨année⟩}#n # # Institute and entities -\pres{%}#n -\comue{%}#n -\institute{nom de l'institut%text}#n -\coinstitute{nom de l'institut de cotutelle%text}#n -\company{%}#n -\doctoralschool{nom de l'école doctorale%text}#n -\laboratory{%}{%}#n -# -\pres[%]{%}#n -\comue[%]{%}#n -\institute[%]{nom de l'institut%text}#n -\coinstitute[%]{nom de l'institut de cotutelle%text}#n -\company[%]{%}#n -\doctoralschool[%]{nom de l'école doctorale%text}#n -\laboratory[%]{%}{%}#n -# -#keyvals:\pres,\comue,\doctoralschool -logo= -logoheight= -url= -#endkeyvals -#keyvals:\institute,\coinstitute,\company -logo= -logoheight= -url= +\pres{⟨nom du PRES⟩}#n +\comue{⟨nom de la ComUE⟩}#n +\institute{⟨nom de l'institut⟩%text}#n +\coinstitute{⟨nom de l'institut de cotutelle⟩%text}#n +\company{⟨nom de l'entreprise⟩}#n +\doctoralschool{⟨nom de l'école doctorale⟩%text}#n +\laboratory{⟨nom du laboratoire⟩}{⟨adresse du laboratoire⟩}#n +# +\pres[⟨précisions⟩%keyvals]{⟨nom du PRES⟩}#n +\comue[⟨précisions⟩%keyvals]{⟨nom de la ComUE⟩}#n +\institute[⟨précisions⟩%keyvals]{⟨nom de l'institut⟩%text}#n +\coinstitute[⟨précisions⟩%keyvals]{⟨nom de l'institut de cotutelle⟩%text}#n +\company[⟨précisions⟩%keyvals]{⟨nom de l'entreprise⟩}#n +\doctoralschool[⟨précisions⟩%keyvals]{⟨nom de l'école doctorale⟩%text}#n +# +#keyvals:\pres,\comue,\doctoralschool,\institute,\coinstitute,\company +logo=%<⟨fichier image⟩%> +logoheight=%<⟨hauteur⟩%> +url=%<⟨URL⟩%> nologo #endkeyvals +# +\laboratory[⟨précisions⟩%keyvals]{⟨nom du laboratoire⟩}{⟨adresse du laboratoire⟩}#n +# #keyvals:\laboratory -logo= -logoheight= -url= -telephone= -fax= -email= +logo=%<⟨fichier image⟩%> +logoheight=%<⟨hauteur⟩%> +url=%<⟨URL⟩%> +telephone=%<⟨numéro de téléphone⟩%> +fax=%<⟨numéro de fax⟩%> +email=%<⟨courriel⟩%> nonamelink #endkeyvals # # Committee -\supervisor{%}{%}#n -\cosupervisor{%}{%}#n -\comonitor{%}{%}#n -\referee{%}{%}#n -\examiner{%}{%}#n -\committeepresident{%}{%}#n -\guest{%}{%}#n -# -\supervisor[%]{%}{%}#n -\cosupervisor[%]{%}{%}#n -\comonitor[%]{%}{%}#n -\referee[%]{%}{%}#n -\examiner[%]{%}{%}#n -\committeepresident[%]{%}{%}#n -\guest[%]{%}{%}#n -# -#keyvals:\supervisor -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\cosupervisor -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\comonitor -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\referee -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\examiner -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\committeepresident -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\guest -affiliation= +\supervisor[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\cosupervisor[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\comonitor[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\referee[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\examiner[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\committeepresident[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\guest[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +# +\supervisor{⟨prénom⟩}{⟨nom⟩}#n +\cosupervisor{⟨prénom⟩}{⟨nom⟩}#n +\comonitor{⟨prénom⟩}{⟨nom⟩}#n +\referee{⟨prénom⟩}{⟨nom⟩}#n +\examiner{⟨prénom⟩}{⟨nom⟩}#n +\committeepresident{⟨prénom⟩}{⟨nom⟩}#n +\guest{⟨prénom⟩}{⟨nom⟩}#n +# +#keyvals:\supervisor,\cosupervisor,\comonitor,\referee,\examiner,\committeepresident,\guest +affiliation=%<⟨affiliation⟩%> professor seniorresearcher mcf @@ -247,122 +184,86 @@ associateprofessor associateprofessor* juniorresearcher juniorresearcher* +male +female #endkeyvals # # Misc -\ordernumber[%]#n -\ordernumber#n* +\ordernumber[⟨numéro d'ordre⟩]#n +\ordernumber#*n +# +# Keywords +\keywords{⟨mots clés dans la langue principale⟩%text}{⟨mots clés dans la langue secondaire⟩%text}#n +# +# Title +\maketitle +\maketitle[⟨options⟩%keyvals] # #keyvals:\maketitle nofrontcover noaim -frametitle=#shadowbox,ovalbox,none,fbox +frametitle=#shadowbox,ovalbox,none,fbox,{⟨autre⟩} #endkeyvals # # Preliminary part # -\colophontext{texte%text}#n* -\disclaimer{clause%text}#n +\colophontext{⟨texte⟩%text}#n* +\disclaimertext{⟨clause⟩%text}#n \makedisclaimer#n \makedisclaimer*#n -\keywords{mots clés dans la langue principale%text}{mots clés dans la langue secondaire%text}#n \makekeywords#n \makekeywords*#n \makelaboratory#n \makelaboratory*#n -\dedication{dédicace%text}#n +\dedication{⟨dédicace⟩%text}#n \makededications#n \makededications*#n -\frontepigraph{épigraphe%text}{%} -\frontepigraph[%]{épigraphe%text}{%} -#keyvals:\frontepigraph -afrikaans -bahasa -basque -breton -bulgarian -catalan -croatian -czech -danish -dutch -english -esperanto -estonian -finnish -french -galician -ngerman -greek -hebrew -hungarian -icelandic -interlingua -irish -italian -latin -lowersorbian -samin -norsk -polish -portuguese -romanian -russian -scottish -spanish -slovak -slovene -swedish -serbian -turkish -ukrainian -uppersorbian -welsh -#endkeyvals +\frontepigraph{⟨épigraphe⟩%text}{⟨auteur⟩} +\frontepigraph[⟨langue⟩]{⟨épigraphe⟩%text}{⟨auteur⟩} \makefrontepigraphs#n \makefrontepigraphs*#n \begin{abstract}#n -\begin{abstract}[intitulé alternatif%text]#n* +\begin{abstract}[⟨titre alternatif⟩%text]#n* \end{abstract}#n \makeabstract#n -\newglssymbol{%}{%}{%}{description%text}#n -\newglssymbol[%]{%}{%}{%}{description%text}#n +\newglssymbol{⟨label⟩%labeldef}{⟨symbole⟩}{⟨nom⟩}{⟨description⟩%text}#n +\newglssymbol[⟨classement⟩]{⟨label⟩%labeldef}{⟨symbole⟩}{⟨nom⟩}{⟨description⟩%text}#n \tableofcontents#n* -\tableofcontents[%]#n* +\tableofcontents[⟨précisions⟩%keyvals]#n* # #keyvals:\tableofcontents depth=#part,chapter,section,subsection,subsubsection,paragraph,subparagraph -name= +name=%<⟨nom de la table des matières⟩%> #endkeyvals # # Main part # -\chapter{titre%title}#L1 -\chapter*{titre%title}#L1 -\chapter[titre alt. pour TdM et entête%short title]{titre%title}#L1 -\chapter*[titre alt. pour TdM et entête%short title]{titre%title}#L1 -\chapter[titre alt. pour TdM%short title][titre alt. pour entête%short title]{titre%title}#L1 -\chapter*[titre alt. pour TdM%short title][titre alt. pour entête%short title]{titre%title}#L1 -\section{titre%title}#L2 -\section*{titre%title}#L2 -\section[titre alt. pour TdM et entête%short title]{titre%title}#L2 -\section*[titre alt. pour TdM et entête%short title]{titre%title}#L2 -\section[titre alt. pour TdM%short title][titre alt. pour entête%short title]{titre%title}#L2 -\section*[titre alt. pour TdM%short title][titre alt. pour entête%short title]{titre%title}#L2 -\subsection{titre%title}#L3 -\subsection*{titre%title}#L3 -\subsection[titre alt. pour TdM et entête%short title]{titre%title}#L3 -\subsection*[titre alt. pour TdM et entête%short title]{titre%title}#L3 -\subsubsection{titre%title}#L4 -\subsubsection*{titre%title}#L4 -\subsubsection[titre alt. pour TdM et entête%short title]{titre%title}#L4 -\subsubsection*[titre alt. pour TdM et entête%short title]{titre%title}#L4 -\paragraph{titre%title}#L5 -\paragraph*{titre%title}#L5 -\paragraph[titre alt. pour TdM et entête%short title]{titre%title}#L5 -\paragraph*[titre alt. pour TdM et entête%short title]{titre%title}#L5 -\subparagraph{titre%title}#L6 -\subparagraph[titre alt. pour TdM et entête%short title]{titre%title}#L6 +\chapter{⟨titre⟩%title}#L1 +\chapter*{⟨titre⟩%title}#L1 +\chapter[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L1 +\chapter*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L1 +\chapter[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L1 +\chapter*[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L1 +\section{⟨titre⟩%title}#L2 +\section*{⟨titre⟩%title}#L2 +\section[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L2 +\section*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L2 +\section[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L2 +\section*[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L2 +\subsection{⟨titre⟩%title}#L3 +\subsection*{⟨titre⟩%title}#L3 +\subsection[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L3 +\subsection*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L3 +\subsubsection{⟨titre⟩%title}#L4 +\subsubsection*{⟨titre⟩%title}#L4 +\subsubsection[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L4 +\subsubsection*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L4 +\paragraph{⟨titre⟩%title}#L5 +\paragraph*{⟨titre⟩%title}#L5 +\paragraph[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L5 +\paragraph*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L5 +\subparagraph{⟨titre⟩%title}#L6 +\subparagraph[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L6 # # Appendix part # @@ -376,8 +277,13 @@ name= \stoplocaltocs \nextwithlocaltoc \nextwithoutlocaltoc -\leadchapter{texte%text} +\leadchapter{⟨texte⟩%text} +\printsymbols[⟨options⟩%keyvals] +# +#keyvals:\printsymbols +style=#yadsymbolstyle,⟨autre⟩ +#endkeyvals # # Customization # -\expression{%}{valeur (en français)%text}{valeur (en anglais)%text}#n* +\expression{⟨label⟩%labeldef}{⟨valeur en français⟩%text}{⟨valeur en anglais⟩%text}#n* diff --git a/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip b/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip index ced0e1c2d79..344f569fe0f 100644 Binary files a/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip and b/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip differ diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/introduction.tex b/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/introduction.tex index ef8be7d9251..f2caba11e9f 100644 --- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/introduction.tex +++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/introduction.tex @@ -153,8 +153,8 @@ Elle est aussi \emph{directement utilisable} au moyen de l'éditeur (et compilat \index{en ligne!compilation} % \href{https://www.overleaf.com/}{Overleaf} par le biais d'un -\href{https://frama.link/overleaf-yathesis-template}{canevas} et -\href{https://frama.link/overleaf-yathesis-sample}{spécimen}\detailsspecimencanevas{} +\href{https://www.overleaf.com/read/hsgnfrkzcmbh}{canevas} et +\href{https://www.overleaf.com/read/fsmqshrkdvgj}{spécimen}\detailsspecimencanevas{} mais alors dans des versions probablement bien moins à jour que celles livrées avec les distributions \texlive{} et \miktex{} (surtout si ces dernières sont mises à jour). diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex b/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex index cc237a1ece3..1cbd0fb2a98 100644 --- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex +++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex @@ -305,6 +305,16 @@ possibilité d'insérer entre les deux un texte introductif\footnote{À voir com \end{itemize} \end{dbwarning} +\changes*{v1.0.8}{2021-07-13}{Commande \docAuxCommand{includeonly} inopérante en + cas de bibliographies locales}% +\begin{dbwarning}{\docAuxCommand{includeonly} inopérante en cas de + bibliographies locales}{} + Pour des raisons techniques, la commande \docAuxCommand{includeonly} est + inopérante lorsque l'option \refKey{localbibs} est utilisée. Le seul moyen de + temporairement ne compiler que certains fichiers inclus est alors de + temporairement commenter l'inclusion des autres. +\end{dbwarning} + \begin{dbexample}{Bibliographies locales automatiques}{} \indexex{bibliographie!locale}% Pour que chaque chapitre finisse automatiquement par sa bibliographie locale diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.bib b/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.bib index c8fd765b7f4..b0b2abc462d 100644 --- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.bib +++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.bib @@ -75,7 +75,7 @@ Title = {Conférence \LaTeX{} \no6}, Author = {Bitouzé, Denis}, Date = {2020-10-01}, - Url = {https://frama.link/en-ligne6}, + Url = {https://is.gd/en_ligne6}, Language = {french}, Organization = {Université du Littoral Côte d'Opale}, Subtitle = {Bibliographie (biber/biblatex), citations d’extraits} @@ -85,7 +85,7 @@ Title = {Conférence \LaTeX{} \no7}, Author = {Bitouzé, Denis}, Date = {2020-10-01}, - Url = {https://frama.link/en-ligne7}, + Url = {https://is.gd/en_ligne7}, Language = {french}, Organization = {Université du Littoral Côte d'Opale}, Subtitle = {Glossaires et (liste d’)acronymes, index} diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf b/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf index f11c0f08527..6533156b704 100644 Binary files a/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf and b/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf differ diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.tex b/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.tex index 03e6c321858..a705262b71f 100644 --- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.tex +++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.tex @@ -35,6 +35,8 @@ \makeindex[title=Index des concepts,extout=pdx,extin=pnd,columnseprule] % \AtEndPreamble{% + \changes{v1.0.8}{2021-07-13}{Correction de bugs}% + \changes{v1.0.8}{2021-07-13}{Documentation révisée}% \changes{v1.0.7}{2021-03-24}{Corrections mineures (aucun changement de fonctionnalité)}% \changes{v1.0.6}{2021-03-23}{Correction de bugs}% diff --git a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf index 2aaa1515379..4a7f76b770f 100644 Binary files a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf and b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf differ diff --git a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex index 343beacb8b3..9226936fc92 100644 --- a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex +++ b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex @@ -337,6 +337,9 @@ Thèse hilarante, comme le gaz du même nom ! % (Facultatif) Table des figures \listoffigures % +% % (Facultatif) Table des listings (nécessite que le package « listings » soit +% % chargé) +% \lstlistoflistings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Début de la partie principale (du « corps ») de la thèse %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx b/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx index ae8059bcb33..7bb5006f4de 100644 --- a/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx +++ b/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx @@ -627,6 +627,12 @@ \listoffigures %<% % (Facultatif) Table des listings (nécessite que le package « listings » soit +%% % chargé) +%% \lstlistoflistings +% +%< ----------------------------------------------------------------------- -- `yathesis` --- Yet Another Thesis Class, version 1.0.7 +- `yathesis` --- Yet Another Thesis Class, version 1.0.8 - 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 @@ -70,8 +70,8 @@ Typesetting the documentation of the class requires: \fi % %<*class|install> -\def\yathesisversion{1.0.7} -\def\yathesisdate{2021-03-24} +\def\yathesisversion{1.0.8} +\def\yathesisdate{2021-07-13} % %<*install> \input docstrip.tex @@ -807,7 +807,7 @@ This work consists of the file yathesis.dtx La valeur (`#1') passée à la cle\MessageBreak% `localtocs/depth'\MessageBreak% en option de classe n'est pas un des niveaux de\MessageBreak% - sectionnement acceptes :\MessageBreak% + sectionnement acceptés :\MessageBreak% `section', `subsection',`subsubsection',\MessageBreak% `paragraph', `subparagraph'.\MessageBreak% Le niveau `\YAD@tocdepth' va être utilisé à la place% @@ -838,7 +838,7 @@ This work consists of the file yathesis.dtx que vous n'avez pas chargé.\MessageBreak% La classe `yathesis' va le faire pour vous mais\MessageBreak% le recours à ce package pour la bibliographie sera\MessageBreak% - alors necessaire et exclura tout autre outil\MessageBreak% + alors nécessaire et exclura tout autre outil\MessageBreak% de production de la bibliographie\MessageBreak% (notamment `BibTeX')% }% @@ -975,7 +975,7 @@ This work consists of the file yathesis.dtx \YAD@ClassWarningNoLine{% La version de `babel' utilisée est obsolète.\MessageBreak% La classe `yathesis' va essayer de faire son possible\MessageBreak% - mais il est possible qu'elle produise des resultats\MessageBreak% + mais il se peut qu'elle produise des resultats\MessageBreak% non prévus. Il est conseillé de mettre à jour sa\MessageBreak% distribution TeX% }% @@ -1145,6 +1145,11 @@ This work consists of the file yathesis.dtx % \begin{macrocode} \RequirePackage{etoc}[2016/09/29]% % \end{macrocode} +% The following command is a workaround provided by the \Package{etoc} in order +% to fix the issue \url|https://github.com/dbitouze/yathesis/issues/83| (see below). +% \begin{macrocode} +\ifdefined\etockeeporiginaltableofcontents\etockeeporiginaltableofcontents\fi +% \end{macrocode} % Pour tester la langue en cours % \begin{macrocode} \RequirePackage{iflang}[2007/11/11]% @@ -1438,7 +1443,7 @@ This work consists of the file yathesis.dtx % % \begin{macro}{\YAD@reach@file} % Macro offrant la possibilité de cliquer sur un hyperlien pour ouvrir -% les fichier permettant de modifier les mots et expressions clés du +% les fichiers permettant de modifier les mots et expressions clés du % canevas de thèse et les données de la thèse % \begin{macrocode} \definecolor{YAD@configuration@file@color}{rgb}{0.5,0,0.5}% @@ -1908,7 +1913,7 @@ This work consists of the file yathesis.dtx \newcommand{\YAD@error@firstlastnames@empty}[4]{% \ifthenelse{\isempty{#2}}{% \YAD@ClassError{% - Prénom #1 non specifié% + Prénom #1 non spécifié% }{% Le 1er argument obligatoire de la commande \string#4\MessageBreak% est vide (celui-ci doit être renseigné).% @@ -1917,7 +1922,7 @@ This work consists of the file yathesis.dtx }% \ifthenelse{\isempty{#3}}{% \YAD@ClassError{% - Nom #1 non specifié% + Nom #1 non spécifié% }{% Le 2e argument obligatoire de la commande \string#4\MessageBreak% est vide (celui-ci doit être renseigné).% @@ -2908,7 +2913,7 @@ This work consists of the file yathesis.dtx }{% La commande \string#4{\YAD@daydate}{\YAD@monthdate}{\YAD@yeardate}\space\MessageBreak% n'a pas été correctement saisie car le\MessageBreak% - jour (`\YAD@daydate') n'est pas valide :\MessageBreak% + numéro de jour (`\YAD@daydate') n'est pas valide :\MessageBreak% ce doit être un nombre entier entre 1 et 31.% }% }{% @@ -2925,7 +2930,7 @@ This work consists of the file yathesis.dtx }{% La commande \string#4{\YAD@daydate}{\YAD@monthdate}{\YAD@yeardate}\space\MessageBreak% n'a pas été correctement saisie car le\MessageBreak% - numero de jour (`\YAD@daydate') n'est pas valide :\MessageBreak% + numéro de jour (`\YAD@daydate') n'est pas valide :\MessageBreak% ce doit être un nombre entier entre 1 et 31.% }% }{% @@ -2941,9 +2946,9 @@ This work consists of the file yathesis.dtx }{% La commande \string#4{\YAD@daydate}{\YAD@monthdate}{\YAD@yeardate}\space\MessageBreak% n'a pas été correctement saisie car le\MessageBreak% - mois (`\YAD@monthdate') n'est pas valide :\MessageBreak% + numéro de mois (`\YAD@monthdate') n'est pas valide :\MessageBreak% ce doit être un nombre entier entre\MessageBreak% - 1 (janvier) et 12 (decembre).% + 1 (janvier) et 12 (décembre).% }% }{% \IfDecimal{\YAD@monthdate}{% @@ -2959,9 +2964,9 @@ This work consists of the file yathesis.dtx }{% La commande \string#4{\YAD@daydate}{\YAD@monthdate}{\YAD@yeardate}\space\MessageBreak% n'a pas été correctement saisie car le\MessageBreak% - numero de mois (`\YAD@monthdate') n'est pas valide :\MessageBreak% + numéro de mois (`\YAD@monthdate') n'est pas valide :\MessageBreak% ce doit être un nombre entier entre\MessageBreak% - 1 (janvier) et 12 (decembre).% + 1 (janvier) et 12 (décembre).% }% }{% \global\booltrue{YAD@valid@month}% @@ -3039,7 +3044,7 @@ This work consists of the file yathesis.dtx }{% }{% \YAD@ClassError[nodate]{% - Date de soutenance non specifiée% + Date de soutenance non spécifiée% }{% La commande \protect\date\space n'a pas été utilisée\MessageBreak% (celle-ci est requise).% @@ -3140,6 +3145,7 @@ This work consists of the file yathesis.dtx % \begin{macrocode} \AfterEndPreamble{% \let\YAD@ORI@tableofcontents\tableofcontents% + \let\YAD@ORI@etoctableofcontents\etoctableofcontents% \let\YAD@ORI@localtableofcontents\localtableofcontents% \renewcommand{\tableofcontents}{% \booltrue{YAD@tableofcontents@used}% @@ -3615,7 +3621,7 @@ This work consists of the file yathesis.dtx \ifbool{YAD@nolaboratory}{% }{% \YAD@ClassError[nolaboratory]{% - Nom du laboratoire de la thèse non specifié ou vide% + Nom du laboratoire de la thèse non spécifié ou vide% }{% La commande \protect\laboratory\space n'a pas été utilisée\MessageBreak% (celle-ci est requise) ou son 1er argument est vide\MessageBreak% @@ -3651,7 +3657,7 @@ This work consists of the file yathesis.dtx \ifbool{YAD@nolaboratoryaddress}{% }{% \YAD@ClassError[nolaboratoryaddress]{% - Adresse du laboratoire non specifiée ou vide% + Adresse du laboratoire non spécifiée ou vide% }{% La commande \protect\laboratory\space n'a pas été utilisée\MessageBreak% (celle-ci est requise) ou son 2e argument est vide\MessageBreak% @@ -3731,7 +3737,7 @@ This work consists of the file yathesis.dtx \ifbool{YAD@notitle}{% }{% \YAD@ClassError[notitle]{% - Titre de la thèse non specifié% + Titre de la thèse non spécifié% }{% La commande \protect\title\space n'a pas été utilisée\MessageBreak% (celle-ci est requise) ou son argument obligatoire est vide\MessageBreak% @@ -3803,7 +3809,7 @@ This work consists of the file yathesis.dtx \YAD@ifemptyorundef{\printinstitute}{% \YAD@generic@argument@translate{institute}% \YAD@ClassError[noinstitute]{% - Institut de la thèse non specifié% + Institut de la thèse non spécifié% }{% La commande \protect\institute\space n'a pas été utilisée\MessageBreak% @@ -3841,7 +3847,7 @@ This work consists of the file yathesis.dtx \YAD@ifemptyorundef{\printdoctoralschool}{% \YAD@generic@argument@translate{doctoralschool}% \YAD@ClassError[nodoctoralschool]{% - École doctorale de la thèse non specifiée% + École doctorale de la thèse non spécifiée% }{% la commande \protect\doctoralschool\space n'a pas été utilisée\MessageBreak% @@ -3899,7 +3905,7 @@ This work consists of the file yathesis.dtx \ifbool{YAD@noauthor}{% }{% \YAD@ClassError[noauthor]{% - Auteur de la thèse non specifié% + Auteur de la thèse non spécifié% }{% La commande \protect\author\space n'a pas été utilisée (celle-ci est requise)\MessageBreak% @@ -3970,7 +3976,7 @@ This work consists of the file yathesis.dtx \ifbool{YAD@noacademicfield}{% }{% \YAD@ClassError[noacademicfield]{% - Champ disciplinaire de la thèse non specifié% + Champ disciplinaire de la thèse non spécifié% }{% La commande \protect\academicfield\space n'a pas été utilisée (celle-ci est requise)\MessageBreak% @@ -4034,7 +4040,7 @@ This work consists of the file yathesis.dtx \ifbool{YAD@nosupervisor}{% }{% \YAD@ClassError*[nosupervisor]{% - Directeur de thèse non specifié% + Directeur de thèse non spécifié% }{% La commande \protect\supervisor\space n'a pas été utilisée\MessageBreak% (celle-ci est requise) ou ses arguments obligatoires sont @@ -4195,21 +4201,21 @@ This work consists of the file yathesis.dtx }{% \ifdefempty{\YAD@mainkeywords}{% \YAD@ClassError[nokeywords]{% - Mots clés dans la langue principale non specifiés% + Mots clés dans la langue principale non spécifiés% }{% Les mots clés dans la langue principale\MessageBreak% (1er argument de la commande \protect\keywords) n'ont\MessageBreak% - pas été specifiés. Ceux-ci sont requis.% + pas été spécifiés. Ceux-ci sont requis.% }% }{% \csdef{YAD@metakeywords}{\YAD@mainkeywords} }% \ifdefempty{\YAD@secondarykeywords}{% \YAD@ClassError[nokeywords]{% - Mots clés dans la langue secondaire non specifiés% + Mots clés dans la langue secondaire non spécifiés% }{% Les mots clés dans la langue secondaire\MessageBreak% (2e argument de la commande \protect\keywords) n'ont\MessageBreak% - pas été specifiés. Ceux-ci sont requis.% + pas été spécifiés. Ceux-ci sont requis.% }% }{% \csdef{YAD@metakeywords}{\YAD@mainkeywords (\YAD@secondarykeywords)}% @@ -4796,7 +4802,7 @@ This work consists of the file yathesis.dtx }{% La 1re occurrence de l'environnement `abstract' a été utilisée\MessageBreak% - avec un contenu vide. Un contenu non vide est requis.% + avec un contenu vide. Un contenu non vide est requis.% }% }{% \YAD@ClassError[noabstract]{% @@ -4815,7 +4821,7 @@ This work consists of the file yathesis.dtx }{% La 2e occurrence de l'environnement `abstract' a été utilisée\MessageBreak% - avec un contenu vide. Un contenu non vide est requis.% + avec un contenu vide. Un contenu non vide est requis.% }% }{% }% @@ -4954,7 +4960,7 @@ This work consists of the file yathesis.dtx \YAD@generic@argument@translate{epigraph}% }% \YAD@ClassError{% - Epigraphe vide% + Épigraphe vide% }{% L'argument obligatoire d'une commande \protect\frontepigraph\space est vide\MessageBreak% @@ -5247,7 +5253,7 @@ This work consists of the file yathesis.dtx % \end{macrocode} % \begin{macrocode} \newcommand*\YAD@computenumwidths [1][0.5em]{% - \YAD@computenumwidths@ {}{#1}% + \YAD@computenumwidths@ {etoc}{#1}% } \newcommand*\YAD@computelocalnumwidths [1][0.5em]{% \YAD@computenumwidths@ {local}{#1}% @@ -5370,6 +5376,30 @@ This work consists of the file yathesis.dtx }% }% % \end{macrocode} +% Dans le cas où l'option "localbibs" est demandée, on redéfinit +% "\include" en "\input" pour éviter le "\clearpage" émis juste avant +% l'inclusion du fichier, sans quoi une bibliographie locale automatiquement +% ajoutée avant le chapitre suivant, si ce dernier l'est via "\include", subit +% un changement de page avant d'être affichée. La commande "\includeonly" +% est alors inopérante et on le signale (mais ce signalement n'apparaît pas si +% cette commande est utilisée avant "\documentclass"). +% \begin{macrocode} + \AddToHook{begindocument/before}{% + \ifbool{YAD@localbibs}{% + \let\include\input% + \if@partsw + \ClassWarningNoLine{yathesis}{% + Commande \string\includeonly\space inopérante lorsque l'option\MessageBreak + `localbibs' est utilisée. Le seul moyen de\MessageBreak + temporairement ne compiler que certains fichiers\MessageBreak + inclus est alors de temporairement commenter\MessageBreak + l'inclusion des autres% + }% + \fi + }{% + } + } +% \end{macrocode} % On redéfinit la commande "\chapter" de sorte que, dans un chapitre non % numéroté ("\chapter*") : % \begin{itemize} @@ -5689,7 +5719,18 @@ This work consists of the file yathesis.dtx }% }{% }% -}% +% \end{macrocode} +% In case the \Package{listings} is loaded, we hack the "\lstlistoflistings" +% command in order to fix the issue \url|https://github.com/dbitouze/yathesis/issues/83|. +% \begin{macrocode} + \@ifpackageloaded{listings}{% + \lst@UserCommand\lstlistoflistings{\bgroup + \let\contentsname\lstlistlistingname + \let\lst@temp\@starttoc \def\@starttoc##1{\lst@temp{lol}}% + \YAD@ORI@tableofcontents \egroup} + }{% + }% + }% % \end{macrocode} % Les parties sont par défaut numérotées. % \begin{macrocode} @@ -6631,17 +6672,21 @@ This work consists of the file yathesis.dtx #include:xstring # # Document class +# #keyvals:\documentclass/yathesis mainlanguage=#french,english secnumdepth=#part,chapter,section,subsection,subsubsection,paragraph,subparagraph space=#single,onehalf,double chap-style=#Sonny,Lenny,Glenn,Conny,Rejne,Bjarne,PetersLenny,Bjornstrup,none +fncychap=#Sonny,Lenny,Glenn,Conny,Rejne,Bjarne,PetersLenny,Bjornstrup,none nofrontcover#true,false sepcorpaffilfrench= sepcorpaffilenglish= version=#inprogress,inprogress*,submitted,submitted*,final,draft output=#screen,paper,paper* -colophon=#verso-frontcover,recto-backcover,nowhere +colophon-location=#verso-frontcover,recto-backcover,nowhere +hdr +numlaboratories=%<⟨nombre de laboratoires affichés⟩%> localtocs localtocs/depth=#section,subsection,subsubsection,paragraph,subparagraph localbibs @@ -6668,163 +6713,96 @@ noabstract nomakeabstract notableofcontents noprintbibliography -graphicx -adjustbox -setspace -xcolor -datatool -titlesec -draftwatermark -babel -datetime2 +graphicx={%<⟨options du package graphicx⟩%>} +adjustbox={%<⟨options du package adjustbox⟩%>} +setspace={%<⟨options du package setspace⟩%>} +xcolor={%<⟨options du package xcolor⟩%>} +datatool={%<⟨options du package datatool⟩%>} +titlesec={%<⟨options du package titlesec⟩%>} +draftwatermark={%<⟨options du package draftwatermark⟩%>} +babel={%<⟨options du package babel⟩%>} +datetime2={%<⟨options du package datetime2⟩%>} +corps=%<⟨corporation⟩%> +role=%<⟨role⟩%> #endkeyvals # -\yadsetup{%}#n +\yadsetup{⟨options⟩%keyvals}#n # # Cover and title pages # # Author -\author{%}{%}#n -\author[%]{%}{%}#n +\author{⟨prénom⟩}{⟨nom⟩}#n +\author[⟨email⟩]{⟨prénom⟩}{⟨nom⟩}#n # # Title, etc. -\title[titre dans la langue secondaire%text]{titre dans la langue principale%text}#n -\subtitle[sous-titre dans la langue secondaire%text]{sous-titre dans la langue principale%text}#n -\academicfield[discipline dans la langue secondaire%text]{discipline dans la langue principale%text}#n -\speciality[spécialité dans la langue secondaire%text]{spécialité dans la langue principale%text}#n -\subject[sujet dans la langue secondaire%text]{sujet dans la langue principale%text}#n +\title[⟨titre dans la langue secondaire⟩%text]{⟨titre dans la langue principale⟩%text}#n +\subtitle[⟨sous-titre dans la langue secondaire⟩%text]{⟨sous-titre dans la langue principale⟩%text}#n +\academicfield[⟨discipline dans la langue secondaire⟩%text]{⟨discipline dans la langue principale⟩%text}#n +\speciality[⟨spécialité dans la langue secondaire⟩%text]{⟨spécialité dans la langue principale⟩%text}#n +\subject[⟨sujet dans la langue secondaire⟩%text]{⟨sujet dans la langue principale⟩%text}#n # -\title{titre%text}#n -\subtitle{sous-titre%text}#n -\academicfield{discipline%text}#n -\speciality{spécialité%text}#n -\subject{sujet%text}#n -\date{%}{%}{%}#n -\submissiondate{%}{%}{%}#n +\title{⟨titre⟩%text}#n +\subtitle{⟨sous-titre⟩%text}#n +\academicfield{⟨discipline⟩%text}#n +\speciality{⟨spécialité⟩%text}#n +\subject{⟨sujet⟩%text}#n +\date{⟨jour⟩}{⟨mois⟩}{⟨année⟩}#n +\submissiondate{⟨jour⟩}{⟨mois⟩}{⟨année⟩}#n # # Institute and entities -\pres{%}#n -\comue{%}#n -\institute{nom de l'institut%text}#n -\coinstitute{nom de l'institut de cotutelle%text}#n -\company{%}#n -\doctoralschool{nom de l'école doctorale%text}#n -\laboratory{%}{%}#n +\pres{⟨nom du PRES⟩}#n +\comue{⟨nom de la ComUE⟩}#n +\institute{⟨nom de l'institut⟩%text}#n +\coinstitute{⟨nom de l'institut de cotutelle⟩%text}#n +\company{⟨nom de l'entreprise⟩}#n +\doctoralschool{⟨nom de l'école doctorale⟩%text}#n +\laboratory{⟨nom du laboratoire⟩}{⟨adresse du laboratoire⟩}#n # -\pres[%]{%}#n -\comue[%]{%}#n -\institute[%]{nom de l'institut%text}#n -\coinstitute[%]{nom de l'institut de cotutelle%text}#n -\company[%]{%}#n -\doctoralschool[%]{nom de l'école doctorale%text}#n -\laboratory[%]{%}{%}#n +\pres[⟨précisions⟩%keyvals]{⟨nom du PRES⟩}#n +\comue[⟨précisions⟩%keyvals]{⟨nom de la ComUE⟩}#n +\institute[⟨précisions⟩%keyvals]{⟨nom de l'institut⟩%text}#n +\coinstitute[⟨précisions⟩%keyvals]{⟨nom de l'institut de cotutelle⟩%text}#n +\company[⟨précisions⟩%keyvals]{⟨nom de l'entreprise⟩}#n +\doctoralschool[⟨précisions⟩%keyvals]{⟨nom de l'école doctorale⟩%text}#n # -#keyvals:\pres,\comue,\doctoralschool -logo= -logoheight= -url= -#endkeyvals -#keyvals:\institute,\coinstitute,\company -logo= -logoheight= -url= +#keyvals:\pres,\comue,\doctoralschool,\institute,\coinstitute,\company +logo=%<⟨fichier image⟩%> +logoheight=%<⟨hauteur⟩%> +url=%<⟨URL⟩%> nologo #endkeyvals +# +\laboratory[⟨précisions⟩%keyvals]{⟨nom du laboratoire⟩}{⟨adresse du laboratoire⟩}#n +# #keyvals:\laboratory -logo= -logoheight= -url= -telephone= -fax= -email= +logo=%<⟨fichier image⟩%> +logoheight=%<⟨hauteur⟩%> +url=%<⟨URL⟩%> +telephone=%<⟨numéro de téléphone⟩%> +fax=%<⟨numéro de fax⟩%> +email=%<⟨courriel⟩%> nonamelink #endkeyvals # # Committee -\supervisor{%}{%}#n -\cosupervisor{%}{%}#n -\comonitor{%}{%}#n -\referee{%}{%}#n -\examiner{%}{%}#n -\committeepresident{%}{%}#n -\guest{%}{%}#n +\supervisor[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\cosupervisor[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\comonitor[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\referee[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\examiner[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\committeepresident[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n +\guest[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n # -\supervisor[%]{%}{%}#n -\cosupervisor[%]{%}{%}#n -\comonitor[%]{%}{%}#n -\referee[%]{%}{%}#n -\examiner[%]{%}{%}#n -\committeepresident[%]{%}{%}#n -\guest[%]{%}{%}#n +\supervisor{⟨prénom⟩}{⟨nom⟩}#n +\cosupervisor{⟨prénom⟩}{⟨nom⟩}#n +\comonitor{⟨prénom⟩}{⟨nom⟩}#n +\referee{⟨prénom⟩}{⟨nom⟩}#n +\examiner{⟨prénom⟩}{⟨nom⟩}#n +\committeepresident{⟨prénom⟩}{⟨nom⟩}#n +\guest{⟨prénom⟩}{⟨nom⟩}#n # -#keyvals:\supervisor -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\cosupervisor -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\comonitor -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\referee -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\examiner -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\committeepresident -affiliation= -professor -seniorresearcher -mcf -mcf* -associateprofessor -associateprofessor* -juniorresearcher -juniorresearcher* -#endkeyvals -#keyvals:\guest -affiliation= +#keyvals:\supervisor,\cosupervisor,\comonitor,\referee,\examiner,\committeepresident,\guest +affiliation=%<⟨affiliation⟩%> professor seniorresearcher mcf @@ -6833,122 +6811,86 @@ associateprofessor associateprofessor* juniorresearcher juniorresearcher* +male +female #endkeyvals # # Misc -\ordernumber[%]#n -\ordernumber#n* +\ordernumber[⟨numéro d'ordre⟩]#n +\ordernumber#*n +# +# Keywords +\keywords{⟨mots clés dans la langue principale⟩%text}{⟨mots clés dans la langue secondaire⟩%text}#n +# +# Title +\maketitle +\maketitle[⟨options⟩%keyvals] # #keyvals:\maketitle nofrontcover noaim -frametitle=#shadowbox,ovalbox,none,fbox +frametitle=#shadowbox,ovalbox,none,fbox,{⟨autre⟩} #endkeyvals # # Preliminary part # -\colophontext{texte%text}#n* -\disclaimer{clause%text}#n +\colophontext{⟨texte⟩%text}#n* +\disclaimertext{⟨clause⟩%text}#n \makedisclaimer#n \makedisclaimer*#n -\keywords{mots clés dans la langue principale%text}{mots clés dans la langue secondaire%text}#n \makekeywords#n \makekeywords*#n \makelaboratory#n \makelaboratory*#n -\dedication{dédicace%text}#n +\dedication{⟨dédicace⟩%text}#n \makededications#n \makededications*#n -\frontepigraph{épigraphe%text}{%} -\frontepigraph[%]{épigraphe%text}{%} -#keyvals:\frontepigraph -afrikaans -bahasa -basque -breton -bulgarian -catalan -croatian -czech -danish -dutch -english -esperanto -estonian -finnish -french -galician -ngerman -greek -hebrew -hungarian -icelandic -interlingua -irish -italian -latin -lowersorbian -samin -norsk -polish -portuguese -romanian -russian -scottish -spanish -slovak -slovene -swedish -serbian -turkish -ukrainian -uppersorbian -welsh -#endkeyvals +\frontepigraph{⟨épigraphe⟩%text}{⟨auteur⟩} +\frontepigraph[⟨langue⟩]{⟨épigraphe⟩%text}{⟨auteur⟩} \makefrontepigraphs#n \makefrontepigraphs*#n \begin{abstract}#n -\begin{abstract}[intitulé alternatif%text]#n* +\begin{abstract}[⟨titre alternatif⟩%text]#n* \end{abstract}#n \makeabstract#n -\newglssymbol{%}{%}{%}{description%text}#n -\newglssymbol[%]{%}{%}{%}{description%text}#n +\newglssymbol{⟨label⟩%labeldef}{⟨symbole⟩}{⟨nom⟩}{⟨description⟩%text}#n +\newglssymbol[⟨classement⟩]{⟨label⟩%labeldef}{⟨symbole⟩}{⟨nom⟩}{⟨description⟩%text}#n \tableofcontents#n* -\tableofcontents[%]#n* +\tableofcontents[⟨précisions⟩%keyvals]#n* # #keyvals:\tableofcontents depth=#part,chapter,section,subsection,subsubsection,paragraph,subparagraph -name= +name=%<⟨nom de la table des matières⟩%> #endkeyvals # # Main part # -\chapter{titre%title}#L1 -\chapter*{titre%title}#L1 -\chapter[titre alt. pour TdM et entête%short title]{titre%title}#L1 -\chapter*[titre alt. pour TdM et entête%short title]{titre%title}#L1 -\chapter[titre alt. pour TdM%short title][titre alt. pour entête%short title]{titre%title}#L1 -\chapter*[titre alt. pour TdM%short title][titre alt. pour entête%short title]{titre%title}#L1 -\section{titre%title}#L2 -\section*{titre%title}#L2 -\section[titre alt. pour TdM et entête%short title]{titre%title}#L2 -\section*[titre alt. pour TdM et entête%short title]{titre%title}#L2 -\section[titre alt. pour TdM%short title][titre alt. pour entête%short title]{titre%title}#L2 -\section*[titre alt. pour TdM%short title][titre alt. pour entête%short title]{titre%title}#L2 -\subsection{titre%title}#L3 -\subsection*{titre%title}#L3 -\subsection[titre alt. pour TdM et entête%short title]{titre%title}#L3 -\subsection*[titre alt. pour TdM et entête%short title]{titre%title}#L3 -\subsubsection{titre%title}#L4 -\subsubsection*{titre%title}#L4 -\subsubsection[titre alt. pour TdM et entête%short title]{titre%title}#L4 -\subsubsection*[titre alt. pour TdM et entête%short title]{titre%title}#L4 -\paragraph{titre%title}#L5 -\paragraph*{titre%title}#L5 -\paragraph[titre alt. pour TdM et entête%short title]{titre%title}#L5 -\paragraph*[titre alt. pour TdM et entête%short title]{titre%title}#L5 -\subparagraph{titre%title}#L6 -\subparagraph[titre alt. pour TdM et entête%short title]{titre%title}#L6 +\chapter{⟨titre⟩%title}#L1 +\chapter*{⟨titre⟩%title}#L1 +\chapter[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L1 +\chapter*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L1 +\chapter[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L1 +\chapter*[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L1 +\section{⟨titre⟩%title}#L2 +\section*{⟨titre⟩%title}#L2 +\section[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L2 +\section*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L2 +\section[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L2 +\section*[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L2 +\subsection{⟨titre⟩%title}#L3 +\subsection*{⟨titre⟩%title}#L3 +\subsection[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L3 +\subsection*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L3 +\subsubsection{⟨titre⟩%title}#L4 +\subsubsection*{⟨titre⟩%title}#L4 +\subsubsection[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L4 +\subsubsection*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L4 +\paragraph{⟨titre⟩%title}#L5 +\paragraph*{⟨titre⟩%title}#L5 +\paragraph[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L5 +\paragraph*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L5 +\subparagraph{⟨titre⟩%title}#L6 +\subparagraph[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L6 # # Appendix part # @@ -6962,11 +6904,16 @@ name= \stoplocaltocs \nextwithlocaltoc \nextwithoutlocaltoc -\leadchapter{texte%text} +\leadchapter{⟨texte⟩%text} +\printsymbols[⟨options⟩%keyvals] +# +#keyvals:\printsymbols +style=#yadsymbolstyle,⟨autre⟩ +#endkeyvals # # Customization # -\expression{%}{valeur (en français)%text}{valeur (en anglais)%text}#n* +\expression{⟨label⟩%labeldef}{⟨valeur en français⟩%text}{⟨valeur en anglais⟩%text}#n* % \end{macrocode} % % \begin{macrocode} diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls index da4ef27e279..4087a1040a4 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.7} -\def\yathesisdate{2021-03-24} +\def\yathesisversion{1.0.8} +\def\yathesisdate{2021-07-13} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{yathesis}[\yathesisdate\space v\yathesisversion\space Yet another class for writing thesis (DB)] \RequirePackage{morewrites}% @@ -346,7 +346,7 @@ La valeur (`#1') passée à la cle\MessageBreak% `localtocs/depth'\MessageBreak% en option de classe n'est pas un des niveaux de\MessageBreak% - sectionnement acceptes :\MessageBreak% + sectionnement acceptés :\MessageBreak% `section', `subsection',`subsubsection',\MessageBreak% `paragraph', `subparagraph'.\MessageBreak% Le niveau `\YAD@tocdepth' va être utilisé à la place% @@ -371,7 +371,7 @@ que vous n'avez pas chargé.\MessageBreak% La classe `yathesis' va le faire pour vous mais\MessageBreak% le recours à ce package pour la bibliographie sera\MessageBreak% - alors necessaire et exclura tout autre outil\MessageBreak% + alors nécessaire et exclura tout autre outil\MessageBreak% de production de la bibliographie\MessageBreak% (notamment `BibTeX')% }% @@ -462,7 +462,7 @@ \YAD@ClassWarningNoLine{% La version de `babel' utilisée est obsolète.\MessageBreak% La classe `yathesis' va essayer de faire son possible\MessageBreak% - mais il est possible qu'elle produise des resultats\MessageBreak% + mais il se peut qu'elle produise des resultats\MessageBreak% non prévus. Il est conseillé de mettre à jour sa\MessageBreak% distribution TeX% }% @@ -519,6 +519,7 @@ }% \RequirePackage[\YAD@secondarylanguage,main=\YAD@mainlanguage]{babel}[2014/03/24] \RequirePackage{etoc}[2016/09/29]% +\ifdefined\etockeeporiginaltableofcontents\etockeeporiginaltableofcontents\fi \RequirePackage{iflang}[2007/11/11]% \RequirePackage{translator}[2010/06/12]% \RequirePackage[useregional]{datetime2}[2020-03-02]% @@ -1008,7 +1009,7 @@ \newcommand{\YAD@error@firstlastnames@empty}[4]{% \ifthenelse{\isempty{#2}}{% \YAD@ClassError{% - Prénom #1 non specifié% + Prénom #1 non spécifié% }{% Le 1er argument obligatoire de la commande \string#4\MessageBreak% est vide (celui-ci doit être renseigné).% @@ -1017,7 +1018,7 @@ }% \ifthenelse{\isempty{#3}}{% \YAD@ClassError{% - Nom #1 non specifié% + Nom #1 non spécifié% }{% Le 2e argument obligatoire de la commande \string#4\MessageBreak% est vide (celui-ci doit être renseigné).% @@ -1846,7 +1847,7 @@ }{% La commande \string#4{\YAD@daydate}{\YAD@monthdate}{\YAD@yeardate}\space\MessageBreak% n'a pas été correctement saisie car le\MessageBreak% - jour (`\YAD@daydate') n'est pas valide :\MessageBreak% + numéro de jour (`\YAD@daydate') n'est pas valide :\MessageBreak% ce doit être un nombre entier entre 1 et 31.% }% }{% @@ -1863,7 +1864,7 @@ }{% La commande \string#4{\YAD@daydate}{\YAD@monthdate}{\YAD@yeardate}\space\MessageBreak% n'a pas été correctement saisie car le\MessageBreak% - numero de jour (`\YAD@daydate') n'est pas valide :\MessageBreak% + numéro de jour (`\YAD@daydate') n'est pas valide :\MessageBreak% ce doit être un nombre entier entre 1 et 31.% }% }{% @@ -1879,9 +1880,9 @@ }{% La commande \string#4{\YAD@daydate}{\YAD@monthdate}{\YAD@yeardate}\space\MessageBreak% n'a pas été correctement saisie car le\MessageBreak% - mois (`\YAD@monthdate') n'est pas valide :\MessageBreak% + numéro de mois (`\YAD@monthdate') n'est pas valide :\MessageBreak% ce doit être un nombre entier entre\MessageBreak% - 1 (janvier) et 12 (decembre).% + 1 (janvier) et 12 (décembre).% }% }{% \IfDecimal{\YAD@monthdate}{% @@ -1897,9 +1898,9 @@ }{% La commande \string#4{\YAD@daydate}{\YAD@monthdate}{\YAD@yeardate}\space\MessageBreak% n'a pas été correctement saisie car le\MessageBreak% - numero de mois (`\YAD@monthdate') n'est pas valide :\MessageBreak% + numéro de mois (`\YAD@monthdate') n'est pas valide :\MessageBreak% ce doit être un nombre entier entre\MessageBreak% - 1 (janvier) et 12 (decembre).% + 1 (janvier) et 12 (décembre).% }% }{% \global\booltrue{YAD@valid@month}% @@ -1964,7 +1965,7 @@ }{% }{% \YAD@ClassError[nodate]{% - Date de soutenance non specifiée% + Date de soutenance non spécifiée% }{% La commande \protect\date\space n'a pas été utilisée\MessageBreak% (celle-ci est requise).% @@ -2020,6 +2021,7 @@ \pretocmd{\pagestyle}{\cleardoublepage}{}{}% \AfterEndPreamble{% \let\YAD@ORI@tableofcontents\tableofcontents% + \let\YAD@ORI@etoctableofcontents\etoctableofcontents% \let\YAD@ORI@localtableofcontents\localtableofcontents% \renewcommand{\tableofcontents}{% \booltrue{YAD@tableofcontents@used}% @@ -2360,7 +2362,7 @@ \ifbool{YAD@nolaboratory}{% }{% \YAD@ClassError[nolaboratory]{% - Nom du laboratoire de la thèse non specifié ou vide% + Nom du laboratoire de la thèse non spécifié ou vide% }{% La commande \protect\laboratory\space n'a pas été utilisée\MessageBreak% (celle-ci est requise) ou son 1er argument est vide\MessageBreak% @@ -2391,7 +2393,7 @@ \ifbool{YAD@nolaboratoryaddress}{% }{% \YAD@ClassError[nolaboratoryaddress]{% - Adresse du laboratoire non specifiée ou vide% + Adresse du laboratoire non spécifiée ou vide% }{% La commande \protect\laboratory\space n'a pas été utilisée\MessageBreak% (celle-ci est requise) ou son 2e argument est vide\MessageBreak% @@ -2450,7 +2452,7 @@ \ifbool{YAD@notitle}{% }{% \YAD@ClassError[notitle]{% - Titre de la thèse non specifié% + Titre de la thèse non spécifié% }{% La commande \protect\title\space n'a pas été utilisée\MessageBreak% (celle-ci est requise) ou son argument obligatoire est vide\MessageBreak% @@ -2514,7 +2516,7 @@ \YAD@ifemptyorundef{\printinstitute}{% \YAD@generic@argument@translate{institute}% \YAD@ClassError[noinstitute]{% - Institut de la thèse non specifié% + Institut de la thèse non spécifié% }{% La commande \protect\institute\space n'a pas été utilisée\MessageBreak% @@ -2552,7 +2554,7 @@ \YAD@ifemptyorundef{\printdoctoralschool}{% \YAD@generic@argument@translate{doctoralschool}% \YAD@ClassError[nodoctoralschool]{% - École doctorale de la thèse non specifiée% + École doctorale de la thèse non spécifiée% }{% la commande \protect\doctoralschool\space n'a pas été utilisée\MessageBreak% @@ -2602,7 +2604,7 @@ \ifbool{YAD@noauthor}{% }{% \YAD@ClassError[noauthor]{% - Auteur de la thèse non specifié% + Auteur de la thèse non spécifié% }{% La commande \protect\author\space n'a pas été utilisée (celle-ci est requise)\MessageBreak% @@ -2673,7 +2675,7 @@ \ifbool{YAD@noacademicfield}{% }{% \YAD@ClassError[noacademicfield]{% - Champ disciplinaire de la thèse non specifié% + Champ disciplinaire de la thèse non spécifié% }{% La commande \protect\academicfield\space n'a pas été utilisée (celle-ci est requise)\MessageBreak% @@ -2734,7 +2736,7 @@ \ifbool{YAD@nosupervisor}{% }{% \YAD@ClassError*[nosupervisor]{% - Directeur de thèse non specifié% + Directeur de thèse non spécifié% }{% La commande \protect\supervisor\space n'a pas été utilisée\MessageBreak% (celle-ci est requise) ou ses arguments obligatoires sont @@ -2852,21 +2854,21 @@ }{% \ifdefempty{\YAD@mainkeywords}{% \YAD@ClassError[nokeywords]{% - Mots clés dans la langue principale non specifiés% + Mots clés dans la langue principale non spécifiés% }{% Les mots clés dans la langue principale\MessageBreak% (1er argument de la commande \protect\keywords) n'ont\MessageBreak% - pas été specifiés. Ceux-ci sont requis.% + pas été spécifiés. Ceux-ci sont requis.% }% }{% \csdef{YAD@metakeywords}{\YAD@mainkeywords} }% \ifdefempty{\YAD@secondarykeywords}{% \YAD@ClassError[nokeywords]{% - Mots clés dans la langue secondaire non specifiés% + Mots clés dans la langue secondaire non spécifiés% }{% Les mots clés dans la langue secondaire\MessageBreak% (2e argument de la commande \protect\keywords) n'ont\MessageBreak% - pas été specifiés. Ceux-ci sont requis.% + pas été spécifiés. Ceux-ci sont requis.% }% }{% \csdef{YAD@metakeywords}{\YAD@mainkeywords (\YAD@secondarykeywords)}% @@ -3359,7 +3361,7 @@ }{% La 1re occurrence de l'environnement `abstract' a été utilisée\MessageBreak% - avec un contenu vide. Un contenu non vide est requis.% + avec un contenu vide. Un contenu non vide est requis.% }% }{% \YAD@ClassError[noabstract]{% @@ -3378,7 +3380,7 @@ }{% La 2e occurrence de l'environnement `abstract' a été utilisée\MessageBreak% - avec un contenu vide. Un contenu non vide est requis.% + avec un contenu vide. Un contenu non vide est requis.% }% }{% }% @@ -3497,7 +3499,7 @@ \YAD@generic@argument@translate{epigraph}% }% \YAD@ClassError{% - Epigraphe vide% + Épigraphe vide% }{% L'argument obligatoire d'une commande \protect\frontepigraph\space est vide\MessageBreak% @@ -3725,7 +3727,7 @@ \endgroup }% \newcommand*\YAD@computenumwidths [1][0.5em]{% - \YAD@computenumwidths@ {}{#1}% + \YAD@computenumwidths@ {etoc}{#1}% } \newcommand*\YAD@computelocalnumwidths [1][0.5em]{% \YAD@computenumwidths@ {local}{#1}% @@ -3812,6 +3814,21 @@ }{% }% }% + \AddToHook{begindocument/before}{% + \ifbool{YAD@localbibs}{% + \let\include\input% + \if@partsw + \ClassWarningNoLine{yathesis}{% + Commande \string\includeonly\space inopérante lorsque l'option\MessageBreak + `localbibs' est utilisée. Le seul moyen de\MessageBreak + temporairement ne compiler que certains fichiers\MessageBreak + inclus est alors de temporairement commenter\MessageBreak + l'inclusion des autres% + }% + \fi + }{% + } + } \LetLtxMacro{\YAD@ORI@chapter}{\chapter}% \AfterPreamble{% delay the redefinition when titlesec has done its own \renewcommand\chapter{% @@ -4079,7 +4096,14 @@ }% }{% }% -}% + \@ifpackageloaded{listings}{% + \lst@UserCommand\lstlistoflistings{\bgroup + \let\contentsname\lstlistlistingname + \let\lst@temp\@starttoc \def\@starttoc##1{\lst@temp{lol}}% + \YAD@ORI@tableofcontents \egroup} + }{% + }% + }% \xpretocmd{\part}{\YAD@setsecnumdepth{\YAD@secnumdepth}}{}{}% \disclaimertext{% \IfLanguageName{french}{% -- cgit v1.2.3