CTAN Comprehensive TeX Archive Network

CTAN Update: etoc

Date: April 19, 2015 7:51:18 AM CEST
Jean-François Burnol submitted an update to the etoc package. Version: 1.08e / 2015-04-17 License: lppl1.3 Summary description: Completely customisable TOCs. Announcement text:
The command \etocchecksemptiness tells etoc to not print, from that point on, the headings of the local tables of contents if they have empty contents. This is mainly for class authors who might want to have their \section or \chapter automatically do a \localtableofcontents. Could prove also useful for batch conversions of documents. The command \etocnotocifnotoc extends this behaviour to global TOCs: indeed why should documents with no sectioning units take this as an excuse not to use package etoc ? The command \etocifwasempty{yes}{no} can be used for suitable extra action. A \tableofcontents\ref{foo} now expects foo to be a label to a _local_ TOC. The use with foo a label to a _global_ TOC is not supported anymore as it had no utility and made the code more complex. The syntax \localtableofcontents\ref{foo} is now accepted as a synonym to the earlier syntax \tableofcontents\ref{foo}.
This package is located at http://mirror.ctan.org/macros/latex/contrib/etoc/ More information is at http://www.ctan.org/pkg/etoc 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 Petra Rübe-Pugliese

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.

Version1.2a 2023-05-01
Copyright2012–2023 Jean-François Burnol
MaintainerJean-François Burnol



Guest Book Sitemap Contact Contact Author