You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With pandoc-crossref, how to get a figure caption like "Figure 1.3-1 Something", which means the 1st figure under Section 1.3? By default, I can only get Figure 1.3.1 something.
I'm aware of the chapDelim option, by setting chapDelim='-', I will get "Figure 1-3-1".
It makes sense that . be the section delimiter, and - be the delimiter between section number and figure number.
The text was updated successfully, but these errors were encountered:
Uh... no way I can think of currently, sorry. And due to how stuff is handled internally, it's not a single-line change either. I'll treat this as an enhancement request, but actually implementing the change will take some time (possibly months due to me being very distracted with meatspace stuff currently).
PRs are welcome, although if you (anyone reading, that is) go that way, consider if making chapDelim an array-valued parameter using rules similar to singular/plural reference prefixes (fig. vs figs.) would work. Adding another metadata option just feels inelegant at this point.
With
pandoc-crossref
, how to get a figure caption like "Figure 1.3-1 Something", which means the 1st figure under Section 1.3? By default, I can only getFigure 1.3.1 something
.I'm aware of the
chapDelim
option, by settingchapDelim='-'
, I will get "Figure 1-3-1".It makes sense that
.
be the section delimiter, and-
be the delimiter between section number and figure number.The text was updated successfully, but these errors were encountered: