Skip to content

Conversation

miketheman
Copy link
Contributor

Purpose

When using .. only:: and then .. figure::, set the numbers correctly.

References

When using `.. only::` and then `.. figure::`, set the numbers
correctly.

Fixes sphinx-doc#4726

Signed-off-by: Mike Fiedler <[email protected]>
Signed-off-by: Mike Fiedler <[email protected]>
@miketheman miketheman force-pushed the miketheman/numfig-only-numbering branch from ff8ba58 to eeddc7f Compare September 1, 2025 21:16
@miketheman
Copy link
Contributor Author

The errors emitted appear to be pre-existing errors on master branch and unrelated to these changes.

@jfbu
Copy link
Contributor

jfbu commented Sep 7, 2025

I relaunched the failed Docutils HEAD test and it now passes with current Docutils revision. LaTeX failure was only a duplicate because it uses Docutils HEAD since some time.

See #13845 (comment) and #13845 (comment) for context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using ..only:: with .. figure:: and numfig=True skips numbering
2 participants