Changeset 56189 in vbox
- Timestamp:
- Jun 1, 2015 3:39:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/docbook-htmlhelp-formatcfg.xsl
r31972 r56189 7 7 <xsl:include href="$TARGETPATH/titlepage-htmlhelp.xsl"/> 8 8 9 <!-- for some reason, the default docbook stuff doesn't wrap simple <arg> elements 10 into HTML <code>, so with a default CSS a cmdsynopsis ends up with a mix of 11 monospace and proportional fonts. Elsewhere we hack that in the CSS, here 12 that turned out to be harded, so we just wrap things in <code>, risking 13 nested <code> elements, but who cares as long as it works... --> 14 <xsl:template match="group|arg"> 15 <xsl:choose> 16 <xsl:when test="name(..) = 'arg' or name(..) = 'group'"> 17 <xsl:apply-imports/> 18 </xsl:when> 19 <xsl:otherwise> 20 <code><xsl:apply-imports/></code> 21 </xsl:otherwise> 22 </xsl:choose> 23 </xsl:template> 24 9 25 </xsl:stylesheet> 26
Note:
See TracChangeset
for help on using the changeset viewer.