useblocks / sphinx-simplepdf

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

Add support for section and figure numbers #93

Closed j123b567 closed 10 months ago

j123b567 commented 10 months 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.