summaryrefslogtreecommitdiff
path: root/doc/src/sgml/stylesheet-fo.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/stylesheet-fo.xsl')
-rw-r--r--doc/src/sgml/stylesheet-fo.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl
index aff717ddbc7..3a4a88a7288 100644
--- a/doc/src/sgml/stylesheet-fo.xsl
+++ b/doc/src/sgml/stylesheet-fo.xsl
@@ -147,6 +147,10 @@
<!-- from fo/autoidx.xsl -->
+<xsl:key name="primaryonly"
+ match="indexterm"
+ use="normalize-space(primary)"/>
+
<xsl:template match="indexterm" mode="index-primary">
<xsl:param name="scope" select="."/>
<xsl:param name="role" select="''"/>