Samuel Hapak
Samuel Hapak

Reputation: 7192

How to add section numbering when using Sphinx with rst2pdf

I am unable to turn on automatic section numbering using Sphinx together with rst2pdf.

The sectnum directive does not work. Is it possible to achieve this result somehow?

Upvotes: 2

Views: 1510

Answers (1)

Daniel Matz
Daniel Matz

Reputation: 303

As seen in the The Rst2pdf Handbook, you can do:

.. section-numbering::

Upvotes: 3

Related Questions