LaTex2Web logo

Documents Live, a web authoring and publishing system

If you see this, something is wrong

Table of contents

First published on Monday, Oct 28, 2024 and last modified on Monday, Jun 16, 2025 by François Chaplais.

C.4 Sectioning and Table of contents

François Chaplais

1 Sectioning and Table of contents

1.1 Sectioning Commands

Sectioning commands and numbering are handled recursively with an exclusive content detection and encoding.

Sections can be collapsed and expanded in LaTeX2Web.

Starred forms are implemented. The toc_entry optional parameter is currently ignored.

1.2 The Appendix

The \appendix command is implemented. For the time being, the appendix section numbering is done with incremented latin capitals.

1.3 Warning

The content of a document must consist in

  • some non section content, such as paragraphs, figures, etc....

  • followed by a sequence of sections of the same (top) level.

Similarly, a section must consist in

  • some non section content, such as paragraphs, figures, etc....

  • followed by a sequence of sections of the same level (LaTeX2Web will make sure that they are at a lower level).

1.4 Table of Content

The \tableofcontents command is ignored. A table of contents is generated on the web page at the user's request. This table of contents has no page number, since the web content has no page.

Lists of figures and tables are not currently implemented.

1.5 Style Parameters

  • secnumdepth to be done

  • tocdepth to be done