]>
git.saurik.com Git - apt.git/blob - doc/docbook-text-style.xsl.cmake.in
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
4 <xsl:import href=
"@DOCBOOK_XSL@/xhtml-1_1/docbook.xsl" />
6 <!-- Parameters for optimal text output. -->
7 <xsl:param name=
"callout.graphics" select=
"0"/>
8 <xsl:param name=
"callout.unicode" select=
"0"/>
9 <xsl:param name=
"section.autolabel" select=
"1"/>
10 <xsl:param name=
"section.label.includes.component.label" select=
"1"/>
12 <!-- Centering and aligning title elements. -->
13 <xsl:template match=
"/*/title[position()=1]" mode=
"titlepage.mode">
19 <hr/> <!-- No underline, but at least something. -->
21 <xsl:template match=
"author|editor" mode=
"titlepage.mode">
27 <xsl:template match=
"releaseinfo" mode=
"titlepage.mode">
34 <!-- Dirty hack to get a left margin for paragraphs etc. -->
35 <xsl:template match=
"legalnotice/*
36 |chapter/*[not(name(.)='section') and not(name(.)='title')]
37 |section/*[not(name(.)='section') and not(name(.)='title')]
38 |appendix/*[not(name(.)='section') and not(name(.)='title')]
40 <xsl:copy><table><tr><td>   </td><td>
42 </td></tr></table></xsl:copy>
45 <!-- Skip URLs if it has something to print. -->
46 <xsl:template match=
"ulink[.!='']">
47 <xsl:copy-of select=
"."/>
49 <!-- Print URLs if nothing to print. -->
50 <xsl:template match=
"ulink[.='']">
51 <xsl:value-of select=
"@url"/>
54 <!-- Make clear where notes etc. begin and end. -->
55 <xsl:template match=
"caution|important|note|tip|warning">
56 <table width=
"80%" border=
"1">
58 <col align=
"justify"/>