summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/etoc/README.md5
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etoc.pdfbin978780 -> 978250 bytes
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etoc.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex2
-rw-r--r--Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex2
-rw-r--r--Master/texmf-dist/source/latex/etoc/etoc.dtx46
-rw-r--r--Master/texmf-dist/tex/latex/etoc/etoc.sty16
31 files changed, 61 insertions, 60 deletions
diff --git a/Master/texmf-dist/doc/latex/etoc/README.md b/Master/texmf-dist/doc/latex/etoc/README.md
index a6f32b78602..b45d22bb038 100644
--- a/Master/texmf-dist/doc/latex/etoc/README.md
+++ b/Master/texmf-dist/doc/latex/etoc/README.md
@@ -1,6 +1,6 @@
<!-- -->
- Source: etoc.dtx (1.2b)
+ Source: etoc.dtx (1.2c)
Author: Jean-Francois Burnol
Info: Completely customisable TOCs
License: LPPL 1.3c
@@ -78,6 +78,9 @@ etoc.sty, etoc.tex, etoc.pdf, etoc.dvi.
RECENT CHANGES
==============
+- `1.2c 2023/10/28` compatibility hotfix with `hyperref v7.01c`. Thanks
+ to Denis Bitouzé for report.
+
- `1.2b 2023/07/01` fixes a regression from `1.2` regarding concomitant
usage of the package with `tocloft`. Some documentation improvements,
in particular discussion of compatibility with `microtype`.
diff --git a/Master/texmf-dist/doc/latex/etoc/etoc.pdf b/Master/texmf-dist/doc/latex/etoc/etoc.pdf
index 1bfc2c962f2..8f6b1a892a4 100644
--- a/Master/texmf-dist/doc/latex/etoc/etoc.pdf
+++ b/Master/texmf-dist/doc/latex/etoc/etoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/etoc/etoc.tex b/Master/texmf-dist/doc/latex/etoc/etoc.tex
index 67441fdfb6f..1a961677393 100644
--- a/Master/texmf-dist/doc/latex/etoc/etoc.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etoc.tex
@@ -1,6 +1,6 @@
%%
%% Package: etoc
-%% Version: 1.2b
+%% Version: 1.2c
%% License: LPPL 1.3c
%% Copyright (C) 2012-2023 Jean-Francois Burnol
%% <jfbu at free dot fr>
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex
index 664a5577b2d..9bf83fb85ae 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-01.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\etocsetstyle{section}
{\begin{enumerate}}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex
index d5ce86ed426..08db97b2ffb 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-02.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\etocruledstyle[2]{\normalfont\normalsize\rmfamily\itshape
\fbox{\parbox{.6\linewidth}{
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex
index 6089cec7ed6..199a48c5c40 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-03.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\begin{figure}[ht!]
\centering
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex
index f46b754597d..2c4babc45d3 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-04.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\begingroup\parindent 0pt \parfillskip 0pt \leftskip 0cm \rightskip 1cm
\etocsetstyle {section}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex
index e0dde727605..0adbfa430e1 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-05.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\begingroup
\newcommand*{\DotsAndPage}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex
index 661241f5aed..a69e3896789 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-06.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\begingroup % we start a group to keep the style changes local
\newlength{\tocleftmargin} \setlength{\tocleftmargin}{4cm}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex
index cf1ab5b64d4..ebd3a09d335 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-07.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\makeatletter
\newcommand{\MyLocalTOC}[1][section]{%
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex
index 2fd83ea4e84..7923b6350df 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-08.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
% it will be easy to globally shift the TOC horizontally if needed
\def\TOCleftmargin {0pt}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex
index 74a6a5ef51f..e4c865792c5 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-09.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\makeatletter
\newcommand*\TOClocalstyle {%
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex
index e17dab5d70f..a36f1f1288c 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-10.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\etocdefaultlines
\begingroup
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex
index ba34e6e7c05..72bf490d26d 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-11.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\begin{figure}[htbp!]\centering
\colorlet{subsecnum}{black}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex
index 8cc0c83aebb..4ae11190116 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-12.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\begingroup
\newsavebox{\forsubsections}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex
index 71ef734af6a..a92e98fe16d 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-13.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\begingroup
\definecolor{subsecnum}{RGB}{13,151,225}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex
index 87b513746ff..b5b43347dca 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-14.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
< in the preamble >
\newcounter{visibletoc}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex
index 45f673e472e..d698c4b4b5b 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-15.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\etocsetnexttocdepth{2} % sections are at level 1 and will show up
\begingroup
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex
index 7e3dfe048d7..54091d8da4e 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-16.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
% \newtoks\treetok % put this (uncommented) preferably in the preamble
% \newtoks\tmptok % (idem)
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex
index 744737a72f6..0e0b4a38e31 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-17.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
% \newtoks\treetok % put this (uncommented) preferably in the preamble
% \newtoks\subsectiontok
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex
index b71a785e724..4e5fb963e4a 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-18.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
% \newtoks\treetok % done in preamble
% \newtoks\parttok
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex
index 2e25280b49c..83144660adf 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-19.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\begingroup
\etocglobaldefs % necessary for \etocname etc... to survive &
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex
index 7e158047e5e..ad6798ff4d7 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-20.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\begin{center}
\etocsetstyle{section}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex
index fa40d71415f..f3fa049bb4a 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-21.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\makeatletter
\newcommand*\TOCcompute@numwidths [2]{% #1=empty/"local", #2=minimal indent
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex
index 35a3a00556f..568ddfae555 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-22.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\newsavebox\firstnamei \newsavebox\firstnumberi
\newsavebox\lastnamei \newsavebox\lastnumberi
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex
index be986acbf97..ea4484fce46 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-23.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\makeatletter
\newcommand*\firstsubname {} \newcommand*\lastsubname {}
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex
index 267edcaa4c6..d3addda7e93 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-24.tex'
%% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\etocsetnexttocdepth {all}
\begingroup
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex
index a2434dd7c73..291c4ca21b2 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-25.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\makeatletter
\newcommand*{\MyQuasiStandardTOC}[2][]{%
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex
index 54a3a82be7d..881a1df59b6 100644
--- a/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex
+++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex
@@ -1,6 +1,6 @@
%% LaTeX2e file `etocsnippet-26.tex'
%% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/07/05.
+%% from source `etoc' on 2023/10/28.
%%
\newtoks\toctabletok
\newcommand*\appendtotok[2]{% #1=toks variable, #2=macro, expands once #2
diff --git a/Master/texmf-dist/source/latex/etoc/etoc.dtx b/Master/texmf-dist/source/latex/etoc/etoc.dtx
index 09c808b774a..6bc8ebe6447 100644
--- a/Master/texmf-dist/source/latex/etoc/etoc.dtx
+++ b/Master/texmf-dist/source/latex/etoc/etoc.dtx
@@ -2,20 +2,20 @@
% N.B.: this dtx file does NOT use \DocInput. It does NOT prefix the user
% manual part with percent characters.
%<*none>
-\def\etocdtxtimestamp {Time-stamp: <04-07-2023 at 22:33:21 CEST>}%
+\def\etocdtxtimestamp {Time-stamp: <04-07-2023 at 22:42:41 CEST>}%
%</none>
%<*!readme>
%%
%% Package: etoc
-%% Version: 1.2b
+%% Version: 1.2c
%% License: LPPL 1.3c
%% Copyright (C) 2012-2023 Jean-Francois Burnol
%% <jfbu at free dot fr>
%</!readme>
%<*none>
-\def\etocpkgdate {2023/07/01}
-\def\etocdocdate {2023/07/01}
-\def\etocpkgversion {1.2b}
+\def\etocpkgdate {2023/10/28}
+\def\etocdocdate {2023/10/28}
+\def\etocpkgversion {1.2c}
\def\etocpkgdescription {Completely customisable TOCs (JFB)}
%% Formerly this etoc.dtx also included source for a German translation
%% etoc-DE.pdf. But all additions since April 2015 had been only in English.
@@ -29,7 +29,7 @@
\catcode32=13\catcode`\\=12^^Brelax^^A
^^Bfirstofone{^^Bendgroup^^Bdef^^BetocLicense^^A
{% Package: etoc
-% Version: 1.2b
+% Version: 1.2c
% License: LPPL 1.3c
% Copyright (C) 2012-2023 Jean-Francois Burnol <jfbu at free dot fr>
%
@@ -56,7 +56,7 @@
%<*readme>
<!-- -->
- Source: etoc.dtx (1.2b)
+ Source: etoc.dtx (1.2c)
Author: Jean-Francois Burnol
Info: Completely customisable TOCs
License: LPPL 1.3c
@@ -137,6 +137,9 @@ etoc.sty, etoc.tex, etoc.pdf, etoc.dvi.
RECENT CHANGES
==============
+- `1.2c 2023/10/28` compatibility hotfix with `hyperref v7.01c`. Thanks
+ to Denis Bitouzé for report.
+
- `1.2b 2023/07/01` fixes a regression from `1.2` regarding concomitant
usage of the package with `tocloft`. Some documentation improvements,
in particular discussion of compatibility with `microtype`.
@@ -7209,6 +7212,13 @@ version is \texttt{\etocpkgversion}, of \texttt{\etocpkgdate}.
\makeatother
\vskip-\baselineskip
\begin{jfverbatim}
+~1.2c [2023/10/28]^
+
+ Compatibility hotfix with hyperref v7.01c; etoc had copied
+ over a now unneeded internal hyperref test, and since
+ v7.01c the result was that etoc produced empty tables of
+ contents. Thanks to Denis Bitouzé for report.
+
~1.2b [2023/07/01]^
bugfix: a refactoring at 1.2 accidentally removed a needed
@@ -8444,7 +8454,7 @@ of real structure in a \LaTeX{} document body).
% \csa{numexpr} or \csa{unexpanded} or maybe others yet that we use).
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[2003/12/01]
-\ProvidesPackage{etoc}[2023/07/01 v1.2b Completely customisable TOCs (JFB)]
+\ProvidesPackage{etoc}[2023/10/28 v1.2c Completely customisable TOCs (JFB)]
% \end{macrocode}
% Gentle Info message in the log to mention no testing is done of current
% \etoc on old \LaTeX{} installations.
@@ -8457,7 +8467,7 @@ of real structure in a \LaTeX{} document body).
Since 1.1a (2023/01/14), etoc prefers LaTeX at least\MessageBreak
as recent as 2020-10-01, for reasons of the .toc file,\MessageBreak
and used to require it (from 1.1a to 1.2).\MessageBreak
- This etoc (1.2b) does not *require* it, but has not been\MessageBreak
+ This etoc (1.2c) does not *require* it, but has not been\MessageBreak
tested thoroughly on old LaTeX (especially if document\MessageBreak
does not use hyperref) and retrofitting was done only\MessageBreak
on basis of author partial remembrances of old context.\MessageBreak
@@ -9497,17 +9507,15 @@ of real structure in a \LaTeX{} document body).
\global\Etoc@toctoks=\expandafter{\the\Etoc@toctoks}%
\closein\Etoc@tf}}
{\typeout{No file \jobname.toc.}}}
+% \end{macrocode}
+% \etocrelease{1.2c} removes a legacy test it had copied over
+% from \ctanpkg{hyperref} internals, whose purpose was to check
+% if the |.toc| file had been produced in an earlier
+% no-hyperref pass, which in the past would trigger
+% failure. For specifics see
+% \url{https://github.com/latex3/hyperref/issues/305}.
+% \begin{macrocode}
\def\Etoc@openouttoc{%
- \ifEtoc@hyperref
- \ifx\hyper@last\@undefined
- \IfFileExists{\jobname .toc}
- {\Hy@WarningNoLine
- {old toc file detected; run LaTeX again (cheers from `etoc')}%
- \global\Etoc@toctoks={}%
- }
- {}%
- \fi
- \fi
\if@filesw
\newwrite \tf@toc
\immediate \openout \tf@toc \jobname .toc\relax
diff --git a/Master/texmf-dist/tex/latex/etoc/etoc.sty b/Master/texmf-dist/tex/latex/etoc/etoc.sty
index 3d35edbc350..a58b5445d35 100644
--- a/Master/texmf-dist/tex/latex/etoc/etoc.sty
+++ b/Master/texmf-dist/tex/latex/etoc/etoc.sty
@@ -22,12 +22,12 @@
%% in the same archive or directory.)
%%
%% Package: etoc
-%% Version: 1.2b
+%% Version: 1.2c
%% License: LPPL 1.3c
%% Copyright (C) 2012-2023 Jean-Francois Burnol
%% <jfbu at free dot fr>
\NeedsTeXFormat{LaTeX2e}[2003/12/01]
-\ProvidesPackage{etoc}[2023/07/01 v1.2b Completely customisable TOCs (JFB)]
+\ProvidesPackage{etoc}[2023/10/28 v1.2c Completely customisable TOCs (JFB)]
\newif\ifEtoc@oldLaTeX
\@ifl@t@r\fmtversion{2020/10/01}
{}
@@ -36,7 +36,7 @@
Since 1.1a (2023/01/14), etoc prefers LaTeX at least\MessageBreak
as recent as 2020-10-01, for reasons of the .toc file,\MessageBreak
and used to require it (from 1.1a to 1.2).\MessageBreak
- This etoc (1.2b) does not *require* it, but has not been\MessageBreak
+ This etoc (1.2c) does not *require* it, but has not been\MessageBreak
tested thoroughly on old LaTeX (especially if document\MessageBreak
does not use hyperref) and retrofitting was done only\MessageBreak
on basis of author partial remembrances of old context.\MessageBreak
@@ -475,16 +475,6 @@
\closein\Etoc@tf}}
{\typeout{No file \jobname.toc.}}}
\def\Etoc@openouttoc{%
- \ifEtoc@hyperref
- \ifx\hyper@last\@undefined
- \IfFileExists{\jobname .toc}
- {\Hy@WarningNoLine
- {old toc file detected; run LaTeX again (cheers from `etoc')}%
- \global\Etoc@toctoks={}%
- }
- {}%
- \fi
- \fi
\if@filesw
\newwrite \tf@toc
\immediate \openout \tf@toc \jobname .toc\relax