Allow numbering custom elements as figure/table/block #1858

Closed
wants to merge 5 commits into
from

Projects

None yet

4 participants

@Jellby
Jellby commented Apr 21, 2015

Add the option to have other elements (added by an extension) numbered as figure, table or code block, by specifying the attribute "figtype".

@tk0miya tk0miya was assigned by shimizukawa Jul 11, 2015
@shimizukawa shimizukawa added this to the 1.4 milestone Jul 11, 2015
Ignacio Fdez... and others added some commits Dec 13, 2015
@tk0miya tk0miya added a commit to tk0miya/sphinx that referenced this pull request Feb 13, 2016
@tk0miya tk0miya Fix #1858: Support numbering custom nodes b8140a4
@tk0miya tk0miya added a commit to tk0miya/sphinx that referenced this pull request Feb 13, 2016
@tk0miya tk0miya Fix #1858: Support numbering custom nodes 804c9ed
@tk0miya tk0miya added a commit to tk0miya/sphinx that referenced this pull request Feb 14, 2016
@tk0miya tk0miya Fix #1858: Support numbering custom nodes 03d6b55
@tk0miya tk0miya added a commit to tk0miya/sphinx that referenced this pull request Feb 14, 2016
@tk0miya tk0miya Fix #1858: Support numbering custom nodes 281ec9a
@tk0miya tk0miya added a commit to tk0miya/sphinx that referenced this pull request Feb 14, 2016
@tk0miya tk0miya Fix #1858: Support numbering custom nodes 6330657
@tk0miya tk0miya closed this in 2ec60d5 Feb 14, 2016
@tk0miya
Member
tk0miya commented Feb 14, 2016

Now, we introduce new API Sphinx.add_enumerated_node to support this.
More details, please refer #2317.

Anyway, your pull request has become of the wake of the feature.
Thank you for great proposal.

@Jellby Jellby deleted the Jellby:figtype branch Mar 1, 2016
@mgeier mgeier referenced this pull request in sfstoolbox/theory Mar 1, 2016
Open

Figure caption for python figures #5

@eudoxos
eudoxos commented Oct 13, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment