useblocks / sphinx-simplepdf

A simple PDF builder for Sphinx documentations
https://sphinx-simplepdf.readthedocs.io
MIT License
35 stars 17 forks source link

Add support for section and figure numbers #93

Closed j123b567 closed 1 year ago

j123b567 commented 1 year ago

Fixed as proposed in https://github.com/sphinx-doc/sphinx/issues/11640

Fixes: #27

Mathematical expressions are baked in sphinx and making them work will require monkeypatching which is not part of this PR

The code is heavily inspired by the original implementation in sphinx HTML5Translator itself.