Number and Label Parts

Number book parts

Book part numbers are controlled by the partnums attribute, not sectnums. To autogenerate part numbers, set partnums 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 book part labels

The label Part is automatically added to the beginning of the part titles when the partnums attribute is set. You can modify the label by defining the part-label attribute in the header of your book.

:part-label: Component

The part-label value should be followed by a space to separate the autogenerated number from the label.