Is there a limit to the number of heading levels for a PDF? #PDF


clum@...
 

We have merged several user manuals into a large DITA project that is used to output both WebHelp and PDF. For the PDF, we are using XSL-FO. 

Because there is so much material, the hierarchy runs quite deep--7 levels. We have customized our commons-attr.xsl to define the heading styles for six levels. Since the 7th level is not define, it comes out as plain body text in the PDF, which makes it all but invisible. So I went into commons-attr.xsl to define the style for a 7th level. It looks like this:

    <xsl:attribute-set name="topic.topic.topic.topic.topic.topic.topic.title"
        use-attribute-sets="base-font common.title">
        <xsl:attribute name="space-before">0.25in</xsl:attribute>
        <xsl:attribute name="space-after">0.1in</xsl:attribute>
        <xsl:attribute name="font-size">12pt</xsl:attribute>
        <xsl:attribute name="line-height">18pt</xsl:attribute>
        <xsl:attribute name="font-family">OpenSansSemibold</xsl:attribute>
        <xsl:attribute name="start-indent">0pt</xsl:attribute>
        <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
    </xsl:attribute-set>

However when I compile the PDF, the formatting shown here is not applied to my 7th level--it still comes out in plain text. All the formatting for the first six levels are correct.

Is there a limit to the number of heading levels that I can define for a PDF? 

Join main@dita-users.groups.io to automatically receive all group messages.