root/doc/aptitude-man.xsl

Revision 1569:fbfe1aa99fbf, 0.9 kB (checked in by Daniel Burrows <dburrows@…>, 2 years ago)

Fix the XSL template that makes literal text bold. (Closes: #473580)
In addition to making literal text bold again, this also causes the
literal occurrences of ".deb" to not be interpreted as groff escapes.

Line 
1<?xml version="1.0" encoding="utf-8"?>
2
3<!-- Magic: -->
4
5<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
6                version="1.0">
7
8<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl"/>
9
10<xsl:param name="chunker.output.method" select="'text'"/>
11<xsl:param name="man.output.encoding" select="'UTF-8'"/>
12<xsl:param name="man.charmap.use.subset" select="0"/>
13
14<xsl:output method="text" encoding="UTF-8" indent="no"/>
15
16<xsl:template match='replaceable'>
17  <xsl:text>&lt;</xsl:text><xsl:apply-imports/><xsl:text>&gt;</xsl:text>
18</xsl:template>
19
20
21<xsl:template match="literal">
22  <xsl:call-template name="bold">
23    <xsl:with-param name="node" select="."/>
24    <xsl:with-param name="context" select="."/>
25  </xsl:call-template>
26</xsl:template>
27
28<xsl:param name="preferred.mediaobject.role">text</xsl:param>
29
30</xsl:stylesheet>
Note: See TracBrowser for help on using the browser.