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
Template calls get-label-from-data-type, which does numeration with level="any", without a from attribute, so descendant sections of chapters/appendixes/etc. get absolute numbering that starts at the beginning of the book, rather than numeration restarting with each new parent section element.
Logic should pass along a from value to get-label-from-data-type, which can then be used in <xsl:number> declarations to ensure that numbering resets at each new parent section.
The text was updated successfully, but these errors were encountered:
Bug in
label.section.with.ancestors
logic for sectionlabel.markup
template:https://github.com/oreillymedia/HTMLBook/blob/master/htmlbook-xsl/common.xsl#L87
Template calls
get-label-from-data-type
, which does numeration withlevel="any"
, without a from attribute, so descendantsection
s of chapters/appendixes/etc. get absolute numbering that starts at the beginning of the book, rather than numeration restarting with each new parent section element.Logic should pass along a
from
value toget-label-from-data-type
, which can then be used in<xsl:number>
declarations to ensure that numbering resets at each new parent section.The text was updated successfully, but these errors were encountered: