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

The package gives the user complete control of how the entries of the table of contents should be constituted from the name, number, and page number of each sectioning unit. The layout is controlled by the definition of ‘line styles’ for each sectioning level used in the document.

The package provides its own custom line styles (which may be used as examples), and continues to support the standard formatting inherited from the document classes, but the package can also allow the user to delegate the details to packages dealing with list making environments (such as enumitem). The package’s default global style typesets tables of contents in a multi-column format, with either a standard heading, or a ruled title (optionally with a frame around the table).

The \tableofcontents command may be used arbitrarily many times in the same document, while \localtableofcontents provides a ‘local’ table of contents.

Packageetoc
Version1.09e 2021-09-23
Copyright2012–2021 Jean-François Burnol
2014–2015 Christine Roemer et al.
MaintainerJean-François Burnol

Announcements

more

Guest Book Sitemap Contact Contact Author