CTAN Update: etoc
Date: December 11, 2012 7:49:05 PM CET
Jean-François Burnol submitted an update to the
etoc
package.
Summary description: easily customizable TOCs
License type: lppl
Announcement text:
1.06 1. With previous versions, macros such as \l at section recovered their standard meanings only in compatibility mode at the time of typesetting TOCs. With this version, it is the opposite: macros such as \l at section or \l at subsection have throughout the document their standard meanings, which means that they can be customized (even if no package has added to them customizing hooks) and that the compatibility mode of etoc will obey this. 2. The .toc file is now read into memory at the time of \usepackage{etoc} and it is opened for write operation at the first TOC typesetting command. Prior, both happened at the \begin{document}. 3. The commands added by the package to the .toc file are declared to the external world to do nothing. Hence some other package can also load the .toc file (this must happen before the first typeset TOC) and execute its contents. (related to the point 2 above.) 4. A number of superfluous \global's and a few \gdef's, which were left-overs from the war against bugs in the developing stages of the code, were removed. 5. The documentation has been updated and improved. An unclear statement about secnumdepth has been corrected.
This package is located at http://mirror.ctan.org/macros/latex/contrib/etoc . More information is at http://www.ctan.org/pkg/etoc (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Rainer Schöpf
1.06 1. With previous versions, macros such as \l at section recovered their standard meanings only in compatibility mode at the time of typesetting TOCs. With this version, it is the opposite: macros such as \l at section or \l at subsection have throughout the document their standard meanings, which means that they can be customized (even if no package has added to them customizing hooks) and that the compatibility mode of etoc will obey this. 2. The .toc file is now read into memory at the time of \usepackage{etoc} and it is opened for write operation at the first TOC typesetting command. Prior, both happened at the \begin{document}. 3. The commands added by the package to the .toc file are declared to the external world to do nothing. Hence some other package can also load the .toc file (this must happen before the first typeset TOC) and execute its contents. (related to the point 2 above.) 4. A number of superfluous \global's and a few \gdef's, which were left-overs from the war against bugs in the developing stages of the code, were removed. 5. The documentation has been updated and improved. An unclear statement about secnumdepth has been corrected.
This package is located at http://mirror.ctan.org/macros/latex/contrib/etoc . More information is at http://www.ctan.org/pkg/etoc (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Rainer Schöpf
etoc – Completely customisable TOCs
With etoc loaded, \tableofcontents can be used multiple times, and an added command \localtableofcontents allows to typeset “local” tables of contents, i.e. TOCs having their scope limited to the last sectioning command encountered. Since release 1.2, also \locallistoffigures and \locallistoftables are available.
Loading etoc per itself does not modify the “contents lines” inherited from the class default or changed via other packages. But full usage of the package allows spectacular effects such as displaying TOCs as trees or mind maps.
Package | etoc |
Version | 1.2d 2023-10-29 |
Copyright | 2012–2023 Jean-François Burnol |
Maintainer | Jean-François Burnol |