<xsl:call-template name="object.id"/>
</xsl:variable>
- <fo:block xsl:use-attribute-sets="list.block.spacing"
+ <fo:block xsl:use-attribute-sets="list.item.spacing"
keep-with-next.within-column="always"
keep-together.within-column="always">
<xsl:call-template name="anchor">
</xsl:template>
<xsl:template match="glossentry/glossdef" mode="glossary.as.blocks">
- <xsl:apply-templates select="*[local-name(.) != 'glossseealso']"/>
+ <xsl:apply-templates select="*[local-name(.) != 'glossseealso']"
+ mode="glossary.as.blocks"/>
<xsl:if test="glossseealso">
<fo:block>
<xsl:call-template name="gentext.template">
</fo:block>
</xsl:template>
+<!-- Handle any other glossdef content normally -->
+<xsl:template match="*" mode="glossary.as.blocks">
+ <xsl:apply-templates select="." />
+</xsl:template>
+
<xsl:template match="glossseealso" mode="glossary.as.blocks">
<xsl:variable name="otherterm" select="@otherterm"/>
<xsl:variable name="targets" select="//node()[@id=$otherterm]"/>