summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/yathesis/source/yathesis.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-02-25 03:01:09 +0000
committerNorbert Preining <norbert@preining.info>2023-02-25 03:01:09 +0000
commit81a9d839224eef4c2bd9bf68410b4049c61cdb14 (patch)
tree813b5a34a2548b16dbbcd271697c7bcf29342bde /macros/latex/contrib/yathesis/source/yathesis.dtx
parentc283f3a6970d2bc9de3501415f5701277da68693 (diff)
CTAN sync 202302250301
Diffstat (limited to 'macros/latex/contrib/yathesis/source/yathesis.dtx')
-rw-r--r--macros/latex/contrib/yathesis/source/yathesis.dtx40
1 files changed, 21 insertions, 19 deletions
diff --git a/macros/latex/contrib/yathesis/source/yathesis.dtx b/macros/latex/contrib/yathesis/source/yathesis.dtx
index ea2c9e4ea6..867fc3f937 100644
--- a/macros/latex/contrib/yathesis/source/yathesis.dtx
+++ b/macros/latex/contrib/yathesis/source/yathesis.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2012-2021 by Denis Bitouz'e <denis.bitouze@univ-littoral.fr>
+% Copyright (C) 2012-2023 by Denis Bitouz'e <denis.bitouze@univ-littoral.fr>
% -------------------------------------------------------------------------------
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -23,7 +23,7 @@
%<*readme>
-----------------------------------------------------------------------
-- `yathesis` --- Yet Another Thesis Class, version 1.0.9
+- `yathesis` --- Yet Another Thesis Class, version 1.0.11
- 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
@@ -85,7 +85,7 @@ Typesetting the documentation of the class requires:
% This field contains the version of the package.
% The value is optional.
% The value is restricted to 32 characters.
-\version{1.0.11 2021-12-01}
+\version{1.0.11 2023-02-24}
% -------------------------------------------------------------------------
% This field contains the name of the author(s).
% The value is optional.
@@ -199,6 +199,14 @@ Note: The “ya” in the package name stands for “yet another”.
%<*changelog>
# [Unreleased]
+# [1.0.11] - 2023-02-24
+
+## Changed
+- Some internals for future releases of `etoc` (thanks to Jean-François Burnol).
+
+## Fixed
+- Typos in the documentation (thanks to kitanokuma).
+
# [1.0.10] - 2022-06-13
## Added
@@ -480,8 +488,8 @@ Note: The “ya” in the package name stands for “yet another”.
\fi
%</internal>
%<*class|install>
-\def\yathesisversion{1.0.10}
-\def\yathesisdate{2022-06-13}
+\def\yathesisversion{1.0.11}
+\def\yathesisdate{2023-02-24}
%</class|install>
%<*install>
\input l3docstrip.tex
@@ -748,8 +756,8 @@ This work consists of the file yathesis.dtx
%
% \DoNotIndex{\addbibresource,\biolinumKeyGlyph,\DeclareRobustCommand,\ClassWarning,\DescribeOption,\DescribeShortCut,\ifcase,\ifnum,\ifthenelse,\option,\pagestyle}
%
-% \def\yathesisversion{1.0.10}
-% \def\yathesisdate{2021-12-01}
+% \def\yathesisversion{1.0.11}
+% \def\yathesisdate{2023-02-24}
%
% \title{\textsf{yathesis} : classe \LaTeX{} pour la rédaction de thèses\\
% selon les (des) règles en vigueur en France\thanks{Ce fichier décrit la version
@@ -815,11 +823,6 @@ This work consists of the file yathesis.dtx
% \begin{macrocode}
\RequirePackage{xpatch}[2012/10/02]%
% \end{macrocode}
-% Pour pouvoir patcher des commandes à argument(s) optionnel(s)
-% \begin{macrocode}
-\RequirePackage{filehook}[2011/10/12]%
-\RequirePackage{hopatch}[2012/05/28]%
-% \end{macrocode}
% Assignation ×\let× pour macros à arguments optionnels améliorée
% \begin{macrocode}
\RequirePackage{letltxmacro}[2010/09/02]%
@@ -1225,7 +1228,7 @@ This work consists of the file yathesis.dtx
\def\YAD@localtocsdepth{#1}%
}%
\ifboolexpr{%
- test {\@ifundefined {Etoc@\YAD@localtocsdepth @@}}
+ test {\etocifunknownlevelTF {\YAD@localtocsdepth}}
or %
test {\ifstrequal{#1}{part}}
or %
@@ -1567,6 +1570,7 @@ This work consists of the file yathesis.dtx
% Pour pouvoir afficher un sommaire c-à-d une table des matières réduite
% \begin{macrocode}
\RequirePackage{etoc}[2016/09/29]%
+\providecommand*\etocifunknownlevelTF[1]{\@ifundefined{Etoc@#1@@}}%
% \end{macrocode}
% La commande suivante est une solution de contournement fournie par le paquet
% etoc afin de résoudre le problème
@@ -3600,7 +3604,7 @@ This work consists of the file yathesis.dtx
}%
\newcommand\tableofcontents@YAD@with@argument[1][]{%
\yadsetup{#1}%
- \@ifundefined {Etoc@\cmdKV@YAD@depth @@}
+ \etocifunknownlevelTF {\cmdKV@YAD@depth}
{%
\YAD@ClassWarningNoLine{%
La valeur (`\cmdKV@YAD@depth') passée à la clé `depth'\MessageBreak%
@@ -5740,13 +5744,13 @@ This work consists of the file yathesis.dtx
{%
\bgroup
\YAD@localstyle%
- \@ifundefined {Etoc@\YAD@localtocsdepth @@}
+ \etocifunknownlevelTF {\YAD@localtocsdepth}
{%
}{%
\etocsetnexttocdepth{\YAD@localtocsdepth}%
}
\YAD@computelocalnumwidths\relax%
- \@ifundefined {Etoc@\YAD@localtocsdepth @@}
+ \etocifunknownlevelTF {\YAD@localtocsdepth}
{%
}{%
\etocsetnexttocdepth{\YAD@localtocsdepth}%
@@ -6682,7 +6686,7 @@ This work consists of the file yathesis.dtx
% réglages s'il est chargé et notamment pour lui adjoindre une liste
% de symboles.
% \begin{macrocode}
-\hopatch@AfterPackage{glossaries}{%
+\AddToHook{package/glossaries/after}{%
% \end{macrocode}
% Si on est en sortie ×output=paper× (et pas en sortie ×output=paper*×), on
% supprime la barre de navigation des glossaires qui ne sert que par ses liens
@@ -7091,11 +7095,9 @@ This work consists of the file yathesis.dtx
#include:epigraph
#include:etoc
#include:etoolbox
-#include:filehook
#include:fncychap
#include:geometry
#include:graphicx
-#include:hopatch
#include:hypcap
#include:ifdraft
#include:iflang