summaryrefslogtreecommitdiff
path: root/docs/docbook/xslt/db2latex/docbook.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docbook/xslt/db2latex/docbook.xsl')
-rw-r--r--docs/docbook/xslt/db2latex/docbook.xsl154
1 files changed, 154 insertions, 0 deletions
diff --git a/docs/docbook/xslt/db2latex/docbook.xsl b/docs/docbook/xslt/db2latex/docbook.xsl
new file mode 100644
index 0000000000..3a8759d57d
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/docbook.xsl
@@ -0,0 +1,154 @@
+<?xml version='1.0'?>
+<!--#############################################################################
+| $Id: docbook.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $
+|- #############################################################################
+| $Author: ab $
+|
+| 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> RELEASE : <xsl:value-of select="$VERSION"/> </xsl:message>
+ <xsl:message> VERSION : <xsl:value-of select="$CVSVERSION"/> </xsl:message>
+ <xsl:message> TAG : <xsl:value-of select="$TAG"/> </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>