CTAN Comprehensive TeX Archive Network

CTAN Up­date: etoc

Date: April 19, 2015 7:51:18 AM CEST
Jean-François Burnol sub­mit­ted an up­date to the etoc pack­age. Ver­sion: 1.08e / 2015-04-17 Li­cense: lp­pl1.3 Sum­mary de­scrip­tion: Com­pletely cus­tomis­able TOCs. An­nounce­ment text:
The com­mand \etoc­check­sempti­ness tells etoc to not print, from that point on, the head­ings of the lo­cal ta­bles of con­tents if they have empty con­tents. This is mainly for class au­thors who might want to have their \sec­tion or \chap­ter au­to­mat­i­cally do a \lo­caltable­of­con­tents. Could prove also use­ful for batch con­ver­sions of doc­u­ments. The com­mand \etoc­no­to­cif­no­toc ex­tends this be­haviour to global TOCs: in­deed why should doc­u­ments with no sec­tion­ing units take this as an ex­cuse not to use pack­age etoc ? The com­mand \eto­cif­wasempty{yes}{no} can be used for suit­able ex­tra ac­tion. A \table­of­con­tents\ref{foo} now ex­pects foo to be a la­bel to a _lo­cal_ TOC. The use with foo a la­bel to a _global_ TOC is not sup­ported any­more as it had no util­ity and made the code more com­plex. The syn­tax \lo­caltable­of­con­tents\ref{foo} is now ac­cepted as a syn­onym to the ear­lier syn­tax \table­of­con­tents\ref{foo}.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/la­tex/con­trib/etoc/ More in­for­ma­tion is at http://www.ctan.org/pkg/etoc We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html .
Thanks for the up­load. For the CTAN Team Pe­tra Rübe-Pugliese

etoc – Com­pletely cus­tomis­able TOCs

The pack­age gives the user com­plete con­trol of how the en­tries of the ta­ble of con­tents should be con­sti­tuted from the name, num­ber, and page num­ber of each sec­tion­ing unit. The lay­out is con­trolled by the def­i­ni­tion of ‘line styles’ for each sec­tion­ing level used in the doc­u­ment.

The pack­age pro­vides its own cus­tom line styles (which may be used as ex­am­ples), and con­tin­ues to sup­port the stan­dard for­mat­ting in­her­ited from the doc­u­ment classes, but the pack­age can also al­low the user to del­e­gate the de­tails to pack­ages deal­ing with list mak­ing en­vi­ron­ments (such as en­u­mitem). The pack­age’s de­fault global style type­sets ta­bles of con­tents in a multi-col­umn for­mat, with ei­ther a stan­dard head­ing, or a ruled ti­tle (op­tion­ally with a frame around the ta­ble).

The \table­of­con­tents com­mand may be used ar­bi­trar­ily many times in the same doc­u­ment, while \lo­caltable­of­con­tents pro­vides a ‘lo­cal’ ta­ble of con­tents.

Ver­sion1.08p 2018-07-04
Copy­right2012–2018 Jean-François Burnol
Main­tainerJean-François Burnol



Guest Book Sitemap Contact Contact Author