Directory macros/latex/contrib/tocvsec2
README
____________________
The TOCVSEC2 package
The tocvsec2 package provides control over sectional numbering and/or the
entries in the Table of Contents on a section by section basis.
NB. The package also requires the ifthen package.
______________
Change history
version 1.3b (2026/10/05)
- Tag documentation
- Update maintainer to LaTeX Project
version 1.3a (2014/03/10)
- Missing % in a definition was causing a spacing issue.
Thanks: https://tex.stackexchange.com/a/164612/
version 1.3 (2011/08/07)
- New commands \resettocdepth and \resetsecnumdepth
used for resetting to previous values of the tocdepth
and secnumdepth counters (using a stack-based approach).
With optional star argument can reset to the original
`max' values.
- Bug fix that resets "tocdepth" to its original value after
the \tableofcontents -- else it will adversely affect
subsequent List of Figures/Tables (or cause no harm,
either way).
version 1.2b (2010/02/27)
- Bug fix for extraneous vertical space before sections
(This may change the typesetting of documents that use
this package. The price of a bug fix, unfortunately.)
version 1.2a (2009/09/04)
- New maintainer (Will Robertson)
version 1.2 (2004/05/24)
- The stdclsdv package is no longer required
-----------------------------------------------------------------
Author: Peter Wilson, Herries Press
Maintainer: LaTeX Project
Copyright 1999-2004 Peter R. Wilson
Copyright 2010-2011 Will Robertson
Copyright 2011-present LaTeX Project
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: <https://www.latex-project.org/lppl.txt>
This work has the LPPL maintenance status "maintained".
The Current Maintainer of this work is the LaTeX Project.
This work consists of the files:
README (this file)
tocvsec2.dtx
tocvsec2.ins
and the derived files:
tocvsec2.sty
The distribution consists of the files:
README (this file)
tocvsec2.dtx
tocvsec2.ins
tocvsec2.pdf (user manual)
-----------------------------------------------------------------
To install the package:
- run: latex tocvsec2.ins (which will generate tocvsec2.sty)
- Move tocvsec2.sty to a location where LaTeX will find it.
(typically in a local texmf tree at tex/latex/tocvsec2) and refresh the
file database. See the FAQ on CTAN at help/uk-tex-faq or
https://texfaq.org/ for more information on this.
To regenerate the user manual:
- run: lualatex tocvsec2.dtx
- run: makeindex -s gind.ist tocvsec2
- run: lualatex tocvsec2.dtx
Download the contents of this package in one zip archive (244.5k).
Tocvsec2 – Section numbering and table of contents control
Provides control over section numbering (without recourse to starred sectional commands) and/or the entries in the Table of Contents on a section by section basis.
| Package | Tocvsec2 |
| Bug tracker | |
| Repository | |
| Version | 1.3b 2026-10-05 |
| Licenses | The LaTeX Project Public License 1.3c |
| Copyright | 1999–2004 Peter R. Wilson 2011–2026 The LaTeX Project |
| Maintainer | The LaTeX Project Team Will Robertson Peter R. Wilson (inactive) |
| Contained in | TeX Live as tocvsec2 MiKTeX as tocvsec2 |
| Topics | Headings Tagged PDF – fully compatible TOC etc. |