<xsl:apply-templates/>
</xsl:template>
-<!-- * indexterm instances produce groff comments like this: -->
-<!-- * .\" primary: secondary: tertiary -->
-<xsl:template match="indexterm">
- <xsl:text>.\" </xsl:text>
- <xsl:apply-templates/>
- <xsl:text> </xsl:text>
-</xsl:template>
+<!-- * indexterm instances are omitted from output since there
+is no nroff markup to handle them. -->
+<xsl:template match="indexterm"/>
<xsl:template match="primary">
<xsl:value-of select="normalize-space(.)"/>
<xsl:value-of select="normalize-space(.)"/>
</xsl:template>
-<!-- * non-empty remark instances produce groff comments -->
-<xsl:template match="remark">
- <xsl:variable name="content" select="normalize-space(.)"/>
- <xsl:if test="not($content = '')">
- <xsl:text>.\" </xsl:text>
- <xsl:value-of select="$content"/>
- <xsl:text> </xsl:text>
- </xsl:if>
-</xsl:template>
+<!-- * remark instances are omitted from output since they
+can mess up whitespace management. -->
+<xsl:template match="remark"/>
</xsl:stylesheet>