summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/etoc/README.md
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-01-21 03:01:20 +0000
committerNorbert Preining <norbert@preining.info>2023-01-21 03:01:20 +0000
commit94c0d48361932b4beca57cc5609d26a46270dfeb (patch)
treeffc783a6c17a404847f0b7b46f3d49912497add3 /macros/latex/contrib/etoc/README.md
parent6d3235d032cbed920059ab39370928067056573a (diff)
CTAN sync 202301210301
Diffstat (limited to 'macros/latex/contrib/etoc/README.md')
-rw-r--r--macros/latex/contrib/etoc/README.md33
1 files changed, 30 insertions, 3 deletions
diff --git a/macros/latex/contrib/etoc/README.md b/macros/latex/contrib/etoc/README.md
index d0d1f1ea32..b452990b34 100644
--- a/macros/latex/contrib/etoc/README.md
+++ b/macros/latex/contrib/etoc/README.md
@@ -1,6 +1,6 @@
<!-- -->
- Source: etoc.dtx (1.1b)
+ Source: etoc.dtx (1.1c)
Author: Jean-Francois Burnol
Info: Completely customisable TOCs
License: LPPL 1.3c
@@ -97,6 +97,31 @@ etoc.sty, etoc.tex, etoc.pdf, etoc.dvi.
RECENT CHANGES
==============
+1.1c \[2023/01/20\]
+-------------------
+
+Fix a brace removal bug in the construction of `\etocname`. It
+remained without visible effects in documents using `hyperref` and
+default settings, thanks to the hyperlink wrapper, but e.g.
+`\section{{\color{blue}Blue}}` in a document not using `hyperref`,
+and not using etoc only in "compatibility mode", could cause a
+color leak in the table of contents.
+
+With the KOMA-script numberline toc feature, unnumbered entries in
+TOCs typeset via etoc user-defined or package provided line styles
+but using compatibility mode for the global display style were
+(knowingly) considered to be numbered with an empty number. They
+are now considered by `\etocifnumbered` to be not numbered and the
+empty `\etocnumber` will carry no hyperlink.
+
+Fix a 1.1a regression in the context of KOMA-script unnumbered TOC
+entries: `\etocthelinkedname` could lose its hyperlink.
+
+Continue internal trimming of old code branches which became
+un-needed after the 1.1a refactoring. Add relatively decent
+code comments to accompany the 1.1a-c refactoring. Update
+warning messages to use more consistently LaTeX's templates.
+
1.1b \[2023/01/15\]
-------------------
@@ -117,7 +142,7 @@ other commands to extract hyperlinking information, if any.
With this release etoc decides earlier according to
[hyperref](https://ctan.org/pkg/hyperref)
linktoc status whether section names and page numbers
-should be hyperlinked, and add links itself via `\hyperlink`.
+should be hyperlinked, and adds links itself via `\hyperlink`.
etoc is thus now immune to the details of how hyperref patches
the `\contentsline` command, which is not executed anymore.
Overall, the code is greatly simplified.
@@ -130,7 +155,9 @@ Deprecation of `\etocsavedsectiontocline` and similarly named
commands. They are not needed as `\l@section` et al. are with this
release left unmodified during the table of contents typesetting.
-LaTeX kernel from `2020/10/01` or later is required.
+LaTeX kernel from `2020/10/01` or later is required (to allow
+assuming the `\contentsline` entries in the TOC file always have
+four arguments).
1.09i \[2022/11/21\]
--------------------