summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/etoc/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/etoc/README.md')
-rw-r--r--macros/latex/contrib/etoc/README.md32
1 files changed, 30 insertions, 2 deletions
diff --git a/macros/latex/contrib/etoc/README.md b/macros/latex/contrib/etoc/README.md
index 96322539d8..e431588369 100644
--- a/macros/latex/contrib/etoc/README.md
+++ b/macros/latex/contrib/etoc/README.md
@@ -1,10 +1,10 @@
<!-- -->
- Source: etoc.dtx (1.09i)
+ Source: etoc.dtx (1.1a)
Author: Jean-Francois Burnol
Info: Completely customisable TOCs
License: LPPL 1.3c
- Copyright (C) 2012-2022 Jean-Francois Burnol.
+ Copyright (C) 2012-2023 Jean-Francois Burnol.
<jfbu at free dot fr>
ABSTRACT
@@ -97,6 +97,34 @@ etoc.sty, etoc.tex, etoc.pdf, etoc.dvi.
RECENT CHANGES
==============
+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
+[hyperref](https://ctan.org/pkg/hyperref)
+(if present) to have added hyperlinks via its patch to LaTeX's
+`\contentsline`. etoc examined the arguments of `\l@section` and
+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`.
+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.
+
+`\etoclink` now wraps its argument in an hyperlink even if
+[hyperref](https://ctan.org/pkg/hyperref) is configured via
+`linktoc=none`. Formerly no hyperlink was added then.
+
+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.
+
1.09i \[2022/11/21\]
--------------------