texlive[68691] Master/texmf-dist: etoc (29oct23)

commits+karl at tug.org commits+karl at tug.org
Sun Oct 29 21:14:06 CET 2023


Revision: 68691
          https://tug.org/svn/texlive?view=revision&revision=68691
Author:   karl
Date:     2023-10-29 21:14:06 +0100 (Sun, 29 Oct 2023)
Log Message:
-----------
etoc (29oct23)

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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/README.md	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 <!-- -->
 
-    Source:  etoc.dtx (1.2c)
+    Source:  etoc.dtx (1.2d)
     Author:  Jean-Francois Burnol
     Info:    Completely customisable TOCs
     License: LPPL 1.3c
@@ -78,6 +78,9 @@
 RECENT CHANGES
 ==============
 
+- `1.2d 2023/10/29` fix crash (since `1.2`) in presence of
+  `\usepackage[nottoc]{tocbibind}`.  Thanks to François Jonca for report.
+
 - `1.2c 2023/10/28` compatibility hotfix with `hyperref v7.01c`.  Thanks
   to Denis Bitouzé for report.
 

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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etoc.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %%
 %% Package: etoc
-%% Version: 1.2c
+%% Version: 1.2d
 %% 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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-01.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-02.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-03.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-04.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-05.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-06.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-07.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-08.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 % 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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-09.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-10.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-11.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-12.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-13.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-14.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
    < 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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-15.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
   \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-16.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 % \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-17.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 % \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-18.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 % \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-19.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-20.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-21.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-22.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-23.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-24.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-25.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex	2023-10-29 20:14:06 UTC (rev 68691)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-26.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/10/28.
+%% from source `etoc' on 2023/10/29.
 %%
 \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-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/source/latex/etoc/etoc.dtx	2023-10-29 20:14:06 UTC (rev 68691)
@@ -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:42:41 CEST>}%
+\def\etocdtxtimestamp {Time-stamp: <29-10-2023 at 10:31:05 CET>}%
 %</none>
 %<*!readme>
 %%
 %% Package: etoc
-%% Version: 1.2c
+%% Version: 1.2d
 %% License: LPPL 1.3c
 %% Copyright (C) 2012-2023 Jean-Francois Burnol
 %%                         <jfbu at free dot fr>
 %</!readme>
 %<*none>
-\def\etocpkgdate        {2023/10/28}
-\def\etocdocdate        {2023/10/28}
-\def\etocpkgversion     {1.2c}
+\def\etocpkgdate        {2023/10/29}
+\def\etocdocdate        {2023/10/29}
+\def\etocpkgversion     {1.2d}
 \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.2c
+% Version: 1.2d
 % 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.2c)
+    Source:  etoc.dtx (1.2d)
     Author:  Jean-Francois Burnol
     Info:    Completely customisable TOCs
     License: LPPL 1.3c
@@ -137,6 +137,9 @@
 RECENT CHANGES
 ==============
 
+- `1.2d 2023/10/29` fix crash (since `1.2`) in presence of
+  `\usepackage[nottoc]{tocbibind}`.  Thanks to François Jonca for report.
+
 - `1.2c 2023/10/28` compatibility hotfix with `hyperref v7.01c`.  Thanks
   to Denis Bitouzé for report.
   
@@ -6805,11 +6808,21 @@
 Please inform the author in case of issues: \etoc was from the start designed
 to be |100%| compatible with package \ctanpkg{hyperref}.
 
+\begin{framed}
+  Releases of \etoc prior to \etocrelease{1.2c} copied over some legacy
+  internals of \ctanpkg{hyperref} which got removed there at release
+  |v7.01c| of |2023-10-21|, and this caused \etoc to stop displaying
+  tables of contents.  You must use at least \etocrelease{1.2c} to avoid
+  that mishap.
+\end{framed}
+
 The macros \csb{etocname}, \csb{etocnumber}, and \csb{etocpage} contain the
 \ctanpkg{hyperref} links, if present (note that the \emph{linktoc=all} option of
 \ctanpkg{hyperref} tells it to put a link also in the page number corresponding to a
 given toc entry). For example, the tables of contents of the present document
-are all fully linked. It doesn't matter whether \etoc or \ctanpkg{hyperref} is loaded
+are all fully linked.
+
+It doesn't matter whether \etoc or \ctanpkg{hyperref} is loaded
 first.
 
 \subsection{Compatibility with \ctanpkg{microtype}}
@@ -6968,8 +6981,7 @@
 
 \subsection{Compatibility with \ctanpkg{tocloft}}\label{subs:tocloft}
 
-Release \etocrelease{1.07k} added compatibility with package
-\ctanpkg{tocloft}: steps are
+Steps are
 taken to prevent the redefinition of |\tableofcontents| done by
 \ctanpkg{tocloft} at |\begin{document}|.
 %
@@ -6990,10 +7002,8 @@
   the time of |\begin{document}| and trick \ctanpkg{tocloft} into believing
   having been loaded with the |titles| option.
 
-  Sadly, \etocrelease{1.2} and \etocrelease{1.2a} had a bug and loading
-  \ctanpkg{tocloft} before \etoc caused \toc to not be the \etoc one.  One had
-  to use explicitly \csb{etoctableofcontents} (there was no issue with
-  \localtoc).  The regression was fixed at \etocrelease{1.2b}.
+  Some bugs with \etocrelease{1.2} and \etocrelease{1.2a} were fixed at
+  \etocrelease{1.2b}.
 \end{framed}
 
 It is possible to modify midway in the document the macros \csa{l at section},
@@ -7003,9 +7013,10 @@
 
 \subsection{Compatibility with \ctanpkg{tocbibind}}\label{subs:tocbibind}
 
-Added at \etocrelease{1.2}. See also \csb{etocsetup} for a discussion of the
-  package options which are all related to this (they will achieve the
-  \ctanpkg{tocbibind} ``to toc'' features without requiring the package).
+Added at \etocrelease{1.2} (but with a bug fixed only at
+\etocrelease{1.2d}). See also \csb{etocsetup} for a discussion of the
+package options which are all related to this (they will achieve the
+\ctanpkg{tocbibind} ``to toc'' features without requiring the package).
 
 Thanks to Denis Bitouzé for feature request.
 
@@ -7212,6 +7223,12 @@
 \makeatother
 \vskip-\baselineskip
 \begin{jfverbatim}
+~1.2d [2023/10/29]^
+
+    Fix crash (present since 1.2) if used with
+    \usepackage[nottoc]{tocbibind} (the faulty code was avoided if also
+    tocloft was used by document).  Thanks to François Jonca for report.
+
 ~1.2c [2023/10/28]^
 
     Compatibility hotfix with hyperref v7.01c; etoc had copied
@@ -8454,7 +8471,7 @@
 % \csa{numexpr} or \csa{unexpanded} or maybe others yet that we use).
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}[2003/12/01]
-\ProvidesPackage{etoc}[2023/10/28 v1.2c Completely customisable TOCs (JFB)]
+\ProvidesPackage{etoc}[2023/10/29 v1.2d 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.
@@ -8467,7 +8484,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.2c) does not *require* it, but has not been\MessageBreak
+   This etoc (1.2d) 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
@@ -11793,6 +11810,10 @@
    }%
    {% no tocloft
     \@ifpackageloaded {tocbibind}
+%    \end{macrocode}
+% For some reason this \etocrelease{1.2} code had no |\fi| matching the
+% |\if at dotoctoc|.  Fixed at \etocrelease{1.2d}.
+%    \begin{macrocode}
      {\if at dotoctoc
         \def\etocclasstocstyle{%
           \etoctocbibindstyle
@@ -11817,9 +11838,10 @@
         \else
            \let\tableofcontents\etoctableofcontents
         \fi
-     }%
-     {}%
-   }%
+      \fi
+     }% end of tocbibind without tocloft at begin document code
+     {}% empty false branch
+   }% end of no tocloft at begin document code
 %    \end{macrocode}
 % Maybe I should check if the options were already set.  I will simply
 % make the message more generic.

Modified: trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty	2023-10-29 13:15:04 UTC (rev 68690)
+++ trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty	2023-10-29 20:14:06 UTC (rev 68691)
@@ -22,12 +22,12 @@
 %% in the same archive or directory.)
 %%
 %% Package: etoc
-%% Version: 1.2c
+%% Version: 1.2d
 %% License: LPPL 1.3c
 %% Copyright (C) 2012-2023 Jean-Francois Burnol
 %%                         <jfbu at free dot fr>
 \NeedsTeXFormat{LaTeX2e}[2003/12/01]
-\ProvidesPackage{etoc}[2023/10/28 v1.2c Completely customisable TOCs (JFB)]
+\ProvidesPackage{etoc}[2023/10/29 v1.2d 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.2c) does not *require* it, but has not been\MessageBreak
+   This etoc (1.2d) 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
@@ -1887,9 +1887,10 @@
         \else
            \let\tableofcontents\etoctableofcontents
         \fi
-     }%
-     {}%
-   }%
+      \fi
+     }% end of tocbibind without tocloft at begin document code
+     {}% empty false branch
+   }% end of no tocloft at begin document code
    \@ifpackageloaded{tocbibind}
    {% tocbibind, perhaps with tocloft
       \if at dotoctoc



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