texlive[60756] Master/texmf-dist: yathesis (13oct21)

commits+karl at tug.org commits+karl at tug.org
Wed Oct 13 22:31:26 CEST 2021


Revision: 60756
          http://tug.org/svn/texlive?view=revision&revision=60756
Author:   karl
Date:     2021-10-13 22:31:26 +0200 (Wed, 13 Oct 2021)
Log Message:
-----------
yathesis (13oct21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/yathesis/README.md
    trunk/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip
    trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
    trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.tex
    trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/latexmkrc
    trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
    trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex
    trunk/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx
    trunk/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
    trunk/Master/texmf-dist/tex/latex/yathesis/yathesis.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/logoulcofondblanc.pdf

Modified: trunk/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md	2021-10-13 20:31:02 UTC (rev 60755)
+++ trunk/Master/texmf-dist/doc/latex/yathesis/CHANGELOG.md	2021-10-13 20:31:26 UTC (rev 60756)
@@ -1,5 +1,12 @@
 # [Unreleased]
 
+# [1.0.9] - 2021-10-13
+
+## Fixed
+- Bug gh #90 (https://git.io/JKO3L).
+- Bug gh #87 (https://git.io/JKO3Z).
+- Bug gh #86 (https://git.io/JKO3W).
+
 # [1.0.8] - 2021-07-13
 
 ## Fixed
@@ -96,7 +103,6 @@
 ## Fixed
 - Bug gh #73.
 
-
 # [1.0.0] - 2020-03-26
 
 ## Added
@@ -115,7 +121,6 @@
 ## Fixed
 - Several bug fixes (among others gh #65 and #67).
 
-
 # [0.99u] - 2019-03-28
 
 ## Added
@@ -140,43 +145,36 @@
 ## Fixed
 - Several bug fixes (among others gh #43).
 
-
 # [0.99t] - 2018-07-09
 
 ## Fixed
 - Several bug fixes.
 
-
 # [0.99s] - 2018-06-22
 
 ## Fixed
 - Several bug fixes (among others gh #58 and #60).
 
-
 # [0.99s] - 2018-06-21
 
 ## Fixed
 - Several bug fixes (among others gh #59).
 
-
 # [0.99r] - 2018-06-02
 
 ## Fixed
 - Several bug fixes.
 
-
 # [0.99q] - 2018-05-04
 
 ## Removed
 - Useless files on CTAN (no functional changes).
 
-
 # [0.99q] - 2018-04-10
 
 ## Fixed
 - Several bug fixes (among others gh #57).
 
-
 # [0.99p] - 2016-12-08
 
 ## Added
@@ -188,7 +186,6 @@
 ## Changed
 - Documentation revised and extended.
 
-
 # [0.99o] - 2016-10-30
 
 ## Added
@@ -206,7 +203,6 @@
 ## Fixed
 - Several bug fixes.
 
-
 # [0.99n] - 2016-06-11
 
 ## Changed
@@ -213,7 +209,6 @@
 - Documentation revised and extended.
 - Reorganization and change of names of specimens and templates.
 
-
 # [0.99m] - 2016-05-22
 
 ## Added
@@ -221,12 +216,10 @@
 - Specimens and templates included in the PDF of the documentation as `.zip`
   archive.
 
-
 ## Changed
 - Documentation revised and extended.
 - Reorganization and change of names of specimens and templates.
 
-
 # [0.99l] - 2014-10-23
 
 ## Changed
@@ -248,7 +241,6 @@
 ## Fixed
 - Several bug fixes.
 
-
 # [0.99j] - 2014-07-18
 
 ## Added

Modified: trunk/Master/texmf-dist/doc/latex/yathesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/yathesis/README.md	2021-10-13 20:31:02 UTC (rev 60755)
+++ trunk/Master/texmf-dist/doc/latex/yathesis/README.md	2021-10-13 20:31:26 UTC (rev 60756)
@@ -1,6 +1,6 @@
 -----------------------------------------------------------------------
 
-- `yathesis` --- Yet Another Thesis Class, version 1.0.8
+- `yathesis` --- Yet Another Thesis Class, version 1.0.9
 - E-mail: `denis.bitouze at univ-littoral.fr`
 - Released under the LaTeX Project Public License v1.3c or later. See
   http://www.latex-project.org/lppl.txt

Modified: trunk/Master/texmf-dist/doc/latex/yathesis/french/canevas-specimen.zip
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/logoulcofondblanc.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/logoulcofondblanc.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/logoulcofondblanc.pdf	2021-10-13 20:31:02 UTC (rev 60755)
+++ trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/logoulcofondblanc.pdf	2021-10-13 20:31:26 UTC (rev 60756)

Property changes on: trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/logoulcofondblanc.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.tex	2021-10-13 20:31:02 UTC (rev 60755)
+++ trunk/Master/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.tex	2021-10-13 20:31:26 UTC (rev 60756)
@@ -2,7 +2,7 @@
 %
 % - une compilation `pdflatex` complète de `these.tex` situé dans le répertoire
 % `../exemples/specimen/a-plat` avec le package `yathesis-demo` à charger en
-% premier. le plus simple est de lancer `latexmk' comme suit :
+% premier. Le plus simple est de lancer `latexmk' comme suit :
 %     latexmk -g -norc -r ./latexmkrc -jobname=these -pdflatex="pdflatex %O '\RequirePackage{etoolbox}\AtEndPreamble{\RequirePackage{yathesis-demo}}\input{%S}'" these.tex
 % - une compilation `pdflatex` complète de `yathesis-fr.tex` comme suit :
 %     latexmk -norc -r ./latexmkrc yathesis-fr
@@ -35,6 +35,7 @@
 \makeindex[title=Index des concepts,extout=pdx,extin=pnd,columnseprule]
 %
 \AtEndPreamble{%
+  \changes{v1.0.9}{2021-10-13}{Correction de bugs}%
   \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

Modified: trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/latexmkrc
===================================================================
--- trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/latexmkrc	2021-10-13 20:31:02 UTC (rev 60755)
+++ trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/latexmkrc	2021-10-13 20:31:26 UTC (rev 60756)
@@ -20,4 +20,4 @@
 push @generated_exts, 'acn', 'acr', 'alg', 'bbl', 'bcf', 'fls', 'gl*', 'idx',
 'ind', 'ist', 'sbl*', 'sl*', 'sym*' ;
 
-$clean_ext .= 'synctex.gz* run.xml tex.bak out bbl bcf fdb_latexmk run tdo listing *~ lo* unq mw' ;
+$clean_ext .= 'synctex.gz* run.xml tex.bak out bbl bcf fdb_latexmk run tdo listing *~ lo* unq mw xdy' ;

Modified: trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex	2021-10-13 20:31:02 UTC (rev 60755)
+++ trunk/Master/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.tex	2021-10-13 20:31:26 UTC (rev 60756)
@@ -184,11 +184,11 @@
 %
 % Date de la soutenance, au format {jour}{mois}{année} donnés sous forme de
 % nombres
-\date{1}{1}{2015}
+\date{1}{1}{2022}
 %
 % (Facultatif) Date de la soumission, au format {jour}{mois}{année} donnés sous
 % forme de nombres
-\submissiondate{1}{10}{2014}
+\submissiondate{1}{10}{2021}
 %
 % (Facultatif) Sujet pour les méta-données du PDF
 \subject[Chaotic Laugh]{Rire chaotique}

Modified: trunk/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx	2021-10-13 20:31:02 UTC (rev 60755)
+++ trunk/Master/texmf-dist/source/latex/yathesis/yathesis-samples-templates.dtx	2021-10-13 20:31:26 UTC (rev 60756)
@@ -332,7 +332,7 @@
 % nombres
 %COMMENT
 %<flat-template|characteristics-master>\date{}{}{}
-%<characteristics-sample|flat-sample>\date{1}{1}{2015}
+%<characteristics-sample|flat-sample>\date{1}{1}{2022}
 %<<COMMENT
 %
 % (Facultatif) Date de la soumission, au format {jour}{mois}{année} donnés sous
@@ -339,7 +339,7 @@
 % forme de nombres
 %COMMENT
 %<flat-template|characteristics-master>%\submissiondate{}{}{}
-%<characteristics-sample|flat-sample>\submissiondate{1}{10}{2014}
+%<characteristics-sample|flat-sample>\submissiondate{1}{10}{2021}
 %<<COMMENT
 %
 % (Facultatif) Sujet pour les méta-données du PDF

Modified: trunk/Master/texmf-dist/source/latex/yathesis/yathesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/yathesis/yathesis.dtx	2021-10-13 20:31:02 UTC (rev 60755)
+++ trunk/Master/texmf-dist/source/latex/yathesis/yathesis.dtx	2021-10-13 20:31:26 UTC (rev 60756)
@@ -23,7 +23,7 @@
 %<*readme>
 -----------------------------------------------------------------------
 
-- `yathesis` --- Yet Another Thesis Class, version 1.0.8
+- `yathesis` --- Yet Another Thesis Class, version 1.0.9
 - E-mail: `denis.bitouze at univ-littoral.fr`
 - Released under the LaTeX Project Public License v1.3c or later. See
   http://www.latex-project.org/lppl.txt
@@ -62,6 +62,270 @@
 
       latexmk -norc -r ./latexmkrc yathesis-fr
 %</readme>
+%<*changelog>
+# [Unreleased]
+
+# [1.0.9] - 2021-10-13
+
+## Fixed
+- Bug gh #90 (https://git.io/JKO3L).
+- Bug gh #87 (https://git.io/JKO3Z).
+- Bug gh #86 (https://git.io/JKO3W).
+
+# [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
+- 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
+- The class now relies on the new LaTeX core hooks.
+- Documentation revised.
+
+## Fixed
+- Setting the main language was not taken into account by some packages
+  (e.g. `csquotes`).
+
+# [1.0.4] - 2020-10-14
+
+## Changed
+- Documentation revised.
+- The class now relies on `datetime2` and not on `datetime`.
+
+## Fixed
+- Bug gh #76 (https://git.io/JTTpX).
+- Bug gh #77 (https://git.io/JTTpu).
+- Bug gh #78 (https://git.io/JTTpQ).
+
+# [1.0.3] - 2020-06-16
+
+## Changed
+- Documentation revised.
+- Specimens improved.
+- Package `titlesec` used instead of `titleps`: possible (hopefully slight) layout discrepancies.
+
+## Fixed
+- Bug gh #74 (https://git.io/Jf64U).
+- Bug gh #65 (https://git.io/Jf64k), continuation and (hopefully) ending.
+
+# [1.0.2] - 2020-04-13
+
+## Changed
+
+- Specimens now highlight the automatic local tocs and local bibs features of
+  the class.
+- Verso of the asbtract page now with empty footer.
+- Completion file for TeXstudio improved and updated.
+
+## Fixed
+- Switches between pages styles robustified.
+- Bug #65 now for bibtex as well.
+- French rules were applied to glossaries and acronyms even in case of
+  `mainlanguage=english`.
+- Subtitles were too close to multiline titles.
+
+# [1.0.1] - 2020-03-28
+
+## Changed
+- Documentation revised.
+- Specimens improved.
+
+## Fixed
+- Bug gh #73.
+
+
+# [1.0.0] - 2020-03-26
+
+## Added
+- (Partial) CHANGELOG file (following https://keepachangelog.com/en/1.0.0/).
+- Semantic versionning (following https://semver.org/).
+- Colophon automatically added to the thesis, with possibility to:
+   - remove it,
+   - change:
+     - its location from 2nd cover to 3rd one,
+     - its content.
+
+## Changed
+- `\disclaimer` replaced by (and alias of) `\disclaimertext`.
+- Warnings and error messages now contain (expected) accented characters.
+
+## Fixed
+- Several bug fixes (among others gh #65 and #67).
+
+
+# [0.99u] - 2019-03-28
+
+## Added
+- `\maketitle` option `noaim` for (slight) customization of the title pages.
+- `\institute`, `\coinstitute` and `\company` option `nologo` for (slight)
+  customization of the title pages (gh #51).
+
+## Changed
+- Documentation revised and extended.
+- Key expressions "Titre de la thèse" and "Titre de l’habilitation à diriger les
+  recherches" (and English equivalents) now empty.
+- Key expression "Directeurs" (and English equivalent) introducing the list of
+  the "HDR" directors now replaced by "Habilitation dirigée par" (and English
+  equivalent).
+- Options `noinstitute`, `nodoctoralschool`, `nolaboratory`, `nodate`,
+  `noacademicfield`: now turn off on title pages the display of the
+  corresponding elements (as well as the co-institute for `noinstitute` and
+  specialty for `noacademicfield`).
+- On the title page (s) in French, automatic gender agreement in expressions
+  keys introducing the groups member of the committee.
+
+## Fixed
+- Several bug fixes (among others gh #43).
+
+
+# [0.99t] - 2018-07-09
+
+## Fixed
+- Several bug fixes.
+
+
+# [0.99s] - 2018-06-22
+
+## Fixed
+- Several bug fixes (among others gh #58 and #60).
+
+
+# [0.99s] - 2018-06-21
+
+## Fixed
+- Several bug fixes (among others gh #59).
+
+
+# [0.99r] - 2018-06-02
+
+## Fixed
+- Several bug fixes.
+
+
+# [0.99q] - 2018-05-04
+
+## Removed
+- Useless files on CTAN (no functional changes).
+
+
+# [0.99q] - 2018-04-10
+
+## Fixed
+- Several bug fixes (among others gh #57).
+
+
+# [0.99p] - 2016-12-08
+
+## Added
+- `\chapter` and `\section` have an extra optional argument for an alternative
+  title in header different from the one in the ToC.
+- Simplification of the use of all starred structuring commands (their
+  substructuring commands don't need to be starred).
+
+## Changed
+- Documentation revised and extended.
+
+
+# [0.99o] - 2016-10-30
+
+## Added
+- Automatic local (by chapter) tables of contents (thanks to Jean-François
+  Burnol's etoc and help): option `localtocs` (gh #45).
+- Automatic local (by chapter) bibliographies: option `localbibs`.
+
+## Changed
+- Documentation revised and revised and extended. (index of concepts).
+- English translation of "MCF" ("Associate Professor" instead of "Lecturer").
+
+## Removed
+- Useless warning from `iflang` package.
+
+## Fixed
+- Several bug fixes.
+
+
+# [0.99n] - 2016-06-11
+
+## Changed
+- Documentation revised and extended.
+- Reorganization and change of names of specimens and templates.
+
+
+# [0.99m] - 2016-05-22
+
+## Added
+- Documentation can be compiled with `pdflatex`.
+- Specimens and templates included in the PDF of the documentation as `.zip`
+  archive.
+
+
+## Changed
+- Documentation revised and extended.
+- Reorganization and change of names of specimens and templates.
+
+
+# [0.99l] - 2014-10-23
+
+## Changed
+- Documentation revised and extended.
+- Reorganization and change of names of specimens and templates.
+
+# [0.99k] - 2014-10-01
+
+## Added
+- Macro \submissiondate
+
+## Changed
+- Documentation revised and extended.
+- Page numbers on first page of each chapters (with numberred pages).
+
+## Removed
+- Class option `bookmark`.
+
+## Fixed
+- Several bug fixes.
+
+
+# [0.99j] - 2014-07-18
+
+## Added
+- Initial CTAN release of the `yathesis` class (2014-07-27).
+%</changelog>
 %<*internal>
 \fi
 \def\nameofplainTeX{plain}
@@ -70,8 +334,8 @@
 \fi
 %</internal>
 %<*class|install>
-\def\yathesisversion{1.0.8}
-\def\yathesisdate{2021-07-13}
+\def\yathesisversion{1.0.9}
+\def\yathesisdate{2021-10-13}
 %</class|install>
 %<*install>
 \input docstrip.tex
@@ -137,6 +401,10 @@
   \nopreamble\nopostamble
   \file{README.md}{\from{\jobname.dtx}{readme}}
 }%
+\generate{
+  \nopreamble\nopostamble
+  \file{CHANGELOG.md}{\from{\jobname.dtx}{changelog}}
+}%
 \usedir{tex/latex/\YAD at classname}
 \generate{%
   \file{\YAD at classname.cls}{\from{\jobname.dtx}{class}}
@@ -1852,9 +2120,9 @@
 % On fait en sorte que la clé "corporation", obsolète et remplacée par la clé
 % "corps",  soit un alias de ce dernier.
 %    \begin{macrocode}
-  % \ifthenelse{\equal{\cmdKV at YAD@corporation}{}}{%
+  % \YAD at ifemptyorundef{\cmdKV at YAD@corporation}{%
   % }{%
-  %   \ifthenelse{\equal{\cmdKV at YAD@corps}{}}{%
+  %   \YAD at ifemptyorundef{\cmdKV at YAD@corps}{%
   %     \yadsetup{#1,corps=\cmdKV at YAD@corporation}%
   %   }{%
   %   }%
@@ -2263,7 +2531,7 @@
         \ifthenelse{\DTLiseq{\YAD at committeemember@corps}{}}{%
           \YAD at committeemember@affiliation%
         }{%
-          \ifthenelse{\equal{\YAD at committeemember@sepcorpaffil}{}}{%
+          \YAD at ifemptyorundef{\YAD at committeemember@sepcorpaffil}{%
             \YAD at if@starts at with@vowel{\YAD at committeemember@affiliation}{\YAD at al}{\YAD at au}\YAD at committeemember@affiliation%
           }{%
             \YAD at committeemember@sepcorpaffil\YAD at committeemember@affiliation%
@@ -2530,7 +2798,7 @@
   }%
   % \boolfalse{YAD at nolink}%
   \yadsetup{##1}%
-  \ifthenelse{\equal{\cmdKV at YAD@url}{}}{%
+  \YAD at ifemptyorundef{\cmdKV at YAD@url}{%
     \ifdraft{%
       \YAD at reach@file{%
         \YAD at texte%
@@ -2561,7 +2829,7 @@
 %    \begin{macrocode}
       \csdef{print#2address}{%
         \yadsetup{##1}%
-        \ifthenelse{\equal{\cmdKV at YAD@address}{}}{%
+        \YAD at ifemptyorundef{\cmdKV at YAD@address}{%
           \YAD at reach@file{\YAD at generic@argument at translate{address#2}}%
         }{%
           \YAD at reach@file{\cmdKV at YAD@address}%
@@ -2573,7 +2841,7 @@
 %    \begin{macrocode}
       \csdef{print#2telephone}{%
         \yadsetup{##1}%
-        \ifthenelse{\equal{\cmdKV at YAD@telephone}{}}{%
+        \YAD at ifemptyorundef{\cmdKV at YAD@telephone}{%
           \YAD at reach@file{\YAD at generic@argument at translate{telephone#2}}%
         }{%
           \YAD at reach@file{\cmdKV at YAD@telephone}%
@@ -2585,7 +2853,7 @@
 %    \begin{macrocode}
       \csdef{print#2fax}{%
         \yadsetup{##1}%
-        \ifthenelse{\equal{\cmdKV at YAD@fax}{}}{%
+        \YAD at ifemptyorundef{\cmdKV at YAD@fax}{%
           \YAD at reach@file{\YAD at generic@argument at translate{fax#2}}%
         }{%
           \YAD at reach@file{\cmdKV at YAD@fax}%
@@ -2598,7 +2866,7 @@
 %    \begin{macrocode}
 \csdef{print#2email}{%
   \YAD at reach@file{%
-    \ifthenelse{\equal{\cmdKV at YAD@email}{}}{%
+    \YAD at ifemptyorundef{\cmdKV at YAD@email}{%
       % \ifbool{YAD at nolink}{%
       %   \YAD at generic@argument at translate{#2email}%
       % }{%
@@ -2647,11 +2915,12 @@
           }{%
           }%
           \renewcommand*\YAD at logo{%
-            \ifthenelse{\equal{\cmdKV at YAD@logo}{}}{%
+            \YAD at ifemptyorundef{\cmdKV at YAD@logo}{%
               \YAD at reach@file{\YAD at generic@argument at translate{logo#2}}%
             }{%
               \YAD at reach@file{%
                 \includegraphics[height=\cmdKV at YAD@logoheight]{\cmdKV at YAD@logo}%
+                \renewcommand*\cmdKV at YAD@logo{}%
               }%
             }%
           }%
@@ -2660,7 +2929,7 @@
           % \ifbool{YAD at nolink}{%
           % \YAD at logo%
           % }{%
-          \ifthenelse{\equal{\cmdKV at YAD@url}{}}{%
+          \YAD at ifemptyorundef{\cmdKV at YAD@url}{%
             % \YAD at href{www.#2.fr}{
             \YAD at logo%
             % }%
@@ -2670,7 +2939,7 @@
           % }%
           \fi%
           \setlength\cmdKV at YAD@logoheight{\YAD at default@logoheight}%
-          \boolfalse{YAD at nologo}
+          \boolfalse{YAD at nologo}%
           \booltrue{YAD at logo@before}%
         }%
       }%
@@ -3139,7 +3408,7 @@
 % est exprimée en les même termes que le \Package{tocvsec2} (désormais non
 % chargé). On lui applique le style de page propre à la partie liminaire du
 % document, notamment début de la prise en compte des chapitres et sections
-% (numérotés ou pas) dans la table des matières. 
+% (numérotés ou pas) dans la table des matières.
 %
 % \begin{macro}{\tableofcontents}
 %    \begin{macrocode}
@@ -3320,7 +3589,7 @@
 %    \end{macrocode}
 % \end{macro}
 % Par défaut, au début du document rien n'est numéroté et les chapitres ne
-% débutent pas par des tables des matières locales. 
+% débutent pas par des tables des matières locales.
 %    \begin{macrocode}
   \AddToHook{begindocument}{%
     \setcounter{secnumdepth}{-10}%
@@ -5001,7 +5270,7 @@
 % Les commandes et styles suivants, ainsi que toute la machinerie permettant de
 % faire débuter les chapitres par leurs tables des matières locales s'appuient
 % sur le \pkg{etoc} de Jean-François Burnol (qui a aimablement fourni le code
-% suivant). 
+% suivant).
 %    \begin{macrocode}
 % it will be easy to globally shift the TOC horizontally if needed
 \def\YAD at leftmargin {0pt}
@@ -5083,7 +5352,7 @@
     \fi
     \cleardoublepage%
   }%
-  % 
+  %
   \etocsetstyle{part} {} {\addpenalty {-\@highpenalty}%
     \addvspace \YAD at bigvskip \leavevmode {\large
       \bfseries % use a group to limit font change
@@ -5090,7 +5359,7 @@
       \interlinepenalty\@M \etocifnumbered{\etocnumber\hspace{1em}}{}%
       \etocname \nobreak\hfil\makebox[-\parfillskip][r]{\etocpage}}\par
     \nobreak } {} {}
-  % 
+  %
   \etocsetstyle{chapter} {\advance\leftskip\YAD at numwidthB\relax} {\addpenalty
     {-\@highpenalty }%
     \vskip \YAD at globalmedvskip\relax
@@ -5101,7 +5370,7 @@
       \bfseries\etocname
       \nobreak\hfil\makebox[-\parfillskip][r]{\etocpage}\par }%
     \penalty \@highpenalty } {} {\advance\leftskip-\YAD at numwidthB\relax}
-  % 
+  %
   \YAD at setlinestyle {section}{\YAD at numwidthC}%
   \YAD at setlinestyle {subsection}{\YAD at numwidthD}%
   \YAD at setlinestyle {subsubsection}{\YAD at numwidthE}%
@@ -5170,7 +5439,7 @@
     \leavevmode\leaders\hrule\@height\p@\hfill\kern\z@\par
     \bigskip \if at restonecol \twocolumn \fi
   }
-  % % 
+  % %
   \etocsetstyle{section} {%
     \advance\leftskip\YAD at numwidthC\relax%
   } {%
@@ -5194,7 +5463,7 @@
   {} {%
     \advance\leftskip-\YAD at numwidthC\relax%
   }
-  % % 
+  % %
   \YAD at setlinestyle {subsection}{\YAD at numwidthD}%
   \YAD at setlinestyle {subsubsection}{\YAD at numwidthE}%
   \YAD at setlinestyle {paragraph}{\YAD at numwidthF}%
@@ -5211,7 +5480,7 @@
 %
 %    \begin{macrocode}
 \newcommand*\YAD at computenumwidths@ [2] {% #1 pour `etoc' ou `local', #2=pour le
-                                % \kern 
+                                % \kern
   \begingroup
   \def\YAD at numwidthB {0pt}%
   \def\YAD at numwidthC {0pt}%
@@ -5238,7 +5507,7 @@
   \etocsetstyle{subparagraph}{}
   {\setbox0\hbox{\etocthenumber\kern#2}}
   {\ifdim\wd0>\YAD at numwidthG\edef\YAD at numwidthG{\the\wd0}\fi}{}%
-  % 
+  %
   \etocsettocstyle{}
   {\global\let\YAD at numwidthB\YAD at numwidthB
     \global\let\YAD at numwidthC\YAD at numwidthC
@@ -5517,7 +5786,11 @@
       \let\YAD at ORI@sectionmark\sectionmark%
       \renewcommand\sectionmark[1]{}%
       \YAD at ORI@section{#3}%
-      \YAD at ORI@sectionmark{#2}%
+      \ifbool{YAD at nonnumbered@section}{%
+        \YAD at ORI@sectionmark{#2}%
+      }{%
+        \YAD at ORI@sectionmark{\thesection. #2}%
+      }%
       \let\sectionmark\YAD at ORI@sectionmark%
     }%
   }{%
@@ -5527,7 +5800,11 @@
       \let\YAD at ORI@sectionmark\sectionmark%
       \renewcommand\sectionmark[1]{}%
       \YAD at ORI@section[#1]{#3}%
-      \YAD at ORI@sectionmark{#2}%
+      \ifbool{YAD at nonnumbered@section}{%
+        \YAD at ORI@sectionmark{#2}%
+      }{%
+        \YAD at ORI@sectionmark{\thesection. #2}%
+      }%
       \let\sectionmark\YAD at ORI@sectionmark%
     }%
   }%

Modified: trunk/Master/texmf-dist/tex/latex/yathesis/yathesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/yathesis/yathesis.cls	2021-10-13 20:31:02 UTC (rev 60755)
+++ trunk/Master/texmf-dist/tex/latex/yathesis/yathesis.cls	2021-10-13 20:31:26 UTC (rev 60756)
@@ -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.8}
-\def\yathesisdate{2021-07-13}
+\def\yathesisversion{1.0.9}
+\def\yathesisdate{2021-10-13}
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{yathesis}[\yathesisdate\space v\yathesisversion\space Yet another class for writing thesis (DB)]
 \RequirePackage{morewrites}%
@@ -958,9 +958,9 @@
   }{%
   }%
   %
-  % \ifthenelse{\equal{\cmdKV at YAD@corporation}{}}{%
+  % \YAD at ifemptyorundef{\cmdKV at YAD@corporation}{%
   % }{%
-  %   \ifthenelse{\equal{\cmdKV at YAD@corps}{}}{%
+  %   \YAD at ifemptyorundef{\cmdKV at YAD@corps}{%
   %     \yadsetup{#1,corps=\cmdKV at YAD@corporation}%
   %   }{%
   %   }%
@@ -1304,7 +1304,7 @@
         \ifthenelse{\DTLiseq{\YAD at committeemember@corps}{}}{%
           \YAD at committeemember@affiliation%
         }{%
-          \ifthenelse{\equal{\YAD at committeemember@sepcorpaffil}{}}{%
+          \YAD at ifemptyorundef{\YAD at committeemember@sepcorpaffil}{%
             \YAD at if@starts at with@vowel{\YAD at committeemember@affiliation}{\YAD at al}{\YAD at au}\YAD at committeemember@affiliation%
           }{%
             \YAD at committeemember@sepcorpaffil\YAD at committeemember@affiliation%
@@ -1525,7 +1525,7 @@
   }%
   % \boolfalse{YAD at nolink}%
   \yadsetup{##1}%
-  \ifthenelse{\equal{\cmdKV at YAD@url}{}}{%
+  \YAD at ifemptyorundef{\cmdKV at YAD@url}{%
     \ifdraft{%
       \YAD at reach@file{%
         \YAD at texte%
@@ -1553,7 +1553,7 @@
 }%
       \csdef{print#2address}{%
         \yadsetup{##1}%
-        \ifthenelse{\equal{\cmdKV at YAD@address}{}}{%
+        \YAD at ifemptyorundef{\cmdKV at YAD@address}{%
           \YAD at reach@file{\YAD at generic@argument at translate{address#2}}%
         }{%
           \YAD at reach@file{\cmdKV at YAD@address}%
@@ -1562,7 +1562,7 @@
       }%
       \csdef{print#2telephone}{%
         \yadsetup{##1}%
-        \ifthenelse{\equal{\cmdKV at YAD@telephone}{}}{%
+        \YAD at ifemptyorundef{\cmdKV at YAD@telephone}{%
           \YAD at reach@file{\YAD at generic@argument at translate{telephone#2}}%
         }{%
           \YAD at reach@file{\cmdKV at YAD@telephone}%
@@ -1571,7 +1571,7 @@
       }%
       \csdef{print#2fax}{%
         \yadsetup{##1}%
-        \ifthenelse{\equal{\cmdKV at YAD@fax}{}}{%
+        \YAD at ifemptyorundef{\cmdKV at YAD@fax}{%
           \YAD at reach@file{\YAD at generic@argument at translate{fax#2}}%
         }{%
           \YAD at reach@file{\cmdKV at YAD@fax}%
@@ -1580,7 +1580,7 @@
       }%
 \csdef{print#2email}{%
   \YAD at reach@file{%
-    \ifthenelse{\equal{\cmdKV at YAD@email}{}}{%
+    \YAD at ifemptyorundef{\cmdKV at YAD@email}{%
       % \ifbool{YAD at nolink}{%
       %   \YAD at generic@argument at translate{#2email}%
       % }{%
@@ -1615,11 +1615,12 @@
           }{%
           }%
           \renewcommand*\YAD at logo{%
-            \ifthenelse{\equal{\cmdKV at YAD@logo}{}}{%
+            \YAD at ifemptyorundef{\cmdKV at YAD@logo}{%
               \YAD at reach@file{\YAD at generic@argument at translate{logo#2}}%
             }{%
               \YAD at reach@file{%
                 \includegraphics[height=\cmdKV at YAD@logoheight]{\cmdKV at YAD@logo}%
+                \renewcommand*\cmdKV at YAD@logo{}%
               }%
             }%
           }%
@@ -1628,7 +1629,7 @@
           % \ifbool{YAD at nolink}{%
           % \YAD at logo%
           % }{%
-          \ifthenelse{\equal{\cmdKV at YAD@url}{}}{%
+          \YAD at ifemptyorundef{\cmdKV at YAD@url}{%
             % \YAD at href{www.#2.fr}{
             \YAD at logo%
             % }%
@@ -1638,7 +1639,7 @@
           % }%
           \fi%
           \setlength\cmdKV at YAD@logoheight{\YAD at default@logoheight}%
-          \boolfalse{YAD at nologo}
+          \boolfalse{YAD at nologo}%
           \booltrue{YAD at logo@before}%
         }%
       }%
@@ -3912,7 +3913,11 @@
       \let\YAD at ORI@sectionmark\sectionmark%
       \renewcommand\sectionmark[1]{}%
       \YAD at ORI@section{#3}%
-      \YAD at ORI@sectionmark{#2}%
+      \ifbool{YAD at nonnumbered@section}{%
+        \YAD at ORI@sectionmark{#2}%
+      }{%
+        \YAD at ORI@sectionmark{\thesection. #2}%
+      }%
       \let\sectionmark\YAD at ORI@sectionmark%
     }%
   }{%
@@ -3922,7 +3927,11 @@
       \let\YAD at ORI@sectionmark\sectionmark%
       \renewcommand\sectionmark[1]{}%
       \YAD at ORI@section[#1]{#3}%
-      \YAD at ORI@sectionmark{#2}%
+      \ifbool{YAD at nonnumbered@section}{%
+        \YAD at ORI@sectionmark{#2}%
+      }{%
+        \YAD at ORI@sectionmark{\thesection. #2}%
+      }%
       \let\sectionmark\YAD at ORI@sectionmark%
     }%
   }%



More information about the tex-live-commits mailing list.