texlive[65558] Master/texmf-dist: etoc (16jan23)

commits+karl at tug.org commits+karl at tug.org
Mon Jan 16 22:10:42 CET 2023


Revision: 65558
          http://tug.org/svn/texlive?view=revision&revision=65558
Author:   karl
Date:     2023-01-16 22:10:42 +0100 (Mon, 16 Jan 2023)
Log Message:
-----------
etoc (16jan23)

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/doc/latex/etoc/etocsnippet-27.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-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/README.md	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 <!-- -->
 
-    Source:  etoc.dtx (1.1a)
+    Source:  etoc.dtx (1.1b)
     Author:  Jean-Francois Burnol
     Info:    Completely customisable TOCs
     License: LPPL 1.3c
@@ -97,8 +97,15 @@
 RECENT CHANGES
 ==============
 
+1.1b \[2023/01/15\]
+-------------------
+
+Documentation fix, 1.1a forgot to mention the following change:
+`\etocthelinkedname`, `\etocthelinkednumber`, `\etocthelinkedpage`
+are now always hyperlinks independently of linktoc status.
+
 1.1a \[2023/01/14\]
-----------------------
+-------------------
 
 This version brings no new functionality, despite the number bump.
 It implements a complete rewrite of old legacy core internals.

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-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etoc.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %%
 %% Package: etoc
-%% Version: 1.1a
+%% Version: 1.1b
 %% 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-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-01.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-01.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begingroup\parindent 0pt \parfillskip 0pt \leftskip 0cm \rightskip 1cm
 \etocsetstyle {section}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-02.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-02.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begingroup
 \newcommand*{\DotsAndPage}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-03.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-03.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begingroup % we start a group to keep the style changes local
 \newlength{\tocleftmargin}    \setlength{\tocleftmargin}{5cm}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-04.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-04.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begin{figure}[ht!]
   \centering

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-05.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-05.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \makeatletter
 \newcommand{\MyStandardTOC}{%

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-06.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-06.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \makeatletter
 \newcommand*{\MyQuasiStandardTOC}[1]{%

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-07.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-07.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 % it will be easy to globally shift the TOC horizontally if needed
 \def\TOCleftmargin     {0pt}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-08.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-08.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \makeatletter
 \newcommand*\TOClocalstyle {%

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-09.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-09.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \etocdefaultlines
 \begingroup

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-10.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begin{figure}[htbp!]\centering
 \colorlet{subsecnum}{black}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-11.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-11.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begingroup
 \newsavebox{\forsubsections}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-12.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-12.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
    < in the preamble >
 \newcounter{visibletoc}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-13.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-13.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
   \etocsetnexttocdepth{2}     % sections are at level 1 and will show up
 \begingroup

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-14.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-14.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 % \newtoks\treetok % put this (uncommented) preferably in the preamble
 % \newtoks\tmptok  % (idem)

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-15.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-15.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 % \newtoks\treetok % put this (uncommented) preferably in the preamble
 % \newtoks\sectiontok

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-16.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-16.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begingroup
 % \newtoks\treetok % done in preamble

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-17.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-17.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begingroup
 \etocglobaldefs % necessary for \etocname etc... to survive &

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-18.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-18.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begin{center}
 \etocsetstyle{section}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-19.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-19.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \makeatletter
 \newcommand*\TOCcompute at numwidths [2]{% #1=empty/"local", #2=minimal indent

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-20.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-20.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \etocsetstyle{section}
 {\begin{enumerate}}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-21.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-21.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \etocsettocdepth {subsubsection} % set the initial tocdepth
 \etocdefaultlines % use the package default line styles. At this early stage in

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-22.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-22.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \etocruledstyle[2]{\normalfont\normalsize\rmfamily\itshape
   \fbox{\parbox{.6\linewidth}{

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-23.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-23.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \begingroup
 \definecolor{subsecnum}{RGB}{13,151,225}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-24.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-24.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \newsavebox\firstnamei  \newsavebox\firstnumberi
 \newsavebox\lastnamei   \newsavebox\lastnumberi

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-25.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-25.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \makeatletter
 \newcommand*\firstsubname   {}  \newcommand*\lastsubname    {}

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-26.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-26.tex'
 %% generated by the `filecontentsdef' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \etocsetnexttocdepth {all}
 \begingroup

Modified: trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-27.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-27.tex	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/doc/latex/etoc/etocsnippet-27.tex	2023-01-16 21:10:42 UTC (rev 65558)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `etocsnippet-27.tex'
 %% generated by the `filecontentshere' environment
-%% from source `etoc' on 2023/01/15.
+%% from source `etoc' on 2023/01/16.
 %%
 \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-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/source/latex/etoc/etoc.dtx	2023-01-16 21:10:42 UTC (rev 65558)
@@ -2,20 +2,20 @@
 % 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: <14-01-2023 at 21:26:57 CET>}%
+\def\etocdtxtimestamp {Time-stamp: <15-01-2023 at 11:56:19 CET>}%
 %</none>
 %<*!readme>
 %%
 %% Package: etoc
-%% Version: 1.1a
+%% Version: 1.1b
 %% License: LPPL 1.3c
 %% Copyright (C) 2012-2023 Jean-Francois Burnol
 %%                         <jfbu at free dot fr>
 %</!readme>
 %<*none>
-\def\etocpkgdate        {2023/01/14}
-\def\etocdocdate        {2023/01/14}
-\def\etocpkgversion     {1.1a}
+\def\etocpkgdate        {2023/01/15}
+\def\etocdocdate        {2023/01/15}
+\def\etocpkgversion     {1.1b}
 \def\etocpkgdescription {Completely customisable TOCs (JFB)}
 %% German translation was last udpated on April 2015 and all new material
 %% was included since in English.  During 2020/2021/2022 emerged a still
@@ -33,7 +33,7 @@
     \catcode32=13\catcode`\\=12^^Brelax^^A
 ^^Bfirstofone{^^Bendgroup^^Bdef^^BetocLicense^^A
 {% Package: etoc
-% Version: 1.1a
+% Version: 1.1b
 % License: LPPL 1.3c
 % Copyright (C) 2012-2023 Jean-Francois Burnol <jfbu at free dot fr>
 %
@@ -60,7 +60,7 @@
 %<*readme>
 <!-- -->
 
-    Source:  etoc.dtx (1.1a)
+    Source:  etoc.dtx (1.1b)
     Author:  Jean-Francois Burnol
     Info:    Completely customisable TOCs
     License: LPPL 1.3c
@@ -157,8 +157,15 @@
 RECENT CHANGES
 ==============
 
+1.1b \[2023/01/15\]
+-------------------
+
+Documentation fix, 1.1a forgot to mention the following change:
+`\etocthelinkedname`, `\etocthelinkednumber`, `\etocthelinkedpage`
+are now always hyperlinks independently of linktoc status.
+
 1.1a \[2023/01/14\]
-----------------------
+-------------------
 
 This version brings no new functionality, despite the number bump.
 It implements a complete rewrite of old legacy core internals.
@@ -3668,7 +3675,9 @@
 |tikz| syntax for trees (which will be illustrated in the next section).} The
 commands \csb{etocname}, etc\dots, are robust, it is easier to work with 
 \csb{etocthelinkednumber}, \csb{etocthelinkedname}, and \csb{etocthelinkedpage}
-which contain the same information in an easier accessible form.
+which contain the same information in an easier accessible form.%
+%
+\normalmarginpar\marginpar{\footnotesize\rmfamily\itshape\RaggedRight At \texttt{1.1a} the commands \csa{etocthelinkedname}, etc\dots, are always providing an hyperlink, so it is not true that \csb{etocname}, etc\dots, are always simply their robust variants.}
 
 For this |forest| tree we have designed very special \etoc styles for sections
 and subsections. They use a token list register called |\treetok| and a
@@ -4659,21 +4668,31 @@
 can be stored for delayed usage. For example this is
 done in the \hyperref[tocastree]{examples with trees}.
 
-Notice though the following facts:
+There has been a \textbf{breaking change} at |1.1a|.  Here is the behavior
+\emph{prior} to this release:
 \begin{itemize}[noitemsep]
-\item \csb{etocthelinkednumber} and \csb{etocthelinkedname} are hyperlinks
+\item \csb{etocthelinkedname} and \csb{etocthelinkednumber} were hyperlinks
   only if \ctanpkg{hyperref} was configured via |linktoc=all| or
   |linktoc=section| (the default),
-\item \csb{etocthelinkedpage} is an hyperlink only if \ctanpkg{hyperref} was
-  configured via |linktoc=all| or |linktoc=page|.  \emph{Furthermore}, the
-  page number must not be empty: if it is empty no hyperlink is added (this
-  matches the \ctanpkg{hyperref} behavior when \etoc is not loaded).
+\item \csb{etocthelinkedpage} was an hyperlink only if \ctanpkg{hyperref} was
+  configured via |linktoc=all| or |linktoc=page| and the page number was not empty.
 \end{itemize}
+This behavior was coherent with the commands \csb{etocname}, \csb{etocnumber},
+and \csb{etocpage} being the robust variants of \csb{etocthelinkedname},
+\csb{etocthelinkednumber}, and \csb{etocthelinkedpage}.
 
-It may be a bit strange that the link is not sytematically added despite the
-command names, but this is legacy behavior of the package.  It is coherent
-with the commands \csb{etocname}, \csb{etocnumber}, and \csb{etocpage} being
-their robust variants.
+At |1.1a| it was decided that the commands should match their denominations.%
+%
+\footnote{To tell the whole truth, the author in refactoring the code completely at \texttt{1.1a} was tricked by the names and forgot to read the old documentation so the new behavior was implemented and it was decided to keep the change.}
+%
+So they are now \emph{always} hyperlinks independently of |linktoc| \ctanpkg{hyperref}
+option (\csb{etocthelinkedpage} has no hyperlink if the page number is empty,
+to match \ctanpkg{hyperref} behavior):
+\begin{itemize}[noitemsep]
+\item \csb{etocthelinkedname} and \csb{etocthelinkednumber} and
+  \csb{etocthelinkedpage} are always (in presence of \ctanpkg{hyperref})
+  hyperlinks (for \csb{etocthelinkedpage} the page number must not be empty).
+\end{itemize}
 
 
 A further command is provided: \csb{etocthelink}, which wraps%
@@ -4684,11 +4703,6 @@
 arbitrary text \meta{foo} to the target sectioning unit in the document.
 The command \csb{etoclink} is its robust variant.
 
-Thus, \csb{etocthelinkednumber} is essentially
-\csb{etocthelink}|{|\csb{etocthenumber}|}| if |linktoc| is |all| or the
-default |section|, else it is an alias to \csb{etocthenumber}.  Similarly for
-the other two.
-
 %  They too
 % contain the hyperlink destination in already expanded form since |1.08a| for
 % the first three, since |1.08j| for \csb{etoclink}.
@@ -6510,11 +6524,9 @@
 On the other hand \csb{etocthename}, \csb{etocthenumber}, \csb{etocthepage}
 are \emph{not} protected against expansion. And neither are
 \csb{etocthelinkedname}, \csb{etocthelinkednumber}, \csb{etocthelinkedpage}.
-The latter three are hyperlinks only if \ctanpkg{hyperref} |linktoc| option
-has the suitable value: |section| (which is default) or |all| for name and
-number to be hyperlinks, |page| or |all| for the page number (which must not
-be empty).  The commands \csb{etocname}, \csb{etocnumber}, and \csb{etocpage}
-are their robust variants.
+They were modified at |1.1a| and now are always hyperlinks (except for the
+latter if the page number is empty), if
+\ctanpkg{hyperref} is present, independently of |linktoc| status.
 
 The commands \csb{etoclink} and \csb{etocifnumbered} are also
 protected against premature expansion. Also \csb{etociffirst} and
@@ -6677,8 +6689,14 @@
 \def {\ifvmode\advance\jfverbadim.5em\relax\else\expandafter\jfverbaspace\fi}}\x
 \makeatother
 \begin{jfverbatim}
-1.1a [2023/01/14]^
+1.1b [2023/01/15]^
 
+    Documentation fix, 1.1a forgot to mention the following change:
+    \etocthelinkedname, \etocthelinkednumber, \etocthelinkedpage
+    are now always hyperlinks independently of linktoc status.
+
+~1.1a [2023/01/14]^
+
     This version brings no new functionality, despite the number bump.
     It implements a complete rewrite of old legacy core internals.
     Formerly, etoc waited for ~2hyperref. (if present) to have added
@@ -7670,7 +7688,7 @@
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \ProvidesPackage{etoc}
-[2023/01/14 v1.1a Completely customisable TOCs (JFB)]
+[2023/01/15 v1.1b Completely customisable TOCs (JFB)]
 \RequirePackage{multicol}
 \DeclareOption*{\PackageWarning{etoc}{Option `\CurrentOption' is unknown.}}
 \ProcessOptions\relax
@@ -8071,6 +8089,19 @@
 % target from 
 % the \ctanpkg{hyperref} hacked arguments of \csa{l at section} et al, rather
 % than picking it from the fourth argument of \csa{contentsline}.
+%
+% Another \textbf{breaking change} (documented only at |1.1b|): all three
+% of \csbc{etocthelinkedname}, \csbc{etocthelinkednumber}, and
+% \csbc{etocthelinkedpage} are always hyperlinks (for the latter, only if
+% page number is not empty to match \ctanpkg{hyperref} ways).
+% Formerly they obeyed the |linktoc| status,
+% somewhat counterintuitively, but this meant that \csbc{etocname} etc...
+% were their robust variants, which meant one could store easily for later
+% usage (see the documentation examples with ``treetoks'') their precise
+% meaning.  The breaking change happened in part because I was fooled myself
+% by the macro names, and refactored the code in two steps separated by months
+% so in second step I forgot I had only provisory code.  And I decided finally
+% to keep the breaking change.
 %    \begin{macrocode}
 \def\Etoc at lxyz #1#2#3{%
     \ifEtoc at hyperref

Modified: trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty	2023-01-16 21:10:15 UTC (rev 65557)
+++ trunk/Master/texmf-dist/tex/latex/etoc/etoc.sty	2023-01-16 21:10:42 UTC (rev 65558)
@@ -22,13 +22,13 @@
 %% in the same archive or directory.)
 %%
 %% Package: etoc
-%% Version: 1.1a
+%% Version: 1.1b
 %% License: LPPL 1.3c
 %% Copyright (C) 2012-2023 Jean-Francois Burnol
 %%                         <jfbu at free dot fr>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \ProvidesPackage{etoc}
-[2023/01/14 v1.1a Completely customisable TOCs (JFB)]
+[2023/01/15 v1.1b Completely customisable TOCs (JFB)]
 \RequirePackage{multicol}
 \DeclareOption*{\PackageWarning{etoc}{Option `\CurrentOption' is unknown.}}
 \ProcessOptions\relax



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