summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-24 21:26:32 +0000
committerKarl Berry <karl@freefriends.org>2021-03-24 21:26:32 +0000
commit4b61c48d71003f644004c8031f91a916d0a3b23a (patch)
tree268d781bf69264b3b2fc5bb4bcb93423903fb1a3
parent294b127bfefc737bd89fb11712e08406d015703d (diff)
yathesis (24mar21)
git-svn-id: svn://tug.org/texlive/trunk@58683 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md25
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/addons/completion/yathesis.cwl6
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zipbin4093609 -> 4099932 bytes
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/documentation/annexes/packages-charges.tex2
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/personnalisation.tex91
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/proprietes-document.tex22
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/documentation/glossaries/acronyms.tex3
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdfbin6361152 -> 6373433 bytes
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.tex4
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/bibliographie.bib2
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdfbin1246263 -> 1246063 bytes
-rw-r--r--Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex4
-rw-r--r--Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx6
-rw-r--r--Master/texmf-dist/source/latex/yathesis/yathesis.dtx92
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis.cls62
16 files changed, 238 insertions, 83 deletions
diff --git a/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md b/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
index 0beea06af74..46742100da5 100644
--- a/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
+++ b/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
@@ -1,5 +1,30 @@
# [Unreleased]
+# [1.0.7] - 2021-03-24
+
+## Removed
+- Useless and confusing file in the samples removed (no functional changes).
+
+## Changed
+- Don't expose `\listoflistings` in the samples (bug gh #83,
+ https://git.io/JYfz8).
+
+# [1.0.6] - 2021-03-23
+
+## Added
+- Command allowing, for each chapter, to specify a text inserted between its
+ head and its possible automatic local table of contents (issue gh #82,
+ https://git.io/JYeVe).
+
+## Changed
+- Table listing the members of the committee:
+ - with \textwidth as width,
+ - with 3 and not 4 columns in case president is not specified.
+- Documentation revised.
+
+## Fixed
+- Bug gh #81 (https://git.io/JYeVY).
+
# [1.0.5] - 2021-02-05
## Changed
diff --git a/Master/texmf-dist/doc/latex/yathesis/README.md b/Master/texmf-dist/doc/latex/yathesis/README.md
index deb9aa55b45..4c43f536a9e 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.5
+- `yathesis` --- Yet Another Thesis Class, version 1.0.7
- 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 8aee41c7d85..66f077541bc 100644
--- a/Master/texmf-dist/doc/latex/yathesis/addons/completion/yathesis.cwl
+++ b/Master/texmf-dist/doc/latex/yathesis/addons/completion/yathesis.cwl
@@ -1,6 +1,7 @@
# mode: yathesis.cls
-# denisbitouze, 2020-04-05
+# denisbitouze, 2021-03-23
#
+#include:class-book
#include:adjustbox
#include:array
#include:babel
@@ -30,6 +31,7 @@
#include:nonumonpart
#include:pgfopts
#include:setspace
+#include:tabularx
#include:tcolorbox
#include:textcase
#include:titlesec
@@ -259,6 +261,7 @@ frametitle=#shadowbox,ovalbox,none,fbox
#
# Preliminary part
#
+\colophontext{texte%text}#n*
\disclaimer{clause%text}#n
\makedisclaimer#n
\makedisclaimer*#n
@@ -373,6 +376,7 @@ name=
\stoplocaltocs
\nextwithlocaltoc
\nextwithoutlocaltoc
+\leadchapter{texte%text}
#
# Customization
#
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 522ef030e76..ced0e1c2d79 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip
+++ b/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/annexes/packages-charges.tex b/Master/texmf-dist/doc/latex/yathesis/french/documentation/annexes/packages-charges.tex
index db895c30a7b..64357964d6d 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/annexes/packages-charges.tex
+++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/annexes/packages-charges.tex
@@ -193,7 +193,7 @@ exhaustive et ne mentionne notamment pas les packages nécessaires :
\item \package{inputenc} et \package{fontenc}, si on utilise
\hologo{LaTeX}\index{LaTeX@\hologo{LaTeX}} ou
\hologo{pdfLaTeX}\index{pdfLaTeX@\hologo{pdfLaTeX}} ;
-\item \package{fontspec} et \package{xunicode}, si on utilise
+\item \package{fontspec}, si on utilise
\hologo{XeLaTeX}\index{XeLaTeX@\hologo{XeLaTeX}} ou
\hologo{LuaLaTeX}\index{LuaLaTeX@\hologo{LuaLaTeX}}.
\end{itemize}
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 06ff66557a5..cc237a1ece3 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
@@ -130,20 +130,32 @@ Par défaut, un mémoire créé avec la \yatCl est composé :
\label{sec-localtoc}%
\index{table des matières!locale}%
-%
+\subsubsection{Génération}
+\label{sec:generation}
+
\changes{v0.99o}{2016-10-30}{Nouvelle option de classe \protect\refKey{localtocs}
- permettant de faire automatiquement débuter les chapitres par leurs tables des
- matières locales}%
+ permettant de faire automatiquement débuter les chapitres par leurs \gls{tdml}}%
+
+\changes*{v1.0.6}{2021-03-23}{La correction du bug
+ \href{https://github.com/dbitouze/yathesis/issues/81}{81} a nécessité de
+ remplacer une section non numérotée par une émulation de
+ celle-ci}
\begin{docKey}[][doc new=2016-10-30]{localtocs}{}{par défaut \docValue{true},
initialement \docValue{false}}
\indexdef{table des matières!locale}%
Cette clé fait automatiquement débuter les chapitres de la partie
- principale\footnote{C'est-à-dire de \refCom{mainmatter} jusqu'à
- \refCom{backmatter}.} par leurs tables des matières locales.
+ principale\footnote{C'est-à-dire entre \refCom{mainmatter} et
+ \refCom{backmatter}.} par leurs \gls{tdml}.
\end{docKey}
-Par défaut, les tables des matières locales générées grâce à la clé
+Ces \gls{tdml} sont introduites par une (émulation de) section
+non numérotée, intitulée \translateexpression{localtocname}.
+
+\subsubsection{Profondeur}
+\label{sec:profondeur}
+
+Par défaut, les \gls{tdml} générées grâce à la clé
\refKey{localtocs} ont comme \enquote{niveau de profondeur} les
sous-sections\footnote{Ce niveau est donc par défaut identique à celui des
\hyperref[sec-table-des-matieres]{tables des matières
@@ -160,65 +172,90 @@ clé \refKey{localtocs/depth}.
Cette clé :
\begin{enumerate}
\item actionne la clé \refKey{localtocs} ;
- \item modifie le \enquote{niveau de profondeur} des tables des matières
- locales, respectivement jusqu'aux : sections, sous-sections,
- sous-sous-sections, paragraphes, sous-paragraphes\footnote{La clé
- \refKey{localtocs/depth} ne peut pas prendre comme valeurs
- \docValue{part} ou \docValue{chapter} puisque les tables des matières
- \emph{locales aux chapitres} ne peuvent être de \enquote{niveau de
- profondeur} \emph{supérieur ou égal} aux chapitres.}.
+ \item modifie le \enquote{niveau de profondeur} des \gls{tdml},
+ respectivement jusqu'aux : sections, sous-sections, sous-sous-sections,
+ paragraphes, sous-paragraphes\footnote{La clé \refKey{localtocs/depth} ne
+ peut pas prendre comme valeurs \docValue{part} ou \docValue{chapter}
+ puisque les \gls{tdm} \emph{locales aux chapitres} ne peuvent
+ être de \enquote{niveau de profondeur} \emph{supérieur ou égal} aux
+ chapitres.}.
\end{enumerate}
\end{docKey}
}
-\begin{dbexample}{Tables des matières locales automatiques}{}
+\begin{dbexample}{\gls{tdml} automatiques}{}
\indexex{table des matières!locale}%
Pour que chaque chapitre de la partie principale du mémoire débute
- automatiquement par sa table des matières locale, il suffit de passer l'option
- suivante à la \yatCl{}.
+ automatiquement par sa \gls{tdml}, il suffit de passer l'option suivante à la
+ \yatCl{}.
\begin{preamblecode}
\documentclass[localtocs]{yathesis}
\end{preamblecode}
- Dans l'exemple précédent (illustré \vref{fig-introduction}), les tables des
- matières locales vont jusqu'aux sous-sections. Pour qu'elles aillent par
- exemple jusqu'aux sous-sous-sections, on recourra à :
+ Dans l'exemple précédent (illustré \vref{fig-introduction}), les \gls{tdml}
+ vont jusqu'aux sous-sections. Pour qu'elles aillent par exemple jusqu'aux
+ sous-sous-sections, on recourra à :
\begin{preamblecode}
\documentclass[localtocs/depth=subsubsection]{yathesis}
\end{preamblecode}
\end{dbexample}
La \yatCl{} fournit aussi des commandes permettant d'activer ou de désactiver
-semi-globalement ou localement l'insertion automatique de tables des matières
-locales et ce, indépendamment du recours à l'option \refKey{localtocs}.
+semi-globalement ou localement l'insertion automatique de \gls{tdml} et ce,
+indépendamment du recours à l'option \refKey{localtocs}.
\begin{docCommand}[doc new=2016-10-30]{startlocaltocs}{}
\index{table des matières!locale}%
Cette commande est une bascule \emph{activant} jusqu'à nouvel ordre
- l'insertion automatique de tables des matières locales.
+ l'insertion automatique de \gls{tdml}.
\end{docCommand}
\begin{docCommand}[doc new=2016-10-30]{stoplocaltocs}{}
\index{table des matières!locale}%
Cette commande est une bascule \emph{désactivant} jusqu'à nouvel ordre
- l'insertion automatique de tables des matières locales.
+ l'insertion automatique de \gls{tdml}.
\end{docCommand}
\begin{docCommand}[doc new=2016-10-30]{nextwithlocaltoc}{}
\index{table des matières!locale}%
Cette commande \emph{active}, pour le \emph{chapitre suivant seulement},
- l'insertion automatique de tables des matières locales.
+ l'insertion automatique de \gls{tdml}.
\end{docCommand}
\begin{docCommand}[doc new=2016-10-30]{nextwithoutlocaltoc}{}
\index{table des matières!locale}%
Cette commande \emph{désactive}, pour le \emph{chapitre suivant seulement},
- l'insertion automatique de tables des matières locales.
+ l'insertion automatique de \gls{tdml}.
+\end{docCommand}
+
+\subsubsection{Texte introductif}
+\label{sec:texte-introductif}
+
+\changes{v1.06}{2021-03-23}{Nouvelle commande \protect\refCom{leadchapter}
+ permettant, pour chaque chapitre, de spécifier un texte inséré entre sa tête
+ et son éventuelle \gls{tdml} automatique.}%
+
+Les chapitres voient leurs têtes automatiquement et immédiatement suivies par
+leur éventuelle \gls{tdml}. La commande \refCom{leadchapter} suivante offre la
+possibilité d'insérer entre les deux un texte introductif\footnote{À voir comme
+ une sorte de
+ \href{https://fr.wikipedia.org/wiki/Chapeau_(presse)}{\enquote{chapeau}} de chapitre.}.
+
+\begin{docCommand}[doc new=2021-03-23]{leadchapter}{\marg{texte}}
+ % \indexsee{chapeau}{texte introductif}%
+ \index{table des matières!locale!texte introductif}%
+ Cette commande permet, pour chaque chapitre, de spécifier un \meta{texte}
+ (introductif) inséré (automatiquement) entre sa tête et son éventuelle
+ \gls{tdml} automatique.
\end{docCommand}
-Les tables des matières locales sont introduites par une section (non numérotée)
-intitulée \translateexpression{localtocname}.
+\begin{dbwarning}{Commande \protect\refCom*{leadchapter} à insérer (juste)
+ avant le chapitre souhaité}{}
+ La commande \refCom{leadchapter} peut être employée autant de fois que
+ souhaité. Chacune de ses occurrences doit être insérée (de préférence juste)
+ avant le chapitre souhaité.
+\end{dbwarning}
\subsection{Bibliographies locales automatiques}
\label{sec-localbibs}%
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/proprietes-document.tex b/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/proprietes-document.tex
index 43789a73378..70e911febb9 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/proprietes-document.tex
+++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/corps/proprietes-document.tex
@@ -40,10 +40,10 @@ saisies, au choix :
\item soit dans son corps ;
\begin{dbwarning}{Caractéristiques de la thèse à saisir \emph{avant}
\protect\refCom*{maketitle}}{avant-maketitle}
- Si les caractéristiques de la thèse sont saisies dans le corps du fichier
- (maître) de la thèse, elles doivent nécessairement l'être \emph{avant} la
- commande \refCom{maketitle}.
- \end{dbwarning}
+ Si les caractéristiques de la thèse sont saisies dans le corps du fichier
+ (maître) de la thèse, elles doivent nécessairement l'être \emph{avant} la
+ commande \refCom{maketitle}.
+ \end{dbwarning}
\end{enumerate}
\item[dans un fichier dédié]
\index{fichier!des caractéristiques de la thèse}%
@@ -522,6 +522,9 @@ url=http://lmpa.univ-littoral.fr/
\subsection{Directeur(s) de thèse et membres du jury}\label{sec-jury}
+\changes*{v1.0.6}{2021-03-23}{Le tableau listant les membres du jury occupe
+ désormais toute la largeur de l'empagement}
+
Les directeur(s) et membres du jury de la thèse sont définis et précisés au
moyen des commandes et options listés dans cette section. Ils figurent
automatiquement sur la ou les pages de titre\footnote{En versions \enquote{à
@@ -601,6 +604,10 @@ pour désigner celles qui ne sont pas membres du jury.%
Cette commande définit un rapporteur de la thèse.
\end{docCommand}
+\changes*{v1.0.6}{2021-03-23}{En l'absence de spécification d'un président du
+ jury, le tableau des membres de ce jury est désormais composé sur 3 colonnes
+ (et non plus sur 4 colonnes dont la dernière vide mais de largeur non nulle)}
+
\begin{docCommand}{committeepresident}{\oarg{précision(s)}\marg{prénom}\marg{nom}}
\index{caractéristiques de la thèse!liste!président du jury}%
\indexdef{président du jury}%
@@ -847,6 +854,13 @@ figurer tant de précisions et, ne serait-ce que pour des raisons de place, on
veillera à ne pas multiplier celles-ci.
\end{dbexample}
+\begin{dbwarning}{Préposition inadaptée}{}
+ En cas de problème de préposition inadaptée, par exemple
+ \enquote{\glsxtrshort{mcf} \glsxtrshort{hdr} au Sorbonne Université} au lieu
+ de \enquote{\glsxtrshort{mcf} \glsxtrshort{hdr} à Sorbonne Université}, on se
+ référera à la \vref{sec-expr-separ-les}.
+\end{dbwarning}
+%
\paragraph{Homme/femme}
\label{sec-hommefemme}%
\index{caractéristiques de la thèse!liste!homme}%
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/glossaries/acronyms.tex b/Master/texmf-dist/doc/latex/yathesis/french/documentation/glossaries/acronyms.tex
index 2993dfc9745..02fb3c62bcd 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/glossaries/acronyms.tex
+++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/glossaries/acronyms.tex
@@ -83,6 +83,9 @@
\newabbreviation{tdm}{tdm}{%
table(s) des matières%
}%
+\newabbreviation{tdml}{tdml}{%
+ \gls{tdm} locale(s)%
+}%
% \newabbreviation{abes}{abes}{agence bibliographique de l'enseignement supérieur}%
\newabbreviation[%
\glsshortpluralkey={ed},%
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 968136c3b2f..f11c0f08527 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
+++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
Binary files 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 974cdc66d08..03e6c321858 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,10 @@
\makeindex[title=Index des concepts,extout=pdx,extin=pnd,columnseprule]
%
\AtEndPreamble{%
+ \changes{v1.0.7}{2021-03-24}{Corrections mineures (aucun changement de
+ fonctionnalité)}%
+ \changes{v1.0.6}{2021-03-23}{Correction de bugs}%
+ \changes{v1.0.6}{2021-03-23}{Documentation révisée}%
\changes{v1.0.5}{2021-02-01}{Correction de bugs}%
\changes{v1.0.4}{2020-10-14}{Documentation révisée}%
\changes{v1.0.4}{2020-10-14}{Correction de bugs}%
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/bibliographie.bib b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/bibliographie.bib
index 9f7bcc7dab8..7d709625ffa 100644
--- a/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/bibliographie.bib
+++ b/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/bibliographie.bib
@@ -22,7 +22,7 @@
editor = {O'Connor, Arhur and Arago, François},
title = {Discours prononcé à l'Assemblée Nationale au nom de
l'Académie des Sciences à la séance du
- \DTMdate{1790-06-12}},
+ 12 juin 1790},
booktitle = {Œuvres de Condorcet},
publisher = {Firmin Didot Frères},
address = {Paris},
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 f536b3154b3..2aaa1515379 100644
--- 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
Binary files 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 89e0331e305..343beacb8b3 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,10 +337,6 @@ 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 8c8ec7cc9f0..ae8059bcb33 100644
--- a/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx
+++ b/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx
@@ -627,10 +627,6 @@
\listoffigures
%<<COMMENT
%
-% (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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1328,7 +1324,7 @@ int factorielle(int n)
editor = {O'Connor, Arhur and Arago, François},
title = {Discours prononcé à l'Assemblée Nationale au nom de
l'Académie des Sciences à la séance du
- \DTMdate{1790-06-12}},
+ 12 juin 1790},
booktitle = {Œuvres de Condorcet},
publisher = {Firmin Didot Frères},
address = {Paris},
diff --git a/Master/texmf-dist/source/latex/yathesis/yathesis.dtx b/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
index 025220931df..fe8586af303 100644
--- a/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
+++ b/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
@@ -23,7 +23,7 @@
%<*readme>
-----------------------------------------------------------------------
-- `yathesis` --- Yet Another Thesis Class, version 1.0.5
+- `yathesis` --- Yet Another Thesis Class, version 1.0.7
- 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
%</internal>
%<*class|install>
-\def\yathesisversion{1.0.5}
-\def\yathesisdate{2021-02-05}
+\def\yathesisversion{1.0.7}
+\def\yathesisdate{2021-03-24}
%</class|install>
%<*install>
\input docstrip.tex
@@ -433,6 +433,7 @@ This work consists of the file yathesis.dtx
\newbool{YAD@two@titles}
\newbool{YAD@cover@page}
\newbool{YAD@supervisor@specified}
+\newbool{YAD@committeepresident@specified}
\newbool{YAD@symbols@isolated}
\newbool{YAD@logo@before}
\newbool{YAD@valid@day}
@@ -1045,6 +1046,10 @@ This work consists of the file yathesis.dtx
% \begin{macrocode}
\RequirePackage{array}[2008/09/09]%
% \end{macrocode}
+% Pour des tableaux de largeur déterminée
+% \begin{macrocode}
+\RequirePackage{tabularx}[2020/01/15]%
+% \end{macrocode}
% Pour effectuer des manipulations sur des chaîne de caractères
% \begin{macrocode}
\RequirePackage{xstring}[2013/10/13]%
@@ -2062,6 +2067,7 @@ This work consists of the file yathesis.dtx
% \begin{macro}{\committeepresident}
% \begin{macrocode}
\newcommand*{\committeepresident}[3][]{%
+ \booltrue{YAD@committeepresident@specified}
\yadsetup{#1}%
\ifboolexpr{%
bool {YAD@female} or %
@@ -2260,8 +2266,9 @@ This work consists of the file yathesis.dtx
}%
}%
}%
+ \ifbool{YAD@committeepresident@specified}{%
&
-% Fonction
+ % Fonction
\YAD@reach@file{%
\ifthenelse{\DTLiseq{\YAD@committeemember@role}{}}{%
\ifdraft{%
@@ -2275,9 +2282,11 @@ This work consists of the file yathesis.dtx
}%
}%
}%
- \DTLiflastrow{%
- \\[.15cm]
- }{%
+ }{%
+ }%
+ \DTLiflastrow{%
+ \\[.15cm]
+ }{%
\\
}%
}%
@@ -2287,11 +2296,10 @@ This work consists of the file yathesis.dtx
\small%
\DTLifdbempty{YAD@staffs}{}{%
\ifthenelse{\DTLrowcount{YAD@supervisors}>1}{%
- \newcolumntype{u}{>{\itshape}lll}%
+ \begin{tabular}[t]{>{\itshape}lll}
}{%
- \newcolumntype{u}{>{\itshape}l@{ }ll}%
+ \begin{tabular}[t]{>{\itshape}l@{ }ll}
}%
- \begin{tabular}[t]{u}
\DTLforeach*{YAD@supervisors}{%
\YAD@committeemember@lastname=lastname,%
\YAD@committeemember@firstname=firstname,%
@@ -2358,8 +2366,16 @@ This work consists of the file yathesis.dtx
%
\newcommand*{\YAD@committee@tabular}{%
\small%
- \begin{tabular}[t]{>{\itshape}llp{5cm}l}
- \multicolumn{4}{@{}l}{\bfseries\YAD@translation{committeemembers}}%
+ \ifbool{YAD@committeepresident@specified}{%
+ \begin{tabularx}{\textwidth}[t]{>{\itshape}ll>{\raggedright\arraybackslash}Xl}
+ }{%
+ \begin{tabularx}{\textwidth}[t]{>{\itshape}ll>{\raggedright\arraybackslash}X}
+ }%
+ \ifbool{YAD@committeepresident@specified}{%
+ \multicolumn{4}{@{}l}{\bfseries\YAD@translation{committeemembers}}%
+ }{%
+ \multicolumn{3}{@{}l}{\bfseries\YAD@translation{committeemembers}}%
+ }%
\\[.25cm]
\DTLforeach*{YAD@staffs}{%
\YAD@the@staff=YAD@the@staff%
@@ -2367,7 +2383,7 @@ This work consists of the file yathesis.dtx
%
\YAD@display@staff{\YAD@the@staff}%
}%
- \end{tabular}%
+ \end{tabularx}%
}%
% \end{macrocode}
%
@@ -3993,7 +4009,7 @@ This work consists of the file yathesis.dtx
% Affichage des directeurs de thèse et du jury
% \begin{macrocode}
\noindent%
- \begin{minipage}[c][\YAD@otherboxheight][c]{\YAD@titleboxwidth}
+ \begin{minipage}[c][\YAD@otherboxheight][c]{\textwidth}
\YAD@supervisors@tabular%
\par%
\ifboolexpr{%
@@ -5107,11 +5123,19 @@ This work consists of the file yathesis.dtx
% \begin{macrocode}
\renewcommand\addcontentsline[3]{}%
\begingroup
- \titlespacing*{\section}{\dimen@}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}
- \section*{%
- \large%
- \translate{lbl-localtocname}%
- }%
+% \end{macrocode}
+% In order to avoid the issue
+% \url|https://github.com/dbitouze/yathesis/issues/81|, we don't rely on an
+% unumbered section anymore and instead simulate it.
+% \begin{macrocode}
+ \vspace{3.5ex plus 1ex minus .2ex}%
+ \noindent\hspace{\dimen@}%
+ {%
+ \normalfont\large\bfseries%
+ \translate{lbl-localtocname}%
+ }
+ \vspace{2.3ex plus .2ex}%
+ \par%
\endgroup
% \end{macrocode}
% We don't want the header contain the title of the previous (dummy) section in case
@@ -5171,6 +5195,13 @@ This work consists of the file yathesis.dtx
\YAD@setlinestyle {subparagraph}{\YAD@numwidthG}%
}
% \end{macrocode}
+% Because we don't rely anymore on an unumbered section for the local ToCs, any
+% ×\label× added after a ×\chapter× refers to the \package{etoc}'s counter
+% ×etoc@tocid× attached to the local ToCs and, in case \package{etoc} is used,
+% we have to tell ×\autoref× to refer to the underlying chapter instead.
+% \begin{macrocode}
+\newcommand*{\etoc@tocidautorefname}{\MakeLowercase{\chaptername}}%
+% \end{macrocode}
%
% \begin{macrocode}
\newcommand*\YAD@computenumwidths@ [2] {% #1 pour `etoc' ou `local', #2=pour le
@@ -5225,6 +5256,16 @@ This work consists of the file yathesis.dtx
%
% \section{Machinerie pour les tables des matières locales}
%
+% On fournit une commande permettant de définir un \enquote{chapeau} qui sera
+% inséré entre les têtes de chapitres et leurs éventuelles tables des matières
+% automatiques.
+%
+% \begin{macrocode}
+\newcommand{\leadchapter}[1]{%
+ \def\YAD@leadchapter{#1}%
+}
+% \end{macrocode}
+%
% Les tables des matières locales ne sont pas imprimées si elles sont vides.
% \begin{macrocode}
\etocchecksemptiness
@@ -5270,8 +5311,13 @@ This work consists of the file yathesis.dtx
\booltrue{YAD@nextwithlocaltoc}%
}
\apptocmd{\@makechapterhead}{%
+ \YAD@ifemptyorundef{\YAD@leadchapter}{%
+ }{%
+ \YAD@leadchapter%
+ \let\YAD@leadchapter\relax
+ }
\ifbool{YAD@localtocs}%
- {%
+ {%
\YAD@localtoc%
\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}%
\ifbool{YAD@nextwithlocaltoc}%
@@ -6539,8 +6585,9 @@ This work consists of the file yathesis.dtx
%
% \begin{macrocode}
# mode: yathesis.cls
-# denisbitouze, 2020-04-05
+# denisbitouze, 2021-03-23
#
+#include:class-book
#include:adjustbox
#include:array
#include:babel
@@ -6570,6 +6617,7 @@ This work consists of the file yathesis.dtx
#include:nonumonpart
#include:pgfopts
#include:setspace
+#include:tabularx
#include:tcolorbox
#include:textcase
#include:titlesec
@@ -6799,6 +6847,7 @@ frametitle=#shadowbox,ovalbox,none,fbox
#
# Preliminary part
#
+\colophontext{texte%text}#n*
\disclaimer{clause%text}#n
\makedisclaimer#n
\makedisclaimer*#n
@@ -6913,6 +6962,7 @@ name=
\stoplocaltocs
\nextwithlocaltoc
\nextwithoutlocaltoc
+\leadchapter{texte%text}
#
# Customization
#
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis.cls b/Master/texmf-dist/tex/latex/yathesis/yathesis.cls
index cc9f848d1a5..da4ef27e279 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.5}
-\def\yathesisdate{2021-02-05}
+\def\yathesisversion{1.0.7}
+\def\yathesisdate{2021-03-24}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{yathesis}[\yathesisdate\space v\yathesisversion\space Yet another class for writing thesis (DB)]
\RequirePackage{morewrites}%
@@ -52,6 +52,7 @@
\newbool{YAD@two@titles}
\newbool{YAD@cover@page}
\newbool{YAD@supervisor@specified}
+\newbool{YAD@committeepresident@specified}
\newbool{YAD@symbols@isolated}
\newbool{YAD@logo@before}
\newbool{YAD@valid@day}
@@ -487,6 +488,7 @@
\RequirePackage{environ}[2013/04/01]%
\RequirePackage{adjustbox}[2012/05/21]%
\RequirePackage{array}[2008/09/09]%
+\RequirePackage{tabularx}[2020/01/15]%
\RequirePackage{xstring}[2013/10/13]%
\RequirePackage{textcase}[2004/10/07]%
\RequirePackage{iftex}[2013/04/04]%
@@ -1125,6 +1127,7 @@
}%
}%
\newcommand*{\committeepresident}[3][]{%
+ \booltrue{YAD@committeepresident@specified}
\yadsetup{#1}%
\ifboolexpr{%
bool {YAD@female} or %
@@ -1308,7 +1311,9 @@
}%
}%
}%
+ \ifbool{YAD@committeepresident@specified}{%
&
+ % Fonction
\YAD@reach@file{%
\ifthenelse{\DTLiseq{\YAD@committeemember@role}{}}{%
\ifdraft{%
@@ -1322,9 +1327,11 @@
}%
}%
}%
- \DTLiflastrow{%
- \\[.15cm]
- }{%
+ }{%
+ }%
+ \DTLiflastrow{%
+ \\[.15cm]
+ }{%
\\
}%
}%
@@ -1333,11 +1340,10 @@
\small%
\DTLifdbempty{YAD@staffs}{}{%
\ifthenelse{\DTLrowcount{YAD@supervisors}>1}{%
- \newcolumntype{u}{>{\itshape}lll}%
+ \begin{tabular}[t]{>{\itshape}lll}
}{%
- \newcolumntype{u}{>{\itshape}l@{ }ll}%
+ \begin{tabular}[t]{>{\itshape}l@{ }ll}
}%
- \begin{tabular}[t]{u}
\DTLforeach*{YAD@supervisors}{%
\YAD@committeemember@lastname=lastname,%
\YAD@committeemember@firstname=firstname,%
@@ -1403,8 +1409,16 @@
}%
\newcommand*{\YAD@committee@tabular}{%
\small%
- \begin{tabular}[t]{>{\itshape}llp{5cm}l}
- \multicolumn{4}{@{}l}{\bfseries\YAD@translation{committeemembers}}%
+ \ifbool{YAD@committeepresident@specified}{%
+ \begin{tabularx}{\textwidth}[t]{>{\itshape}ll>{\raggedright\arraybackslash}Xl}
+ }{%
+ \begin{tabularx}{\textwidth}[t]{>{\itshape}ll>{\raggedright\arraybackslash}X}
+ }%
+ \ifbool{YAD@committeepresident@specified}{%
+ \multicolumn{4}{@{}l}{\bfseries\YAD@translation{committeemembers}}%
+ }{%
+ \multicolumn{3}{@{}l}{\bfseries\YAD@translation{committeemembers}}%
+ }%
\\[.25cm]
\DTLforeach*{YAD@staffs}{%
\YAD@the@staff=YAD@the@staff%
@@ -1412,7 +1426,7 @@
%
\YAD@display@staff{\YAD@the@staff}%
}%
- \end{tabular}%
+ \end{tabularx}%
}%
\DeclareRobustCommand*\YAD@meta{\YAD@generic@argument}%
\newcommand*\YAD@logo{}%
@@ -2695,7 +2709,7 @@
\vspace*{\stretch{2}}%
\end{center}
\noindent%
- \begin{minipage}[c][\YAD@otherboxheight][c]{\YAD@titleboxwidth}
+ \begin{minipage}[c][\YAD@otherboxheight][c]{\textwidth}
\YAD@supervisors@tabular%
\par%
\ifboolexpr{%
@@ -3617,11 +3631,14 @@
\dimen@ 2.25em % soon to be \leftskip
\renewcommand\addcontentsline[3]{}%
\begingroup
- \titlespacing*{\section}{\dimen@}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}
- \section*{%
- \large%
- \translate{lbl-localtocname}%
- }%
+ \vspace{3.5ex plus 1ex minus .2ex}%
+ \noindent\hspace{\dimen@}%
+ {%
+ \normalfont\large\bfseries%
+ \translate{lbl-localtocname}%
+ }
+ \vspace{2.3ex plus .2ex}%
+ \par%
\endgroup
\sectionmark{}%
\let\addcontentsline\YAD@addcontentsline
@@ -3666,6 +3683,7 @@
\YAD@setlinestyle {paragraph}{\YAD@numwidthF}%
\YAD@setlinestyle {subparagraph}{\YAD@numwidthG}%
}
+\newcommand*{\etoc@tocidautorefname}{\MakeLowercase{\chaptername}}%
\newcommand*\YAD@computenumwidths@ [2] {% #1 pour `etoc' ou `local', #2=pour le
% \kern
\begingroup
@@ -3712,6 +3730,9 @@
\newcommand*\YAD@computelocalnumwidths [1][0.5em]{%
\YAD@computenumwidths@ {local}{#1}%
}
+\newcommand{\leadchapter}[1]{%
+ \def\YAD@leadchapter{#1}%
+}
\etocchecksemptiness
\newcommand{\YAD@default@localtoc}{%
\ifbool{YAD@localtocs}%
@@ -3751,8 +3772,13 @@
\booltrue{YAD@nextwithlocaltoc}%
}
\apptocmd{\@makechapterhead}{%
+ \YAD@ifemptyorundef{\YAD@leadchapter}{%
+ }{%
+ \YAD@leadchapter%
+ \let\YAD@leadchapter\relax
+ }
\ifbool{YAD@localtocs}%
- {%
+ {%
\YAD@localtoc%
\renewcommand{\YAD@localtoc}{\YAD@default@localtoc}%
\ifbool{YAD@nextwithlocaltoc}%