summaryrefslogtreecommitdiff
path: root/docs/docbook/xslt/db2latex/docbook.xsl
blob: 56e000cd026422ea4718a3896f1f117a64e5eaa5 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?xml version='1.0'?>
<!--############################################################################# 
|- #############################################################################
|														
|   PURPOSE: 
| 	This is the "parent" stylesheet. The used "modules" are included here.
|	output encoding text in ISO-8859-1 indented.
+ ############################################################################## -->

<xsl:stylesheet 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
    exclude-result-prefixes="doc" version='1.0'>

    <xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>

    <xsl:include href="common/l10n.xsl"/>
    <xsl:include href="common/common.xsl"/>

    <xsl:include href="VERSION.xml"/>
    <xsl:include href="vars.mod.xsl"/>
    <xsl:include href="latex.mapping.xsl"/>
    <xsl:include href="preamble.mod.xsl"/>
    <xsl:include href="font.mod.xsl"/>
    <xsl:include href="labelid.mod.xsl"/>

    <xsl:include href="book-article.mod.xsl"/>

    <xsl:include href="dedication.mod.xsl"/>
    <xsl:include href="preface.mod.xsl"/>

    <xsl:include href="part-chap-app.mod.xsl"/>

    <xsl:include href="sections.mod.xsl"/>
    <xsl:include href="bridgehead.mod.xsl"/>

    <xsl:include href="abstract.mod.xsl"/>
    <xsl:include href="biblio.mod.xsl"/>
    <xsl:include href="revision.mod.xsl"/>

    <xsl:include href="admonition.mod.xsl"/>
    <xsl:include href="verbatim.mod.xsl"/>
    <xsl:include href="email.mod.xsl"/>
    <xsl:include href="sgmltag.mod.xsl"/>
    <xsl:include href="citation.mod.xsl"/>
    <xsl:include href="qandaset.mod.xsl"/>
    <xsl:include href="procedure.mod.xsl"/>
    <xsl:include href="lists.mod.xsl"/>
    <xsl:include href="callout.mod.xsl"/>


    <xsl:include href="figure.mod.xsl"/>
    <xsl:include href="graphic.mod.xsl"/>
    <xsl:include href="mediaobject.mod.xsl"/>

    <xsl:include href="index.mod.xsl"/>


    <xsl:include href="xref.mod.xsl"/>
    <xsl:include href="formal.mod.xsl"/>
    <xsl:include href="example.mod.xsl"/>
    <xsl:include href="table.mod.xsl"/>
    <xsl:include href="inline.mod.xsl"/>
    <xsl:include href="authorgroup.mod.xsl"/>
    <xsl:include href="dingbat.mod.xsl"/>
    <xsl:include href="info.mod.xsl"/>
    <xsl:include href="keywords.mod.xsl"/>
    <xsl:include href="refentry.mod.xsl"/>
    <xsl:include href="component.mod.xsl"/>
    <xsl:include href="glossary.mod.xsl"/>
    <xsl:include href="block.mod.xsl"/>


    <xsl:include href="synop-oop.mod.xsl"/>
    <xsl:include href="synop-struct.mod.xsl"/>

    <xsl:include href="pi.mod.xsl"/>

    <xsl:include href="footnote.mod.xsl"/>

    <xsl:include href="texmath.mod.xsl"/>
    <xsl:include href="mathelem.mod.xsl"/>
    <xsl:include href="mathml/mathml.mod.xsl"/>
    <xsl:include href="mathml/mathml.presentation.mod.xsl"/>
    <xsl:include href="mathml/mathml.content.mod.xsl"/>
    <xsl:include href="mathml/mathml.content.token.mod.xsl"/>
    <xsl:include href="mathml/mathml.content.functions.mod.xsl"/>
    <xsl:include href="mathml/mathml.content.constsymb.mod.xsl"/>

    <xsl:include href="para.mod.xsl"/>
    <xsl:include href="msgset.mod.xsl"/>
    <xsl:include href="errors.mod.xsl"/>

    <xsl:include href="normalize-scape.mod.xsl"/>



    <xsl:template match="/">
	<xsl:variable name="xsl-vendor" select="system-property('xsl:vendor')"/>
	<xsl:message>################################################################################</xsl:message>
	<xsl:message> XSLT stylesheets DocBook - LaTeX 2e                                            </xsl:message>
	<xsl:message> Reqs: LaTeX 2e installation common packages                                    </xsl:message>
	<xsl:message>################################################################################</xsl:message>
	<xsl:message>     WWW : http://db2latex.sourceforge.net                                      </xsl:message>
	<xsl:message> SUMMARY : http://www.sourceforge.net/projects/db2latex                         </xsl:message>
	<xsl:message>  AUTHOR : Ramon Casellas   casellas@infres.enst.fr                             </xsl:message>
	<xsl:message>  AUTHOR : James Devenish   j-devenish@users.sf.net                             </xsl:message>
	<xsl:message>   USING : <xsl:call-template name="set-vendor"/>                               </xsl:message>
	<xsl:message>################################################################################</xsl:message>
	<xsl:apply-templates/>
    </xsl:template>


    <!--############################################################################# -->
    <!-- XSL Processor Vendor                                                         -->
    <!-- XSL Mailing Lists http://www.dpawson.co.uk/xsl/N10378.html                   -->
    <!--############################################################################# -->
    <xsl:template name="set-vendor">
	<xsl:variable name="xsl-vendor" select="system-property('xsl:vendor')"/>
	<xsl:choose>
	    <xsl:when test="contains($xsl-vendor, 'SAXON 6.4')">
		<xsl:text>SAXON 6.4.X</xsl:text>
	    </xsl:when>
	    <xsl:when test="contains($xsl-vendor, 'SAXON 6.2')">
		<xsl:text>SAXON 6.2.X</xsl:text>
	    </xsl:when>
	    <xsl:when test="starts-with($xsl-vendor,'SAXON')">
		<xsl:text>SAXON</xsl:text>
	    </xsl:when>
	    <xsl:when test="contains($xsl-vendor,'Apache')">
		<xsl:text>XALAN</xsl:text>
	    </xsl:when>
	    <xsl:when test="contains($xsl-vendor,'Xalan')">
		<xsl:text>XALAN</xsl:text>
	    </xsl:when>
	    <xsl:when test="contains($xsl-vendor,'libxslt')">
		<xsl:text>libxslt/xsltproc</xsl:text>
	    </xsl:when>
	    <xsl:when test="contains($xsl-vendor,'Clark')">
		<xsl:text>XT</xsl:text>
	    </xsl:when>
	    <xsl:otherwise>
		<xsl:text>UNKNOWN</xsl:text>
	    </xsl:otherwise>
	</xsl:choose>
    </xsl:template>


</xsl:stylesheet>