summaryrefslogtreecommitdiff
path: root/doc/aptitude-txt.xsl
blob: 0a0c5c0ba8d63edd3f2484d9e37bd78240eed59f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8"?>

<!-- Magic: -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
                version="1.0">

<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl"/>

<xsl:import href="aptitude-common.xsl"/>

<xsl:param name="preferred.mediaobject.role">text</xsl:param>

<!-- Force DocBook to use ASCII durnit -->
<xsl:param name='local.l10n.xml' select='document("")'/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> 
  <l:l10n language="en">
    <l:context name='xref-number-and-title'>
      <l:template name="section" text="the section called ``%t''"/>
      <l:template name="sect1" text="the section called ``%t''"/>
      <l:template name="sect2" text="the section called ``%t''"/>
      <l:template name="sect3" text="the section called ``%t''"/>
      <l:template name="sect4" text="the section called ``%t''"/>
      <l:template name="sect5" text="the section called ``%t''"/>
      <l:template name="figure" text="Figure&#160;%n, ``%t''"/>
    </l:context>

    <l:context name='xref'>
      <l:template name="section" text="the section called ``%t''"/>
      <l:template name="sect1" text="the section called ``%t''"/>
      <l:template name="sect2" text="the section called ``%t''"/>
      <l:template name="sect3" text="the section called ``%t''"/>
      <l:template name="sect4" text="the section called ``%t''"/>
      <l:template name="sect5" text="the section called ``%t''"/>
    </l:context>


    <!-- Apparently I can't do anything about an em-dash appearing
	 in the refentry. :(
    -->

    <l:dingbat key="startquote" text="``"/>
    <l:dingbat key="endquote" text="''"/>

    <l:dingbat key="nestedstartquote" text="`"/>
    <l:dingbat key="nestedendquote" text="'"/>

    <l:dingbat key="singlestartquote" text="`"/>
    <l:dingbat key="singleendquote" text="'"/>

    <l:dingbat key="bullet" text="*"/>
  </l:l10n>
</l:i18n>

</xsl:stylesheet>