Part Numbers and Signifier

Number book parts

Book part numbers are controlled by the partnums attribute, not sectnums. To autogenerate part numbers, set the partnums attribute in the book header.

= The Secret Manual
:doctype: book
:sectnums:
:partnums:

= Defensive Operations

== An Introduction to DefenseOps

= Managing Werewolves

When rendered, part numbers are displayed as Roman numerals.

Part I. Defensive Operations
1. An Introduction to DefenseOps
Part II. Managing Werewolves

Customize the part signifier

The signifier (i.e., prefix) Part is automatically added to the beginning of the part titles when the partnums attribute is set. The signifier is offset from the auto-generated part number by a space. You can modify the signifier by defining the part-signifier attribute in the header of your book.

:part-signifier: Component

To remove the prefix, unset the part-signifier attribute in the document header:

:!part-signifier: