@@ -5867,6 +5867,7 @@ Book (with parts), "section" at level 3
58675867
58685868<xsl:template match="sidebyside">
58695869 <xsl:param name="b-original" select="true()" />
5870+ <xsl:param name="heading-level"/>
58705871
58715872 <xsl:variable name="rtf-layout">
58725873 <xsl:apply-templates select="." mode="layout-parameters" />
@@ -5934,6 +5935,7 @@ Book (with parts), "section" at level 3
59345935 <xsl:with-param name="left-margin" select="$layout/left-margin" />
59355936 <xsl:with-param name="right-margin" select="$layout/right-margin" />
59365937 <xsl:with-param name="valign" select="$layout/valign[$panel-number]" />
5938+ <xsl:with-param name="heading-level" select="$heading-level"/>
59375939 </xsl:apply-templates>
59385940 </xsl:for-each>
59395941 </xsl:variable>
@@ -5972,9 +5974,12 @@ Book (with parts), "section" at level 3
59725974</xsl:template>
59735975
59745976<xsl:template match="sbsgroup">
5977+ <xsl:param name="heading-level"/>
59755978 <xsl:variable name="data">
59765979 <xsl:apply-templates select="." mode="pre-sbsgroup"/>
5977- <xsl:apply-templates select="sidebyside" />
5980+ <xsl:apply-templates select="sidebyside">
5981+ <xsl:with-param name="heading-level" select="$heading-level"/>
5982+ </xsl:apply-templates>
59785983 <xsl:apply-templates select="." mode="post-sbsgroup"/>
59795984 </xsl:variable>
59805985 <xsl:call-template name="sbsgroup-wrapper">
@@ -5991,10 +5996,12 @@ Book (with parts), "section" at level 3
59915996<xsl:template match="sidebyside/stack">
59925997 <xsl:param name="b-original" select="true()" />
59935998 <xsl:param name="width" />
5999+ <xsl:param name="heading-level"/>
59946000
59956001 <xsl:apply-templates select="tabular|image|p|pre|ol|ul|dl|audio|video|interactive|slate|program|console|exercise">
59966002 <xsl:with-param name="b-original" select="$b-original" />
59976003 <xsl:with-param name="width" select="$width"/>
6004+ <xsl:with-param name="heading-level" select="$heading-level"/>
59986005 </xsl:apply-templates>
59996006</xsl:template>
60006007
0 commit comments