Format step and substep numbers

Specify the numbering format and following character for step and substep numbers, as well as the appearance of step and substep numbers.

  1. If it is not already present, copy the template that processes steps from DITA-OT/plugins/org.dita.pdf2/xsl/fo/task-elements.xsl to your copy of task-elements.xsl.

    The template begins with this line:

    <xsl:template match="*[contains(@class, ' task/steps ')]/*[contains(@class, ' task/step ')]">

    This code processes steps like a list, which is exactly what they are. If you worked through the chapter on lists, you remember that you use a localization variable to create the list number (Create multiple numbering formats for ordered lists). You do the same thing with step ...