- <xsl:template match="muttng-doc:command">
- <literal><link linkend="{concat('command-', @name)}"><xsl:value-of select="translate(@name,'-','_')"/></link></literal>
- <indexterm>
- <primary>Configuration Commands</primary>
- <secondary><literal><xsl:value-of select="translate(@name,'-','_')"/></literal></secondary>
+ <xsl:template match="muttng-doc:cmddef">
+ <xsl:choose>
+ <xsl:when test="@noanchor='1'"/>
+ <xsl:otherwise>
+ <anchor id="command-{translate(@name,'_','-')}"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ Usage: <literal><xsl:value-of select="@name"/></literal> <emphasis><xsl:apply-templates/></emphasis>
+ <indexterm>
+ <primary sortas="{@name}"><literal><xsl:value-of select="@name"/></literal></primary>