-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Allow numbering custom elements as figure/table/block #1858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Conflicts: sphinx/writers/latex.py
Now, we introduce new API Anyway, your pull request has become of the wake of the feature. |
Coming back here, I see add_enumerable_node was merged in 1.4; how is it supposed to be used? It is not documented at all from the user perspective. |
@eudoxos: I managed to use it in sphinxcontrib-proof. You can see it in action there. Creating a dummy extension to show how to use |
I wrote such a dummy extension. I offered to the sphinx team to adopt it as a part of @sphinx-contrib (see #5567). |
Add the option to have other elements (added by an extension) numbered as figure, table or code block, by specifying the attribute "figtype".