off.
<xsl:if test="$nodes">
<fo:block id="toc...{$id}"
xsl:use-attribute-sets="toc.margin.properties">
- <xsl:if test="$axf.extensions != 0 and $xsl1.1.bookmarks = 0">
+ <xsl:if test="$axf.extensions != 0 and
+ $xsl1.1.bookmarks = 0 and
+ $show.bookmarks != 0">
<xsl:attribute name="axf:outline-level">1</xsl:attribute>
<xsl:attribute name="axf:outline-expand">false</xsl:attribute>
<xsl:attribute name="axf:outline-title">
<xsl:if test="$nodes">
<fo:block id="toc...{$cid}"
xsl:use-attribute-sets="toc.margin.properties">
- <xsl:if test="$axf.extensions != 0 and $xsl1.1.bookmarks = 0">
+ <xsl:if test="$axf.extensions != 0 and
+ $xsl1.1.bookmarks = 0 and
+ $show.bookmarks != 0">
<xsl:attribute name="axf:outline-level">1</xsl:attribute>
<xsl:attribute name="axf:outline-expand">false</xsl:attribute>
<xsl:attribute name="axf:outline-title">
<xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
</xsl:call-template>
</xsl:attribute>
- <xsl:if test="$axf.extensions != 0 and $xsl1.1.bookmarks = 0">
+ <xsl:if test="$axf.extensions != 0 and
+ $xsl1.1.bookmarks = 0 and
+ $show.bookmarks != 0">
<xsl:attribute name="axf:outline-level">
<xsl:value-of select="count($node/ancestor::*)"/>
</xsl:attribute>
</xsl:variable>
<fo:block id='{$id}'>
- <xsl:if test="$axf.extensions != 0 and $xsl1.1.bookmarks = 0">
+ <xsl:if test="$axf.extensions != 0 and
+ $xsl1.1.bookmarks = 0 and
+ $show.bookmarks != 0">
<xsl:attribute name="axf:outline-level">
<xsl:value-of select="count(ancestor::*)+2"/>
</xsl:attribute>
<fo:block keep-with-next.within-column="always"
hyphenate="false">
- <xsl:if test="$axf.extensions != 0 and $xsl1.1.bookmarks = 0">
+ <xsl:if test="$axf.extensions != 0 and
+ $xsl1.1.bookmarks = 0 and
+ $show.bookmarks != 0">
<xsl:attribute name="axf:outline-level">
<xsl:choose>
<xsl:when test="count($node/ancestor::*) > 0">
<xsl:template name="generate.bookmarks">
<xsl:variable name="document.element" select="self::*"/>
<xsl:choose>
- <!-- use standard bookmark elements? -->
+ <xsl:when test="$show.bookmarks = 0">
+ <!-- omit bookmarks -->
+ </xsl:when>
<xsl:when test="$xsl1.1.bookmarks != 0">
+ <!-- use standard bookmark elements -->
<xsl:variable name="bookmarks">
<xsl:apply-templates select="$document.element"
mode="bookmark"/>
<!ENTITY force.blank.pages SYSTEM "../params/force.blank.pages.xml">
<!ENTITY mark.optional.procedure.steps SYSTEM "../params/mark.optional.procedure.steps.xml">
<!ENTITY xsl1.1.bookmarks SYSTEM "../params/xsl1.1.bookmarks.xml">
+<!ENTITY show.bookmarks SYSTEM "../params/show.bookmarks.xml">
§ion.container.element;
&monospace.verbatim.font.width;
&exsl.node.set.available;
+&show.bookmarks;
&bookmarks.collapse;
&xsl1.1.bookmarks;
&generate.consistent.ids;
<src:fragref linkend="para.properties.frag"/>
<src:fragref linkend="mark.optional.procedure.steps.frag"/>
<src:fragref linkend="xsl1.1.bookmarks.frag"/>
+<src:fragref linkend="show.bookmarks.frag"/>
</xsl:stylesheet>
</src:fragment>
</xsl:choose>
</xsl:variable>
- <xsl:if test="$axf.extensions != 0 and $xsl1.1.bookmarks = 0">
+ <xsl:if test="$axf.extensions != 0 and
+ $xsl1.1.bookmarks = 0 and
+ $show.bookmarks != 0">
<xsl:attribute name="axf:outline-level">
<xsl:value-of select="count(ancestor::*)-1 + $offset"/>
</xsl:attribute>
</xsl:apply-templates>
</xsl:variable>
- <xsl:if test="$axf.extensions != 0 and $xsl1.1.bookmarks = 0">
+ <xsl:if test="$axf.extensions != 0 and
+ $xsl1.1.bookmarks = 0 and
+ $show.bookmarks != 0">
<xsl:attribute name="axf:outline-level">
<xsl:value-of select="count(ancestor::*)-1"/>
</xsl:attribute>