]> granicus.if.org Git - docbook-dsssl/commitdiff
set output of the literal element in monospace. this causes all
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 10 Mar 2008 03:53:20 +0000 (03:53 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 10 Mar 2008 03:53:20 +0000 (03:53 +0000)
inline monospace instances in the git man pages to be set in
monospace (since DocBook XML source for git docs is generated with
asciidoc and asciidoc consistently outputs only <literal> for
inline monospace (not <command> or <code> or anything else).
Of course this only affects non-TTY output...

xsl/manpages/inline.xsl

index 9160f84976dacda32115a54dfe8ac31991ae2d2f..17243cb4b4db920bbb65043cfb60c276b3519389 100644 (file)
   </xsl:if>
 </xsl:template>
 
+<xsl:template match="literal">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
 </xsl:stylesheet>