CTAN
Comprehensive TeX Archive Network

Direc­tory tex-archive/macros/latex/contrib/tableof

Ab­stract

  • Pack­age: tableof (Tables of tagged con­tents)
  • Ver­sion: 1.4 (2015/02/20)
  • Li­cense: LPPL 1.3c
  • Copy­right (C) 2012-2015 Jean-Fran­cois Burnol <jfbu at free dot fr>

The com­mands \toftagstart, \toftagstop, \toftagthis, \tofuntagthis are used to tag chap­ters, sec­tions or any other sec­tion­ing units des­tined to end up in the ta­ble(s) of con­tents. Then:

\nexttocwithtags{req. 1, req. 2, ... }{excl. 1, excl. 2, ... }
\tableofcontents % or equivalent command
  

spec­i­fies which tags are to be re­quired and which ones are to be ex­cluded from the type­set TOC.

For doc­u­ments with classes where \tableofcontents is only sin­gle-use, the pack­age pro­vides:

\tableoftaggedcontents{req. 1, req. 2, ... }{excl. 1, excl. 2, ... }

which does not have this re­stric­tion.

In­stal­la­tion

For ex­tract­ing the style file:

latex tableof.dtx

Files tableof.sty, tableof.ins and tableoftest.tex are gen­er­ated on the first la­tex run. Move tableof.sty to a suit­able lo­ca­tion within the TeX in­stal­la­tion:

tableof.sty -> <TDS>/tex/latex/tableof/

To pro­duce the doc­u­men­ta­tion:

latex tableof.dtx (a second time)
dvipdfmx tableof.dvi

tableof.ins is for TeX dis­tri­bu­tions ex­pect­ing it.

tableoftest.tex is an ex­am­ple of use of the pack­age com­mands. Run la­tex twice on it to see ex­am­ples of tagged ta­bles of con­tents.

Change His­tory

  • v1.4 (2015/02/20) un­der the hood code im­prove­ments.
  • v1.3 (2015/02/11) comma sep­a­rated lists of tags now al­low spaces.
  • v1.2 (2013/03/04) added com­mand \tableoftaggedcontents.
  • v1.1 (2012/12/13) added com­mand \nexttocwithtags.
  • v1.0 (2012/12/06) first re­lease.

Li­cense

This Work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
version 1.3c of this license or (at your option) any later
version. This version of this license is in

<http://www.la­tex-project.org/lppl/lppl-1-3c.txt>

and the latest version of this license is in

<http://www.la­tex-project.org/lppl.txt>

and version 1.3 or later is part of all distributions of
LaTeX version 2005/12/01 or later. 
The Author of this Work is:
    Jean-Francois Burnol <jfbu at free dot fr> 

Files

Name Size Date Notes
README 2195 2015-02-20 23:16
README.md 2264 2015-02-20 22:26
tableof.dtx 32214 2015-02-20 23:02
tableof.ins 1114 2015-02-20 23:06
tableof.pdf 48585 2015-02-20 23:06

Down­load the con­tents of this pack­age in one zip archive (58.6k).

tableof – Tag­ging ta­bles of con­tents

The pack­age pro­vides the com­mands to flag chap­ters or sec­tions (or any­thing else des­tined to be­come a TOC line). The com­mand \next­tocwith­tags{req1,req2,...}{ex­cl1,ex­cl2,...} spec­i­fies which tags are to be re­quired and which ones are to be ex­cluded by the next \table­of­con­tents (or equiv­a­lent) com­mand. In a doc­u­ment that uses a class where \table­of­con­tents may only be used once, the com­mand \table­of­tagged­con­tents{req1,req2,...}{ex­cl1,ex­cl2,...} may be used to pro­vide sev­eral ta­bles.

Pack­age De­tailstableof
Ver­sion1.4 2015-02-20
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerJean-Fran├žois Burnol
Con­tained inTeX Live as tableof
MiKTeX as tableof
Topics deal with Tables of Con­tents, and of other such things
Guest Book Sitemap Contact