I'd like to reset figure numbering for each <part>
/<chapter>
element in a <bookmap>
. I found dita-users.groups.io/45007, but this did not help me. In topic.xsl
there is this statement:
<xsl:template match="*[contains(@class,' topic/fig ')]/*[contains(@class,' topic/title ')]" mode="fig.title-number">
<xsl:value-of select="count(key('enumerableByClass', 'topic/fig')[. << current()][dita-ot:notExcludedByDraftElement(.)])"/>
</xsl:template>
Probably here the modification is needed. But I don't understand how to modify it. Do you have an idea?
How about something like this?