:numbering: and PDF

Chris Hancock avatarChris Hancock created an issue

When I use :numbering: in a TOC, PDFs generated using rst2pdf don't include section numbering.

It seems that docutils isn't generating the sectnum classes. I wonder if this is a case of just needing something to tell it to do so...

The sphinx documentation recommends not using the sectnum directive, and it doesn't work quite right anyway.

This bug might be related to this

There is an rst2pdf ticket here that might suggest that it is rst2pdf that needs to be fixed, but I wonder if there is a simple way to get sphinx to do something?

TBH, I'm not entirely sure what the interactions between sphinx, rst2pdf and docutils are. If sphinx interaction with docutils is strictly through rst2pdf, then close this ticket as irrelevant to sphinx, (though still any insight would be appreciated, as I would then need to attempt an rst2pdf ticket).


Comments (1)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.