texlive[68685] Master/texmf-dist: etoc (28oct23)
commits+karl at tug.org
commits+karl at tug.org
Sat Oct 28 22:05:48 CEST 2023
Revision: 68685
https://tug.org/svn/texlive?view=revision&revision=68685
Author: karl
Date: 2023-10-28 22:05:48 +0200 (Sat, 28 Oct 2023)
Log Message:
-----------
etoc (28oct23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/etoc/README.md
trunk/Master/texmf-dist/doc/latex/etoc/etoc.pdf
trunk/Master/texmf-dist/doc/latex/etoc/etoc.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex
trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex
trunk/Master/texmf-dist/source/latex/etoc/etoc.dtx
trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty
Modified: trunk/Master/texmf-dist/doc/latex/etoc/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/README.md 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/README.md 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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 @@
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`.
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etoc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etoc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etoc.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etoc.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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>
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}{
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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]{%
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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 {%
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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)
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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 &
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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 at numwidths [2]{% #1=empty/"local", #2=minimal indent
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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 {}
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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][]{%
Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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
Modified: trunk/Master/texmf-dist/source/latex/etoc/etoc.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/etoc/etoc.dtx 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/source/latex/etoc/etoc.dtx 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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 @@
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 @@
\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 @@
% \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 @@
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 @@
\global\Etoc at toctoks=\expandafter{\the\Etoc at toctoks}%
\closein\Etoc at 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 at openouttoc{%
- \ifEtoc at hyperref
- \ifx\hyper at last\@undefined
- \IfFileExists{\jobname .toc}
- {\Hy at WarningNoLine
- {old toc file detected; run LaTeX again (cheers from `etoc')}%
- \global\Etoc at toctoks={}%
- }
- {}%
- \fi
- \fi
\if at filesw
\newwrite \tf at toc
\immediate \openout \tf at toc \jobname .toc\relax
Modified: trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty 2023-10-28 20:05:30 UTC (rev 68684)
+++ trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty 2023-10-28 20:05:48 UTC (rev 68685)
@@ -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 at oldLaTeX
\@ifl at 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 at tf}}
{\typeout{No file \jobname.toc.}}}
\def\Etoc at openouttoc{%
- \ifEtoc at hyperref
- \ifx\hyper at last\@undefined
- \IfFileExists{\jobname .toc}
- {\Hy at WarningNoLine
- {old toc file detected; run LaTeX again (cheers from `etoc')}%
- \global\Etoc at toctoks={}%
- }
- {}%
- \fi
- \fi
\if at filesw
\newwrite \tf at toc
\immediate \openout \tf at toc \jobname .toc\relax
More information about the tex-live-commits
mailing list.