Amaya

Numbering sections

Section headings (h2 to h6 elements) can be automatically numbered to reflect the document structure.

The h1 element is supposed to be the document title and is not numbered. Other headings receive a number that is computed according to their type and their position in the document structure. These numbers are generated in the document itself and numbers that were generated previously are removed, every time the Tools/Section numbering command is called.

Generatinf a table of contents

Command Tools/Add-Update table of contents collects all h2 to h6 elements in the document following the current selection and generates a table of contents at the current position. It updates the current table of contents if the selection is already within a table of contents.

This command adds: