summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/etoc/etoc.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/etoc/etoc.dtx')
-rw-r--r--macros/latex/contrib/etoc/etoc.dtx56
1 files changed, 34 insertions, 22 deletions
diff --git a/macros/latex/contrib/etoc/etoc.dtx b/macros/latex/contrib/etoc/etoc.dtx
index a500a3b01d..6809655d29 100644
--- a/macros/latex/contrib/etoc/etoc.dtx
+++ b/macros/latex/contrib/etoc/etoc.dtx
@@ -2,27 +2,27 @@
% N.B.: this dtx file is NOT for use with \DocInput. The latex source of the
% user manual is not prefixed with percent signs.
%<*none>
-\def\etocdtxtimestamp {Time-stamp: <17-11-2019 at 13:36:39 CET>}%
+\def\etocdtxtimestamp {Time-stamp: <15-05-2020 at 19:18:31 CEST>}%
%</none>
%<*!readme>
%%
%% Package: etoc
-%% Version: 1.09b-2019/11/17
+%% Version: 1.09c-2020/05/15
%% License: LPPL 1.3c
-%% Copyright (C) 2012-2019 Jean-Francois Burnol
+%% Copyright (C) 2012-2020 Jean-Francois Burnol
%% <jfbu at free dot fr>
-%% Copyright (C) 2014-2019 Christine Roemer
+%% Copyright (C) 2014-2020 Christine Roemer
%% <Christine_Roemer at t-online dot de>
%% and collaborators for the translation into German of the documentation
%%
%</!readme>
%<*none>
-\def\etocpkgdate {2019/11/17}
-\def\etocdocdate {2019/11/17}
-\def\etocpkgversion {v1.09b}
+\def\etocpkgdate {2020/05/15}
+\def\etocdocdate {2020/05/15}
+\def\etocpkgversion {v1.09c}
\def\etocpkgdescription {Completely customisable TOCs (JFB)}
-\def\etocDEpkgdate {17.11.2019}% METTRE À JOUR À CHAQUE BUMP!
-\def\etocDEdocdate {17.11.2019}
+\def\etocDEpkgdate {15.05.2020}% METTRE À JOUR À CHAQUE BUMP!
+\def\etocDEdocdate {15.05.2020}
\def\etocDEDEdocdate {09.04.2015}%
\def\etocDEDEpkgversion {v1.08d}%
% Definition of \etocLicense
@@ -33,10 +33,10 @@
\catcode32=13\catcode`\\=12^^Brelax^^A
^^Bfirstofone{^^Bendgroup^^Bdef^^BetocLicense^^A
{% Package: etoc
-% Version: 1.09b-2019/11/17
+% Version: 1.09c-2020/05/15
% License: LPPL 1.3c
-% Copyright (C) 2012-2019 Jean-Francois Burnol <jfbu at free dot fr>
-% Copyright (C) 2014-2019 Christine Roemer <Christine_Roemer at t-online dot de>
+% Copyright (C) 2012-2020 Jean-Francois Burnol <jfbu at free dot fr>
+% Copyright (C) 2014-2020 Christine Roemer <Christine_Roemer at t-online dot de>
% and collaborators for the translation into German of the documentation
%
% This Work may be distributed and/or modified under the
@@ -67,13 +67,13 @@
%<*readme>
<!-- -->
- Source: etoc.dtx (v1.09b-2019/11/17)
+ Source: etoc.dtx (v1.09c-2020/05/15)
Author: Jean-Francois Burnol
Author: Christine Roemer et al. (German tranlation)
Info: Completely customisable TOCs
License: LPPL 1.3c
- Copyright (C) 2012-2019 Jean-Francois Burnol.
- Copyright (C) 2014-2019 Christine Roemer and collaborators for
+ Copyright (C) 2012-2020 Jean-Francois Burnol.
+ Copyright (C) 2014-2020 Christine Roemer and collaborators for
the translation into German of the documentation.
<jfbu at free dot fr> <Christine_Roemer at t-online dot de>
@@ -174,6 +174,11 @@ etoc.pdf, etoc-DE.pdf, etoc.dvi, etoc-DE.dvi.
RECENT CHANGES
==============
+v1.09c \[2020/05/05\]
+---------------------
+
+Syncs with KOMA-script deprecation of `\iftocfeature`.
+
v1.09a, v1.09b \[2019/11/17\]
-----------------------------
@@ -10719,7 +10724,11 @@ Dokumentation erzeugt von der Quelldatei mit dem Stempel
\begin{multicols}{2}
\begin{jfverbatim}
-v1.09a, v1.09b [2019/11/17]^
+v1.09c [2020/05/05]^
+
+ Syncs with KOMA-script deprecation of \iftocfeature.
+
+~v1.09a, v1.09b [2019/11/17]^
Sync with memoir v3.7i which has a better location of the TOC
hyperref anchor. The \etocaftertitlehook can now freely be
@@ -13383,14 +13392,17 @@ v1.09a, v1.09b [2019/11/17]^
\parskip \cftparskip \@nameuse {cfttocbeforelisthook}}
{\@nameuse {cfttocafterlisthook}\endgroup\restorefromonecol}}
% \end{macrocode}
-% placeholder for comments
+% |1.09c| (|2020/05/15|) does an update as KOMA-script has deprecated
+% |\iftocfeature|. Thanks to Bilel Omrani for report. I did not check
+% if cloning of KOMA code required some further updates.
% \begin{macrocode}
+\ifdefined\Iftocfeature\def\etoc@Iftocfeature{\Iftocfeature}\else\def\etoc@Iftocfeature{\iftocfeature}\fi
\def\etocscrartclstyle{%
\etocsettocstyle
{\let\if@dynlist\if@tocleft
\def\@currext{toc}% added 1.07m 2015/01/23
- \iftocfeature {toc}{onecolumn}
- {\iftocfeature {toc}{leveldown}
+ \etoc@Iftocfeature {toc}{onecolumn}
+ {\etoc@Iftocfeature {toc}{leveldown}
{}
{\if@twocolumn \aftergroup \twocolumn \onecolumn \fi }}
{}%
@@ -13398,14 +13410,14 @@ v1.09a, v1.09b [2019/11/17]^
% |1.07k|: next line to do as within current |scrartcl 2013/12/19 v3.12|
% KOMA-Script article class.
% \begin{macrocode}
- \iftocfeature {toc}{numberline}{\def \nonumberline {\numberline {}}}{}%
+ \etoc@Iftocfeature {toc}{numberline}{\def \nonumberline {\numberline {}}}{}%
\tocbasic@listhead {\listoftocname}%
\begingroup \expandafter \expandafter \expandafter
\endgroup \expandafter
\ifx
\csname microtypesetup\endcsname \relax
\else
- \iftocfeature {toc}{noprotrusion}{}
+ \etoc@Iftocfeature {toc}{noprotrusion}{}
{\microtypesetup {protrusion=false}%
\PackageInfo {tocbasic}%
{character protrusion at toc deactivated}}%
@@ -13772,7 +13784,7 @@ v1.09a, v1.09b [2019/11/17]^
Grave accent \` Left brace \{ Vertical bar \|
Right brace \} Tilde \~}
-\CheckSum{3506}%
+\CheckSum{3516}%
\csname check@checksum\endcsname
\Finale