summaryrefslogtreecommitdiff
path: root/docs/docbook
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-08-12 22:31:29 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-08-12 22:31:29 +0000
commit6c8e01e44b66576efee6cdd503d2994a9bbe9992 (patch)
treed830c8ae0806be6a52e433cc44a9f0bffe7587ba /docs/docbook
parentefeb63d6417c255b2c959743b29ea17ab117e02e (diff)
downloadsamba-6c8e01e44b66576efee6cdd503d2994a9bbe9992.tar.gz
samba-6c8e01e44b66576efee6cdd503d2994a9bbe9992.tar.bz2
samba-6c8e01e44b66576efee6cdd503d2994a9bbe9992.zip
Remove db2latex
(This used to be commit 479881d74aa136476355bfacc57a08102eb170b9)
Diffstat (limited to 'docs/docbook')
-rw-r--r--docs/docbook/xslt/db2latex/VERSION.xml17
-rw-r--r--docs/docbook/xslt/db2latex/abstract.mod.xsl95
-rw-r--r--docs/docbook/xslt/db2latex/admonition.mod.xsl199
-rw-r--r--docs/docbook/xslt/db2latex/authorgroup.mod.xsl81
-rw-r--r--docs/docbook/xslt/db2latex/biblio.mod.xsl582
-rw-r--r--docs/docbook/xslt/db2latex/block.mod.xsl177
-rw-r--r--docs/docbook/xslt/db2latex/book-article.mod.xsl468
-rw-r--r--docs/docbook/xslt/db2latex/bridgehead.mod.xsl74
-rw-r--r--docs/docbook/xslt/db2latex/callout.mod.xsl64
-rw-r--r--docs/docbook/xslt/db2latex/citation.mod.xsl66
-rw-r--r--docs/docbook/xslt/db2latex/common/ca.xml100
-rw-r--r--docs/docbook/xslt/db2latex/common/common.xsl1929
-rw-r--r--docs/docbook/xslt/db2latex/common/cs.xml110
-rw-r--r--docs/docbook/xslt/db2latex/common/da.xml98
-rw-r--r--docs/docbook/xslt/db2latex/common/de.xml99
-rw-r--r--docs/docbook/xslt/db2latex/common/el.xml104
-rw-r--r--docs/docbook/xslt/db2latex/common/en.xml107
-rw-r--r--docs/docbook/xslt/db2latex/common/es.xml98
-rw-r--r--docs/docbook/xslt/db2latex/common/et.xml104
-rw-r--r--docs/docbook/xslt/db2latex/common/fi.xml98
-rw-r--r--docs/docbook/xslt/db2latex/common/fr.xml114
-rw-r--r--docs/docbook/xslt/db2latex/common/hu.xml94
-rw-r--r--docs/docbook/xslt/db2latex/common/id.xml104
-rw-r--r--docs/docbook/xslt/db2latex/common/it.xml103
-rw-r--r--docs/docbook/xslt/db2latex/common/ja.xml104
-rw-r--r--docs/docbook/xslt/db2latex/common/ko.xml96
-rw-r--r--docs/docbook/xslt/db2latex/common/l10n.dtd25
-rw-r--r--docs/docbook/xslt/db2latex/common/l10n.xml59
-rw-r--r--docs/docbook/xslt/db2latex/common/l10n.xsl249
-rw-r--r--docs/docbook/xslt/db2latex/common/nl.xml105
-rw-r--r--docs/docbook/xslt/db2latex/common/no.xml97
-rw-r--r--docs/docbook/xslt/db2latex/common/pl.xml96
-rw-r--r--docs/docbook/xslt/db2latex/common/pt.xml98
-rw-r--r--docs/docbook/xslt/db2latex/common/pt_br.xml98
-rw-r--r--docs/docbook/xslt/db2latex/common/ro.xml104
-rw-r--r--docs/docbook/xslt/db2latex/common/ru.xml113
-rw-r--r--docs/docbook/xslt/db2latex/common/sk.xml104
-rw-r--r--docs/docbook/xslt/db2latex/common/sl.xml104
-rw-r--r--docs/docbook/xslt/db2latex/common/sv.xml99
-rw-r--r--docs/docbook/xslt/db2latex/common/zh_cn.xml95
-rw-r--r--docs/docbook/xslt/db2latex/common/zh_tw.xml98
-rw-r--r--docs/docbook/xslt/db2latex/component.mod.xsl94
-rw-r--r--docs/docbook/xslt/db2latex/dedication.mod.xsl126
-rw-r--r--docs/docbook/xslt/db2latex/dingbat.mod.xsl72
-rw-r--r--docs/docbook/xslt/db2latex/docbook.xsl153
-rw-r--r--docs/docbook/xslt/db2latex/email.mod.xsl65
-rw-r--r--docs/docbook/xslt/db2latex/errors.mod.xsl18
-rw-r--r--docs/docbook/xslt/db2latex/example.mod.xsl79
-rw-r--r--docs/docbook/xslt/db2latex/figure.mod.xsl130
-rw-r--r--docs/docbook/xslt/db2latex/font.mod.xsl58
-rw-r--r--docs/docbook/xslt/db2latex/footnote.mod.xsl85
-rw-r--r--docs/docbook/xslt/db2latex/formal.mod.xsl151
-rw-r--r--docs/docbook/xslt/db2latex/glossary.mod.xsl221
-rw-r--r--docs/docbook/xslt/db2latex/graphic.mod.xsl90
-rw-r--r--docs/docbook/xslt/db2latex/html.mod.xsl17
-rw-r--r--docs/docbook/xslt/db2latex/index.mod.xsl125
-rw-r--r--docs/docbook/xslt/db2latex/info.mod.xsl69
-rw-r--r--docs/docbook/xslt/db2latex/inline.mod.xsl526
-rw-r--r--docs/docbook/xslt/db2latex/keywords.mod.xsl62
-rw-r--r--docs/docbook/xslt/db2latex/labelid.mod.xsl479
-rw-r--r--docs/docbook/xslt/db2latex/latex.mapping.dtd13
-rw-r--r--docs/docbook/xslt/db2latex/latex.mapping.xml290
-rw-r--r--docs/docbook/xslt/db2latex/latex.mapping.xsl177
-rw-r--r--docs/docbook/xslt/db2latex/lists.mod.xsl448
-rw-r--r--docs/docbook/xslt/db2latex/mathelem.mod.xsl225
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isoamsa.ent173
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isoamsb.ent146
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isoamsc.ent49
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isoamsn.ent117
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isoamso.ent77
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isoamsr.ent205
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isobox.ent67
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isocyr1.ent94
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isocyr2.ent53
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isodia.ent41
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isogrk1.ent75
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isogrk2.ent46
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isogrk3.ent70
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isogrk4.ent69
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isolat1.ent89
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isolat2.ent148
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isomfrk.ent79
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isomopf.ent53
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isomscr.ent79
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isonum.ent103
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isopub.ent111
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/isotech.ent183
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/mmlalias.ent529
-rw-r--r--docs/docbook/xslt/db2latex/mathml/ent/mmlextra.ent134
-rw-r--r--docs/docbook/xslt/db2latex/mathml/latex.entities.dtd7
-rw-r--r--docs/docbook/xslt/db2latex/mathml/latex.entities.xml12
-rw-r--r--docs/docbook/xslt/db2latex/mathml/mathml.content.constsymb.mod.xsl101
-rw-r--r--docs/docbook/xslt/db2latex/mathml/mathml.content.functions.mod.xsl725
-rw-r--r--docs/docbook/xslt/db2latex/mathml/mathml.content.mod.xsl99
-rw-r--r--docs/docbook/xslt/db2latex/mathml/mathml.content.token.mod.xsl232
-rw-r--r--docs/docbook/xslt/db2latex/mathml/mathml.mod.xsl51
-rw-r--r--docs/docbook/xslt/db2latex/mathml/mathml.presentation.mod.xsl398
-rw-r--r--docs/docbook/xslt/db2latex/mediaobject.mod.xsl215
-rw-r--r--docs/docbook/xslt/db2latex/msgset.mod.xsl78
-rw-r--r--docs/docbook/xslt/db2latex/normalize-scape.mod.xsl240
-rw-r--r--docs/docbook/xslt/db2latex/para.mod.xsl76
-rw-r--r--docs/docbook/xslt/db2latex/part-chap-app.mod.xsl139
-rw-r--r--docs/docbook/xslt/db2latex/pi.mod.xsl184
-rw-r--r--docs/docbook/xslt/db2latex/preamble.mod.xsl758
-rw-r--r--docs/docbook/xslt/db2latex/preface.mod.xsl109
-rw-r--r--docs/docbook/xslt/db2latex/procedure.mod.xsl161
-rw-r--r--docs/docbook/xslt/db2latex/qandaset.mod.xsl413
-rw-r--r--docs/docbook/xslt/db2latex/refentry.mod.xsl187
-rw-r--r--docs/docbook/xslt/db2latex/revision.mod.xsl218
-rw-r--r--docs/docbook/xslt/db2latex/sections.mod.xsl150
-rw-r--r--docs/docbook/xslt/db2latex/set.mod.xsl53
-rw-r--r--docs/docbook/xslt/db2latex/sgmltag.mod.xsl157
-rw-r--r--docs/docbook/xslt/db2latex/synop-oop.mod.xsl691
-rw-r--r--docs/docbook/xslt/db2latex/synop-struct.mod.xsl248
-rw-r--r--docs/docbook/xslt/db2latex/table.mod.xsl653
-rw-r--r--docs/docbook/xslt/db2latex/texmath.mod.xsl106
-rw-r--r--docs/docbook/xslt/db2latex/vars.mod.xsl880
-rw-r--r--docs/docbook/xslt/db2latex/verbatim.mod.xsl141
-rw-r--r--docs/docbook/xslt/db2latex/xref.mod.xsl630
119 files changed, 0 insertions, 21504 deletions
diff --git a/docs/docbook/xslt/db2latex/VERSION.xml b/docs/docbook/xslt/db2latex/VERSION.xml
deleted file mode 100644
index a76a06a5a5..0000000000
--- a/docs/docbook/xslt/db2latex/VERSION.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
- | $Id: VERSION.xml,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE:
- + ############################################################################## -->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
-<xsl:variable name="VERSION">0.7pre5</xsl:variable>
-<xsl:variable name="TAG">APRIL2003</xsl:variable>
-<xsl:variable name="CVSVERSION">$Id: VERSION.xml,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $</xsl:variable>
-
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/abstract.mod.xsl b/docs/docbook/xslt/db2latex/abstract.mod.xsl
deleted file mode 100644
index b2e82c2de3..0000000000
--- a/docs/docbook/xslt/db2latex/abstract.mod.xsl
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: abstract.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="abstract" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: abstract.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author><firstname>Ramon</firstname> <surname>Casellas</surname></author>
- <author><firstname>James</firstname> <surname>Devenish</surname></author>
- </authorgroup>
- <copyright>
- <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Abstract <filename>abstract.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para>This file <filename>abstract.mod.xsl</filename> contains a single
- XSL template for <sgmltag>abstract</sgmltag>.</para>
- <itemizedlist>
- <listitem><para>Calls <literal>map.begin</literal>.</para></listitem>
- <listitem><para>Processes children with <sgmltag>xsl:apply-templates</sgmltag>.</para></listitem>
- <listitem><para>Calls <literal>map.end</literal></para></listitem>
- <listitem><para>The abstract/title template is empty.</para></listitem>
- </itemizedlist>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="abstract" xmlns="">
- <refpurpose> Abstract XSL template. </refpurpose>
- <refdescription>
- <para>Calls template <xref linkend="map.begin"/>(<literal>map.begin</literal>),
- to output the opening command (by default):</para>
- <screen>
- % --------------------------------------------
- % Abstract
- % --------------------------------------------
- \begin{abstract}
- </screen>
- <para> Calls "apply-templates" for all the children, and call template
- <xref linkend="map.end"/>(<literal>map.end</literal>) to output the closing
- command.</para>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- <listitem><para> The title of the abstract is lost.</para></listitem>
- <listitem><para> The template for abstract/title is defined EMPTY.</para></listitem>
- </itemizedlist>
- </formalpara>
-
- <formalpara><title>Default Behaviour</title>
- <screen>
- Fill
- </screen>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <!-- TEMPLATE -->
- <xsl:template match="abstract">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- <xsl:call-template name="map.end"/>
- </xsl:template>
-
- <xsl:template match="abstract/title"/>
-
-</xsl:stylesheet>
-
-
diff --git a/docs/docbook/xslt/db2latex/admonition.mod.xsl b/docs/docbook/xslt/db2latex/admonition.mod.xsl
deleted file mode 100644
index 62f37ccd3a..0000000000
--- a/docs/docbook/xslt/db2latex/admonition.mod.xsl
+++ /dev/null
@@ -1,199 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: admonition.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: Admonition templates.
-+ ############################################################################## -->
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference name="admonition" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: admonition.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author><firstname>Ramon</firstname> <surname>Casellas</surname></author>
- <author><firstname>James</firstname> <surname>Devenish</surname></author>
- </authorgroup>
- <copyright><year>2000</year><year>2001</year><year>2002</year><year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Admonition XSL Variables and Templates <filename>admonition.mod.xsl</filename></title>
-
- <partintro>
- <section><title>Introduction</title>
- <para>DocBook includes admonitions, which are set off from the main text.</para>
- </section>
- <formalpara><title>Pertinent Variables</title>
- <itemizedlist>
- <listitem><simpara><xref linkend="param.latex.use.fancybox"/></simpara></listitem>
- <listitem><simpara><xref linkend="param.latex.admonition.path"/></simpara></listitem>
- <listitem><simpara><xref linkend="param.latex.admonition.imagesize"/></simpara></listitem>
- <listitem><simpara><xref linkend="param.latex.apply.title.templates.admonitions"/></simpara></listitem>
- </itemizedlist>
- </formalpara>
- </partintro>
- </doc:reference>
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:param name="latex.admonition.environment" xmlns="">
- <refpurpose>
- Declares a new environment to be used for admonitions
- (warning, tip, important, caution, note).
- </refpurpose>
- <refdescription>
- <para>
- A LaTeX environment is emitted. That environment has two mandatory parameters.
- Instances of the environment are customised for each admonition via those parameters.
- Instances will be typeset as boxed areas in the document flow.
- </para>
- <para>
- The first argument is the filename for graphics (e.g $latex.admonition.path/warning).
- The second argument is the admonition title or the associated generic text.
- </para>
- <para>
- It requires the LaTeX <link linkend="param.latex.use.fancybox">fancybox package</link>.
- It also uses graphics, by default.
- </para>
- <example>
- <title>Processing the <sgmltag class="element">warning</sgmltag> admonition</title>
- <para> When processing the admonition, the following code is generated: </para>
- <programlisting><![CDATA[
- \begin{admonition}{figures/warning}{My WARNING}
- ...
- \end{admonition}]]>
- </programlisting>
- </example>
- </refdescription>
- </doc:param>
- <!--############################################################################# -->
-
- <xsl:variable name="latex.admonition.environment">
- <xsl:text>\newenvironment{admminipage}{\begin{Sbox}\begin{minipage}}{\end{minipage}\end{Sbox}\fbox{\TheSbox}}&#10;</xsl:text>
- <xsl:text>\newlength{\admlength}&#10;</xsl:text>
- <xsl:text>\newenvironment{admonition}[2] {&#10;</xsl:text>
- <xsl:text> \hspace{0mm}\newline\hspace*\fill\newline&#10;</xsl:text>
- <xsl:text> \noindent&#10;</xsl:text>
- <xsl:text> \setlength{\fboxsep}{5pt}&#10;</xsl:text>
- <xsl:text> \setlength{\admlength}{\linewidth}&#10;</xsl:text>
- <xsl:text> \addtolength{\admlength}{-10\fboxsep}&#10;</xsl:text>
- <xsl:text> \addtolength{\admlength}{-10\fboxrule}&#10;</xsl:text>
- <xsl:text> \admminipage{\admlength}&#10;</xsl:text>
- <xsl:text> {\bfseries \sc\large{#2}} \newline&#10;</xsl:text>
- <xsl:text> \\[1mm]&#10;</xsl:text>
- <xsl:text> \sffamily&#10;</xsl:text>
- <xsl:if test="$latex.admonition.path=''">
- <xsl:text>%</xsl:text>
- <!--
- Comment out the next line (\includegraphics).
- This tactic is to avoid deleting the \includegraphics
- altogether, as that could confuse a person trying to
- find the use of parameter #1 in the environment.
- -->
- </xsl:if>
- <xsl:text> \includegraphics[</xsl:text>
- <xsl:value-of select="$latex.admonition.imagesize" />
- <xsl:text>]{#1}&#10;</xsl:text>
- <xsl:text> \addtolength{\admlength}{-1cm}&#10;</xsl:text>
- <xsl:text> \addtolength{\admlength}{-20pt}&#10;</xsl:text>
- <xsl:text> \begin{minipage}[lt]{\admlength}&#10;</xsl:text>
- <xsl:text> \parskip=0.5\baselineskip \advance\parskip by 0pt plus 2pt&#10;</xsl:text>
- <xsl:text>}{&#10;</xsl:text>
- <xsl:text> \vspace{5mm} &#10;</xsl:text>
- <xsl:text> \end{minipage}&#10;</xsl:text>
- <xsl:text> \endadmminipage&#10;</xsl:text>
- <xsl:text> \vspace{.5em}&#10;</xsl:text>
- <xsl:text> \par&#10;</xsl:text>
- <xsl:text>}&#10;</xsl:text>
- </xsl:variable>
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template name="admon.graphic" xmlns="">
- <refpurpose> Choose an admonition graphic </refpurpose>
- <refdescription>
- <para> For each admonition element (note, warning, caution, top, important),
- this template chooses the graphics filename. If the admonition element is
- not known, the <sgmltag class="element">note</sgmltag> graphic is used.
- </para>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template name="admon.graphic">
- <xsl:param name="node" select="."/>
- <xsl:choose>
- <xsl:when test="name($node)='note'">note</xsl:when>
- <xsl:when test="name($node)='warning'">warning</xsl:when>
- <xsl:when test="name($node)='caution'">caution</xsl:when>
- <xsl:when test="name($node)='tip'">tip</xsl:when>
- <xsl:when test="name($node)='important'">important</xsl:when>
- <xsl:otherwise>note</xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template name="admonitions" match="note|important|warning|caution|tip" xmlns="">
- <refpurpose> XSL Template for admonitions </refpurpose>
- <refdescription>
- <para> Uses the <xref linkend="param.latex.admonition.environment"/>.
- </para>
- <note><para>An admonition will look something like this.</para></note>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- <listitem>
- <para>
- There can be <quote>excessive</quote> whitespace between
- the bottom of the admonition area and a subsequent paragraph.
- </para>
- </listitem>
- </itemizedlist>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="note|important|warning|caution|tip">
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword">admonition</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:text>{</xsl:text>
- <xsl:value-of select="$latex.admonition.path"/><xsl:text>/</xsl:text>
- <xsl:call-template name="admon.graphic"/>
- <xsl:text>}{</xsl:text>
- <xsl:choose>
- <xsl:when test="title and $latex.apply.title.templates.admonitions='1'">
- <xsl:call-template name="extract.object.title">
- <xsl:with-param name="object" select="."/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="gentext.element.name"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- <xsl:apply-templates/>
- <xsl:call-template name="map.end">
- <xsl:with-param name="keyword">admonition</xsl:with-param>
- </xsl:call-template>
- </xsl:template>
-
- <!-- Empty title template -->
- <xsl:template match="note/title|important/title|warning/title|caution/title|tip/title"/>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/authorgroup.mod.xsl b/docs/docbook/xslt/db2latex/authorgroup.mod.xsl
deleted file mode 100644
index fd40f3cb4c..0000000000
--- a/docs/docbook/xslt/db2latex/authorgroup.mod.xsl
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: authorgroup.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: Manage Authorgroups
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="authorgroup" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: authorgroup.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author><firstname>Ramon</firstname> <surname>Casellas</surname></author>
- <author><firstname>James</firstname> <surname>Devenish</surname></author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Authorgroup <filename>authorgroup.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <formalpara><title>Pertinent Variables</title>
- <itemizedlist>
- <listitem><simpara><xref linkend="param.biblioentry.item.separator"/></simpara></listitem>
- </itemizedlist>
- </formalpara>
- </section>
- </partintro>
- </doc:reference>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="authorgroup" xmlns="">
- <refpurpose> Authorgroup XSL template. </refpurpose>
- <refdescription>
- </refdescription>
- </doc:template>
-
- <xsl:template match="authorgroup">
- <xsl:for-each select="author">
- <xsl:apply-templates select="."/>
- <xsl:if test="not(position()=last())">
- <xsl:text> \and </xsl:text>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="authorinitials" xmlns="">
- <refpurpose> AuthorInitials XSL template. </refpurpose>
- <refdescription>
- </refdescription>
- </doc:template>
-
- <xsl:template match="authorinitials">
- <xsl:apply-templates/>
- <xsl:value-of select="$biblioentry.item.separator"/>
- </xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/biblio.mod.xsl b/docs/docbook/xslt/db2latex/biblio.mod.xsl
deleted file mode 100644
index 3d3e9f70f0..0000000000
--- a/docs/docbook/xslt/db2latex/biblio.mod.xsl
+++ /dev/null
@@ -1,582 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: biblio.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: Manage Bibliography.
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="biblio" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: biblio.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Bibliography related XSL Variables and Templates <filename>biblio.mod.xsl</filename></title>
-
- <partintro>
- <section><title>Introduction</title>
- <para>This reference describes the templates and parameters relevant
- to formatting DocBook bibliography markup.</para>
- </section>
- <section><title>All Vs. Cited mode</title>
- <para> Using this option, only the biblioentries that have been
- cited somewhere in the document are output. Otherwise (in All mode)
- all bibentries found are output (as the HTML stylesheets do).</para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
-
- <!--#############################################################################
- | BIBLIOGRAPHY
- |- #############################################################################
- |
- |
- |
- + ############################################################################## -->
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="bibliography" xmlns="">
- <refpurpose> bibliography XSL template </refpurpose>
- <refdescription>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- </itemizedlist>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="bibliography">
- <xsl:message>DB2LaTeX: Processing BIBLIOGRAPHY</xsl:message>
- <xsl:message>DB2LaTeX: Output Mode : <xsl:value-of select="$latex.biblio.output"/></xsl:message>
- <xsl:text>% ------------------------------------------- &#10;</xsl:text>
- <xsl:text>% &#10;</xsl:text>
- <xsl:text>% Bibliography&#10;</xsl:text>
- <xsl:text>% &#10;</xsl:text>
- <xsl:text>% ------------------------------------------- &#10;</xsl:text>
- <xsl:text>\bibliography{</xsl:text><xsl:value-of select="$latex.bibfiles"/><xsl:text>}&#10;</xsl:text>
- <xsl:if test="biblioentry or bibliodiv">
- <xsl:text>\begin{thebibliography}{</xsl:text>
- <xsl:value-of select="$latex.bibwidelabel"/>
- <xsl:text>}&#10;</xsl:text>
- <xsl:choose>
- <xsl:when test="$latex.biblio.output ='cited'">
- <xsl:apply-templates select="biblioentry" mode="bibliography.cited">
- <xsl:sort select="./abbrev"/>
- <xsl:sort select="./@xreflabel"/>
- <xsl:sort select="./@id"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:when test="$latex.biblio.output ='all'">
- <xsl:apply-templates select="biblioentry" mode="bibliography.all">
- <xsl:sort select="./abbrev"/>
- <xsl:sort select="./@xreflabel"/>
- <xsl:sort select="./@id"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="biblioentry">
- <xsl:sort select="./abbrev"/>
- <xsl:sort select="./@xreflabel"/>
- <xsl:sort select="./@id"/>
- </xsl:apply-templates>
- </xsl:otherwise>
- </xsl:choose>
- <!-- <xsl:apply-templates select="child::*[name(.)!='biblioentry']"/> -->
- <xsl:apply-templates select="bibliodiv"/>
- <xsl:text>&#10;\end{thebibliography}&#10;</xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="bibliography/title"/>
- <xsl:template match="bibliography/subtitle"/>
- <xsl:template match="bibliography/titleabbrev"/>
-
-
-
- <!--#############################################################################
- | BIBLIODIV
- |- #############################################################################
- |
- |
- |
- + ############################################################################## -->
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="bibliodiv" xmlns="">
- <refpurpose> bibliography XSL template </refpurpose>
- <refdescription>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- </itemizedlist>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="bibliodiv">
- <xsl:message>DB2LaTeX: Processing BIBLIOGRAPHY - BIBLIODIV</xsl:message>
- <!--
- <xsl:call-template name="label.id"/>
- <xsl:text>&#10;</xsl:text>
- <xsl:text>\vspace{1cm}</xsl:text>
- <xsl:text>\noindent{\Large {\sc </xsl:text><xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="title"/> </xsl:call-template>
- <xsl:text>}}\\&#10;&#10;</xsl:text>
- -->
- <xsl:choose>
- <xsl:when test="$latex.biblio.output ='cited'">
- <xsl:apply-templates select="biblioentry" mode="bibliography.cited">
- <xsl:sort select="./abbrev"/>
- <xsl:sort select="./@xreflabel"/>
- <xsl:sort select="./@id"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:when test="$latex.biblio.output ='all'">
- <xsl:apply-templates select="biblioentry">
- <xsl:sort select="./abbrev"/>
- <xsl:sort select="./@xreflabel"/>
- <xsl:sort select="./@id"/>
- </xsl:apply-templates>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="bibliodiv/title"/>
-
-
-
- <!--#############################################################################
- | BIBLIOENTRY
- - #############################################################################
- |
- |
- |
- + ############################################################################## -->
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="biblioentry" mode="bibliography.cited" xmlns="">
- <refpurpose> bibliography XSL template </refpurpose>
- <refdescription>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- </itemizedlist>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="biblioentry" mode="bibliography.cited">
- <xsl:param name="bibid" select="@id"/>
- <xsl:param name="ab" select="abbrev"/>
- <xsl:variable name="nx" select="//xref[@linkend=$bibid]"/>
- <xsl:variable name="nc" select="//citation[text()=$ab]"/>
- <xsl:if test="count($nx) &gt; 0 or count($nc) &gt; 0">
- <xsl:call-template name="biblioentry.output"/>
- </xsl:if>
- </xsl:template>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="biblioentry" mode="bibliography.all" xmlns="">
- <refpurpose> bibliography XSL template </refpurpose>
- <refdescription>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- </itemizedlist>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="biblioentry" mode="bibliography.all">
- <xsl:call-template name="biblioentry.output"/>
- </xsl:template>
-
- <xsl:template match="biblioentry">
- <xsl:call-template name="biblioentry.output"/>
- </xsl:template>
-
- <xsl:template name="biblioentry.output">
- <xsl:variable name="biblioentry.tag">
- <xsl:choose>
- <xsl:when test="@xreflabel">
- <xsl:value-of select="normalize-space(@xreflabel)"/>
- </xsl:when>
- <xsl:when test="abbrev">
- <xsl:apply-templates select="abbrev" mode="bibliography.mode"/>
- </xsl:when>
- <xsl:when test="@id">
- <xsl:value-of select="normalize-space(@id)"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>UNKNOWN</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:text>&#10;</xsl:text>
- <xsl:text>% -------------- biblioentry &#10;</xsl:text>
- <xsl:text>\bibitem[</xsl:text><xsl:value-of select="$biblioentry.tag"/><xsl:text>]</xsl:text>
- <xsl:text>{</xsl:text><xsl:value-of select="$biblioentry.tag"/><xsl:text>}&#10;</xsl:text>
- <xsl:text>\emph{</xsl:text> <xsl:apply-templates select="title" mode="bibliography.mode"/><xsl:text>} </xsl:text>
- <xsl:value-of select="$biblioentry.item.separator"/>
- <xsl:apply-templates select="author|authorgroup" mode="bibliography.mode"/>
- <xsl:for-each select="child::copyright|child::publisher|child::pubdate|child::pagenums|child::isbn|child::editor|child::releaseinfo">
- <xsl:value-of select="$biblioentry.item.separator"/>
- <xsl:apply-templates select="." mode="bibliography.mode"/>
- </xsl:for-each>
- <xsl:text>. </xsl:text>
- <xsl:call-template name="label.id"/>
- <xsl:text>&#10;&#10;</xsl:text>
- </xsl:template>
-
- <!-- EMPTY templates -->
- <xsl:template match="abstract" mode="bibliography.mode"/>
- <xsl:template match="authorblurb" mode="bibliography.mode"/>
-
-
-
- <xsl:template match="abbrev" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="address" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="affiliation" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="shortaffil" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="jobtitle" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="artheader" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="artpagenums" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="author" mode="bibliography.mode">
- <xsl:variable name="authorsstring">
- <xsl:call-template name="person.name"/>
- </xsl:variable>
- <xsl:value-of select="normalize-space($authorsstring)"/>
- </xsl:template>
-
-
-
- <xsl:template match="author[position()=last()]" mode="bibliography.mode">
- <xsl:variable name="authorsstring">
- <xsl:call-template name="person.name"/>
- </xsl:variable>
- <xsl:value-of select="normalize-space($authorsstring)"/>
- </xsl:template>
-
-
- <!--
- Authorgroup
- calls person.name.list in ../common/common.xsl in order to get a
- formatted string. We need to return to "normalized-space(.) of it
- -->
-
- <xsl:template match="authorgroup" mode="bibliography.mode">
- <xsl:variable name="authorsstring">
- <xsl:call-template name="person.name.list"/>
- </xsl:variable>
- <xsl:value-of select="normalize-space($authorsstring)"/>
- </xsl:template>
-
- <xsl:template match="authorinitials" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="bibliomisc" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="bibliomset" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="bibliomixed" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
-
-
-
-
-
-
- <xsl:template match="biblioset" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="biblioset/title|biblioset/citetitle"
- mode="bibliography.mode">
- <xsl:variable name="relation" select="../@relation"/>
- <xsl:choose>
- <xsl:when test="$relation='article'">
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">ldquo</xsl:with-param>
- </xsl:call-template>
- <xsl:apply-templates/>
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">rdquo</xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="bookbiblio" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="citetitle" mode="bibliography.mode">
- <I><xsl:apply-templates mode="bibliography.mode"/></I>
- </xsl:template>
-
- <xsl:template match="collab" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="collabname" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="confgroup" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="confdates" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="conftitle" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="confnum" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="confsponsor" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="contractnum" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="contractsponsor" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="contrib" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="copyright" mode="bibliography.mode">
- <xsl:call-template name="gentext.element.name"/>
- <xsl:call-template name="gentext.space"/>
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">copyright</xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name="gentext.space"/>
- <xsl:apply-templates select="year" mode="bibliography.mode"/>
- <xsl:call-template name="gentext.space"/>
- <xsl:apply-templates select="holder" mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="year" mode="bibliography.mode">
- <xsl:apply-templates/><xsl:text>, </xsl:text>
- </xsl:template>
-
- <xsl:template match="year[position()=last()]" mode="bibliography.mode">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="holder" mode="bibliography.mode">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="corpauthor" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="corpname" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="date" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="edition" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="editor" mode="bibliography.mode">
- <xsl:call-template name="person.name"/>
- </xsl:template>
-
- <xsl:template match="firstname" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="honorific" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="indexterm" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="invpartnumber" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="isbn" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="issn" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="issuenum" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="lineage" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="orgname" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="orgdiv" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="othercredit" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="othername" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="pagenums" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="printhistory" mode="bibliography.mode">
- <!-- suppressed -->
- </xsl:template>
-
- <xsl:template match="productname" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="productnumber" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="pubdate" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="publisher" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="publishername" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="pubsnumber" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="releaseinfo" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="revhistory" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="seriesinfo" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="seriesvolnums" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="subtitle" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="surname" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="title" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="titleabbrev" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="volumenum" mode="bibliography.mode">
- <xsl:apply-templates mode="bibliography.mode"/>
- </xsl:template>
-
- <xsl:template match="*" mode="bibliography.mode">
- <xsl:apply-templates select="."/>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/block.mod.xsl b/docs/docbook/xslt/db2latex/block.mod.xsl
deleted file mode 100644
index ac270a3561..0000000000
--- a/docs/docbook/xslt/db2latex/block.mod.xsl
+++ /dev/null
@@ -1,177 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: block.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="block" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: block.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author><firstname>Ramon</firstname> <surname>Casellas</surname></author>
- <author><firstname>James</firstname> <surname>Devenish</surname></author>
- </authorgroup>
- <copyright>
- <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Block Objects <filename>block.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para>Sundry block-formatted objects.</para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
- <doc:template name="block.object" xmlns="">
- <refpurpose>
- Generic handler for block-formatted objects.
- </refpurpose>
- <refdescription>
- <para>
- Calls <xref linkend="template.label.id"/> and then applies templates.
- </para>
- </refdescription>
- </doc:template>
-
- <xsl:template name="block.object">
- <xsl:call-template name="label.id"/>
- <xsl:apply-templates/>
- </xsl:template>
-
- <doc:template match="blockquote" xmlns="">
- <refpurpose>
- A quotation set off from the main text (not inline).
- </refpurpose>
- <refdescription>
- <para>
- Uses the LaTeX <literal>quote</literal> environment.
- If an attribution is present, it will be set at the end.
- </para>
- </refdescription>
- </doc:template>
-
- <xsl:template match="blockquote">
- <xsl:text>\begin{quote}</xsl:text>
- <xsl:apply-templates/>
- <xsl:apply-templates select="attribution" mode="block.attribution"/>
- <xsl:text>\end{quote}&#10;</xsl:text>
- </xsl:template>
-
- <doc:template match="epigraph" xmlns="">
- <refpurpose>
- A short inscription that occurs at the beginning of a section, chapter, or document.
- </refpurpose>
- <refdescription>
- <para>
- Uses the LaTeX <literal>quote</literal> environment.
- If an attribution is present, it will be set at the end.
- </para>
- </refdescription>
- </doc:template>
-
- <xsl:template match="epigraph">
- <xsl:text>\begin{quote}</xsl:text>
- <xsl:apply-templates/>
- <xsl:apply-templates select="attribution" mode="block.attribution"/>
- <xsl:text>\end{quote}&#10;</xsl:text>
- </xsl:template>
-
- <doc:template match="attribution" xmlns="">
- <refpurpose>
- This template produces no output.
- </refpurpose>
- <refdescription>
- <para>
- The <sgmltag class="element">attribution</sgmltag> element only occurs within
- <xref linkend="template.blockquote"/> and <xref linkend="template.epigraph"/>.
- However, the templates for those elements use a <quote>mode</quote> mechanism.
- Therefore, this template is intentionally suppressed and a replacement exists.
- See <xref linkend="template.attribution-block.attribution"/> instead.
- </para>
- </refdescription>
- </doc:template>
-
- <xsl:template match="attribution"/>
-
- <doc:template match="attribution" mode="block.attribution" xmlns="">
- <refpurpose>
- The source of a block quote or epigraph.
- </refpurpose>
- <refdescription>
- <para>
- Starts a new line with right-aligned text preceded by an em dash.
- </para>
- </refdescription>
- </doc:template>
-
- <xsl:template match="attribution" mode="block.attribution">
- <xsl:text>&#10;\hspace*\fill---</xsl:text>
- <xsl:apply-templates/>
- </xsl:template>
-
- <doc:template match="sidebar" xmlns="">
- <refpurpose>
- A block of text that is isolated from the main flow.
- </refpurpose>
- <refdescription>
- <para>
- This is formatted as a plain block.
- </para>
- </refdescription>
- </doc:template>
-
- <xsl:template match="sidebar">
- <xsl:call-template name="block.object"/>
- </xsl:template>
-
- <doc:template match="sidebar/title|blockquote/title" xmlns="">
- <refpurpose>
- Title lines for sundry block elements.
- </refpurpose>
- <refdescription>
- <para>
- This is formatted as a line on its own.
- </para>
- </refdescription>
- </doc:template>
-
- <xsl:template match="sidebar/title|blockquote/title">
- <xsl:apply-templates/>
- <xsl:text>&#10;</xsl:text>
- </xsl:template>
-
- <doc:template match="ackno" xmlns="">
- <refpurpose>
- Acknowledgements in an Article.
- </refpurpose>
- <refdescription>
- <para>
- This is formatted as a plain block.
- </para>
- </refdescription>
- </doc:template>
-
- <xsl:template match="ackno">
- <xsl:apply-templates/>
- </xsl:template>
-
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/book-article.mod.xsl b/docs/docbook/xslt/db2latex/book-article.mod.xsl
deleted file mode 100644
index b9a230554c..0000000000
--- a/docs/docbook/xslt/db2latex/book-article.mod.xsl
+++ /dev/null
@@ -1,468 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: book-article.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-| This template matches a book / article
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="book-article" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: book-article.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Books and Articles <filename>book-article.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
-
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="book" xmlns="">
- <refpurpose>Book XSL Template</refpurpose>
- <refdescription>
- <para> Most DocBook documents are either articles or books, so the book
- XSL template <xref linkend="template.book"/> is one classical entry point
- when processign docbook documents.</para>
-
- <formalpara><title>Tasks</title>
- <itemizedlist>
- <listitem><para></para></listitem>
- </itemizedlist>
- </formalpara>
-
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- </itemizedlist>
- </formalpara>
- </refdescription>
- <refparameter>
- <variablelist>
- <varlistentry>
- <term>colwidth</term>
- <listitem>
- <para>The CALS column width specification.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refparameter>
- <refreturn>
- :<para>Outputs the LaTeX Code corresponding to a book.</para>
- </refreturn>
- </doc:template>
-
-
-
-
- <!--############################################################################# -->
- <!-- XSL TEMPLATE book -->
- <!-- -->
- <!-- Main entry point for a DocBook "book" -->
- <!--############################################################################# -->
- <xsl:template match="book">
- <!-- book:1: generate.latex.book.preamble -->
- <xsl:call-template name="generate.latex.book.preamble"/>
- <!-- book:2: output title information -->
- <xsl:text>\title{</xsl:text>
- <xsl:choose>
- <xsl:when test="./title">
- <xsl:apply-templates select="title" mode="maketitle.mode"/>
- <xsl:apply-templates select="subtitle" mode="maketitle.mode"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="bookinfo/title" mode="maketitle.mode"/>
- <xsl:apply-templates select="bookinfo/subtitle" mode="maketitle.mode"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}&#10;</xsl:text>
- <!-- book:3: output author information -->
- <xsl:text>\author{</xsl:text>
- <xsl:choose>
- <xsl:when test="bookinfo/authorgroup">
- <xsl:apply-templates select="bookinfo/authorgroup"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="bookinfo/author"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}&#10;</xsl:text>
- <!-- book:4: dump any preamble after author -->
- <xsl:value-of select="$latex.book.afterauthor"/>
- <!-- book:5: set some counters -->
- <xsl:text>&#10;\setcounter{tocdepth}{</xsl:text><xsl:value-of select="$toc.section.depth"/><xsl:text>}&#10;</xsl:text>
- <xsl:text>&#10;\setcounter{secnumdepth}{</xsl:text><xsl:value-of select="$section.depth"/><xsl:text>}&#10;</xsl:text>
- <!-- book:6: dump the begin document command -->
- <xsl:value-of select="$latex.book.begindocument"/>
-
- <!-- book:7: include external Cover page if specified -->
- <xsl:if test="$latex.titlepage.file != ''">
- <xsl:text>&#10;\InputIfFileExists{</xsl:text><xsl:value-of select="$latex.titlepage.file"/>
- <xsl:text>}{\typeout{WARNING: Using cover page</xsl:text>
- <xsl:value-of select="$latex.titlepage.file"/>
- <xsl:text>}}</xsl:text>
- </xsl:if>
-
- <!-- book:7b: maketitle -->
- <xsl:text>{\pagestyle{empty}\maketitle</xsl:text>
- <!-- book:8: page Style ? fancyheaders or plain ? -->
- <xsl:call-template name="generate.latex.pagestyle"/>
- <xsl:text>}&#10;</xsl:text>
- <!-- book:9: - APPLY TEMPLATES -->
- <xsl:apply-templates/>
- <!-- book:10: call map.end -->
- <xsl:call-template name="map.end"/>
- </xsl:template>
-
-
- <!-- Titles/subtitles -->
- <!-- Empty templates -->
-
- <xsl:template match="book/title"/>
- <xsl:template match="book/subtitle"/>
- <xsl:template match="book/titleabbrev"/>
- <xsl:template match="book/bookinfo/title"/>
- <xsl:template match="book/bookinfo/subtitle"/>
- <xsl:template match="book/bookinfo/titleabbrev"/>
-
- <xsl:template match="book/title" mode="maketitle.mode">\bfseries <xsl:apply-templates /></xsl:template>
- <xsl:template match="book/subtitle" mode="maketitle.mode">\\[12pt]\normalsize <xsl:apply-templates /></xsl:template>
- <xsl:template match="book/bookinfo/title" mode="maketitle.mode">\bfseries <xsl:apply-templates /></xsl:template>
- <xsl:template match="book/bookinfo/subtitle" mode="maketitle.mode">\\[12pt]\normalsize <xsl:apply-templates /></xsl:template>
-
- <xsl:template match="book/bookinfo">
- <xsl:apply-templates select="revhistory" />
- <xsl:apply-templates select="abstract" />
- <xsl:apply-templates select="keywordset" />
- <xsl:apply-templates select="copyright" />
- <xsl:apply-templates select="legalnotice" />
- </xsl:template>
-
-
-
- <!--#############################################################################
- | Template : article
- + ############################################################################# -->
-
- <!-- DOCUMENTATION -->
- <doc:template match="article" xmlns="">
- <refpurpose>Article XSL Template</refpurpose>
- <refdescription>
- <para> Most DocBook documents are either articles or books, so the article
- XSL template <xref linkend="template.article"/> is one classical entry point
- when processign docbook documents.</para>
-
- <formalpara><title>Tasks</title>
- <itemizedlist>
- <listitem><para>Calls <literal>generate.latex.article.preamble</literal>.</para></listitem>
- <listitem><para>Outputs \title, \author, getting the information from its children.</para></listitem>
- <listitem><para>Calls <literal>latex.article.begindocument</literal>.</para></listitem>
- <listitem><para>Calls <literal>latex.article.maketitle.</literal></para></listitem>
- <listitem><para>Applies templates.</para></listitem>
- <listitem><para>Calls <literal>latex.article.end</literal> template.</para></listitem>
- </itemizedlist>
- </formalpara>
-
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- <listitem><para> EMPTY templates: article/title and article/subtitle</para></listitem>
- </itemizedlist>
- </formalpara>
- </refdescription>
- <refparameter>
- <variablelist>
- <varlistentry>
- <term>colwidth</term>
- <listitem>
- <para>The CALS column width specification.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refparameter>
- <refreturn>
- <para>Outputs the LaTeX Code corresponding to an article.</para>
- </refreturn>
- </doc:template>
- <!--############################################################################# -->
-
-
- <xsl:template match="book/article">
- <xsl:text>&#10;\makeatletter\if@openright\cleardoublepage\else\clearpage\fi</xsl:text>
- <xsl:call-template name="generate.latex.pagestyle"/>
- <xsl:text>\makeatother&#10;</xsl:text>
- <!-- Get and output article title -->
- <xsl:variable name="article.title">
- <xsl:choose>
- <xsl:when test="./title">
- <xsl:value-of select="./title"/>
- </xsl:when>
- <xsl:when test="./articleinfo/title">
- <xsl:value-of select="./articleinfo/title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="./artheader/title"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:text>\begin{center}\textsf{\textbf{\Large </xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="$article.title"/>
- </xsl:call-template>
- <xsl:text>}}\par&#10;</xsl:text>
- <!-- Display author information -->
- <xsl:choose>
- <xsl:when test="artheader/author">
- <xsl:text>\textsf{</xsl:text>
- <xsl:apply-templates select="artheader/author"/>
- <xsl:text>}\par&#10;</xsl:text>
- </xsl:when>
- <xsl:when test="artheader/authorgroup">
- <xsl:text>\textsf{</xsl:text>
- <xsl:apply-templates select="artheader/authorgroup"/>
- <xsl:text>}\par&#10;</xsl:text>
- </xsl:when>
- <xsl:when test="articleinfo/author">
- <xsl:text>\textsf{</xsl:text>
- <xsl:apply-templates select="articleinfo/author"/>
- <xsl:text>}\par&#10;</xsl:text>
- </xsl:when>
- <xsl:when test="articleinfo/authorgroup">
- <xsl:text>\textsf{</xsl:text>
- <xsl:apply-templates select="articleinfo/authorgroup"/>
- <xsl:text>}\par&#10;</xsl:text>
- </xsl:when>
- <xsl:when test="author">
- <xsl:text>\textsf{</xsl:text>
- <xsl:apply-templates select="author"/>
- <xsl:text>}\par&#10;</xsl:text>
- </xsl:when>
- </xsl:choose>
- <xsl:apply-templates select="artheader" mode="article.within.book"/>
- <xsl:text>\end{center}&#10;</xsl:text>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="artheader" mode="article.within.book">
- <xsl:value-of select="."/>
- </xsl:template>
-
-
-
- <!-- ARTICLE TEMPLATE -->
- <xsl:template match="article">
- <!-- Output LaTeX preamble -->
- <xsl:call-template name="generate.latex.article.preamble"/>
- <!-- Get and output article title -->
- <xsl:variable name="article.title">
- <xsl:choose>
- <xsl:when test="./title">
- <xsl:value-of select="./title"/>
- </xsl:when>
- <xsl:when test="./articleinfo/title">
- <xsl:value-of select="./articleinfo/title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="./artheader/title"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:text>\title{</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="$article.title"/>
- </xsl:call-template>
- <xsl:text>}&#10;</xsl:text>
- <!-- Display author information -->
- <xsl:text>\author{</xsl:text>
- <xsl:choose>
- <xsl:when test="artheader/author">
- <xsl:apply-templates select="artheader/author"/>
- </xsl:when>
- <xsl:when test="artheader/authorgroup">
- <xsl:apply-templates select="artheader/authorgroup"/>
- </xsl:when>
- <xsl:when test="articleinfo/author">
- <xsl:apply-templates select="articleinfo/author"/>
- </xsl:when>
- <xsl:when test="articleinfo/authorgroup">
- <xsl:apply-templates select="articleinfo/authorgroup"/>
- </xsl:when>
- <xsl:otherwise><xsl:apply-templates select="author"/></xsl:otherwise>
- </xsl:choose>
- <xsl:text>}&#10;</xsl:text>
- <!-- Display begindocument command -->
- <xsl:value-of select="$latex.article.begindocument"/>
- <xsl:value-of select="$latex.article.maketitle"/>
- <xsl:apply-templates/>
- <xsl:value-of select="$latex.article.end"/>
- </xsl:template>
-
-
-
- <xsl:template match="article/artheader|article/articleinfo">
- <xsl:apply-templates select="abstract"/>
- </xsl:template>
-
- <!-- EMPTY TEMPLATES -->
- <xsl:template match="article/title"/>
- <xsl:template match="article/subtitle"/>
-
-
-
-
- <!--#############################################################################
- | Template: copyright
- |- ############################################################################# -->
- <xsl:template match="copyright">
- <xsl:call-template name="gentext.element.name"/>
- <xsl:call-template name='gentext.space'/>
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">copyright</xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name='gentext.space'/>
- <xsl:apply-templates select="year"/>
- <xsl:call-template name='gentext.space'/>
- <xsl:apply-templates select="holder"/>
- </xsl:template>
-
- <xsl:template match="copyright/holder">
- <xsl:apply-templates />
- </xsl:template>
- <xsl:template match="copyright/year[position()&lt;last()-1]">
- <xsl:apply-templates />
- <xsl:text>, </xsl:text>
- </xsl:template>
-
- <!-- RCAS 2003/03/11 FIXME : "and" -->
- <xsl:template match="copyright/year[position()=last()-1]">
- <xsl:apply-templates />
- <xsl:text>, </xsl:text>
- </xsl:template>
-
- <xsl:template match="copyright/year[position()=last()]">
- <xsl:apply-templates />
- </xsl:template>
-
-
-
-
- <!--#############################################################################
- | Template: name legalnotice.caption
- |- ############################################################################# -->
- <xsl:template name="legalnotice.caption">
- <xsl:choose>
- <xsl:when test="./title">
- <xsl:apply-templates select="./title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">legalnotice</xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
- <!--#############################################################################
- | Template: legalnotice
- |- ############################################################################# -->
- <xsl:template match="legalnotice">
- <!-- Support for legalnotice. -->
- <xsl:text>\vspace{-.3em}&#10;</xsl:text>
- <xsl:text>\if@twocolumn&#10;</xsl:text>
- <xsl:text>\noindent\small{\itshape &#10;</xsl:text>
- <xsl:call-template name="legalnotice.caption"/>
- <xsl:text>}\/\bfseries---$\!$%&#10;</xsl:text>
- <xsl:text>\else&#10;</xsl:text>
- <xsl:text>\noindent\begin{center}\small\bfseries &#10;</xsl:text>
- <xsl:call-template name="legalnotice.caption"/>
- <xsl:text>\end{center}\quotation\small&#10;</xsl:text>
- <xsl:text>\fi&#10;</xsl:text>
- <xsl:apply-templates select="*[not(self::title)]"/>
- <xsl:text>\vspace{0.6em}\par\if@twocolumn\else\endquotation\fi&#10;</xsl:text>
- <xsl:text>\normalsize\rmfamily&#10;</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="legalnotice/title">
- <xsl:apply-templates/>
- </xsl:template>
-
-
-
- <!--#############################################################################
- | $Id: book-article.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE: Table of Contents, Figures, ...
- + ############################################################################## -->
-
- <xsl:template match="toc">
- <xsl:text>&#10;</xsl:text>
- <xsl:text>\tableofcontents&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="lot">
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:choose>
- <xsl:when test="@label='figures'">
- <xsl:text>\listoffigures&#10;</xsl:text>
- </xsl:when>
- <xsl:when test="@label='tables'">
- <xsl:text>\listoftables&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\listoffigures&#10;</xsl:text>
- <xsl:text>\listoftables&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\listoffigures&#10;</xsl:text>
- <xsl:text>\listoftables&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
- <xsl:template match="lotentry">
- </xsl:template>
-
- <xsl:template match="lotentry"/>
- <xsl:template match="tocpart|tocchap|tocfront|tocback|tocentry"/>
- <xsl:template match="toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/>
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/bridgehead.mod.xsl b/docs/docbook/xslt/db2latex/bridgehead.mod.xsl
deleted file mode 100644
index 609633e04e..0000000000
--- a/docs/docbook/xslt/db2latex/bridgehead.mod.xsl
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: bridgehead.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="bridgehead" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: bridgehead.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author><firstname>Ramon</firstname> <surname>Casellas</surname></author>
- <author><firstname>James</firstname> <surname>Devenish</surname></author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>BridgeHead <filename>bridgehead.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para>Handle the <sgmltag class="element">bridgehead</sgmltag> element.</para>
- </section>
- </partintro>
- </doc:reference>
-
-
- <doc:template match="bridgehead" xmlns="">
- <refpurpose>
- A free-floating heading.
- </refpurpose>
- <refdescription>
- <para>
- Renders un-numbered section headings.
- For <literal>renderas</literal> values of sect1, sect2, and sect3, LaTeX <quote>star</quote> commands (such as <literal>\section*</literal>) are used.
- Otherwise, a bold heading is put on a line of its own.
- </para>
- </refdescription>
- </doc:template>
-
- <xsl:template match="bridgehead">
- <xsl:choose>
- <xsl:when test="@renderas='sect1' or @renderas='sect2' or @renderas='sect3'">
- <xsl:text>&#10;\</xsl:text>
- <xsl:if test="@renderas='sect2'"><xsl:text>sub</xsl:text></xsl:if>
- <xsl:if test="@renderas='sect3'"><xsl:text>subsub</xsl:text></xsl:if>
- <xsl:text>section*{</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>}</xsl:text>
- <xsl:call-template name="label.id"/>
- <xsl:text>&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>&#10;&#10;</xsl:text>
- <xsl:text>&#10;\noindent{\bfseries </xsl:text><xsl:apply-templates/><xsl:text>} \\ &#10;</xsl:text>
- <xsl:call-template name="label.id"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/callout.mod.xsl b/docs/docbook/xslt/db2latex/callout.mod.xsl
deleted file mode 100644
index 3eea0cf1bb..0000000000
--- a/docs/docbook/xslt/db2latex/callout.mod.xsl
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: callout.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="callout" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: callout.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Callout <filename>callout.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <xsl:template match="programlistingco|screenco">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="areaspec|areaset|area">
- </xsl:template>
-
- <xsl:template match="co">
- <xsl:apply-templates select="." mode="callout-bug"/>
- </xsl:template>
-
- <xsl:template match="co" mode="callout-bug">
- <xsl:variable name="conum">
- <xsl:number count="co" format="1"/>
- </xsl:variable>
-
- <xsl:text>(</xsl:text>
- <xsl:value-of select="$conum"/>
- <xsl:text>)</xsl:text>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/citation.mod.xsl b/docs/docbook/xslt/db2latex/citation.mod.xsl
deleted file mode 100644
index 4ab82411a8..0000000000
--- a/docs/docbook/xslt/db2latex/citation.mod.xsl
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: citation.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="citation" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: citation.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Citation <filename>citation.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para>This file contais a single (and simple!) XSL template, that maps the
- <sgmltag>citation</sgmltag> SGML tag to the LaTeX <literal>\cite{}</literal>
- command.</para>
- </section>
- </partintro>
- </doc:reference>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="citation" xmlns="">
- <refpurpose> Citation XSL template. </refpurpose>
- <refdescription>
- <para> Outputs a simple <literal>\cite{ }</literal> Command,
- containing the result of processing the citation's children
- </para>
- </refdescription>
- </doc:template>
-
-
-
- <xsl:template match="citation">
- <!-- todo: biblio-citation-check -->
- <xsl:text>\cite{</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>}</xsl:text>
- </xsl:template>
-
-</xsl:stylesheet>
-
-
diff --git a/docs/docbook/xslt/db2latex/common/ca.xml b/docs/docbook/xslt/db2latex/common/ca.xml
deleted file mode 100644
index fec3efff1a..0000000000
--- a/docs/docbook/xslt/db2latex/common/ca.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-<localization language="ca">
-
-<gentext key="abstract" text="Resum"/>
-<gentext key="appendix" text="Ap&#x00E8;ndix"/>
-<gentext key="article" text="Article"/>
-<gentext key="bibliography" text="Bibliografia"/>
-<gentext key="book" text="Llibre"/>
-<gentext key="caution" text="ATENCI&#x00D3;"/>
-<gentext key="caution" text="Atenci&#x00F3;"/>
-<gentext key="chapter" text="Cap&#x00ED;tol"/>
-<gentext key="copyright" text="Dret de reproducci&#x00F3;"/>
-<gentext key="dedication" text="Dedicat&#x00F2;ria"/>
-<gentext key="edition" text="Edici&#x00F3;"/>
-<gentext key="equation" text="Equaci&#x00F3;"/>
-<gentext key="example" text="Exemple"/>
-<gentext key="figure" text="Figura"/>
-<gentext key="glosssee" text="Veure"/>
-<gentext key="glossseealso" text="Veure tamb&#x00E9;"/>
-<gentext key="glossary" text="Glossari"/>
-<gentext key="important" text="IMPORTANT"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Important"/>
-<gentext key="index" text="&#x00CD;ndex alfab&#x00E8;tic"/>
-<gentext key="legalnotice" text=""/>
-<gentext key="msgaud" text="Audi&#x00E8;ncia"/>
-<gentext key="msglevel" text="Nivell"/>
-<gentext key="msgorig" text="Origen"/>
-<gentext key="note" text="NOTA"/>
-<gentext key="note" text="Nota"/>
-<gentext key="part" text="Part"/>
-<gentext key="preface" text="Prefaci"/>
-<gentext key="procedure" text="Procediment"/>
-<gentext key="pubdate" text="Data de publicaci&#x00F3;"/>
-<gentext key="published" text="Data de publicaci&#x00F3;"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="Refer&#x00E8;ncia"/>
-<gentext key="refname" text="Nom"/>
-<gentext key="revision" text="Revisi&#x00F3;"/>
-<gentext key="revhistory" text="Historial de revisions"/>
-<gentext key="section" text="Secci&#x00F3;"/>
-<gentext key="see" text="Veure"/>
-<gentext key="seealso" text="Veure tambi&#x00E9;"/>
-<gentext key="set" text="Conjunt"/>
-<gentext key="setindex" text="&#x00CD;ndex del conjunt"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="Pas"/>
-<gentext key="tip" text="SUGGERIMENT"/>
-<gentext key="table" text="Taula"/>
-<gentext key="tip" text="Suggeriment"/>
-<gentext key="warning" text="AV&#x00CD;S"/>
-<gentext key="warning" text="Av&#x00ED;s"/>
-<gentext key="appendix" text="ap&#x00E8;ndex"/>
-<gentext key="chapter" text="cap&#x00ED;tol"/>
-<gentext key="section" text="secci&#x00F3;"/>
-<gentext key="sidebar" text="glossa"/>
-<gentext key="step" text="pas"/>
-<gentext key="seealso" text="Veure tamb&#x00E9;"/>
-
-<gentext key="TableofContents" text="Sumari"/>
-<gentext key="in" text="a"/>
-<gentext key="by" text="per"/>
-<gentext key="Edited" text="Editat"/>
-<gentext key="Editedby" text="Editat per"/>
-<gentext key="and" text="i"/>
-<gentext key="Notes" text="Notes"/>
-<gentext key="TableNotes" text="Notes"/>
-<gentext key="nonexistantelement" text="element inexistent"/>
-<gentext key="Pgs" text="P&#x00E0;gs."/>
-<gentext key="unsupported" text="no reconeguda"/>
-<gentext key="xrefto" text="xref a"/>
-<gentext key="unexpectedelementname" text="Nom d'element no esperat"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="&#x00CD;ndex de taules"/>
-<gentext key="ListofExamples" text="&#x00CD;ndex d'exemples"/>
-<gentext key="ListofFigures" text="&#x00CD;ndex de figures"/>
-<gentext key="ListofEquations" text="&#x00CD;ndex d'equacions"/>
-<gentext key="ListofUnknown" text="&#x00CD;ndex de desconegut ?"/>
-
-<gentext key="nav-prev" text="Anterior"/>
-<gentext key="nav-prev-sibling" text="Retrocedir"/>
-<gentext key="nav-next-sibling" text="Avancar"/>
-<gentext key="nav-next" text="Seguent"/>
-<gentext key="nav-up" text="Pujar"/>
-<gentext key="nav-home" text="Inici"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/common.xsl b/docs/docbook/xslt/db2latex/common/common.xsl
deleted file mode 100644
index 67cee9d94d..0000000000
--- a/docs/docbook/xslt/db2latex/common/common.xsl
+++ /dev/null
@@ -1,1929 +0,0 @@
-<?xml version='1.0'?>
-<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'>
-
-<!-- ********************************************************************
- $Id: common.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- ********************************************************************
-
- Derived from the official DocBook XSL Stylesheets
- See http://nwalsh.com/docbook/xsl/ for copyright and other information.
-
- This file contains general templates common to both the HTML and FO
- versions of the DocBook stylesheets.
- ******************************************************************** -->
-
-<doc:reference xmlns="">
-<referenceinfo>
-<releaseinfo role="meta"> $Id: common.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $ </releaseinfo>
-<author>
- <surname>Ramon</surname>
- <firstname>Casellas</firstname>
-</author>
-<copyright>
- <year>1999</year><year>2000</year>
- <holder>Norman Walsh</holder>
-</copyright>
-</referenceinfo>
-<title>Common Template Reference</title>
-
-<partintro>
-<section><title>Introduction</title>
-
-<para>This is technical reference documentation for the DocBook XSL
-Stylesheets; it documents (some of) the parameters, templates, and
-other elements of the stylesheets.</para>
-
-<para>This is not intended to be <quote>user</quote> documentation.
-It is provided for developers writing customization layers for the
-stylesheets, and for anyone who's interested in <quote>how it
-works</quote>.</para>
-
-<para>Although I am trying to be thorough, this documentation is known
-to be incomplete. Don't forget to read the source, too :-)</para>
-</section>
-</partintro>
-
-</doc:reference>
-
-<!-- ==================================================================== -->
-<!-- Establish strip/preserve whitespace rules -->
-
-<xsl:preserve-space elements="*"/>
-
-<xsl:strip-space elements="
-abstract affiliation anchor answer appendix area areaset areaspec
-artheader article audiodata audioobject author authorblurb authorgroup
-beginpage bibliodiv biblioentry bibliography biblioset blockquote book
-bookbiblio bookinfo callout calloutlist caption caution chapter
-citerefentry cmdsynopsis co collab colophon colspec confgroup
-copyright dedication docinfo editor entry entrytbl epigraph equation
-example figure footnote footnoteref formalpara funcprototype
-funcsynopsis glossary glossdef glossdiv glossentry glosslist graphicco
-group highlights imagedata imageobject imageobjectco important index
-indexdiv indexentry indexterm informalequation informalexample
-informalfigure informaltable inlineequation inlinemediaobject
-itemizedlist itermset keycombo keywordset legalnotice listitem lot
-mediaobject mediaobjectco menuchoice msg msgentry msgexplan msginfo
-msgmain msgrel msgset msgsub msgtext note objectinfo
-orderedlist othercredit part partintro preface printhistory procedure
-programlistingco publisher qandadiv qandaentry qandaset question
-refentry reference refmeta refnamediv refsect1 refsect1info refsect2
-refsect2info refsect3 refsect3info refsynopsisdiv refsynopsisdivinfo
-revhistory revision row sbr screenco screenshot sect1 sect1info sect2
-sect2info sect3 sect3info sect4 sect4info sect5 sect5info section
-sectioninfo seglistitem segmentedlist seriesinfo set setindex setinfo
-shortcut sidebar simplelist simplesect spanspec step subject
-subjectset substeps synopfragment table tbody textobject tfoot tgroup
-thead tip toc tocchap toclevel1 toclevel2 toclevel3 toclevel4
-toclevel5 tocpart varargs variablelist varlistentry videodata
-videoobject void warning subjectset
-
-classsynopsis
-constructorsynopsis
-destructorsynopsis
-fieldsynopsis
-methodparam
-methodsynopsis
-ooclass
-ooexception
-oointerface
-simplemsgentry
-"/>
-
-<!-- ====================================================================== -->
-
-<doc:template name="is.component" xmlns="">
-<refpurpose>Tests if a given node is a component-level element</refpurpose>
-
-<refdescription>
-<para>This template returns '1' if the specified node is a component
-(Chapter, Appendix, etc.), and '0' otherwise.</para>
-</refdescription>
-
-<refparameter>
-<variablelist>
-<varlistentry><term>node</term>
-<listitem>
-<para>The node which is to be tested.</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</refparameter>
-
-<refreturn>
-<para>This template returns '1' if the specified node is a component
-(Chapter, Appendix, etc.), and '0' otherwise.</para>
-</refreturn>
-</doc:template>
-
-<xsl:template name="is.component">
- <xsl:param name="node" select="."/>
- <xsl:choose>
- <xsl:when test="local-name($node) = 'appendix'
- or local-name($node) = 'article'
- or local-name($node) = 'chapter'
- or local-name($node) = 'preface'
- or local-name($node) = 'bibliography'
- or local-name($node) = 'glossary'
- or local-name($node) = 'index'">1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<doc:template name="is.section" xmlns="">
-<refpurpose>Tests if a given node is a section-level element</refpurpose>
-
-<refdescription>
-<para>This template returns '1' if the specified node is a section
-(Section, Sect1, Sect2, etc.), and '0' otherwise.</para>
-</refdescription>
-
-<refparameter>
-<variablelist>
-<varlistentry><term>node</term>
-<listitem>
-<para>The node which is to be tested.</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</refparameter>
-
-<refreturn>
-<para>This template returns '1' if the specified node is a section
-(Section, Sect1, Sect2, etc.), and '0' otherwise.</para>
-</refreturn>
-</doc:template>
-
-<xsl:template name="is.section">
- <xsl:param name="node" select="."/>
- <xsl:choose>
- <xsl:when test="local-name($node) = 'section'
- or local-name($node) = 'sect1'
- or local-name($node) = 'sect2'
- or local-name($node) = 'sect3'
- or local-name($node) = 'sect4'
- or local-name($node) = 'sect5'
- or local-name($node) = 'refsect1'
- or local-name($node) = 'refsect2'
- or local-name($node) = 'refsect3'
- or local-name($node) = 'simplesect'">1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<doc:template name="section.level" xmlns="">
-<refpurpose>Returns the hierarchical level of a section.</refpurpose>
-
-<refdescription>
-<para>This template calculates the hierarchical level of a section.
-Hierarchically, components are <quote>top level</quote>, so a
-<sgmltag>sect1</sgmltag> is at level 2, <sgmltag>sect3</sgmltag> is
-at level 3, etc.</para>
-
-<para>Recursive sections are calculated down to the sixth level.</para>
-</refdescription>
-
-<refparameter>
-<variablelist>
-<varlistentry><term>node</term>
-<listitem>
-<para>The section node for which the level should be calculated.
-Defaults to the context node.</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</refparameter>
-
-<refreturn>
-<para>The section level, <quote>2</quote>, <quote>3</quote>, etc.
-</para>
-</refreturn>
-</doc:template>
-
-<xsl:template name="section.level">
- <xsl:param name="node" select="."/>
- <xsl:choose>
- <xsl:when test="name($node)='sect1'">2</xsl:when>
- <xsl:when test="name($node)='sect2'">3</xsl:when>
- <xsl:when test="name($node)='sect3'">4</xsl:when>
- <xsl:when test="name($node)='sect4'">5</xsl:when>
- <xsl:when test="name($node)='sect5'">6</xsl:when>
- <xsl:when test="name($node)='section'">
- <xsl:choose>
- <xsl:when test="$node/../../../../../section">6</xsl:when>
- <xsl:when test="$node/../../../../section">5</xsl:when>
- <xsl:when test="$node/../../../section">4</xsl:when>
- <xsl:when test="$node/../../section">3</xsl:when>
- <xsl:otherwise>2</xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:when test="name($node)='simplesect'">
- <xsl:choose>
- <xsl:when test="$node/../../sect1">3</xsl:when>
- <xsl:when test="$node/../../sect2">4</xsl:when>
- <xsl:when test="$node/../../sect3">5</xsl:when>
- <xsl:when test="$node/../../sect4">6</xsl:when>
- <xsl:when test="$node/../../sect5">6</xsl:when>
- <xsl:when test="$node/../../section">
- <xsl:choose>
- <xsl:when test="$node/../../../../../section">6</xsl:when>
- <xsl:when test="$node/../../../../section">5</xsl:when>
- <xsl:when test="$node/../../../section">4</xsl:when>
- <xsl:otherwise>3</xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>2</xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>2</xsl:otherwise>
- </xsl:choose>
-</xsl:template><!-- section.level -->
-
-<doc:template name="qanda.section.level" xmlns="">
-<refpurpose>Returns the hierarchical level of a QandASet.</refpurpose>
-
-<refdescription>
-<para>This template calculates the hierarchical level of a QandASet.
-</para>
-</refdescription>
-
-<refreturn>
-<para>The level, <quote>1</quote>, <quote>2</quote>, etc.
-</para>
-</refreturn>
-</doc:template>
-
-<xsl:template name="qanda.section.level">
- <xsl:variable name="section"
- select="(ancestor::section
- |ancestor::simplesect
- |ancestor::sect5
- |ancestor::sect4
- |ancestor::sect3
- |ancestor::sect2
- |ancestor::sect1
- |ancestor::refsect3
- |ancestor::refsect2
- |ancestor::refsect1)[last()]"/>
- <xsl:choose>
- <xsl:when test="count($section) = '0'">1</xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="section.level">
- <xsl:with-param name="node" select="$section"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="qandadiv.section.level">
- <xsl:variable name="section.level">
- <xsl:call-template name="qanda.section.level"/>
- </xsl:variable>
- <xsl:variable name="anc.divs" select="ancestor::qandadiv"/>
-
- <xsl:value-of select="count($anc.divs) + number($section.level)"/>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="object.id">
- <xsl:param name="object" select="."/>
- <xsl:choose>
- <xsl:when test="$object/@id">
- <xsl:value-of select="$object/@id"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="generate-id($object)"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="person.name">
- <!-- Return a formatted string representation of the contents of
- the specified node (by default, the current element).
- Handles Honorific, FirstName, SurName, and Lineage.
- If %author-othername-in-middle% is #t, also OtherName
- Handles *only* the first of each.
- Format is "Honorific. FirstName [OtherName] SurName, Lineage"
- -->
- <xsl:param name="node" select="."/>
-
- <xsl:choose>
- <!-- handle corpauthor as a special case...-->
- <xsl:when test="name($node)='corpauthor'">
- <xsl:apply-templates select="$node"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="h_nl" select="$node//honorific[1]"/>
- <xsl:variable name="f_nl" select="$node//firstname[1]"/>
- <xsl:variable name="o_nl" select="$node//othername[1]"/>
- <xsl:variable name="s_nl" select="$node//surname[1]"/>
- <xsl:variable name="l_nl" select="$node//lineage[1]"/>
-
- <xsl:variable name="has_h" select="$h_nl"/>
- <xsl:variable name="has_f" select="$f_nl"/>
- <xsl:variable name="has_o"
- select="$o_nl and ($author.othername.in.middle != 0)"/>
- <xsl:variable name="has_s" select="$s_nl"/>
- <xsl:variable name="has_l" select="$l_nl"/>
-
- <xsl:if test="$has_h">
- <xsl:value-of select="$h_nl"/>.
- </xsl:if>
-
- <xsl:if test="$has_f">
- <xsl:if test="$has_h"><xsl:text> </xsl:text></xsl:if>
- <xsl:value-of select="$f_nl"/>
- </xsl:if>
-
- <xsl:if test="$has_o">
- <xsl:if test="$has_h or $has_f"><xsl:text> </xsl:text></xsl:if>
- <xsl:value-of select="$o_nl"/>
- </xsl:if>
-
- <xsl:if test="$has_s">
- <xsl:if test="$has_h or $has_f or $has_o">
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:value-of select="$s_nl"/>
- </xsl:if>
-
- <xsl:if test="$has_l">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="$l_nl"/>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template> <!-- person.name -->
-
-<xsl:template name="person.name.list">
- <!-- Return a formatted string representation of the contents of
- the current element. The current element must contain one or
- more AUTHORs, CORPAUTHORs, OTHERCREDITs, and/or EDITORs.
-
- John Doe
- or
- John Doe and Jane Doe
- or
- John Doe, Jane Doe, and A. Nonymous
- -->
- <xsl:param name="person.list" select="./author|./corpauthor|./othercredit|./editor"/>
- <xsl:param name="person.count" select="count($person.list)"/>
- <xsl:param name="count" select="1"/>
-
- <xsl:choose>
- <xsl:when test="$count>$person.count"></xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="person.name">
- <xsl:with-param name="node" select="$person.list[position()=$count]"/>
- </xsl:call-template>
- <xsl:if test="$count&lt;$person.count">
- <xsl:if test="$person.count>2">,</xsl:if>
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:if test="$count+1=$person.count">and </xsl:if>
- <xsl:call-template name="person.name.list">
- <xsl:with-param name="person.list" select="$person.list"/>
- <xsl:with-param name="person.count" select="$person.count"/>
- <xsl:with-param name="count" select="$count+1"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template><!-- person.name.list -->
-
-<!-- === synopsis ======================================================= -->
-<!-- The following definitions match those given in the reference
- documentation for DocBook V3.0
--->
-
-<xsl:variable name="arg.choice.opt.open.str">[</xsl:variable>
-<xsl:variable name="arg.choice.opt.close.str">]</xsl:variable>
-<xsl:variable name="arg.choice.req.open.str">{</xsl:variable>
-<xsl:variable name="arg.choice.req.close.str">}</xsl:variable>
-<xsl:variable name="arg.choice.plain.open.str"><xsl:text> </xsl:text></xsl:variable>
-<xsl:variable name="arg.choice.plain.close.str"><xsl:text> </xsl:text></xsl:variable>
-<xsl:variable name="arg.choice.def.open.str">[</xsl:variable>
-<xsl:variable name="arg.choice.def.close.str">]</xsl:variable>
-<xsl:variable name="arg.rep.repeat.str">...</xsl:variable>
-<xsl:variable name="arg.rep.norepeat.str"></xsl:variable>
-<xsl:variable name="arg.rep.def.str"></xsl:variable>
-<xsl:variable name="arg.or.sep"> | </xsl:variable>
-<xsl:variable name="cmdsynopsis.hanging.indent">4pi</xsl:variable>
-
-<!-- ====================================================================== -->
-<!-- label content -->
-
-<doc:mode mode="label.content" xmlns="">
-<refpurpose>Provides access to element labels</refpurpose>
-<refdescription>
-<para>Processing an element in the
-<literal role="mode">label.content</literal> mode produces the
-element label.</para>
-<para>If the label is non-null, either because the
-<sgmltag class="attribute">label</sgmltag> attribute was present on the
-element or the stylesheet automatically generated a label, trailing
-punctuation is automatically added.</para>
-</refdescription>
-</doc:mode>
-
-<xsl:template match="*" mode="label.content">
- <xsl:message>
- <xsl:text>Request for label of unexpected element: </xsl:text>
- <xsl:value-of select="name(.)"/>
- </xsl:message>
-</xsl:template>
-
-<xsl:template match="set|book" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
-</xsl:template>
-
-<xsl:template match="part" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$part.autolabel != 0">
- <xsl:number from="book" count="part" format="I"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="preface" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$preface.autolabel != 0">
- <xsl:number from="book" count="preface" format="1" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="chapter" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$chapter.autolabel != 0">
- <xsl:number from="book" count="chapter" format="1" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="appendix" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$chapter.autolabel != 0">
- <xsl:number from="book" count="appendix" format="A" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="article" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
-</xsl:template>
-
-<xsl:template match="dedication|colophon" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
-</xsl:template>
-
-<xsl:template match="reference" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$part.autolabel != 0">
- <xsl:number from="book" count="reference" format="I" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="refentry" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
-</xsl:template>
-
-<xsl:template match="section" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
-
- <!-- if this is a nested section, label the parent -->
- <xsl:if test="local-name(..) = 'section'">
- <xsl:apply-templates select=".." mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
- </xsl:if>
-
- <!-- if the parent is a component, maybe label that too -->
- <xsl:variable name="parent.is.component">
- <xsl:call-template name="is.component">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
- </xsl:variable>
-
- <!-- does this section get labelled? -->
- <xsl:variable name="label">
- <xsl:call-template name="label.this.section">
- <xsl:with-param name="section" select="."/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:if test="$section.label.includes.component.label != 0
- and $parent.is.component != 0">
- <xsl:apply-templates select=".." mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$label != 0">
- <xsl:number count="section"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="sect1" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
-
- <!-- if the parent is a component, maybe label that too -->
- <xsl:variable name="parent.is.component">
- <xsl:call-template name="is.component">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:if test="$section.label.includes.component.label != 0
- and $parent.is.component">
- <xsl:apply-templates select=".." mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$section.autolabel != 0">
- <xsl:number count="sect1"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="sect2|sect3|sect4|sect5" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
-
- <!-- label the parent -->
- <xsl:apply-templates select=".." mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
-
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$section.autolabel != 0">
- <xsl:choose>
- <xsl:when test="local-name(.) = 'sect2'">
- <xsl:number count="sect2"/>
- </xsl:when>
- <xsl:when test="local-name(.) = 'sect3'">
- <xsl:number count="sect3"/>
- </xsl:when>
- <xsl:when test="local-name(.) = 'sect4'">
- <xsl:number count="sect4"/>
- </xsl:when>
- <xsl:when test="local-name(.) = 'sect5'">
- <xsl:number count="sect5"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message>label.content: this can't happen!</xsl:message>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="refsect1|refsect2|refsect3" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$section.autolabel != 0">
- <xsl:number level="multiple" count="refsect1|refsect2|refsect3"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="simplesect" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$section.autolabel != 0">
- <xsl:number level="multiple" count="section
- |sect1|sect2|sect3|sect4|sect5
- |refsect1|refsect2|refsect3
- |simplesect"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="qandadiv" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:variable name="prefix">
- <xsl:if test="$qanda.inherit.numeration != 0">
- <xsl:variable name="lparent" select="(ancestor::set
- |ancestor::book
- |ancestor::chapter
- |ancestor::appendix
- |ancestor::preface
- |ancestor::section
- |ancestor::simplesect
- |ancestor::sect1
- |ancestor::sect2
- |ancestor::sect3
- |ancestor::sect4
- |ancestor::sect5
- |ancestor::refsect1
- |ancestor::refsect2
- |ancestor::refsect3)[last()]"/>
- <xsl:if test="count($lparent)>0">
- <xsl:apply-templates select="$lparent" mode="label.content"/>
- </xsl:if>
- </xsl:if>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="$prefix"/>
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$qandadiv.autolabel != 0">
- <xsl:value-of select="$prefix"/>
- <xsl:number level="multiple" count="qandadiv" format="1"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="question|answer" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:variable name="prefix">
- <xsl:if test="$qanda.inherit.numeration != 0">
- <xsl:variable name="lparent" select="(ancestor::set
- |ancestor::book
- |ancestor::chapter
- |ancestor::appendix
- |ancestor::preface
- |ancestor::section
- |ancestor::simplesect
- |ancestor::sect1
- |ancestor::sect2
- |ancestor::sect3
- |ancestor::sect4
- |ancestor::sect5
- |ancestor::refsect1
- |ancestor::refsect2
- |ancestor::refsect3
- |ancestor::qandadiv)[last()]"/>
- <xsl:if test="count($lparent)>0">
- <xsl:apply-templates select="$lparent" mode="label.content"/>
- </xsl:if>
- </xsl:if>
- </xsl:variable>
-
- <xsl:variable name="inhlabel"
- select="ancestor-or-self::qandaset/@defaultlabel[1]"/>
-
- <xsl:variable name="deflabel">
- <xsl:choose>
- <xsl:when test="$inhlabel != ''">
- <xsl:value-of select="$inhlabel"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$qanda.defaultlabel"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="label" select="label"/>
-
- <xsl:choose>
- <xsl:when test="count($label)>0">
- <xsl:value-of select="$prefix"/>
- <xsl:apply-templates select="$label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
-
- <xsl:when test="$deflabel = 'qanda'">
- <xsl:call-template name="gentext.element.name"/>
- </xsl:when>
-
- <xsl:when test="$deflabel = 'number'">
- <xsl:if test="name(.) = 'question'">
- <xsl:value-of select="$prefix"/>
- <xsl:number level="multiple" count="qandaentry" format="1"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="bibliography|glossary|index" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
-</xsl:template>
-
-<xsl:template match="figure|table|example|equation" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="pchap"
- select="ancestor::chapter|ancestor::appendix"/>
- <xsl:choose>
- <xsl:when test="count($pchap)>0">
- <xsl:apply-templates select="$pchap" mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
- <xsl:number format="1" from="chapter|appendix" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:number format="1" from="book|article" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="abstract" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="label.this.section">
- <xsl:param name="section" select="."/>
- <xsl:value-of select="$section.autolabel"/>
-</xsl:template>
-
-<doc:template name="label.this.section" xmlns="">
-<refpurpose>Returns true if $section should be labelled</refpurpose>
-<refdescription>
-<para>Returns true if the specified section should be labelled.
-By default, this template simply returns $section.autolabel, but
-custom stylesheets may override it to get more selective behavior.</para>
-</refdescription>
-</doc:template>
-
-<!-- ====================================================================== -->
-<!-- title content -->
-
-<doc:mode mode="title.content" xmlns="">
-<refpurpose>Provides access to element titles</refpurpose>
-<refdescription>
-<para>Processing an element in the
-<literal role="mode">title.content</literal> mode produces the
-title of the element. This does not include the label. If
-<parameter>text-only</parameter> is true, the text of the title
-is returned, without inline markup, otherwise inline markup is processed
-(in the default mode). By default, <parameter>text-only</parameter>
-is false.
-</para>
-</refdescription>
-</doc:mode>
-
-<xsl:template match="*" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:choose>
- <xsl:when test="title">
- <xsl:apply-templates select="title[1]" mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message>
- <xsl:text>Request for title of unexpected element: </xsl:text>
- <xsl:value-of select="name(.)"/>
- </xsl:message>
- <xsl:text>???TITLE???</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="*" mode="no.anchor.mode">
- <xsl:apply-templates select="."/>
-</xsl:template>
-
-<xsl:template match="anchor" mode="no.anchor.mode">
- <!-- nop, suppressed -->
-</xsl:template>
-
-<xsl:template match="title" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:choose>
- <xsl:when test="$text-only != 0">
- <xsl:value-of select="."/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$allow-anchors != 0">
- <xsl:apply-templates/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates mode="no.anchor.mode"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="set" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(setinfo/title|title)[1]"
- mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="book" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(bookinfo/title|title)[1]"
- mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="part" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(partinfo/title|docinfo/title|title)[1]"
- mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="preface|chapter|appendix" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:variable name="title" select="(docinfo/title
- |prefaceinfo/title
- |chapterinfo/title
- |appendixinfo/title
- |title)[1]"/>
- <xsl:choose>
- <xsl:when test="$title">
- <xsl:apply-templates select="$title" mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name" select="name(.)"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="dedication|colophon" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:choose>
- <xsl:when test="title">
- <xsl:apply-templates select="title" mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name" select="name(.)"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="article" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:variable name="title" select="(artheader/title
- |articleinfo/title
- |title)[1]"/>
-
- <xsl:apply-templates select="$title" mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="reference" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(referenceinfo/title|docinfo/title|title)[1]"
- mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="refentry" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:variable name="refmeta" select=".//refmeta"/>
- <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/>
- <xsl:variable name="refnamediv" select=".//refnamediv"/>
- <xsl:variable name="refname" select="$refnamediv//refname"/>
-
- <xsl:variable name="title">
- <xsl:choose>
- <xsl:when test="$refentrytitle">
- <xsl:apply-templates select="$refentrytitle[1]" mode="title.content"/>
- </xsl:when>
- <xsl:when test="$refname">
- <xsl:apply-templates select="$refname[1]" mode="title.content"/>
- </xsl:when>
- <xsl:otherwise>REFENTRY WITHOUT TITLE???</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$text-only != 0">
- <xsl:value-of select="$title"/>
- </xsl:when>
- <xsl:otherwise><xsl:copy-of select="$title"/></xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="refentrytitle|refname" mode="title.content">
- <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="section
- |sect1|sect2|sect3|sect4|sect5
- |refsect1|refsect2|refsect3
- |simplesect"
- mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:variable name="title" select="(sectioninfo/title
- |sect1info/title
- |sect2info/title
- |sect3info/title
- |sect4info/title
- |sect5info/title
- |refsect1info/title
- |refsect2info/title
- |refsect3info/title
- |title)[1]"/>
-
- <xsl:apply-templates select="$title" mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="bibliography|glossary|index" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:choose>
- <xsl:when test="title">
- <xsl:apply-templates select="title" mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name" select="name(.)"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="figure|table|example|equation" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="title" mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="abstract" mode="title.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:choose>
- <xsl:when test="title">
- <xsl:apply-templates select="title" mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name" select="name(.)"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- subtitle content -->
-
-<doc:mode mode="subtitle.content" xmlns="">
-<refpurpose>Provides access to element subtitles</refpurpose>
-<refdescription>
-<para>Processing an element in the
-<literal role="mode">subtitle.content</literal> mode produces the
-subtitle of the element. If
-<parameter>text-only</parameter> is true, the text of the title
-is returned, without inline markup, otherwise inline markup is processed
-(in the default mode). By default, <parameter>text-only</parameter>
-is false.
-</para>
-</refdescription>
-</doc:mode>
-
-<xsl:template match="*" mode="subtitle.content">
- <xsl:message>
- <xsl:text>Request for subtitle of unexpected element: </xsl:text>
- <xsl:value-of select="name(.)"/>
- </xsl:message>
- <xsl:text>???SUBTITLE???</xsl:text>
-</xsl:template>
-
-<xsl:template match="subtitle" mode="subtitle.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:choose>
- <xsl:when test="$text-only != 0">
- <xsl:value-of select="."/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="set" mode="subtitle.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(setinfo/subtitle|subtitle)[1]"
- mode="subtitle.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="book" mode="subtitle.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(bookinfo/subtitle|subtitle)[1]"
- mode="subtitle.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="part" mode="subtitle.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(partinfo/subtitle
- |docinfo/subtitle
- |subtitle)[1]"
- mode="subtitle.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="preface|chapter|appendix" mode="subtitle.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(docinfo/subtitle
- |prefaceinfo/subtitle
- |chapterinfo/subtitle
- |appendixinfo/subtitle
- |subtitle)[1]"
- mode="subtitle.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="dedication|colophon" mode="subtitle.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="subtitle"
- mode="subtitle.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="reference" mode="subtitle.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(referenceinfo/subtitle
- |docinfo/subtitle
- |subtitle)[1]"
- mode="subtitle.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="refentry" mode="subtitle.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(refentryinfo/subtitle
- |docinfo/subtitle)[1]"
- mode="subtitle.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<xsl:template match="section
- |sect1|sect2|sect3|sect4|sect5
- |refsect1|refsect2|refsect3
- |simplesect"
- mode="subtitle.content">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(sectioninfo/subtitle
- |sect1info/subtitle
- |sect2info/subtitle
- |sect3info/subtitle
- |sect4info/subtitle
- |sect5info/subtitle
- |refsect1info/subtitle
- |refsect2info/subtitle
- |refsect3info/subtitle
- |subtitle)[1]"
- mode="subtitle.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- title reference (label + title) -->
-
-<doc:mode mode="title.ref" xmlns="">
-<refpurpose>Provides reference text for an element</refpurpose>
-<refdescription>
-<para>Processing an element in the
-<literal role="mode">title.ref</literal> mode produces the
-label and title of the element.
-</para>
-</refdescription>
-<refparameter>
-<variablelist>
-<varlistentry><term>text-only</term>
-<listitem>
-<para> If
-<parameter>text-only</parameter> is true, the text of the title
-is returned, without inline markup, otherwise inline markup is processed
-(in the default mode). By default, <parameter>text-only</parameter>
-is false.</para>
-</listitem>
-</varlistentry>
-<varlistentry><term>label-wrapper</term>
-<listitem>
-<para>If <parameter>label-wrapper</parameter> is not the emtpy string,
-it must be the name of an element. The element so named will be wrapped
-around labels on output.</para>
-</listitem>
-</varlistentry>
-<varlistentry><term>title-wrapper</term>
-<listitem>
-<para>If <parameter>title.wrapper</parameter> is not the emtpy string,
-it must be the name of an element. The element so named will be wrapped
-around titles on output.</para>
-</listitem>
-</varlistentry>
-<varlistentry><term>label-wrapper-class</term>
-<listitem>
-<para>If a <parameter>label-wrapper</parameter> is provided and
-<parameter>label-wrapper-class</parameter> is not the emtpy string,
-it be used as the value for a <sgmltag class="attribute">class</sgmltag>
-attribute on the <parameter>label-wrapper</parameter> element.</para>
-<para>This is a dirty hack because it only makes sense for the HTML
-stylesheet (there's no <sgmltag class="attribute">class</sgmltag> attribute
-on the FO elements). What I'd really like to do is pass an attribute
-set as a parameter, but I can't.</para>
-</listitem>
-</varlistentry>
-<varlistentry><term>title-wrapper-class</term>
-<listitem>
-<para>If a <parameter>title-wrapper</parameter> is provided and
-<parameter>title-wrapper-class</parameter> is not the emtpy string,
-it be used as the value for a <sgmltag class="attribute">class</sgmltag>
-attribute on the <parameter>title-wrapper</parameter> element.</para>
-<para>This is a dirty hack because it only makes sense for the HTML
-stylesheet (there's no <sgmltag class="attribute">class</sgmltag> attribute
-on the FO elements). What I'd really like to do is pass an attribute
-set as a parameter, but I can't.</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</refparameter>
-</doc:mode>
-
-<xsl:template match="*" mode="title.ref">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:param name="label-wrapper" select="''"/>
- <xsl:param name="title-wrapper" select="''"/>
- <!-- Dirty hack -->
- <xsl:param name="label-wrapper-class" select="''"/>
- <xsl:param name="title-wrapper-class" select="''"/>
-
- <xsl:variable name="label">
- <xsl:apply-templates select="." mode="label.content"/>
- </xsl:variable>
-
- <xsl:if test="$label != ''">
- <xsl:choose>
- <xsl:when test="$text-only = 0">
- <xsl:choose>
- <xsl:when test="$label-wrapper != ''">
- <xsl:element name="{$label-wrapper}">
- <xsl:if test="$label-wrapper-class != ''">
- <xsl:attribute name="class">
- <xsl:value-of select="$label-wrapper-class"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:copy-of select="$label"/>
- </xsl:element>
- </xsl:when>
- <xsl:otherwise>
- <xsl:copy-of select="$label"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text> </xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$label"/>
- <xsl:text> </xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="$text-only = 0">
- <xsl:choose>
- <xsl:when test="$title-wrapper != ''">
- <xsl:element name="{$title-wrapper}">
- <xsl:if test="$title-wrapper-class != ''">
- <xsl:attribute name="class">
- <xsl:value-of select="$title-wrapper-class"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:apply-templates select="." mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:element>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="." mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="." mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="figure|table|example|equation
- |chapter|appendix" mode="title.ref">
- <xsl:param name="text-only" select="'0'"/>
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:param name="label-wrapper" select="''"/>
- <xsl:param name="title-wrapper" select="''"/>
- <!-- Dirty hack -->
- <xsl:param name="label-wrapper-class" select="''"/>
- <xsl:param name="title-wrapper-class" select="''"/>
-
- <xsl:variable name="label">
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">
- <xsl:value-of select="name(.)"/>
- </xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name="gentext.space"/>
- <xsl:apply-templates select="." mode="label.content"/>
- </xsl:variable>
-
- <xsl:if test="$label != ''">
- <xsl:choose>
- <xsl:when test="$text-only = 0">
- <xsl:choose>
- <xsl:when test="$label-wrapper != ''">
- <xsl:element name="{$label-wrapper}">
- <xsl:if test="$label-wrapper-class != ''">
- <xsl:attribute name="class">
- <xsl:value-of select="$label-wrapper-class"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:copy-of select="$label"/>
- </xsl:element>
- </xsl:when>
- <xsl:otherwise>
- <xsl:copy-of select="$label"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text> </xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$label"/>
- <xsl:text> </xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="$text-only = 0">
- <xsl:choose>
- <xsl:when test="$title-wrapper != ''">
- <xsl:element name="{$title-wrapper}">
- <xsl:if test="$title-wrapper-class != ''">
- <xsl:attribute name="class">
- <xsl:value-of select="$title-wrapper-class"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:apply-templates select="." mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:element>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="." mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="." mode="title.content">
- <xsl:with-param name="text-only" select="$text-only"/>
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="xref.g.subst">
- <xsl:param name="string"></xsl:param>
- <xsl:param name="target" select="."/>
- <xsl:variable name="subst">%g</xsl:variable>
-
- <xsl:choose>
- <xsl:when test="contains($string, $subst)">
- <xsl:value-of select="substring-before($string, $subst)"/>
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name" select="name($target)"/>
- </xsl:call-template>
- <xsl:call-template name="xref.g.subst">
- <xsl:with-param name="string"
- select="substring-after($string, $subst)"/>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$string"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="xref.t.subst">
- <xsl:param name="string"></xsl:param>
- <xsl:param name="target" select="."/>
- <xsl:variable name="subst">%t</xsl:variable>
-
- <xsl:choose>
- <xsl:when test="contains($string, $subst)">
- <xsl:call-template name="xref.g.subst">
- <xsl:with-param name="string"
- select="substring-before($string, $subst)"/>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- <xsl:call-template name="title.xref">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- <xsl:call-template name="xref.t.subst">
- <xsl:with-param name="string"
- select="substring-after($string, $subst)"/>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="xref.g.subst">
- <xsl:with-param name="string" select="$string"/>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="xref.n.subst">
- <xsl:param name="string"></xsl:param>
- <xsl:param name="target" select="."/>
- <xsl:variable name="subst">%n</xsl:variable>
-
- <xsl:choose>
- <xsl:when test="contains($string, $subst)">
- <xsl:call-template name="xref.t.subst">
- <xsl:with-param name="string"
- select="substring-before($string, $subst)"/>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- <xsl:call-template name="number.xref">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- <xsl:call-template name="xref.t.subst">
- <xsl:with-param name="string"
- select="substring-after($string, $subst)"/>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="xref.t.subst">
- <xsl:with-param name="string" select="$string"/>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="subst.xref.text">
- <xsl:param name="xref.text"></xsl:param>
- <xsl:param name="target" select="."/>
-
- <xsl:call-template name="xref.n.subst">
- <xsl:with-param name="string" select="$xref.text"/>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="filename-basename">
- <!-- We assume all filenames are really URIs and use "/" -->
- <xsl:param name="filename"></xsl:param>
- <xsl:param name="recurse" select="false()"/>
-
- <xsl:choose>
- <xsl:when test="substring-after($filename, '/') != ''">
- <xsl:call-template name="filename-basename">
- <xsl:with-param name="filename"
- select="substring-after($filename, '/')"/>
- <xsl:with-param name="recurse" select="true()"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$filename"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="filename-extension">
- <xsl:param name="filename"></xsl:param>
- <xsl:param name="recurse" select="false()"/>
-
- <!-- Make sure we only look at the base name... -->
- <xsl:variable name="basefn">
- <xsl:choose>
- <xsl:when test="$recurse">
- <xsl:value-of select="$filename"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="filename-basename">
- <xsl:with-param name="filename" select="$filename"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="substring-after($basefn, '.') != ''">
- <xsl:call-template name="filename-extension">
- <xsl:with-param name="filename"
- select="substring-after($basefn, '.')"/>
- <xsl:with-param name="recurse" select="true()"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$recurse">
- <xsl:value-of select="$basefn"/>
- </xsl:when>
- <xsl:otherwise></xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<doc:template name="select.mediaobject" xmlns="">
-<refpurpose>Selects an appropriate media object from a list</refpurpose>
-
-<refdescription>
-<para>This template examines a list of media objects (usually the
-children of a mediaobject or inlinemediaobject) and processes
-the "right" object.</para>
-
-<para>This template relies on a template named "is.acceptable.mediaobject"
-to determine if a given object is an acceptable graphic. The semantics
-of media objects is that the first acceptable graphic should be used.
-</para>
-
-<para>If no acceptable object is located, nothing happens.</para>
-</refdescription>
-
-<refparameter>
-<variablelist>
-<varlistentry><term>olist</term>
-<listitem>
-<para>The node list of potential objects to examine.</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</refparameter>
-
-<refreturn>
-<para>Calls &lt;xsl:apply-templates&gt; on the selected object.</para>
-</refreturn>
-</doc:template>
-
-<xsl:template name="select.mediaobject">
- <xsl:param name="olist"
- select="imageobject|imageobjectco
- |videoobject|audioobject|textobject"/>
- <xsl:param name="count">1</xsl:param>
-
- <xsl:if test="$count &lt;= count($olist)">
- <xsl:variable name="object" select="$olist[position()=$count]"/>
-
- <xsl:variable name="useobject">
- <xsl:choose>
- <!-- The phrase is never used -->
- <xsl:when test="name($object)='textobject' and $object/phrase">
- <xsl:text>0</xsl:text>
- </xsl:when>
- <!-- The first textobject is a reasonable fallback -->
- <xsl:when test="name($object)='textobject'">
- <xsl:text>1</xsl:text>
- </xsl:when>
- <!-- If there's only one object, use it -->
- <xsl:when test="$count = 1 and count($olist) = 1">
- <xsl:text>1</xsl:text>
- </xsl:when>
- <!-- Otherwise, see if this one is a useable graphic -->
- <xsl:otherwise>
- <xsl:choose>
- <!-- peek inside imageobjectco to simplify the test -->
- <xsl:when test="local-name($object) = 'imageobjectco'">
- <xsl:call-template name="is.acceptable.mediaobject">
- <xsl:with-param name="object" select="$object/imageobject"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="is.acceptable.mediaobject">
- <xsl:with-param name="object" select="$object"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$useobject='1'">
- <xsl:apply-templates select="$object"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="select.mediaobject">
- <xsl:with-param name="olist" select="$olist"/>
- <xsl:with-param name="count" select="$count + 1"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:if>
-</xsl:template>
-
-<doc:template name="is.acceptable.mediaobject" xmlns="">
-<refpurpose>Returns '1' if the specified media object is recognized.</refpurpose>
-
-<refdescription>
-<para>This template examines a media object and returns '1' if the
-object is recognized as a graphic.</para>
-</refdescription>
-
-<refparameter>
-<variablelist>
-<varlistentry><term>object</term>
-<listitem>
-<para>The media object to consider.</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</refparameter>
-
-<refreturn>
-<para>0 or 1</para>
-</refreturn>
-</doc:template>
-
-<xsl:template name="is.acceptable.mediaobject">
- <xsl:param name="object"></xsl:param>
-
- <xsl:variable name="filename">
- <xsl:call-template name="mediaobject.filename">
- <xsl:with-param name="object" select="$object"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:variable name="ext">
- <xsl:call-template name="filename-extension">
- <xsl:with-param name="filename" select="$filename"/>
- </xsl:call-template>
- </xsl:variable>
-
- <!-- there will only be one -->
- <xsl:variable name="data" select="$object/videodata
- |$object/imagedata
- |$object/audiodata"/>
-
- <xsl:variable name="format" select="$data/@format"/>
-
- <xsl:variable name="graphic.format">
- <xsl:if test="$format">
- <xsl:call-template name="is.graphic.format">
- <xsl:with-param name="format" select="$format"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:variable>
-
- <xsl:variable name="graphic.ext">
- <xsl:if test="$ext">
- <xsl:call-template name="is.graphic.extension">
- <xsl:with-param name="ext" select="$ext"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$graphic.format = '1'">1</xsl:when>
- <xsl:when test="$graphic.ext = '1'">1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="is.graphic.format">
- <xsl:param name="format"></xsl:param>
- <xsl:if test="$format = 'PNG'
- or $format = 'JPG'
- or $format = 'JPEG'
- or $format = 'linespecific'
- or $format = 'GIF'
- or $format = 'GIF87a'
- or $format = 'GIF89a'
- or $format = 'BMP'">1</xsl:if>
-</xsl:template>
-
-<xsl:template name="is.graphic.extension">
- <xsl:param name="ext"></xsl:param>
- <xsl:if test="$ext = 'png'
- or $ext = 'jpeg'
- or $ext = 'jpg'
- or $ext = 'avi'
- or $ext = 'mpg'
- or $ext = 'mpeg'
- or $ext = 'qt'
- or $ext = 'gif'
- or $ext = 'bmp'">1</xsl:if>
-</xsl:template>
-
-<xsl:template name="mediaobject.filename">
- <xsl:param name="object"></xsl:param>
-
- <xsl:variable name="data" select="$object/videodata
- |$object/imagedata
- |$object/audiodata"/>
-
- <xsl:variable name="filename">
- <xsl:choose>
- <xsl:when test="$data[@fileref]">
- <xsl:value-of select="$data/@fileref"/>
- </xsl:when>
- <xsl:when test="$data[@entityref]">
- <xsl:value-of select="unparsed-entity-uri($data/@entityref)"/>
- </xsl:when>
- <xsl:otherwise></xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="has.ext" select="contains($filename, '.') != ''"/>
-
- <xsl:variable name="ext">
- <xsl:choose>
- <xsl:when test="contains($filename, '.')">
- <xsl:call-template name="filename-extension">
- <xsl:with-param name="filename" select="$filename"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$graphic.default.extension"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="graphic.ext">
- <xsl:call-template name="is.graphic.extension">
- <xsl:with-param name="ext" select="$ext"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="not($has.ext)">
- <xsl:choose>
- <xsl:when test="$ext != ''">
- <xsl:value-of select="$filename"/>
- <xsl:text>.</xsl:text>
- <xsl:value-of select="$ext"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$filename"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:when test="not($graphic.ext)">
- <xsl:choose>
- <xsl:when test="$graphic.default.extension != ''">
- <xsl:value-of select="$filename"/>
- <xsl:text>.</xsl:text>
- <xsl:value-of select="$graphic.default.extension"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$filename"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$filename"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<doc:template name="check.id.unique" xmlns="">
-<refpurpose>Warn users about references to non-unique IDs</refpurpose>
-<refdescription>
-<para>If passed an ID in <varname>linkend</varname>,
-<function>check.id.unique</function> prints
-a warning message to the user if either the ID does not exist or
-the ID is not unique.</para>
-</refdescription>
-</doc:template>
-
-<xsl:template name="check.id.unique">
- <xsl:param name="linkend"></xsl:param>
- <xsl:if test="$linkend != ''">
- <xsl:variable name="targets" select="id($linkend)"/>
- <xsl:variable name="target" select="$targets[1]"/>
-
- <xsl:if test="count($targets)=0">
- <xsl:message>
- <xsl:text>Error: no ID for constraint linkend: </xsl:text>
- <xsl:value-of select="$linkend"/>
- <xsl:text>.</xsl:text>
- </xsl:message>
- </xsl:if>
-
- <xsl:if test="count($targets)>1">
- <xsl:message>
- <xsl:text>Warning: multiple "IDs" for constraint linkend: </xsl:text>
- <xsl:value-of select="$linkend"/>
- <xsl:text>.</xsl:text>
- </xsl:message>
- </xsl:if>
- </xsl:if>
-</xsl:template>
-
-<doc:template name="check.idref.targets" xmlns="">
-<refpurpose>Warn users about incorrectly typed references</refpurpose>
-<refdescription>
-<para>If passed an ID in <varname>linkend</varname>,
-<function>check.idref.targets</function> makes sure that the element
-pointed to by the link is one of the elements listed in
-<varname>element-list</varname> and warns the user otherwise.</para>
-</refdescription>
-</doc:template>
-
-<xsl:template name="check.idref.targets">
- <xsl:param name="linkend"></xsl:param>
- <xsl:param name="element-list"></xsl:param>
- <xsl:if test="$linkend != ''">
- <xsl:variable name="targets" select="id($linkend)"/>
- <xsl:variable name="target" select="$targets[1]"/>
-
- <xsl:if test="count($target) &gt; 0">
- <xsl:if test="not(contains(concat(' ', $element-list, ' '), name($target)))">
- <xsl:message>
- <xsl:text>Error: linkend (</xsl:text>
- <xsl:value-of select="$linkend"/>
- <xsl:text>) points to "</xsl:text>
- <xsl:value-of select="name($target)"/>
- <xsl:text>" not (one of): </xsl:text>
- <xsl:value-of select="$element-list"/>
- </xsl:message>
- </xsl:if>
- </xsl:if>
- </xsl:if>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/common/cs.xml b/docs/docbook/xslt/db2latex/common/cs.xml
deleted file mode 100644
index 81c9c5a9cb..0000000000
--- a/docs/docbook/xslt/db2latex/common/cs.xml
+++ /dev/null
@@ -1,110 +0,0 @@
-<localization language="cs">
-
-<!-- Contributors:
- Martin Perina <docbk@ataco.cz>
- Jirka Kosek <jirka@kosek.cz>
--->
-
-<gentext key="abstract" text="Abstrakt"/>
-<gentext key="answer" text="Ot&#x00e1;zka:"/>
-<gentext key="appendix" text="P&#x0159;&#x00ed;loha"/>
-<gentext key="article" text="&#x010c;l&#x00e1;nek"/>
-<gentext key="bibliography" text="Bibliografie"/>
-<gentext key="book" text="Kniha"/>
-<gentext key="caution" text="V&#x00fd;straha"/>
-<gentext key="chapter" text="Kapitola"/>
-<gentext key="colophon" text="Tir&#x00e1;&#x017e;"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="V&#x011b;nov&#x00e1;n&#x00ed;"/>
-<gentext key="edition" text="Vyd&#x00e1;n&#x00ed;"/>
-<gentext key="equation" text="Rovnice"/>
-<gentext key="example" text="P&#x0159;&#x00ed;klad"/>
-<gentext key="figure" text="Obr&#x00e1;zek"/>
-<gentext key="glossary" text="Slovn&#x00ed;k"/>
-<gentext key="glosssee" text="Viz"/>
-<gentext key="glossseealso" text="Viz t&#x00e9;&#x017e;"/>
-<gentext key="important" text="D&#x016f;le&#x017e;it&#x00e9;"/>
-<gentext key="index" text="Rejst&#x0159;&#x00ed;k"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="keywordset" text="Kl&#x00ed;&#x010d;ov&#x00ed;slova"/>
-<gentext key="keyword" text="Kl&#x00ed;&#x010d;ov&#x00e9;slovo"/>
-<gentext key="legalnotice" text="Pr&#x00e1;vn&#x00ed; pozn&#x00e1;mka"/>
-<gentext key="msgaud" text="Publikum"/>
-<gentext key="msglevel" text="&#x00da;rove&#x0148;"/>
-<gentext key="msgorig" text="P&#x016f;vod"/>
-<gentext key="note" text="Pozn&#x00e1;mka"/>
-<gentext key="part" text="&#x010c;&#x00e1;st"/>
-<gentext key="preface" text="P&#x0159;edmluva"/>
-<gentext key="procedure" text="Postup"/>
-<gentext key="published" text="Vyd&#x00e1;no"/>
-<gentext key="question" text="Ot&#x00e1;zka:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="Odkaz"/>
-<gentext key="refname" text="Jm&#x00e9;no"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="P&#x0159;ehled"/>
-<gentext key="revhistory" text="P&#x0159;ehled reviz&#x00ed;"/>
-<gentext key="revision" text="Revize"/>
-<gentext key="section" text="Odd&#x00ed;l"/>
-<gentext key="sect1" text="Odd&#x00ed;l"/>
-<gentext key="sect2" text="Odd&#x00ed;l"/>
-<gentext key="sect3" text="Odd&#x00ed;l"/>
-<gentext key="sect4" text="Odd&#x00ed;l"/>
-<gentext key="sect5" text="Odd&#x00ed;l"/>
-<gentext key="see" text="Viz"/>
-<gentext key="seealso" text="Viz t&#x00e9;&#x017e;"/>
-<gentext key="set" text="Sada"/>
-<gentext key="setindex" text="Rejst&#x0159;&#x00ed;k sady"/>
-<gentext key="sidebar" text="Margin&#x00e1;lie"/>
-<gentext key="step" text="Krok"/>
-<gentext key="table" text="Tabulka"/>
-<gentext key="tip" text="Tip"/>
-<gentext key="warning" text="Varov&#x00e1;n&#x00ed;"/>
-
-<gentext key="TableofContents" text="Obsah"/>
-<gentext key="in" text="v"/>
-<gentext key="by" text=" "/>
-<gentext key="Edited" text="Vyd&#x00e1;no"/>
-<gentext key="Editedby" text="Sestavil"/>
-<gentext key="and" text="a"/>
-<gentext key="Notes" text="Pozn&#x00e1;mky"/>
-<gentext key="TableNotes" text="Pozn&#x00e1;mky"/>
-<gentext key="nonexistantelement" text="neexistuj&#x00ed;c&#x00ed; prvek"/>
-<gentext key="Pgs" text="Str."/>
-<gentext key="unsupported" text="nepodporovan&#x00fd;"/>
-<gentext key="xrefto" text="xref k"/>
-<gentext key="unexpectedelementname" text="Neo&#x010d;ek&#x00e1;van&#x00e9; jm&#x00e9;no prvku"/>
-<gentext key="Revisedby" text="Revidoval: "/>
-
-<gentext key="ListofTables" text="Seznam tabulek"/>
-<gentext key="ListofExamples" text="Seznam p&#x0159;&#x00ed;klad&#x016f;"/>
-<gentext key="ListofFigures" text="Seznam obr&#x00e1;zk&#x016f;"/>
-<gentext key="ListofEquations" text="Seznam rovnic"/>
-<gentext key="ListofUnknown" text="Seznam nezn&#x00e1;m&#x00e9;ho"/>
-
-<gentext key="nav-prev" text="P&#x0159;edch&#x00e1;zej&#x00ed;c&#x00ed;"/>
-<gentext key="nav-prev-sibling" text="Rychle zp&#x011b;t"/>
-<gentext key="nav-next-sibling" text="Rychle dop&#x0159;edu"/>
-<gentext key="nav-next" text="Dal&#x0161;&#x00ed;"/>
-<gentext key="nav-up" text="Nahoru"/>
-<gentext key="nav-home" text="Dom&#x016f;"/>
-
-<gentext key="the section called" text="odd&#x00ed;l nazvan&#x00fd;"/>
-
-<dingbat key="startquote" text="&#x201e;"/>
-<dingbat key="endquote" text="&#x201c;"/>
-<dingbat key="nestedstartquote" text="&#x201a;"/>
-<dingbat key="nestedendquote" text="&#x2018;"/>
-<dingbat key="bullet" text="&#x2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-<xref element="figure" text="%n"/>
-<xref element="example" text="%n"/>
-<xref element="table" text="%n"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/da.xml b/docs/docbook/xslt/db2latex/common/da.xml
deleted file mode 100644
index 959050230f..0000000000
--- a/docs/docbook/xslt/db2latex/common/da.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<localization language="da">
-
-<gentext key="abstract" text="Abstract"/>
-<gentext key="appendix" text="Appendiks"/>
-<gentext key="article" text="Article"/>
-<gentext key="bibliography" text="Bibliografi"/>
-<gentext key="book" text="Book"/>
-<gentext key="caution" text="BEM&#198;RK"/>
-<gentext key="caution" text="Bem&#230;rk"/>
-<gentext key="chapter" text="Kapitel"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Tilegnet"/>
-<gentext key="edition" text="Udgave"/>
-<gentext key="equation" text="Ligning"/>
-<gentext key="example" text="Eksempel"/>
-<gentext key="figure" text="Figur"/>
-<gentext key="glosssee" text="Se"/>
-<gentext key="glossseealso" text="Se ogs&#229;"/>
-<gentext key="glossary" text="Stikordregister"/>
-<gentext key="important" text="VIGTIGT"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Vigtigt"/>
-<gentext key="index" text="Index"/>
-<gentext key="legalnotice" text=""/>
-<gentext key="msgaud" text="M&#229;lgruppe"/>
-<gentext key="msglevel" text="Niveau"/>
-<gentext key="msgorig" text="Grundlag"/>
-<gentext key="note" text="NOTE"/>
-<gentext key="note" text="Note"/>
-<gentext key="part" text="Del"/>
-<gentext key="preface" text="Forord"/>
-<gentext key="procedure" text="Procedure"/>
-<gentext key="pubdate" text="Udgivet"/>
-<gentext key="published" text="Published"/>
-<gentext key="refname" text="Navn"/>
-<gentext key="reference" text="Reference"/>
-<gentext key="revision" text="Revision"/>
-<gentext key="revhistory" text="Revision historie"/>
-<gentext key="section" text="Afsnit"/>
-<gentext key="see" text="Se"/>
-<gentext key="seealso" text="Se ogs&#229;"/>
-<gentext key="set" text="Set"/>
-<gentext key="setindex" text="Set Index"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="Skridt"/>
-<gentext key="tip" text="TIP"/>
-<gentext key="table" text="Tabel"/>
-<gentext key="tip" text="Tip"/>
-<gentext key="warning" text="ADVARSEL"/>
-<gentext key="warning" text="Advarsel"/>
-<gentext key="appendix" text="appendiks"/>
-<gentext key="chapter" text="kapitel"/>
-<gentext key="section" text="sektion"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="skridt"/>
-<gentext key="seealso" text="Se ogs&#229;"/>
-
-<gentext key="TableofContents" text="Indholdsfortegnelse"/>
-<gentext key="by" text="af"/>
-<gentext key="Edited" text="Redigeret"/>
-<gentext key="Editedby" text="Redigeret af"/>
-<gentext key="and" text="og"/>
-<gentext key="Notes" text="Slutbem&#230;rkning:"/>
-<gentext key="TableNotes" text="Noter:"/>
-<gentext key="nonexistantelement" text="non-existant element"/>
-<gentext key="Pgs" text="siderne"/>
-<gentext key="unsupported" text="unsupported"/>
-<gentext key="xrefto" text="xref to"/>
-<gentext key="unexpectedelementname" text="Unexpected element name"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Liste over alle tabeller"/>
-<gentext key="ListofExamples" text="Liste over alle eksempler"/>
-<gentext key="ListofFigures" text="Liste over alle figurer"/>
-<gentext key="ListofEquations" text="Liste over alle ligninger"/>
-<gentext key="ListofUnknown" text="Liste over alle ????"/>
-
-<gentext key="nav-prev" text="Forrige"/>
-<gentext key="nav-prev-sibling" text="Hurtigt tilbage"/>
-<gentext key="nav-next-sibling" text="Hurtigt fremad"/>
-<gentext key="nav-next" text="N&#230;ste"/>
-<gentext key="nav-up" text="Op"/>
-<gentext key="nav-home" text="Hjem"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/de.xml b/docs/docbook/xslt/db2latex/common/de.xml
deleted file mode 100644
index 33d3e819b4..0000000000
--- a/docs/docbook/xslt/db2latex/common/de.xml
+++ /dev/null
@@ -1,99 +0,0 @@
-<localization language="de">
-<!--
- Contributions by: Michael Burschik, burschik@id-pro.de
--->
-
-<gentext key="abstract" text="Zusammenfassung"/>
-<gentext key="appendix" text="Anhang"/>
-<gentext key="article" text="Artikel"/>
-<gentext key="bibliography" text="Literaturverzeichnis"/>
-<gentext key="book" text="Buch"/>
-<gentext key="caution" text="Achtung"/>
-<gentext key="chapter" text="Kapitel"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Widmung"/>
-<gentext key="edition" text="Ausgabe"/>
-<gentext key="equation" text="Gleichung"/>
-<gentext key="example" text="Beispiel"/>
-<gentext key="figure" text="Abbildung"/>
-<gentext key="glosssee" text="Siehe"/>
-<gentext key="glossseealso" text="Siehe auch"/>
-<gentext key="glossary" text="Glossar"/>
-<gentext key="important" text="WICHTIG"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Wichtig"/>
-<gentext key="index" text="Stichwortverzeichnis"/>
-<gentext key="legalnotice" text="Rechtlicher Hinweis"/>
-<gentext key="msgaud" text="Zielgruppe"/>
-<gentext key="msglevel" text="Dringlichkeit"/>
-<gentext key="msgorig" text="Ursprung"/>
-<gentext key="note" text="Anmerkung"/>
-<gentext key="part" text="Teil"/>
-<gentext key="preface" text="Vorwort"/>
-<gentext key="procedure" text="Prozedur"/>
-<gentext key="published" text="Ver&#x00F6;ffentlicht"/>
-<gentext key="refname" text="Name"/>
-<gentext key="reference" text="Verweis"/>
-<gentext key="refsection" text="Abschnitt"/>
-<gentext key="refsynopsisdiv" text="Synopsis"/> <!--en-->
-<gentext key="revhistory" text="Versionsgeschichte"/>
-<gentext key="revision" text="Version"/>
-<gentext key="section" text="Abschnitt"/>
-<gentext key="see" text="Siehe"/>
-<gentext key="seealso" text="Siehe auch"/>
-<gentext key="seealso" text="Siehe auch"/>
-<gentext key="set" text="Satz"/>
-<gentext key="setindex" text="Stichwortverzeichnis"/>
-<gentext key="sidebar" text="Randnotiz"/>
-<gentext key="step" text="Schritt"/>
-<gentext key="tip" text="TIP"/>
-<gentext key="table" text="Tabelle"/>
-<gentext key="tip" text="Tip"/>
-<gentext key="warning" text="WARNUNG"/>
-<gentext key="appendix" text="Anhang"/>
-<gentext key="chapter" text="Kapitel"/>
-<gentext key="section" text="Abschnitt"/>
-<gentext key="step" text="Schritt"/>
-
-<gentext key="TableofContents" text="Inhaltsverzeichnis"/>
-<gentext key="in" text="in"/>
-<gentext key="by" text="von"/>
-<gentext key="Edited" text="Herausgegeben"/>
-<gentext key="Editedby" text="Herausgegeben von"/>
-<gentext key="and" text="und"/>
-<gentext key="Notes" text="Fu&#x00DF;noten"/>
-<gentext key="TableNotes" text="Bemerkungen"/>
-<gentext key="nonexistantelement" text="nicht existierendes Element"/>
-<gentext key="Pgs" text="Seiten"/>
-<gentext key="unsupported" text="wird nicht unterst&#x00FC;tzt"/>
-<gentext key="xrefto" text="xref auf"/>
-<gentext key="unexpectedelementname" text="Unerwarteter Elementname"/>
-<gentext key="Revisedby" text="Ge&#x00E4;ndert durch: "/>
-
-<gentext key="ListofTables" text="Tabellenverzeichnis"/>
-<gentext key="ListofExamples" text="Beispiele"/>
-<gentext key="ListofFigures" text="Abbildungsverzeichnis"/>
-<gentext key="ListofEquations" text="Gleichungen"/>
-<gentext key="ListofUnknown" text="???-Verzeichnis"/>
-
-<gentext key="nav-prev" text="Zur&#x00FC;ck"/>
-<gentext key="nav-prev-sibling" text="Schnell zur&#x00FC;ck"/>
-<gentext key="nav-next-sibling" text="Schnell vor"/>
-<gentext key="nav-next" text="Vor"/>
-<gentext key="nav-up" text="Hoch"/>
-<gentext key="nav-home" text="Anfang"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/el.xml b/docs/docbook/xslt/db2latex/common/el.xml
deleted file mode 100644
index ad93032047..0000000000
--- a/docs/docbook/xslt/db2latex/common/el.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<localization language="el">
-
-<gentext key="abstract" text="&#208;&#229;&#241;&#223;&#235;&#231;&#248;&#231;"/>
-<gentext key="answer" text="&#193;:"/>
-<gentext key="appendix" text="&#208;&#225;&#241;&#220;&#241;&#244;&#231;&#236;&#225;"/>
-<gentext key="article" text="&#182;&#241;&#232;&#241;&#239;"/>
-<gentext key="bibliography" text="&#194;&#233;&#226;&#235;&#233;&#239;&#227;&#241;&#225;&#246;&#223;&#225;"/>
-<gentext key="book" text="&#194;&#233;&#226;&#235;&#223;&#239;"/>
-<gentext key="caution" text="&#208;&#209;&#207;&#211;&#207;&#215;&#199;"/>
-<gentext key="caution" text="&#208;&#241;&#239;&#243;&#239;&#247;&#222;"/>
-<gentext key="chapter" text="&#202;&#229;&#246;&#220;&#235;&#225;&#233;&#239;"/>
-<gentext key="colophon" text="&#202;&#239;&#241;&#249;&#237;&#223;&#228;&#225;"/>
-<gentext key="copyright" text="&#208;&#237;&#229;&#245;&#236;&#225;&#244;&#233;&#234;&#220; &#196;&#233;&#234;&#225;&#233;&#254;&#236;&#225;&#244;&#225;"/>
-<gentext key="dedication" text="&#193;&#246;&#233;&#221;&#241;&#249;&#243;&#231;"/>
-<gentext key="edition" text="&#184;&#234;&#228;&#239;&#243;&#231;"/>
-<gentext key="equation" text="&#197;&#238;&#223;&#243;&#249;&#243;&#231;"/>
-<gentext key="example" text="&#208;&#225;&#241;&#220;&#228;&#229;&#233;&#227;&#236;&#225;"/>
-<gentext key="figure" text="&#211;&#247;&#222;&#236;&#225;"/>
-<gentext key="glosssee" text="&#196;&#229;&#223;&#244;&#229;"/>
-<gentext key="glossseealso" text="&#196;&#229;&#223;&#244;&#229; &#197;&#240;&#223;&#243;&#231;&#242;"/>
-<gentext key="glossary" text="&#195;&#235;&#249;&#243;&#243;&#220;&#241;&#233;&#239;"/>
-<gentext key="important" text="&#211;&#199;&#204;&#193;&#205;&#212;&#201;&#202;&#207;"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="&#211;&#231;&#236;&#225;&#237;&#244;&#233;&#234;&#252;"/>
-<gentext key="index" text="&#197;&#245;&#241;&#229;&#244;&#222;&#241;&#233;&#239;"/>
-<gentext key="legalnotice" text="&#205;&#239;&#236;&#233;&#234;&#222; &#211;&#231;&#236;&#229;&#223;&#249;&#243;&#231;"/>
-<gentext key="msgaud" text="&#193;&#234;&#241;&#239;&#225;&#244;&#222;&#241;&#233;&#239;"/>
-<gentext key="msglevel" text="&#197;&#240;&#223;&#240;&#229;&#228;&#239;"/>
-<gentext key="msgorig" text="&#208;&#231;&#227;&#222;"/>
-<gentext key="note" text="&#211;&#199;&#204;&#197;&#201;&#217;&#211;&#199;"/>
-<gentext key="note" text="&#211;&#231;&#236;&#229;&#223;&#249;&#243;&#231;"/>
-<gentext key="part" text="&#204;&#221;&#241;&#239;&#242;"/>
-<gentext key="preface" text="&#197;&#233;&#243;&#225;&#227;&#249;&#227;&#222;"/>
-<gentext key="procedure" text="&#196;&#233;&#225;&#228;&#233;&#234;&#225;&#243;&#223;&#225;"/>
-<gentext key="published" text="&#196;&#231;&#236;&#239;&#243;&#233;&#229;&#245;&#236;&#221;&#237;&#239;"/>
-<gentext key="question" text="&#197;:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="&#193;&#237;&#225;&#246;&#239;&#241;&#220;"/>
-<gentext key="refname" text="&#188;&#237;&#239;&#236;&#225;"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="&#211;&#253;&#237;&#239;&#248;&#231;"/>
-<gentext key="revision" text="&#193;&#237;&#225;&#232;&#229;&#254;&#241;&#231;&#243;&#231;"/>
-<gentext key="revhistory" text="&#201;&#243;&#244;&#239;&#241;&#233;&#234;&#252; &#193;&#237;&#225;&#232;&#229;&#249;&#241;&#222;&#243;&#229;&#249;&#237;"/>
-<gentext key="section" text="&#212;&#236;&#222;&#236;&#225;"/>
-<gentext key="see" text="&#196;&#229;&#223;&#244;&#229;"/>
-<gentext key="seealso" text="&#196;&#229;&#223;&#244;&#229; &#197;&#240;&#223;&#243;&#231;&#242;"/>
-<gentext key="set" text="&#211;&#253;&#237;&#239;&#235;&#239;"/>
-<gentext key="setindex" text="&#197;&#245;&#241;&#229;&#244;&#222;&#241;&#233;&#239; &#211;&#245;&#237;&#252;&#235;&#249;&#237;"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="&#214;&#220;&#243;&#231;"/>
-<gentext key="tip" text="&#213;&#208;&#207;&#196;&#197;&#201;&#206;&#199;"/>
-<gentext key="table" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242;"/>
-<gentext key="tip" text="&#213;&#240;&#252;&#228;&#229;&#233;&#238;&#231;"/>
-<gentext key="warning" text="&#208;&#209;&#207;&#197;&#201;&#196;&#207;&#208;&#207;&#201;&#199;&#211;&#199;"/>
-<gentext key="warning" text="&#208;&#241;&#239;&#229;&#233;&#228;&#239;&#240;&#239;&#223;&#231;&#243;&#231;"/>
-<gentext key="appendix" text="&#240;&#225;&#241;&#220;&#241;&#244;&#231;&#236;&#225;"/>
-<gentext key="chapter" text="&#234;&#229;&#246;&#220;&#235;&#225;&#233;&#239;"/>
-<gentext key="section" text="&#244;&#236;&#222;&#236;&#225;"/>
-<gentext key="sidebar" text="&#229;&#240;&#229;&#238;&#231;&#227;&#231;&#236;&#225;&#244;&#233;&#234;&#252; &#240;&#235;&#229;&#245;&#241;&#233;&#234;&#252; &#225;&#241;&#232;&#241;&#223;&#228;&#233;&#239;"/>
-<gentext key="step" text="&#246;&#220;&#243;&#231;"/>
-<gentext key="seealso" text="&#196;&#229;&#223;&#244;&#229; &#229;&#240;&#223;&#243;&#231;&#242;"/>
-
-<gentext key="TableofContents" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242; &#208;&#229;&#241;&#233;&#229;&#247;&#239;&#236;&#221;&#237;&#249;&#237;"/>
-<gentext key="in" text="&#243;&#229;"/>
-<gentext key="by" text="&#225;&#240;&#252;"/>
-<gentext key="Edited" text="&#197;&#240;&#233;&#236;&#221;&#235;&#229;&#233;&#225;"/>
-<gentext key="Editedby" text="&#197;&#240;&#233;&#236;&#221;&#235;&#229;&#233;&#225; &#225;&#240;&#252;"/>
-<gentext key="and" text="&#234;&#225;&#233;"/>
-<gentext key="Notes" text="&#211;&#231;&#236;&#229;&#233;&#254;&#243;&#229;&#233;&#242;"/>
-<gentext key="TableNotes" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242; &#211;&#231;&#236;&#229;&#233;&#254;&#243;&#229;&#249;&#237;"/>
-<gentext key="nonexistantelement" text="&#236;&#231;-&#245;&#240;&#225;&#241;&#234;&#244;&#252; &#243;&#244;&#239;&#233;&#247;&#229;&#223;&#239;"/>
-<gentext key="Pgs" text="&#211;&#235;&#228;&#242;."/>
-<gentext key="unsupported" text="&#236;&#231; &#245;&#240;&#239;&#243;&#244;&#231;&#241;&#233;&#230;&#252;&#236;&#229;&#237;&#239;"/>
-<gentext key="xrefto" text="&#225;&#237;&#244;&#233;&#240;&#225;&#241;&#225;&#240;&#239;&#236;&#240;&#222; &#243;&#229;"/>
-<gentext key="unexpectedelementname" text="&#204;&#231; &#225;&#237;&#225;&#236;&#229;&#237;&#252;&#236;&#229;&#237;&#239; &#252;&#237;&#239;&#236;&#225; &#243;&#244;&#239;&#233;&#247;&#229;&#223;&#239;&#245;"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#208;&#233;&#237;&#220;&#234;&#249;&#237;"/>
-<gentext key="ListofExamples" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#208;&#225;&#241;&#225;&#228;&#229;&#233;&#227;&#236;&#220;&#244;&#249;&#237;"/>
-<gentext key="ListofFigures" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#211;&#247;&#231;&#236;&#220;&#244;&#249;&#237;"/>
-<gentext key="ListofEquations" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#197;&#238;&#233;&#243;&#254;&#243;&#229;&#249;&#237;"/>
-<gentext key="ListofUnknown" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#193;&#227;&#237;&#254;&#243;&#244;&#249;&#237;"/>
-
-<gentext key="nav-prev" text="&#208;&#241;&#239;&#231;&#227;"/>
-<gentext key="nav-prev-sibling" text="&#208;&#241;&#239;&#242; &#244;&#231;&#237; &#225;&#241;&#247;&#222;"/>
-<gentext key="nav-next-sibling" text="&#208;&#241;&#239;&#242; &#244;&#239; &#244;&#221;&#235;&#239;&#242;"/>
-<gentext key="nav-next" text="&#197;&#240;&#252;&#236;&#229;&#237;&#239;"/>
-<gentext key="nav-up" text="&#208;&#220;&#237;&#249;"/>
-<gentext key="nav-home" text="&#193;&#241;&#247;&#222;"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/en.xml b/docs/docbook/xslt/db2latex/common/en.xml
deleted file mode 100644
index 2e8500135f..0000000000
--- a/docs/docbook/xslt/db2latex/common/en.xml
+++ /dev/null
@@ -1,107 +0,0 @@
-<localization language="en">
-
-<gentext key="abstract" text="Abstract"/>
-<gentext key="answer" text="A:"/>
-<gentext key="appendix" text="Appendix"/>
-<gentext key="article" text="Article"/>
-<gentext key="bibliography" text="Bibliography"/>
-<gentext key="book" text="Book"/>
-<gentext key="caution" text="Caution"/>
-<gentext key="chapter" text="Chapter"/>
-<gentext key="colophon" text="Colophon"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Dedication"/>
-<gentext key="edition" text="Edition"/>
-<gentext key="equation" text="Equation"/>
-<gentext key="example" text="Example"/>
-<gentext key="figure" text="Figure"/>
-<gentext key="formalpara" text="Paragraph"/>
-<gentext key="glossary" text="Glossary"/>
-<gentext key="glosssee" text="See"/>
-<gentext key="glossseealso" text="See also"/>
-<gentext key="important" text="Important"/>
-<gentext key="index" text="Index"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="keyword" text="Keyword"/>
-<gentext key="keywords" text="Keywords"/>
-<gentext key="keywordset" text="Keywords"/>
-<gentext key="legalnotice" text="Legal Notice"/>
-<gentext key="msgaud" text="Audience"/>
-<gentext key="msglevel" text="Level"/>
-<gentext key="msgorig" text="Origin"/>
-<gentext key="note" text="Note"/>
-<gentext key="part" text="Part"/>
-<gentext key="preface" text="Preface"/>
-<gentext key="procedure" text="Procedure"/>
-<gentext key="published" text="Published"/>
-<gentext key="question" text="Q:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="Reference"/>
-<gentext key="refname" text="Name"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="Synopsis"/>
-<gentext key="revhistory" text="Revision History"/>
-<gentext key="revision" text="Revision"/>
-<gentext key="section" text="Section"/>
-<gentext key="sect1" text="Section"/>
-<gentext key="sect2" text="Section"/>
-<gentext key="sect3" text="Section"/>
-<gentext key="sect4" text="Section"/>
-<gentext key="sect5" text="Section"/>
-<gentext key="see" text="See"/>
-<gentext key="seealso" text="See Also"/>
-<gentext key="set" text="Set"/>
-<gentext key="setindex" text="Set Index"/>
-<gentext key="sidebar" text="Sidebar"/>
-<gentext key="step" text="Step"/>
-<gentext key="table" text="Table"/>
-<gentext key="tip" text="Tip"/>
-<gentext key="warning" text="Warning"/>
-
-<gentext key="TableofContents" text="Table of Contents"/>
-<gentext key="in" text="in"/>
-<gentext key="by" text="by"/>
-<gentext key="Edited" text="Edited"/>
-<gentext key="Editedby" text="Edited by"/>
-<gentext key="and" text="and"/>
-<gentext key="Notes" text="Notes"/>
-<gentext key="TableNotes" text="Notes"/>
-<gentext key="nonexistantelement" text="non-existant element"/>
-<gentext key="Pgs" text="Pgs."/>
-<gentext key="unsupported" text="unsupported"/>
-<gentext key="xrefto" text="xref to"/>
-<gentext key="unexpectedelementname" text="Unexpected element name"/>
-<gentext key="Revisedby" text="Revised by:"/>
-
-<gentext key="ListofTables" text="List of Tables"/>
-<gentext key="ListofExamples" text="List of Examples"/>
-<gentext key="ListofFigures" text="List of Figures"/>
-<gentext key="ListofEquations" text="List of Equations"/>
-<gentext key="ListofUnknown" text="List of Unknown"/>
-
-<gentext key="nav-prev" text="Prev"/>
-<gentext key="nav-prev-sibling" text="Fast Backward"/>
-<gentext key="nav-next-sibling" text="Fast Forward"/>
-<gentext key="nav-next" text="Next"/>
-<gentext key="nav-up" text="Up"/>
-<gentext key="nav-home" text="Home"/>
-
-<gentext key="the section called" text="the section called"/>
-
-<gentext key="index symbols" text="Symbols"/>
-
-<dingbat key="startquote" text="``"/>
-<dingbat key="endquote" text="''"/>
-<dingbat key="nestedstartquote" text="`"/>
-<dingbat key="nestedendquote" text="'"/>
-<dingbat key="bullet" text="\textbullet{}"/>
-
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="preface" text="%t"/>
-<xref element="bibliography" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="page.citation" text=" on page %p"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/es.xml b/docs/docbook/xslt/db2latex/common/es.xml
deleted file mode 100644
index 78483dfb65..0000000000
--- a/docs/docbook/xslt/db2latex/common/es.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<localization language="es">
-
-<gentext key="abstract" text="Resumen"/>
-<gentext key="appendix" text="Ap&#x00E9;ndice"/>
-<gentext key="article" text="Art&#x00ED;culo"/>
-<gentext key="bibliography" text="Bibliograf&#x00ED;a"/>
-<gentext key="book" text="Libro"/>
-<gentext key="caution" text="ATENCI&#x00D3;N"/>
-<gentext key="caution" text="Atenci&#x00F3;n"/>
-<gentext key="chapter" text="Cap&#x00ED;tulo"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Dedicado"/>
-<gentext key="edition" text="Edici&#x00F3;n"/>
-<gentext key="equation" text="Ecuaci&#x00F3;n"/>
-<gentext key="example" text="Ejemplo"/>
-<gentext key="figure" text="Figura"/>
-<gentext key="glosssee" text="Ver"/>
-<gentext key="glossseealso" text="Ver tambi&#x00E9;n"/>
-<gentext key="glossary" text="Glosario"/>
-<gentext key="important" text="IMPORTANTE"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Importante"/>
-<gentext key="index" text="&#x00CD;ndice"/>
-<gentext key="legalnotice" text="Aviso Legal"/>
-<gentext key="msgaud" text="Audiencia"/>
-<gentext key="msglevel" text="Nivel"/>
-<gentext key="msgorig" text="Origen"/>
-<gentext key="note" text="NOTA"/>
-<gentext key="note" text="Nota"/>
-<gentext key="part" text="Parte"/>
-<gentext key="preface" text="Prefacio"/>
-<gentext key="procedure" text="Procedimiento"/>
-<gentext key="pubdate" text="Fecha de publicaci&#x00F3;n"/>
-<gentext key="published" text="Publicado"/>
-<gentext key="refname" text="Nombre"/>
-<gentext key="reference" text="Referencia"/>
-<gentext key="revision" text="Revisi&#x00F3;n"/>
-<gentext key="revhistory" text="Historial de revisiones"/>
-<gentext key="section" text="Secci&#x00F3;n"/>
-<gentext key="see" text="Ver"/>
-<gentext key="seealso" text="Ver Tambi&#x00E9;n"/>
-<gentext key="set" text="Conjunto"/>
-<gentext key="setindex" text="&#x00CD;ndice del conjunto"/>
-<gentext key="sidebar" text="Sidebar"/>
-<gentext key="step" text="Paso"/>
-<gentext key="tip" text="SUGERENCIA"/>
-<gentext key="table" text="Tabla"/>
-<gentext key="tip" text="Sugerencia"/>
-<gentext key="warning" text="AVISO"/>
-<gentext key="warning" text="Aviso"/>
-<gentext key="appendix" text="ap&#x00E9;ndice"/>
-<gentext key="chapter" text="cap&#x00ED;tulo"/>
-<gentext key="section" text="secci&#x00F3;n"/>
-<gentext key="step" text="paso"/>
-<gentext key="seealso" text="Ver Tambi&#x00E9;n"/>
-
-<gentext key="TableofContents" text="Tabla de contenidos"/>
-<gentext key="in" text="en"/>
-<gentext key="by" text="por"/>
-<gentext key="Edited" text="Editado"/>
-<gentext key="Editedby" text="Editado por"/>
-<gentext key="and" text="y"/>
-<gentext key="Notes" text="Notas"/>
-<gentext key="TableNotes" text="Notas"/>
-<gentext key="nonexistantelement" text="elemento inexistente"/>
-<gentext key="Pgs" text="Pags."/>
-<gentext key="unsupported" text="no soportado"/>
-<gentext key="xrefto" text="referido a"/>
-<gentext key="unexpectedelementname" text="Nombre de elemento inesperado"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Lista de tablas"/>
-<gentext key="ListofExamples" text="Tabla de ejemplos"/>
-<gentext key="ListofFigures" text="Tabla de figuras"/>
-<gentext key="ListofEquations" text="Tabla de ecuaciones"/>
-<gentext key="ListofUnknown" text="Lista de ???"/>
-
-<gentext key="nav-prev" text="Anterior"/>
-<gentext key="nav-prev-sibling" text="Retroceder"/>
-<gentext key="nav-next-sibling" text="Avanzar"/>
-<gentext key="nav-next" text="Siguiente"/>
-<gentext key="nav-up" text="Subir"/>
-<gentext key="nav-home" text="Inicio"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/et.xml b/docs/docbook/xslt/db2latex/common/et.xml
deleted file mode 100644
index 4c63adbe7a..0000000000
--- a/docs/docbook/xslt/db2latex/common/et.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<localization language="et">
-
-<gentext key="abstract" text="&#220;levaade"/>
-<gentext key="answer" text="V:"/>
-<gentext key="appendix" text="Lisa"/>
-<gentext key="article" text="Artikkel"/>
-<gentext key="bibliography" text="Bibliograafia"/>
-<gentext key="book" text="Raamat"/>
-<gentext key="caution" text="ETTEVAATUST"/>
-<gentext key="caution" text="Ettevaatust"/>
-<gentext key="chapter" text="Peat&#252;kk"/>
-<gentext key="colophon" text="L&#245;pum&#228;rgis"/>
-<gentext key="copyright" text="Autori&#245;igus"/>
-<gentext key="dedication" text="P&#252;hendus"/>
-<gentext key="edition" text="V&#228;ljaanne"/>
-<gentext key="equation" text="Valem"/>
-<gentext key="example" text="N&#228;ide"/>
-<gentext key="figure" text="Joonis"/>
-<gentext key="glosssee" text="Vt."/>
-<gentext key="glossseealso" text="Vt. ka"/>
-<gentext key="glossary" text="S&#245;nastik"/>
-<gentext key="important" text="OLULINE"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Oluline"/>
-<gentext key="index" text="Aineregister"/>
-<gentext key="legalnotice" text="Autori&#245;iguse m&#228;rge"/>
-<gentext key="msgaud" text="Auditoorium"/>
-<gentext key="msglevel" text="Tase"/>
-<gentext key="msgorig" text="Algallikas"/>
-<gentext key="note" text="M&#196;RKUS"/>
-<gentext key="note" text="M&#228;rkus"/>
-<gentext key="part" text="Osa"/>
-<gentext key="preface" text="Eess&#245;na"/>
-<gentext key="procedure" text="Protseduur"/>
-<gentext key="published" text="Avaldatud"/>
-<gentext key="question" text="K:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="Viide"/>
-<gentext key="refname" text="Nimi"/>
-<gentext key="refsection" text="L&#245;ik"/>
-<gentext key="refsynopsisdiv" text="S&#252;nopsis"/>
-<gentext key="revision" text="Vigade parandus"/>
-<gentext key="revhistory" text="Vigade paranduste ajalugu"/>
-<gentext key="section" text="Sektsioon"/>
-<gentext key="see" text="Vt."/>
-<gentext key="seealso" text="Vt. ka"/>
-<gentext key="set" text="Sea"/>
-<gentext key="setindex" text="Sea indeks"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="Samm"/>
-<gentext key="tip" text="VIHJE"/>
-<gentext key="table" text="Tabel"/>
-<gentext key="tip" text="Vihje"/>
-<gentext key="warning" text="HOIATUS"/>
-<gentext key="warning" text="Hoiatus"/>
-<gentext key="appendix" text="lisa"/>
-<gentext key="chapter" text="peat&#252;kk"/>
-<gentext key="section" text="l&#245;ik"/>
-<gentext key="sidebar" text="k&#252;lgriba"/>
-<gentext key="step" text="samm"/>
-<gentext key="seealso" text="Vt. ka"/>
-
-<gentext key="TableofContents" text="Sisukord"/>
-<gentext key="in" text=""/>
-<gentext key="by" text=""/>
-<gentext key="Edited" text="Redaktsioon"/>
-<gentext key="Editedby" text="Redaktsiooni autor(id)"/>
-<gentext key="and" text="ja"/>
-<gentext key="Notes" text="M&#228;rkused"/>
-<gentext key="TableNotes" text="M&#228;rkused"/>
-<gentext key="nonexistantelement" text="mitte eksisteeriv element"/>
-<gentext key="Pgs" text="Lk."/>
-<gentext key="unsupported" text="toetuseta"/>
-<gentext key="xrefto" text="viide"/>
-<gentext key="unexpectedelementname" text="Ootamatu elemendi nimi"/>
-<gentext key="Revisedby" text="&#220;le vaadanud: "/>
-
-<gentext key="ListofTables" text="Tabelite nimekiri"/>
-<gentext key="ListofExamples" text="N&#228;idete nimekiri"/>
-<gentext key="ListofFigures" text="Jooniste nimekiri"/>
-<gentext key="ListofEquations" text="Valemite nimekiri"/>
-<gentext key="ListofUnknown" text="Tundmatute nimekiri"/>
-
-<gentext key="nav-prev" text="Eelmine"/>
-<gentext key="nav-prev-sibling" text="Kiiresti tagasi"/>
-<gentext key="nav-next-sibling" text="Kiiresti edasi"/>
-<gentext key="nav-next" text="J&#228;rgmine"/>
-<gentext key="nav-up" text="&#220;les"/>
-<gentext key="nav-home" text="Koju"/>
-
-<dingbat key="startquote" text='&#8220;'/>
-<dingbat key="endquote" text='&#8221;'/>
-<dingbat key="nestedstartquote" text="`"/>
-<dingbat key="nestedendquote" text="'"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/fi.xml b/docs/docbook/xslt/db2latex/common/fi.xml
deleted file mode 100644
index 5d25725512..0000000000
--- a/docs/docbook/xslt/db2latex/common/fi.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<localization language="fi">
-
-<gentext key="abstract" text="Lyhennelm&#228;"/>
-<gentext key="appendix" text="Liite"/>
-<gentext key="article" text="Artikkeli"/>
-<gentext key="bibliography" text="L&#228;hteet"/>
-<gentext key="book" text="Kirja"/>
-<gentext key="caution" text="VARO"/>
-<gentext key="caution" text="Varo"/>
-<gentext key="chapter" text="Luku"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Omistus"/>
-<gentext key="edition" text="Edition"/>
-<gentext key="equation" text="Kaava"/>
-<gentext key="example" text="Esimerkki"/>
-<gentext key="figure" text="Kuva"/>
-<gentext key="glosssee" text="Katso"/>
-<gentext key="glossseealso" text="Katso my&#246;s"/>
-<gentext key="glossary" text="Sanasto"/>
-<gentext key="important" text="T&#196;RKE&#196;&#196;"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="T&#228;rke&#228;&#228;"/>
-<gentext key="index" text="Indeksi"/>
-<gentext key="legalnotice" text=""/>
-<gentext key="msgaud" text="Yleis&#246;"/>
-<gentext key="msglevel" text="Taso"/>
-<gentext key="msgorig" text="Alkuper&#228;"/>
-<gentext key="note" text="HUOMAA"/>
-<gentext key="note" text="Huomaa"/>
-<gentext key="part" text="Osa"/>
-<gentext key="preface" text="Esipuhe"/>
-<gentext key="procedure" text="Aliohjelma"/>
-<gentext key="published" text="Julkaistu"/>
-<gentext key="refname" text="Nimi"/>
-<gentext key="reference" text="L&#228;hdeluettelo"/>
-<gentext key="revision" text="Versio"/>
-<gentext key="revhistory" text="Versiohistoria"/>
-<gentext key="section" text="Kohta"/>
-<gentext key="see" text="Katso"/>
-<gentext key="seealso" text="Katso my&#246;s"/>
-<gentext key="set" text="Kokoelma"/>
-<gentext key="setindex" text="Kokoelman indeksi"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="Step"/>
-<gentext key="tip" text="VIHJE"/>
-<gentext key="table" text="Taulu"/>
-<gentext key="tip" text="Vihje"/>
-<gentext key="warning" text="VAROITUS"/>
-<gentext key="warning" text="Varoitus"/>
-<gentext key="appendix" text="liite"/>
-<gentext key="chapter" text="luku"/>
-<gentext key="section" text="kohta"/>
-<gentext key="sidebar" text="sivupalkki"/>
-<gentext key="step" text="step"/>
-<gentext key="seealso" text="Katso my&#246;s"/>
-
-<gentext key="TableofContents" text="Sis&#228;llys"/>
-<gentext key="in" text="teoksessa"/>
-<gentext key="by" text=""/>
-<gentext key="Edited" text="Toim."/>
-<gentext key="Editedby" text="Toimittanut"/>
-<gentext key="and" text="ja"/>
-<gentext key="Notes" text=""/>
-<gentext key="TableNotes" text=""/>
-<gentext key="nonexistantelement" text="elementti&#228; ei ole olemassa"/>
-<gentext key="Pgs" text="Sivut"/>
-<gentext key="unsupported" text="ei tueta"/>
-<gentext key="xrefto" text="xref johonkin"/>
-<gentext key="unexpectedelementname" text="Odottamaton elementin nimi"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Luettelo tauluista"/>
-<gentext key="ListofExamples" text="Luettelo esimerkeist&#228;"/>
-<gentext key="ListofFigures" text="Luettelo kuvista"/>
-<gentext key="ListofEquations" text="Luettelo esimerkeist&#228;"/>
-<gentext key="ListofUnknown" text="Luettelo tuntemattomista"/>
-
-<gentext key="nav-prev" text="Edellinen"/>
-<gentext key="nav-prev-sibling" text="Nopeasti taaksep&#x00E4;in"/>
-<gentext key="nav-next-sibling" text="Nopeasti eteenp&#x00E4;in"/>
-<gentext key="nav-next" text="Seuraava"/>
-<gentext key="nav-up" text="Yl&#x00F6;s"/>
-<gentext key="nav-home" text="Alkuun"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/fr.xml b/docs/docbook/xslt/db2latex/common/fr.xml
deleted file mode 100644
index bf53bc57d6..0000000000
--- a/docs/docbook/xslt/db2latex/common/fr.xml
+++ /dev/null
@@ -1,114 +0,0 @@
-<localization language="fr">
-
-<gentext key="abstract" text="R&#x00E9;sum&#x00E9;"/>
-<gentext key="answer" text="R:"/>
-<gentext key="appendix" text="annexe"/>
-<gentext key="article" text="article"/>
-<gentext key="bibliography" text="bibliographie"/>
-<gentext key="book" text="Livre"/>
-<gentext key="caution" text="Attention"/>
-<gentext key="chapter" text="chapitre"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="D&#x00E9;dicace"/>
-<gentext key="edition" text="&#x00C9;dition"/>
-<gentext key="equation" text="&#x00C9;quation"/>
-<gentext key="example" text="Exemple"/>
-<gentext key="figure" text="figure"/>
-<gentext key="formalpara" text="paragraphe"/>
-<gentext key="glosssee" text="Voir"/>
-<gentext key="glossseealso" text="Voir aussi"/>
-<gentext key="glossary" text="Glossaire"/>
-<gentext key="important" text="IMPORTANT"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Important"/>
-<gentext key="index" text="Index"/>
-<gentext key="keyword" text="Mot Cl&#x00E9;"/>
-<gentext key="keywords" text="Mots Cl&#x00E9;s"/>
-<gentext key="keywordset" text="Mots Cl&#x00E9;s"/>
-<gentext key="legalnotice" text="Note l&#x00E9;gale"/>
-<gentext key="msgaud" text="Public vis&#x00E9;"/>
-<gentext key="msglevel" text="Niveau"/>
-<gentext key="msgorig" text="Origine"/>
-<gentext key="note" text="Note"/>
-<gentext key="part" text="Partie"/>
-<gentext key="preface" text="Pr&#x00E9;face"/>
-<gentext key="procedure" text="Proc&#x00E9;dure"/>
-<gentext key="published" text="Publi&#x00E9;"/>
-<gentext key="question" text="Q:"/>
-<gentext key="refentry" text=""/>
-<gentext key="refname" text="Nom"/>
-<gentext key="refsection" text=""/>
-<gentext key="reference" text="R&#x00E9;f&#x00E9;rence"/>
-<gentext key="revhistory" text="Historique des versions"/>
-<gentext key="revision" text="Version"/>
-<gentext key="section" text="section"/>
-<gentext key="see" text="Voir"/>
-<gentext key="seealso" text="Voir Aussi"/>
-<gentext key="seealso" text="Voir aussi"/>
-<gentext key="set" text="Ensemble"/>
-<gentext key="setindex" text="Index"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="&#x00C9;tape"/>
-<gentext key="tip" text="TUYAU"/>
-<gentext key="table" text="Tableau"/>
-<gentext key="tip" text="Tuyau"/>
-<gentext key="warning" text="Avertissement"/>
-<gentext key="appendix" text="annexe"/>
-<gentext key="chapter" text="chapitre"/>
-<gentext key="sidebar" text=""/>
-<gentext key="section" text="section"/>
-<gentext key="sect1" text="section"/>
-<gentext key="sect2" text="section"/>
-<gentext key="sect3" text="section"/>
-<gentext key="sect4" text="section"/>
-<gentext key="sect5" text="section"/>
-<gentext key="step" text="&#x00E9;tape"/>
-
-<gentext key="TableofContents" text="Table des mati&#x00E8;res"/>
-<gentext key="in" text="dans"/>
-<gentext key="by" text="par"/>
-<gentext key="Edited" text="Publi&#x00E9;"/>
-<gentext key="Editedby" text="Publi&#x00E9; par"/>
-<gentext key="and" text="et"/>
-<gentext key="Notes" text="Notes"/>
-<gentext key="TableNotes" text="Remarques"/>
-<gentext key="nonexistantelement" text="Cet &#x00E9;l&#x00E9;ment n'existe pas"/>
-<gentext key="Pgs" text="Pages"/>
-<gentext key="unsupported" text="Non reconnu par le syst&#x00E8;me"/>
-<gentext key="xrefto" text="R&#x00E9;f&#x00E9;rence vers"/>
-<gentext key="unexpectedelementname" text="Nom d'&#x00E9;l&#x00E9;ment non attendu"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Liste des tableaux"/>
-<gentext key="ListofExamples" text="Liste des exemples"/>
-<gentext key="ListofFigures" text="Liste des illustrations"/>
-<gentext key="ListofEquations" text="Liste des &#x00E9;quations"/>
-<gentext key="ListofUnknown" text="Liste des inconnues"/>
-
-<gentext key="nav-prev" text="Pr&#x00E9;c&#x00E9;dent"/>
-<gentext key="nav-prev-sibling" text="Fast Backward"/>
-<gentext key="nav-next-sibling" text="Fast Forward"/>
-<gentext key="nav-next" text="Suivant"/>
-<gentext key="nav-up" text="Niveau sup&#x00E9;rieur"/>
-<gentext key="nav-home" text="Sommaire"/>
-
-
-
-<gentext key="mathproposition" text="proposition"/>
-<gentext key="mathlemma" text="lemme"/>
-<gentext key="maththeorem" text="th&#x00E9;or&#x00E8;me"/>
-<dingbat key="startquote" text="&#x00AB;"/>
-<dingbat key="endquote" text="&#x00BB;"/>
-<dingbat key="nestedstartquote" text="&#x00AB;"/>
-<dingbat key="nestedendquote" text="&#x00BB;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-<xref element="appendix" text="%g %n, %t"/>
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/hu.xml b/docs/docbook/xslt/db2latex/common/hu.xml
deleted file mode 100644
index d37e06ff8a..0000000000
--- a/docs/docbook/xslt/db2latex/common/hu.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-<localization language="hu">
-
-<gentext key="abstract" text="Kivonat"/>
-<gentext key="answer" text="V:"/>
-<gentext key="appendix" text="F&#x0171;ggel&#x00E9;k"/>
-<gentext key="article" text="Cikk"/>
-<gentext key="bibliography" text="Irodalomjegyz&#x00E9;k"/>
-<gentext key="book" text="K&#x0151;nyv"/>
-<gentext key="caution" text="Figyelem"/>
-<gentext key="chapter" text="Fejezet"/>
-<gentext key="colophon" text="V&#x00E9;gsz&#x00F3;"/>
-<gentext key="copyright" text="V&#x08e9;djegy"/>
-<gentext key="dedication" text="Aj&#x00E1;nl&#x00E1;s"/>
-<gentext key="edition" text="Kiad&#x00E1;s"/>
-<gentext key="equation" text="Egyenlet"/>
-<gentext key="example" text="P&#x00E9;lda"/>
-<gentext key="figure" text="&#x00C1;bra"/>
-<gentext key="glosssee" text="L&#x00E1;sd"/>
-<gentext key="glossseealso" text="L&#x00E1;sd m&#x00E9;g"/>
-<gentext key="glossary" text="Sz&#x00F3;jegyz&#x00E9;k"/>
-<gentext key="important" text="FONTOS"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Fontos"/>
-<gentext key="index" text="T&#x00E1;rgymutat&#x00F3;"/>
-<gentext key="legalnotice" text="Jogi k&#x0151;zlem&#x00E9;ny"/>
-<gentext key="msgaud" text="C&#x00E9;lk&#x0151;z&#x0151;ns&#x00E9;g"/>
-<gentext key="msglevel" text="Szint"/>
-<gentext key="msgorig" text="Eredet"/>
-<gentext key="note" text="Megjegyz&#x00E9;s"/>
-<gentext key="part" text="R&#x00E9;sz"/>
-<gentext key="preface" text="El&#x0151;sz&#x00F3;"/>
-<gentext key="procedure" text="Elj&#x00E1;r&#x00E1;s"/>
-<gentext key="published" text="Megjelent"/>
-<gentext key="question" text="K:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="Referencia"/>
-<gentext key="refname" text="N&#x00E9;v"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="&#x00C1;ttekint&#x00E9;s"/>
-<gentext key="revision" text="Verzi&#x00F3;"/>
-<gentext key="revhistory" text="Verzi&#x00F3;k t&#x0151;rt&#x00E9;nete"/>
-<gentext key="section" text="Szakasz"/>
-<gentext key="see" text="L&#x00E1;sd"/>
-<gentext key="seealso" text="L&#x00E1;sd m&#x00E9;g"/>
-<gentext key="set" text="Set"/> <!-- en -->
-<gentext key="setindex" text="Set Index"/> <!-- en -->
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="L&#x00E9;p&#x00E9;s"/>
-<gentext key="table" text="T&#x00E1;bl&#x00E1;zat"/>
-<gentext key="tip" text="Tipp"/>
-<gentext key="warning" text="Figyelem"/>
-
-<gentext key="TableofContents" text="Tartalom"/>
-<gentext key="in" text=""/>
-<gentext key="by" text=""/>
-<gentext key="Edited" text="Szerk."/>
-<gentext key="Editedby" text="Szerkesztette"/>
-<gentext key="and" text="&#x00E9;s"/>
-<gentext key="Notes" text="Megjegyz&#x00E9;sek"/>
-<gentext key="TableNotes" text="Megjegyz&#x00E9;sek"/>
-<gentext key="nonexistantelement" text="nem l&#x00E9;tezo elem"/>
-<gentext key="Pgs" text="Lsz."/>
-<gentext key="unsupported" text="nem t&#x00E1;mogatott"/>
-<gentext key="xrefto" text="keresztref:"/>
-<gentext key="unexpectedelementname" text="Nem v&#x00E1;rt elemn&#x00E9;v"/>
-<gentext key="Revisedby" text="Megvizsg&#x00E1;lva: "/>
-
-<gentext key="ListofTables" text="T&#x00E1;bl&#x00E1;zatok list&#x00E1;ja"/>
-<gentext key="ListofExamples" text="P&#x00E9;ld&#x00E1;k list&#x00E1;ja"/>
-<gentext key="ListofFigures" text="&#x00C1;br&#x00E1;k list&#x00E1;ja"/>
-<gentext key="ListofEquations" text="Egyenletek list&#x00E1;ja"/>
-<gentext key="ListofUnknown" text="Egy&#x00E9;b elemek list&#x00E1;ja"/>
-
-<gentext key="nav-prev" text="Vissza"/>
-<gentext key="nav-prev-sibling" text="Gyors vissza"/>
-<gentext key="nav-next-sibling" text="Gyors Tov&#x00E1;bb"/>
-<gentext key="nav-next" text="Tov&#x00E1;bb"/>
-<gentext key="nav-up" text="Fel"/>
-<gentext key="nav-home" text="Tartalom"/>
-
-<dingbat key="startquote" text='&#8220;'/>
-<dingbat key="endquote" text='&#8221;'/>
-<dingbat key="nestedstartquote" text="`"/>
-<dingbat key="nestedendquote" text="'"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%n %g %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/id.xml b/docs/docbook/xslt/db2latex/common/id.xml
deleted file mode 100644
index f85b02154b..0000000000
--- a/docs/docbook/xslt/db2latex/common/id.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<localization language="id">
-
-<gentext key="abstract" text="Abstrak"/>
-<gentext key="answer" text="Jawab:"/>
-<gentext key="appendix" text="Lampiran"/>
-<gentext key="article" text="Artikel"/>
-<gentext key="bibliography" text="Bibliografi"/>
-<gentext key="book" text="Buku"/>
-<gentext key="caution" text="PERHATIAN"/>
-<gentext key="caution" text="Perhatian"/>
-<gentext key="chapter" text="Bab"/>
-<gentext key="colophon" text="Kolofon"/>
-<gentext key="copyright" text="Hak Cipta"/>
-<gentext key="dedication" text="Dedikasi"/>
-<gentext key="edition" text="Edisi"/>
-<gentext key="equation" text="Persamaan"/>
-<gentext key="example" text="Teladan"/>
-<gentext key="figure" text="Gambar"/>
-<gentext key="glosssee" text="Lihat"/>
-<gentext key="glossseealso" text="Lihat Juga"/>
-<gentext key="glossary" text="Daftar Istilah"/>
-<gentext key="important" text="PENTING"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Penting"/>
-<gentext key="index" text="Indeks"/>
-<gentext key="legalnotice" text="Aspek Hukum"/>
-<gentext key="msgaud" text="Pemirsa"/>
-<gentext key="msglevel" text="Tingkatan"/>
-<gentext key="msgorig" text="Asal"/>
-<gentext key="note" text="CATATAN"/>
-<gentext key="note" text="Catatan"/>
-<gentext key="part" text="Bagian"/>
-<gentext key="preface" text="Kata Pengantar"/>
-<gentext key="procedure" text="Prosedur"/>
-<gentext key="published" text="Diterbitkan"/>
-<gentext key="question" text="Tanya:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="Referensi"/>
-<gentext key="refname" text="Nama"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="Sinopsis"/>
-<gentext key="revision" text="Revisi"/>
-<gentext key="revhistory" text="Catatan Revisi"/>
-<gentext key="section" text="Bagian"/>
-<gentext key="see" text="Lihat"/>
-<gentext key="seealso" text="Lihat Juga"/>
-<gentext key="set" text="Set"/>
-<gentext key="setindex" text="Set Index"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="Tahap"/>
-<gentext key="tip" text="TIP"/>
-<gentext key="table" text="Tabel"/>
-<gentext key="tip" text="Tip"/>
-<gentext key="warning" text="AWAS"/>
-<gentext key="warning" text="Awas"/>
-<gentext key="appendix" text="lampiran"/>
-<gentext key="chapter" text="bab"/>
-<gentext key="section" text="bagian"/>
-<gentext key="sidebar" text="sidebar"/>
-<gentext key="step" text="tahap"/>
-<gentext key="seealso" text="Lihat juga"/>
-
-<gentext key="TableofContents" text="Daftar Isi"/>
-<gentext key="in" text="di"/>
-<gentext key="by" text="oleh"/>
-<gentext key="Edited" text="disunting"/>
-<gentext key="Editedby" text="disunting oleh"/>
-<gentext key="and" text="dan"/>
-<gentext key="Notes" text="Catatan"/>
-<gentext key="TableNotes" text="Catatan"/>
-<gentext key="nonexistantelement" text="elemen tak tampak"/>
-<gentext key="Pgs" text="Hal."/>
-<gentext key="unsupported" text="tidak didukung"/>
-<gentext key="xrefto" text="xref ke"/>
-<gentext key="unexpectedelementname" text="Nama Elemen seharusnya tidak ada"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Daftar Tabel"/>
-<gentext key="ListofExamples" text="Daftar Teladan"/>
-<gentext key="ListofFigures" text="Daftar Gambar"/>
-<gentext key="ListofEquations" text="Daftar Persamaan"/>
-<gentext key="ListofUnknown" text="Daftar Gaib"/>
-
-<gentext key="nav-prev" text="Prev"/>
-<gentext key="nav-prev-sibling" text="Fast Backward"/>
-<gentext key="nav-next-sibling" text="Fast Forward"/>
-<gentext key="nav-next" text="Next"/>
-<gentext key="nav-up" text="Up"/>
-<gentext key="nav-home" text="Home"/>
-
-<dingbat key="startquote" text='&#8220;'/>
-<dingbat key="endquote" text='&#8221;'/>
-<dingbat key="nestedstartquote" text="`"/>
-<dingbat key="nestedendquote" text="'"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/it.xml b/docs/docbook/xslt/db2latex/common/it.xml
deleted file mode 100644
index a7e1063ef4..0000000000
--- a/docs/docbook/xslt/db2latex/common/it.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-<localization language="it">
-<!-- updates from camille@mandrakesoft.com -->
-
-<gentext key="abstract" text="Estratto"/>
-<gentext key="appendix" text="Appendice"/>
-<gentext key="article" text="Articolo"/>
-<gentext key="audience" text="Pubblico"/>
-<gentext key="bibliography" text="Bibliografia"/>
-<gentext key="book" text="Libro"/>
-<gentext key="caution" text="CAUTELA"/>
-<gentext key="caution" text="Cautela"/>
-<gentext key="chapter" text="Capitolo"/>
-<gentext key="colophon" text="Colophon"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Dedica"/>
-<gentext key="edition" text="Edizione"/>
-<gentext key="equation" text="Equazione"/>
-<gentext key="example" text="Esempio"/>
-<gentext key="figure" text="Figura"/>
-<gentext key="glossary" text="Glossario"/>
-<gentext key="glosssee" text="Vedi"/>
-<gentext key="glossseealso" text="Vedi anche"/>
-<gentext key="important" text="IMPORTANTE"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Importante"/>
-<gentext key="index" text="Indice"/>
-<gentext key="legalnotice" text="Note legali"/>
-<gentext key="level" text="Livello"/>
-<gentext key="note" text="NOTA"/>
-<gentext key="name" text="Nome"/>
-<gentext key="note" text="Nota"/>
-<gentext key="origin" text="Origine"/>
-<gentext key="part" text="Parte"/>
-<gentext key="preface" text="Prefazione"/>
-<gentext key="procedure" text="Procedura"/>
-<gentext key="published" text="Pubblicato"/>
-<gentext key="reference" text="Riferimento"/>
-<gentext key="revision" text="Revisione"/>
-<gentext key="history" text="Diario"/>
-<gentext key="refsynopsisdiv" text="Sinossi"/>
-<gentext key="revisionhistory" text="Diario delle revisioni"/>
-<gentext key="section" text="Sezione"/>
-<gentext key="see" text="Vd."/>
-<gentext key="seealso" text="Vd. Anche"/>
-<gentext key="seealso" text="Vd. anche"/>
-<gentext key="set" text="Raccolta"/>
-<gentext key="setindex" text="Indice Raccolta"/>
-<gentext key="sidebar" text="Nota a margine"/>
-<gentext key="step" text="Passaggio"/>
-<gentext key="tip" text="SUGGERIMENTO"/>
-<gentext key="table" text="Tabella"/>
-<gentext key="tip" text="Suggerimento"/>
-<gentext key="warning" text="ATTENZIONE"/>
-<gentext key="warning" text="Attenzione"/>
-<gentext key="appendix" text="appendice"/>
-<gentext key="chapter" text="capitolo"/>
-<gentext key="section" text="sezione"/>
-<gentext key="step" text="passaggio"/>
-
-<gentext key="TableofContents" text="Sommario"/>
-<gentext key="called" text="intitolato"/>
-<gentext key="in" text="in"/>
-<gentext key="by" text="di"/>
-<gentext key="Edited" text="A cura"/>
-<gentext key="Editedby" text="A cura di"/>
-<gentext key="and" text="e"/>
-<gentext key="Notes" text="Note"/>
-<gentext key="TableNotes" text="Note"/>
-<gentext key="nonexistantelement" text="elemento non esistente"/>
-<gentext key="the" text="il"/>
-<gentext key="Pgs" text="pp."/>
-<gentext key="unsupported" text="non supportato"/>
-<gentext key="xrefto" text="riferimento a"/>
-<gentext key="unexpectedelementname" text="Nome elemento inaspettato"/>
-<gentext key="Revisedby" text="Modificato da:"/>
-
-<gentext key="ListofTables" text="Lista delle Tabelle"/>
-<gentext key="ListofExamples" text="Lista degli Esempi"/>
-<gentext key="ListofFigures" text="Lista delle Figure"/>
-<gentext key="ListofEquations" text="Lista delle Equazioni"/>
-<gentext key="ListofUnknown" text="Lista Sconosciuti"/>
-
-<gentext key="nav-prev" text="Indietro"/>
-<gentext key="nav-prev-sibling" text="Salta indietro"/>
-<gentext key="nav-next-sibling" text="Salta avanti"/>
-<gentext key="nav-next" text="Avanti"/>
-<gentext key="nav-up" text="Risali"/>
-<gentext key="nav-home" text="Partenza"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/ja.xml b/docs/docbook/xslt/db2latex/common/ja.xml
deleted file mode 100644
index 9180e8e186..0000000000
--- a/docs/docbook/xslt/db2latex/common/ja.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<localization language="ja">
-
-<!--
-;; Contributors:
-;; Karl Critz, kcritz@mathworks.com, contributed the original dbl1ja.ent file
-;; Ralf Schleitzer, ralf.schleitzer@ixos.de
--->
-
-<gentext key="abstract" text="&#x6982;&#x8981;"/>
-<gentext key="appendix" text="&#x4ED8;&#x9332;"/>
-<gentext key="article" text="&#x9805;&#x76EE;"/>
-<gentext key="bibliography" text="&#x53C2;&#x8003;&#x6587;&#x732E;"/>
-<gentext key="book" text="&#x30D6;&#x30C3;&#x30AF;"/>
-<gentext key="caution" text="&#x6CE8;&#x610F;"/>
-<gentext key="caution" text="&#x6CE8;&#x610F;"/>
-<gentext key="chapter" text="&#x7AE0;"/>
-<gentext key="copyright" text="&#x88FD;&#x4F5C;&#x8457;&#x4F5C;"/>
-<gentext key="dedication" text="&#x8B1D;&#x8F9E;"/>
-<gentext key="edition" text="&#x7DE8;&#x96C6;"/>
-<gentext key="equation" text="&#x5F0F;"/>
-<gentext key="example" text="&#x4F8B;"/>
-<gentext key="figure" text="&#x56F3;"/>
-<gentext key="glosssee" text="&#x53C2;&#x8003;"/>
-<gentext key="glossseealso" text="&#x53C2;&#x8003;"/>
-<gentext key="glossary" text="&#x7528;&#x8A9E;&#x96C6;"/>
-<gentext key="important" text="&#x91CD;&#x8981;&#x9805;&#x76EE;"/>
-<gentext key="isbn" text="&#x4953;&#x424E;"/>
-<gentext key="important" text="&#x91CD;&#x8981;&#x9805;&#x76EE;"/>
-<gentext key="index" text="&#x76EE;&#x6B21;"/>
-<gentext key="legalnotice" text=""/>
-<gentext key="msgaud" text="&#x4175;&#x6469;&#x656E;&#x6365;"/>
-<gentext key="msglevel" text="&#x30EC;&#x30D9;&#x30EB;"/>
-<gentext key="msgorig" text="&#x30AA;&#x30EA;&#x30B8;&#x30CA;&#x30EB;"/>
-<gentext key="note" text="&#x6CE8;&#x610F;"/>
-<gentext key="note" text="&#x6CE8;&#x610F;"/>
-<gentext key="part" text="&#x30D1;&#x30FC;&#x30C8;"/>
-<gentext key="preface" text="&#x5E8F;&#x6587;"/>
-<gentext key="procedure" text="&#x624B;&#x9806;"/>
-<gentext key="published" text="&#x767A;&#x884C;"/>
-<gentext key="refname" text="&#x540D;&#x524D;"/>
-<gentext key="reference" text="&#x53C2;&#x8003;"/>
-<gentext key="revision" text="&#x6539;&#x8A02;"/>
-<gentext key="revhistory" text="&#x6539;&#x8A02;&#x5C65;&#x6B74;"/>
-<gentext key="section" text="&#x7BC0;"/>
-<gentext key="see" text="&#x53C2;&#x8003;"/>
-<gentext key="seealso" text="&#x53C2;&#x8003;"/>
-<gentext key="set" text="&#x8A2D;&#x5B9A;"/>
-<gentext key="setindex" text="&#x76EE;&#x6B21;&#x8A2D;&#x5B9A;"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="&#x30B9;&#x30C6;&#x30C3;&#x30D7;"/>
-<gentext key="tip" text="&#x30C6;&#x30A3;&#x30C3;&#x30D7;"/>
-<gentext key="table" text="&#x8868;"/>
-<gentext key="tip" text="&#x30C6;&#x30A3;&#x30C3;&#x30D7;"/>
-<gentext key="warning" text="&#x8B66;&#x544A;"/>
-<gentext key="warning" text="&#x8B66;&#x544A;"/>
-<gentext key="appendix" text="&#x4ED8;&#x9332;"/>
-<gentext key="chapter" text="&#x7AE0;"/>
-<gentext key="section" text="&#x7BC0;"/>
-<gentext key="sidebar" text="&#x30B5;&#x30A4;&#x30C9;&#x30D0;&#x30FC;"/>
-<gentext key="step" text="&#x30B9;&#x30C6;&#x30C3;&#x30D7;"/>
-<gentext key="seealso" text="&#x53C2;&#x8003;"/>
-
-<gentext key="TableofContents" text="&#x76EE;&#x6B21;"/>
-<gentext key="in" text="&#x65E5;&#x4ED8;"/>
-<gentext key="by" text="&#xFF1A;"/>
-<gentext key="Edited" text="&#x4F5C;&#x8005;"/>
-<gentext key="Editedby" text="26&#x4564;&#x6974;&#x3B20;&#x2662;&#x793B;"/>
-<gentext key="and" text="&#x3001;"/>
-<gentext key="Notes" text="&#x6CE8;&#x610F;"/>
-<gentext key="TableNotes" text="&#x6CE8;&#x610F;"/>
-<gentext key="nonexistantelement" text="&#x8981;&#x7D20;&#x304C;&#x5B58;&#x5728;&#x3057;&#x307E;&#x305B;&#x3093;"/>
-<gentext key="Pgs" text="&#x5067;&#x732E;"/>
-<gentext key="unsupported" text="&#x30B5;&#x30DD;&#x30FC;&#x30C8;&#x3057;&#x307E;&#x305B;&#x3093;"/>
-<gentext key="xrefto" text="78&#x7265;&#x6620;&#x746F;"/>
-<gentext key="unexpectedelementname" text="&#x4E0D;&#x660E;&#x306A;&#x8981;&#x7D20;&#x540D;"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="&#x8868;&#x30EA;&#x30B9;&#x30C8;"/>
-<gentext key="ListofExamples" text="&#x4F8B;&#x984C;&#x30EA;&#x30B9;&#x30C8;"/>
-<gentext key="ListofFigures" text="&#x0046;&#x0069;&#x0067;&#x0075;&#x0072;&#x0065;&#x30EA;&#x30B9;&#x30C8;"/>
-<gentext key="ListofEquations" text="&#x5F0F;&#x30EA;&#x30B9;&#x30C8;"/>
-<gentext key="ListofUnknown" text="&#x4E0D;&#x660E;&#x30EA;&#x30B9;&#x30C8;"/>
-
-<gentext key="nav-prev" text="&#x524D;&#x306E;&#x30DA;&#x30FC;&#x30B8;"/>
-<gentext key="nav-prev-sibling" text="Fast Backward"/>
-<gentext key="nav-next-sibling" text="Fast Forward"/>
-<gentext key="nav-next" text="&#x6B21;&#x306E;&#x30DA;&#x30FC;&#x30B8;"/>
-<gentext key="nav-up" text="Up"/>
-<gentext key="nav-home" text="Home"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/ko.xml b/docs/docbook/xslt/db2latex/common/ko.xml
deleted file mode 100644
index 06dd7cb217..0000000000
--- a/docs/docbook/xslt/db2latex/common/ko.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-<localization language="ko">
-
-<!-- ;; by Park Yong Joo (yongjoo@kldp.org) -->
-
-<gentext key="abstract" text="&#xCD08;&#xB85D;"/>
-<gentext key="answer" text="&#xB2F5;&#xBCC0;:"/>
-<gentext key="appendix" text="&#xBD80;&#xB85D;"/>
-<gentext key="article" text="&#xBB38;&#xC11C;"/>
-<gentext key="bibliography" text="&#xC11C;&#xC9C0;&#xC0AC;&#xD56D;"/>
-<gentext key="book" text="&#xCC45;"/>
-<gentext key="caution" text="&#xACBD;&#xACE0;!"/>
-<gentext key="chapter" text=""/>
-<gentext key="colophon" text="&#xD310;&#xAD8C;"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="&#xBC14;&#xCE58;&#xB294; &#xAE00;"/>
-<gentext key="edition" text="&#xAC1C;&#xC815;&#xD310;"/>
-<gentext key="equation" text="&#xC218;&#xC2DD;"/>
-<gentext key="example" text="&#xC608;"/>
-<gentext key="figure" text="&#xADF8;&#xB9BC;"/>
-<gentext key="glosssee" text="&#xC0B4;&#xD3B4;&#xBCFC; &#xB0B4;&#xC6A9;"/>
-<gentext key="glossseealso" text="&#xB2E4;&#xB978; &#xC0B4;&#xD3B4;&#xBCFC; &#xB0B4;&#xC6A9;"/>
-<gentext key="glossary" text="&#xC6A9;&#xC5B4;&#xD574;&#xC124;"/>
-<gentext key="important" text="[&#xC911;&#xC694;]"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="&#xC911;&#xC694;"/>
-<gentext key="index" text="&#xC0C9;&#xC778;"/>
-<gentext key="legalnotice" text="&#xBC95;&#xC801; &#xACF5;&#xC9C0;"/>
-<gentext key="msgaud" text="&#xB4E3;&#xAE30;"/>
-<gentext key="msglevel" text="&#xB808;&#xBCA8;"/>
-<gentext key="msgorig" text="&#xC6D0;&#xCC9C;"/>
-<gentext key="note" text="&#xCC38;&#xACE0;"/>
-<gentext key="part" text="&#xBD80;&#xBD84;"/>
-<gentext key="preface" text="&#xC11C;&#xBB38;"/>
-<gentext key="procedure" text="&#xC21C;&#xC11C;"/>
-<gentext key="published" text="&#xCD9C;&#xD310;"/>
-<gentext key="question" text="&#xB2F5;&#xBCC0;:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="&#xCC38;&#xACE0;&#xBB38;&#xD5CC;"/>
-<gentext key="refname" text="&#xC81C;&#xBAA9;"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="&#xC694;&#xC57D;"/>
-<gentext key="revision" text="&#xAD50;&#xC815;"/>
-<gentext key="revhistory" text="&#xAD50;&#xC815; &#xACFC;&#xC815;"/>
-<gentext key="section" text=""/>
-<gentext key="see" text="&#xC0B4;&#xD3B4;&#xBCFC; &#xB0B4;&#xC6A9;"/>
-<gentext key="seealso" text="[&#xC0B4;&#xD3B4;&#xBCFC; &#xB2E4;&#xB978; &#xB0B4;&#xC6A9;]"/>
-<gentext key="set" text="&#xC804;&#xC9D1;"/>
-<gentext key="setindex" text="&#xC804;&#xC9D1; &#xC0C9;&#xC778;"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="&#xB2E8;&#xACC4;"/>
-<gentext key="table" text="&#xD45C;"/>
-<gentext key="tip" text="&#xC791;&#xC740; &#xC815;&#xBCF4;"/>
-<gentext key="warning" text="&#xC8FC;&#xC758;"/>
-
-<gentext key="TableofContents" text="&#xCC28;&#xB840;"/>
-<gentext key="in" text="-"/>
-<gentext key="by" text="&#xAE00;&#xC4F4;&#xC774; : "/>
-<gentext key="Edited" text="&#xD3B8;&#xC9D1;"/>
-<gentext key="Editedby" text="&#xD3B8;&#xC9D1; : "/>
-<gentext key="and" text="&#xADF8;&#xB9AC;&#xACE0;"/>
-<gentext key="Notes" text="&#xC8FC;&#xC11D;"/>
-<gentext key="TableNotes" text="&#xCC38;&#xACE0;"/>
-<gentext key="nonexistantelement" text="&#xC874;&#xC7AC;&#xD558;&#xC9C0; &#xC54A;&#xB294; &#xAE30;&#xCD08;&#xC694;&#xC18C;&#xC785;&#xB2C8;&#xB2E4;"/>
-<gentext key="Pgs" text="Pgs."/>
-<gentext key="unsupported" text="&#xC9C0;&#xC6D0;&#xB418;&#xC9C0; &#xC54A;&#xC2B5;&#xB2C8;&#xB2E4;"/>
-<gentext key="xrefto" text="&#xC774; &#xACF3;&#xC744; &#xCC38;&#xC870;&#xD558;&#xC138;&#xC694; : "/>
-<gentext key="unexpectedelementname" text="&#xC54C; &#xC218; &#xC5C6;&#xB294; &#xAE30;&#xCD08;&#xC694;&#xC18C; &#xC774;&#xB984;&#xC785;&#xB2C8;&#xB2E4;"/>
-<gentext key="Revisedby" text="&#xAD50;&#xC815; : "/>
-
-<gentext key="ListofTables" text="&#xD45C; &#xBAA9;&#xB85D;"/>
-<gentext key="ListofExamples" text="&#xC608; &#xBAA9;&#xB85D;"/>
-<gentext key="ListofFigures" text="&#xADF8;&#xB9BC; &#xBAA9;&#xB85D;"/>
-<gentext key="ListofEquations" text="&#xC218;&#xC2DD; &#xBAA9;&#xB85D;"/>
-<gentext key="ListofUnknown" text="&#xAE30;&#xD0C0; &#xBAA9;&#xB85D;"/>
-
-<gentext key="nav-prev" text="Prev"/>
-<gentext key="nav-prev-sibling" text="Fast Backward"/>
-<gentext key="nav-next-sibling" text="Fast Forward"/>
-<gentext key="nav-next" text="Next"/>
-<gentext key="nav-up" text="Up"/>
-<gentext key="nav-home" text="Home"/>
-
-<dingbat key="startquote" text='&#8220;'/>
-<dingbat key="endquote" text='&#8221;'/>
-<dingbat key="nestedstartquote" text="`"/>
-<dingbat key="nestedendquote" text="'"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/l10n.dtd b/docs/docbook/xslt/db2latex/common/l10n.dtd
deleted file mode 100644
index 0336baf208..0000000000
--- a/docs/docbook/xslt/db2latex/common/l10n.dtd
+++ /dev/null
@@ -1,25 +0,0 @@
-<!ELEMENT internationalization (localization+)>
-
-<!ELEMENT localization (gentext|dingbat|xref)*>
-<!ATTLIST localization
- language CDATA #REQUIRED
->
-
-<!ELEMENT gentext EMPTY>
-<!ATTLIST gentext
- key CDATA #REQUIRED
- text CDATA #REQUIRED
->
-
-<!ELEMENT dingbat EMPTY>
-<!ATTLIST dingbat
- key CDATA #REQUIRED
- text CDATA #REQUIRED
->
-
-<!ELEMENT xref EMPTY>
-<!ATTLIST xref
- element CDATA #REQUIRED
- text CDATA #REQUIRED
->
-
diff --git a/docs/docbook/xslt/db2latex/common/l10n.xml b/docs/docbook/xslt/db2latex/common/l10n.xml
deleted file mode 100644
index a7ef90e905..0000000000
--- a/docs/docbook/xslt/db2latex/common/l10n.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE internationalization SYSTEM "l10n.dtd" [
-<!ENTITY ca SYSTEM "ca.xml">
-<!ENTITY cs SYSTEM "cs.xml">
-<!ENTITY da SYSTEM "da.xml">
-<!ENTITY de SYSTEM "de.xml">
-<!ENTITY el SYSTEM "el.xml">
-<!ENTITY en SYSTEM "en.xml">
-<!ENTITY es SYSTEM "es.xml">
-<!ENTITY et SYSTEM "et.xml">
-<!ENTITY fi SYSTEM "fi.xml">
-<!ENTITY fr SYSTEM "fr.xml">
-<!ENTITY hu SYSTEM "hu.xml">
-<!ENTITY id SYSTEM "id.xml">
-<!ENTITY it SYSTEM "it.xml">
-<!ENTITY ja SYSTEM "ja.xml">
-<!ENTITY ko SYSTEM "ko.xml">
-<!ENTITY nl SYSTEM "nl.xml">
-<!ENTITY no SYSTEM "no.xml">
-<!ENTITY pl SYSTEM "pl.xml">
-<!ENTITY pt SYSTEM "pt.xml">
-<!ENTITY pt_br SYSTEM "pt_br.xml">
-<!ENTITY ro SYSTEM "ro.xml">
-<!ENTITY ru SYSTEM "ru.xml">
-<!ENTITY sk SYSTEM "sk.xml">
-<!ENTITY sl SYSTEM "sl.xml">
-<!ENTITY sv SYSTEM "sv.xml">
-<!ENTITY zh_cn SYSTEM "zh_cn.xml">
-<!ENTITY zh_tw SYSTEM "zh_tw.xml">
-]>
-<internationalization>
-&ca;
-&cs;
-&da;
-&de;
-&el;
-&en;
-&es;
-&et;
-&fi;
-&fr;
-&hu;
-&id;
-&it;
-&ja;
-&ko;
-&nl;
-&no;
-&pl;
-&pt;
-&pt_br;
-&ro;
-&ru;
-&sk;
-&sl;
-&sv;
-&zh_cn;
-&zh_tw;
-</internationalization>
diff --git a/docs/docbook/xslt/db2latex/common/l10n.xsl b/docs/docbook/xslt/db2latex/common/l10n.xsl
deleted file mode 100644
index f2f2e5ee34..0000000000
--- a/docs/docbook/xslt/db2latex/common/l10n.xsl
+++ /dev/null
@@ -1,249 +0,0 @@
-<?xml version='1.0'?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version='1.0'>
-
-<!-- ********************************************************************
- $Id: l10n.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- ********************************************************************
-
- Derived from the official XSL DocBook Stylesheet distribution.
- See http://nwalsh.com/docbook/xsl/ for copyright and other information.
-
- This file contains localization templates (for internationalization)
- ******************************************************************** -->
-
-
-
-
-<xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/>
-<xsl:param name="l10n.gentext.language" select="''"/>
-<xsl:param name="l10n.gentext.default.language" select="'en'"/>
-<xsl:param name="l10n.gentext.use.xref.language" select="false()"/>
-
-
-
-
-
-<xsl:template name="l10n.language">
- <xsl:param name="target" select="."/>
- <xsl:param name="xref-context" select="false()"/>
-
- <xsl:variable name="language">
- <xsl:choose>
- <xsl:when test="$l10n.gentext.language != ''">
- <xsl:value-of select="$l10n.gentext.language"/>
- </xsl:when>
-
- <xsl:when test="$xref-context or $l10n.gentext.use.xref.language">
- <xsl:variable name="lang-attr"
- select="($target/ancestor-or-self::*/@lang
- |$target/ancestor-or-self::*/@xml:lang)[last()]"/>
- <xsl:choose>
- <xsl:when test="string($lang-attr) = ''">
- <xsl:value-of select="$l10n.gentext.default.language"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$lang-attr"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:variable name="lang-attr"
- select="(ancestor-or-self::*/@lang
- |ancestor-or-self::*/@xml:lang)[last()]"/>
- <xsl:choose>
- <xsl:when test="string($lang-attr) = ''">
- <xsl:value-of select="$l10n.gentext.default.language"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$lang-attr"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="contains($language,'-')">
- <xsl:value-of select="substring-before($language,'-')"/>
- <xsl:text>_</xsl:text>
- <xsl:value-of select="substring-after($language,'-')"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$language"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="gentext.xref.text">
- <xsl:param name="element.name" select="name(.)"/>
- <xsl:param name="default"></xsl:param>
- <xsl:param name="lang">
- <xsl:call-template name="l10n.language"/>
- </xsl:param>
-
- <xsl:variable name="l10n.text">
- <xsl:value-of select="($l10n.xml/internationalization/localization[@language=$lang]/xref[@element=$element.name])[1]/@text"/>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$l10n.text=''">
- <xsl:choose>
- <xsl:when test="$default=''">
- <xsl:message>
- <xsl:text>No "</xsl:text>
- <xsl:value-of select="$lang"/>
- <xsl:text>" cross reference text for "</xsl:text>
- <xsl:value-of select="$element.name"/>
- <xsl:text>" exists and no default specified.</xsl:text>
- </xsl:message>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$default"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$l10n.text"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="gentext">
- <xsl:param name="key" select="local-name(.)"/>
- <xsl:param name="lang">
- <xsl:call-template name="l10n.language"/>
- </xsl:param>
-
- <xsl:variable name="l10n.gentext"
- select="($l10n.xml/internationalization/localization[@language=$lang]/gentext[@key=$key])[1]"/>
-
- <xsl:variable name="l10n.name">
- <xsl:value-of select="$l10n.gentext/@text"/>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="count($l10n.gentext)=0">
- <xsl:message>
- <xsl:text>No "</xsl:text>
- <xsl:value-of select="$lang"/>
- <xsl:text>" localization of "</xsl:text>
- <xsl:value-of select="$key"/>
- <xsl:text>" exists; using "en".</xsl:text>
- </xsl:message>
-
- <xsl:value-of select="($l10n.xml/internationalization/localization[@language='en']/gentext[@key=$key])[1]/@text"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$l10n.name"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="gentext.element.name">
- <xsl:param name="element.name" select="name(.)"/>
- <xsl:param name="lang">
- <xsl:call-template name="l10n.language"/>
- </xsl:param>
-
- <xsl:call-template name="gentext">
- <xsl:with-param name="key" select="$element.name"/>
- <xsl:with-param name="lang" select="$lang"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.space">
- <xsl:text> </xsl:text>
-</xsl:template>
-
-<xsl:template name="gentext.edited.by">
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">Editedby</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.by">
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">by</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.dingbat">
- <xsl:param name="dingbat">bullet</xsl:param>
- <xsl:param name="lang">
- <xsl:call-template name="l10n.language"/>
- </xsl:param>
-
- <xsl:variable name="l10n.dingbat">
- <xsl:value-of select="($l10n.xml/internationalization/localization[@language=$lang]/dingbat[@key=$dingbat])[1]/@text"/>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$l10n.dingbat=''">
- <xsl:message>
- <xsl:text>No "</xsl:text>
- <xsl:value-of select="$lang"/>
- <xsl:text>" localization of dingbat </xsl:text>
- <xsl:value-of select="$dingbat"/>
- <xsl:text> exists; using "en".</xsl:text>
- </xsl:message>
-
- <xsl:value-of select="($l10n.xml/internationalization/localization[@language='en']/dingbat[@key=$dingbat])[1]/@text"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$l10n.dingbat"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="gentext.startquote">
- <xsl:call-template name="gentext.dingbat">
- <xsl:with-param name="dingbat">startquote</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.endquote">
- <xsl:call-template name="gentext.dingbat">
- <xsl:with-param name="dingbat">endquote</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.nestedstartquote">
- <xsl:call-template name="gentext.dingbat">
- <xsl:with-param name="dingbat">nestedstartquote</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.nestedendquote">
- <xsl:call-template name="gentext.dingbat">
- <xsl:with-param name="dingbat">nestedendquote</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.nav.prev">
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">nav-prev</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.nav.next">
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">nav-next</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.nav.home">
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">nav-home</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="gentext.nav.up">
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">nav-up</xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/common/nl.xml b/docs/docbook/xslt/db2latex/common/nl.xml
deleted file mode 100644
index 56ead54d30..0000000000
--- a/docs/docbook/xslt/db2latex/common/nl.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-<localization language="nl">
-
-<!-- Updated by Frederik Fouvry, fouvry@essex.ac.uk -->
-<!-- Vincent Partington, vincent.partington@graddelt.com -->
-<!-- Updated by Erwin Bolwidt, ejb@tryllian.com, august 2000 -->
-
-<gentext key="abstract" text="Overzicht"/>
-<gentext key="answer" text="A:"/>
-<gentext key="appendix" text="Aanhangsel"/>
-<gentext key="article" text="Artikel"/>
-<gentext key="bibliography" text="Bibliografie"/>
-<gentext key="book" text="Boek"/>
-<gentext key="caution" text="Waarschuwing"/>
-<gentext key="chapter" text="Hoofdstuk"/>
-<gentext key="colophon" text="Colofon"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Opdracht"/>
-<gentext key="edition" text="Uitgave"/>
-<gentext key="equation" text="Vergelijking"/>
-<gentext key="example" text="Voorbeeld"/>
-<gentext key="figure" text="Figuur"/>
-<gentext key="glossary" text="Woordenlijst"/>
-<gentext key="glosssee" text="Zie"/>
-<gentext key="glossseealso" text="Zie ook"/>
-<gentext key="important" text="Belangrijk"/>
-<gentext key="index" text="Index"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="legalnotice" text="Juridische mededeling"/>
-<gentext key="msgaud" text="Doelgroep"/>
-<gentext key="msglevel" text="Ernst"/>
-<gentext key="msgorig" text="Afkomst"/>
-<gentext key="note" text="N.B."/>
-<gentext key="part" text="Deel"/>
-<gentext key="preface" text="Inleiding"/>
-<gentext key="procedure" text="Procedure"/>
-<gentext key="published" text="Gepubliceerd"/>
-<gentext key="pubdate" text="Gepubliceerd"/>
-<gentext key="question" text="V:"/>
-<gentext key="refentry" text="Referentielemma"/>
-<gentext key="reference" text="Referentie"/>
-<gentext key="refname" text="Referentienaam"/>
-<gentext key="refsection" text="Referentieparagraaf"/>
-<gentext key="refsynopsisdiv" text="Samenvatting"/>
-<gentext key="revhistory" text="Revisie verloop"/>
-<gentext key="revision" text="Revisie"/>
-<gentext key="section" text="Sectie"/>
-<gentext key="sect1" text="Sectie"/>
-<gentext key="sect2" text="Sectie"/>
-<gentext key="sect3" text="Sectie"/>
-<gentext key="sect4" text="Sectie"/>
-<gentext key="sect5" text="Sectie"/>
-<gentext key="see" text="Zie"/>
-<gentext key="seealso" text="Zie ook"/>
-<gentext key="set" text="Verzameling"/>
-<gentext key="setindex" text="Hoofdindex"/>
-<gentext key="sidebar" text="Excursie"/>
-<gentext key="step" text="Stap"/>
-<gentext key="table" text="Tabel"/>
-<gentext key="tip" text="Tip"/>
-<gentext key="warning" text="Waarschuwing"/>
-
-<gentext key="TableofContents" text="Inhoudsopgave"/>
-<gentext key="in" text="in"/>
-<gentext key="by" text="door"/>
-<gentext key="Edited" text="Redactie"/>
-<gentext key="Editedby" text="Redactie door"/>
-<gentext key="and" text="en"/>
-<gentext key="Notes" text="Opmerkingen"/>
-<gentext key="TableNotes" text="Opmerkingen"/>
-<gentext key="nonexistantelement" text="niet-bestaand element"/>
-<gentext key="Pgs" text="blz."/>
-<gentext key="unsupported" text="niet ondersteund"/>
-<gentext key="xrefto" text="verwijzing naar"/>
-<gentext key="unexpectedelementname" text="Onverwachte naam van element"/>
-<gentext key="Revisedby" text="Herzien door:"/>
-
-<gentext key="ListofTables" text="Lijst van Tabellen"/>
-<gentext key="ListofExamples" text="Lijst van Voorbeelden"/>
-<gentext key="ListofFigures" text="Lijst van Figuren"/>
-<gentext key="ListofEquations" text="Lijst van Vergelijkingen"/>
-<gentext key="ListofUnknown" text="Lijst van Onbekends"/>
-
-<gentext key="nav-prev" text="Vorige"/>
-<gentext key="nav-prev-sibling" text="Snel terug"/>
-<gentext key="nav-next-sibling" text="Snel vooruit"/>
-<gentext key="nav-next" text="Volgende"/>
-<gentext key="nav-up" text="Omhoog"/>
-<gentext key="nav-home" text="Begin"/>
-
-<gentext key="the section called" text="de sectie genaamd"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="preface" text="%t"/>
-<xref element="bibliography" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/no.xml b/docs/docbook/xslt/db2latex/common/no.xml
deleted file mode 100644
index b3aba44fde..0000000000
--- a/docs/docbook/xslt/db2latex/common/no.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-<localization language="no">
-
-<gentext key="abstract" text="Abstract"/>
-<gentext key="appendix" text="Tillegg"/>
-<gentext key="article" text=""/>
-<gentext key="bibliography" text="Bibliografi"/>
-<gentext key="book" text=""/>
-<gentext key="caution" text="OBS"/>
-<gentext key="caution" text="Obs"/>
-<gentext key="chapter" text="Kapittel"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Dedikasjon"/>
-<gentext key="edition" text=""/>
-<gentext key="equation" text="Formel"/>
-<gentext key="example" text="Eksempel"/>
-<gentext key="figure" text="Figur"/>
-<gentext key="glosssee" text="Se"/>
-<gentext key="glossseealso" text="Se Ogs&#x00E5;"/>
-<gentext key="glossary" text="Ordliste"/>
-<gentext key="important" text="VIKTIG"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Viktig"/>
-<gentext key="index" text="Indeks"/>
-<gentext key="legalnotice" text=""/>
-<gentext key="msgaud" text="Publikum"/>
-<gentext key="msglevel" text="Niv&#x00E5;"/>
-<gentext key="msgorig" text="Opphav"/>
-<gentext key="note" text="NOTAT"/>
-<gentext key="note" text="Notat"/>
-<gentext key="part" text="Del"/>
-<gentext key="preface" text="Forord"/>
-<gentext key="procedure" text="Prosedyre"/>
-<gentext key="published" text=""/>
-<gentext key="refname" text="Navn"/>
-<gentext key="reference" text="Referanse"/>
-<gentext key="revision" text="Revisjon"/>
-<gentext key="revhistory" text="Revisjonshistorie"/>
-<gentext key="section" text="Seksjon"/>
-<gentext key="see" text="Se"/>
-<gentext key="seealso" text="Se Ogs&#x00E5;"/>
-<gentext key="set" text=""/>
-<gentext key="setindex" text="Indeks"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="Steg"/>
-<gentext key="tip" text="TIPS"/>
-<gentext key="table" text="Tabell"/>
-<gentext key="tip" text="Tips"/>
-<gentext key="warning" text="ADVARSEL"/>
-<gentext key="warning" text="Advarsel"/>
-<gentext key="appendix" text="Tillegg"/>
-<gentext key="chapter" text="Kapittel"/>
-<gentext key="section" text="seksjon"/>
-<gentext key="step" text="steg"/>
-<gentext key="seealso" text="Se ogs&#x00E5;"/>
-
-<gentext key="TableofContents" text="Innholdsfortegnelse"/>
-<gentext key="in" text="i"/>
-<gentext key="by" text="av"/>
-<gentext key="Edited" text="Redigert"/>
-<gentext key="Editedby" text="Redigert av"/>
-<gentext key="and" text="og"/>
-<gentext key="Notes" text="Sluttnotater"/>
-<gentext key="TableNotes" text="Notater"/>
-<gentext key="nonexistantelement" text="ikke-eksisterende element"/>
-<gentext key="Pgs" text="Sdr."/>
-<gentext key="unsupported" text="ikke st&#x2298;ttet"/>
-<gentext key="xrefto" text="xref til"/>
-<gentext key="unexpectedelementname" text="UVENTET-ELEMENTNAVN"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Tabelloversikt"/>
-<gentext key="ListofExamples" text="Eksempeloversikt"/>
-<gentext key="ListofFigures" text="Figuroversikt"/>
-<gentext key="ListofEquations" text="Formeloversikt"/>
-<gentext key="ListofUnknown" text="???-oversikt"/>
-
-<gentext key="nav-prev" text="Forrige"/>
-<gentext key="nav-prev-sibling" text="Raskt Bakover"/>
-<gentext key="nav-next-sibling" text="Raskt Fremover"/>
-<gentext key="nav-next" text="Neste"/>
-<gentext key="nav-up" text="Opp"/>
-<gentext key="nav-home" text="Hjem"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/pl.xml b/docs/docbook/xslt/db2latex/common/pl.xml
deleted file mode 100644
index 8582bbebe8..0000000000
--- a/docs/docbook/xslt/db2latex/common/pl.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-<localization language="pl">
-
-<gentext key="abstract" text="Abstrakt"/>
-<gentext key="appendix" text="Dodatek"/>
-<gentext key="article" text="Article"/>
-<gentext key="bibliography" text="Bibliografia"/>
-<gentext key="book" text="Book"/>
-<gentext key="caution" text="PRZYPADEK"/>
-<gentext key="caution" text="Przypadek"/>
-<gentext key="chapter" text="Rozdzia&#179;"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Dedykacja"/>
-<gentext key="edition" text="Wydanie"/>
-<gentext key="equation" text="R&#243;wnanie"/>
-<gentext key="example" text="Przyk&#179;ad"/>
-<gentext key="figure" text="Rysunek"/>
-<gentext key="glosssee" text="Patrz"/>
-<gentext key="glossseealso" text="Patrz te&#191;"/>
-<gentext key="glossary" text="Glossary"/>
-<gentext key="important" text="WA&#175;NE"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="WA&#175;NE"/>
-<gentext key="index" text="Indeks"/>
-<gentext key="legalnotice" text=""/>
-<gentext key="msgaud" text="Odbiorcy"/>
-<gentext key="msglevel" text="Poziom"/>
-<gentext key="msgorig" text="Nadawca"/>
-<gentext key="note" text="NOTATKA"/>
-<gentext key="note" text="Notatka"/>
-<gentext key="part" text="Cz&#234;&#182;&#230;"/>
-<gentext key="preface" text="Przedmowa"/>
-<gentext key="procedure" text="Procedura"/>
-<gentext key="published" text="Data wydania"/>
-<gentext key="refname" text="Nazwa"/>
-<gentext key="reference" text="Materia&#179;y &#188;r&#243;d&#179;owe"/>
-<gentext key="revision" text="Zmiana"/>
-<gentext key="revhistory" text="Historia zmian"/>
-<gentext key="section" text="Sekcja"/>
-<gentext key="see" text="Patrz"/>
-<gentext key="seealso" text="Patrz Te&#191;"/>
-<gentext key="set" text="Set"/>
-<gentext key="setindex" text="Indeks"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="krok"/>
-<gentext key="tip" text="Podpowied&#188;"/>
-<gentext key="table" text="Tabela"/>
-<gentext key="tip" text="Podpowied&#188;"/>
-<gentext key="warning" text="Ostrze&#191;enie"/>
-<gentext key="warning" text="Ostrze&#191;enie"/>
-<gentext key="appendix" text="dodatek"/>
-<gentext key="chapter" text="rozdzia&#179;"/>
-<gentext key="section" text="sekcja"/>
-<gentext key="step" text="krok"/>
-<gentext key="seealso" text="Patrz te&#191;"/>
-
-<gentext key="TableofContents" text="Spis tre&#182;ci"/>
-<gentext key="in" text="w"/>
-<gentext key="by" text=""/>
-<gentext key="Editedby" text="Redakcja: "/>
-<gentext key="and" text="i"/>
-<gentext key="Notes" text="Przypisy"/>
-<gentext key="TableNotes" text="Przypisy"/>
-<gentext key="nonexistantelement" text="nie istniej&#177;cy element"/>
-<gentext key="Pgs" text="stron"/>
-<gentext key="unsupported" text="nie wspierany"/>
-<gentext key="xrefto" text="xref to"/>
-<gentext key="unexpectedelementname" text="Unexpected element name"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Spis tabel"/>
-<gentext key="ListofExamples" text="Spis przyk&#179;ad&#243;w"/>
-<gentext key="ListofFigures" text="Spis rysunk&#243;w"/>
-<gentext key="ListofEquations" text="Spis r&#243;wna&#241;"/>
-<gentext key="ListofUnknown" text="Spis ???"/>
-
-<gentext key="nav-prev" text="Poprzedni"/>
-<gentext key="nav-prev-sibling" text="Poprzedni rozdzia&#179;"/>
-<gentext key="nav-next-sibling" text="Nast&#234;pny rozdzia&#179;"/>
-<gentext key="nav-next" text="Nast&#234;pny"/>
-<gentext key="nav-up" text="Pocz&#177;tek rozdzia&#179;u"/>
-<gentext key="nav-home" text="Spis tre&#182;ci"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/pt.xml b/docs/docbook/xslt/db2latex/common/pt.xml
deleted file mode 100644
index af0c22f4b4..0000000000
--- a/docs/docbook/xslt/db2latex/common/pt.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<localization language="pt">
-
-<gentext key="abstract" text="Resumo"/>
-<gentext key="appendix" text="Ap&#234;ndice"/>
-<gentext key="article" text="Article"/>
-<gentext key="bibliography" text="Bibliografia"/>
-<gentext key="book" text="Book"/>
-<gentext key="caution" text="CAUTELA"/>
-<gentext key="caution" text="Cautela"/>
-<gentext key="chapter" text="Cap&#237;tulo"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Dedicat&#243;ria"/>
-<gentext key="edition" text="Edi&#231;&#227;o"/>
-<gentext key="equation" text="Equa&#231;&#227;o"/>
-<gentext key="example" text="Exemplo"/>
-<gentext key="figure" text="Figura"/>
-<gentext key="glosssee" text="Ver"/>
-<gentext key="glossseealso" text="Ver Tamb&#233;m"/>
-<gentext key="glossary" text="Glossario"/>
-<gentext key="important" text="IMPORTANTE"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Importante"/>
-<gentext key="index" text="Index"/>
-<gentext key="legalnotice" text=""/>
-<gentext key="msgaud" text="Audi&#234;ncia"/>
-<gentext key="msglevel" text="N&#237;vel"/>
-<gentext key="msgorig" text="Origem"/>
-<gentext key="note" text="NOTA"/>
-<gentext key="note" text="Nota"/>
-<gentext key="part" text="Parte"/>
-<gentext key="preface" text="Pref&#225;cio"/>
-<gentext key="procedure" text="Procedimento"/>
-<gentext key="pubdate" text="Editado"/>
-<gentext key="published" text="Published"/>
-<gentext key="refname" text="Nome"/>
-<gentext key="reference" text="Refer&#234;ncia"/>
-<gentext key="revision" text="Revis&#227;o"/>
-<gentext key="revhistory" text="Hitorial de Revis&#245;es"/>
-<gentext key="section" text="Sec&#231;&#227;o"/>
-<gentext key="see" text="Ver"/>
-<gentext key="seealso" text="Ver Tamb&#233;m"/>
-<gentext key="set" text="Set"/>
-<gentext key="setindex" text="Set Index"/>
-<gentext key="sidebar" text="Sidebar"/>
-<gentext key="step" text="Passo"/>
-<gentext key="tip" text="DICA"/>
-<gentext key="table" text="Tabela"/>
-<gentext key="tip" text="Dica"/>
-<gentext key="warning" text="ATEN&#199;&#195;O"/>
-<gentext key="warning" text="Aten&#231;&#227;o"/>
-<gentext key="appendix" text="ap&#234;ndice"/>
-<gentext key="chapter" text="cap&#237;tulo"/>
-<gentext key="section" text="sec&#231;&#227;o"/>
-<gentext key="step" text="passo"/>
-<gentext key="seealso" text="ver tamb&#233;m"/>
-
-<gentext key="TableofContents" text="&#205;ndice"/>
-<gentext key="in" text=""/>
-<gentext key="by" text="por"/>
-<gentext key="Edited" text="Editado"/>
-<gentext key="Editedby" text="Editado por"/>
-<gentext key="and" text="e"/>
-<gentext key="Notes" text="Notas"/>
-<gentext key="TableNotes" text="Notas"/>
-<gentext key="nonexistantelement" text="non-existant element"/>
-<gentext key="Pgs" text="P&#225;ginas"/>
-<gentext key="unsupported" text="unsupported"/>
-<gentext key="xrefto" text="xref to"/>
-<gentext key="unexpectedelementname" text="Unexpected element name"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Lista de Tabelas"/>
-<gentext key="ListofExamples" text="Lista de Exemplos"/>
-<gentext key="ListofFigures" text="Lista de Figuras"/>
-<gentext key="ListofEquations" text="Lista de Equa&#231;&#245;es"/>
-<gentext key="ListofUnknown" text="List of ???"/>
-
-<gentext key="nav-prev" text="Prev"/>
-<gentext key="nav-prev-sibling" text="Fast Backward"/>
-<gentext key="nav-next-sibling" text="Fast Forward"/>
-<gentext key="nav-next" text="Next"/>
-<gentext key="nav-up" text="Up"/>
-<gentext key="nav-home" text="Home"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/pt_br.xml b/docs/docbook/xslt/db2latex/common/pt_br.xml
deleted file mode 100644
index cf63d1ebf2..0000000000
--- a/docs/docbook/xslt/db2latex/common/pt_br.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<localization language="pt_br">
-
-<gentext key="abstract" text="Resumo"/>
-<gentext key="appendix" text="Ap&#234;ndice"/>
-<gentext key="article" text="Artigo"/>
-<gentext key="bibliography" text="Bibliografia"/>
-<gentext key="book" text="Livro"/>
-<gentext key="caution" text="CUIDADO"/>
-<gentext key="caution" text="Cuidado"/>
-<gentext key="chapter" text="Cap&#237;tulo"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Dedicat&#243;ria"/>
-<gentext key="edition" text="Edi&#231;&#227;o"/>
-<gentext key="equation" text="Equa&#231;&#227;o"/>
-<gentext key="example" text="Exemplo"/>
-<gentext key="figure" text="Figura"/>
-<gentext key="glosssee" text="Ver"/>
-<gentext key="glossseealso" text="Ver Tamb&#233;m"/>
-<gentext key="glossary" text="Gloss&#225;rio"/>
-<gentext key="important" text="IMPORTANTE"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Importante"/>
-<gentext key="index" text="&#205;ndice Remissivo"/>
-<gentext key="legalnotice" text="Nota Legal"/>
-<gentext key="msgaud" text="Audi&#234;ncia"/>
-<gentext key="msglevel" text="N&#237;vel"/>
-<gentext key="msgorig" text="Origem"/>
-<gentext key="note" text="NOTA"/>
-<gentext key="note" text="Nota"/>
-<gentext key="part" text="Parte"/>
-<gentext key="preface" text="Pref&#225;cio"/>
-<gentext key="procedure" text="Procedimento"/>
-<gentext key="pubdate" text="Data de Publica&#231;&#227;o"/>
-<gentext key="published" text="Publicado"/>
-<gentext key="refname" text="Nome"/>
-<gentext key="reference" text="Refer&#234;ncia"/>
-<gentext key="revision" text="Revis&#227;o"/>
-<gentext key="revhistory" text="Hist&#243;rico de Revis&#245;es"/>
-<gentext key="section" text="Sec&#231;&#227;o"/>
-<gentext key="see" text="Ver"/>
-<gentext key="seealso" text="Ver Tamb&#233;m"/>
-<gentext key="set" text="Conjunto"/>
-<gentext key="setindex" text="&#205;ndice do Conjunto"/>
-<gentext key="sidebar" text="Quadro Lateral"/>
-<gentext key="step" text="Passo"/>
-<gentext key="tip" text="DICA"/>
-<gentext key="table" text="Tabela"/>
-<gentext key="tip" text="Dica"/>
-<gentext key="warning" text="ATEN&#199;&#195;O"/>
-<gentext key="warning" text="Aten&#231;&#227;o"/>
-<gentext key="appendix" text="ap&#234;ndice"/>
-<gentext key="chapter" text="cap&#237;tulo"/>
-<gentext key="section" text="sec&#231;&#227;o"/>
-<gentext key="step" text="passo"/>
-<gentext key="seealso" text="ver tamb&#233;m"/>
-
-<gentext key="TableofContents" text="&#205;ndice"/>
-<gentext key="in" text=""/>
-<gentext key="by" text="por"/>
-<gentext key="Edited" text="Editado"/>
-<gentext key="Editedby" text="Editado por"/>
-<gentext key="Revisedby" text="Revised by: "/> <!-- en -->
-<gentext key="and" text="e"/>
-<gentext key="Notes" text="Notas"/>
-<gentext key="TableNotes" text="Notas"/>
-<gentext key="nonexistantelement" text="elemento inexistente"/>
-<gentext key="Pgs" text="P&#225;ginas"/>
-<gentext key="unsupported" text="n&#227;o suportado"/>
-<gentext key="xrefto" text="refer&#234;ncia para"/>
-<gentext key="unexpectedelementname" text="Nome de elemento inesperado"/>
-
-<gentext key="ListofTables" text="Lista de Tabelas"/>
-<gentext key="ListofExamples" text="Lista de Exemplos"/>
-<gentext key="ListofFigures" text="Lista de Figuras"/>
-<gentext key="ListofEquations" text="Lista de Equa&#231;&#245;es"/>
-<gentext key="ListofUnknown" text="Lista de ???"/>
-
-<gentext key="nav-prev" text="Anterior"/>
-<gentext key="nav-prev-sibling" text="In&#237;cio"/>
-<gentext key="nav-next-sibling" text="Fim"/>
-<gentext key="nav-next" text="Pr&#243;xima"/>
-<gentext key="nav-up" text="Acima"/>
-<gentext key="nav-home" text="Principal"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/ro.xml b/docs/docbook/xslt/db2latex/common/ro.xml
deleted file mode 100644
index a59ffd8217..0000000000
--- a/docs/docbook/xslt/db2latex/common/ro.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<localization language="ro">
-
-<gentext key="abstract" text="Rezumat"/>
-<gentext key="appendix" text="Anexa"/>
-<gentext key="article" text="Articol"/>
-<gentext key="bibliography" text="Bibliografie"/>
-<gentext key="book" text="Carte"/>
-<gentext key="caution" text="ATEN&#222;IE"/>
-<gentext key="caution" text="Aten&#254;ie"/>
-<gentext key="chapter" text="Cap."/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Dedica&#254;ie"/>
-<gentext key="edition" text="Edi&#254;ie"/>
-<gentext key="equation" text="ecua&#254;ia"/>
-<gentext key="example" text="Exemplu"/>
-<gentext key="figure" text="Fig."/>
-<gentext key="glossary" text="Glosar"/>
-<gentext key="glosssee" text="Vezi"/>
-<gentext key="glossseealso" text="Vezi &#x015F;i"/>
-<gentext key="important" text="IMPORTANT"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Important"/>
-<gentext key="index" text="Index"/>
-<gentext key="legalnotice" text=""/>
-<gentext key="msgaud" text=""/>
-<gentext key="msglevel" text="Nivel"/>
-<gentext key="msgorig" text="Origine"/>
-<gentext key="note" text="NOT&#195;"/>
-<gentext key="note" text="Not&#227;"/>
-<gentext key="refname" text="Nume"/>
-<gentext key="note" text="Not&#227;"/>
-<gentext key="part" text="Parte"/>
-<gentext key="preface" text="Prefa&#254;&#227;"/>
-<gentext key="procedure" text="Procedur&#227;"/>
-<gentext key="published" text="Publicat"/>
-<gentext key="reference" text="Referin&#254;&#227;"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="Referin&#254;&#227;"/>
-<gentext key="refname" text="Name"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="Rezumat"/>
-<gentext key="revision" text="Versiune"/>
-<gentext key="revhistory" text="Istoricul versiunilor"/>
-<gentext key="section" text="Sec&#254;iune"/>
-<gentext key="see" text="Vezi"/>
-<gentext key="seealso" text="Vezi &#x015F;i"/>
-<gentext key="set" text="Set"/>
-<gentext key="setindex" text="Index"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="Opera&#254;ie"/>
-<gentext key="tip" text="INDICA&#222;IE"/>
-<gentext key="table" text="Tabel"/>
-<gentext key="tip" text="Indica&#254;ie"/>
-<gentext key="warning" text="AVERTISMENT"/>
-<gentext key="warning" text="Avertisment"/>
-<gentext key="appendix" text="anexa"/>
-<gentext key="sidebar" text="sidebar"/>
-<gentext key="chapter" text="cap."/>
-<gentext key="section" text="sec."/>
-<gentext key="step" text="opera&#254;iune"/>
-<gentext key="seealso" text="Vezi &#x015F;i"/>
-
-<gentext key="TableofContents" text="Cuprins"/>
-<gentext key="in" text="&#x00EE;n"/>
-<gentext key="by" text="de"/>
-<gentext key="Edited" text="Publicat"/>
-<gentext key="Editedby" text="Publicat de"/>
-<gentext key="and" text="&#x015F;i"/>
-<gentext key="Notes" text="Note"/>
-<gentext key="TableNotes" text="Remarci"/>
-<gentext key="nonexistantelement" text="element inexistent"/>
-<gentext key="Pgs" text="Pagini"/>
-<gentext key="unsupported" text="nerecunoscut de sisitem"/>
-<gentext key="xrefto" text="referin&#254;&#227; c&#227;tre"/>
-<gentext key="unexpectedelementname" text="Nume de element nea&#x015F;teptat"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="List&#227; de tabele"/>
-<gentext key="ListofExamples" text="List&#227; de exemple"/>
-<gentext key="ListofFigures" text="List&#227; de figuri"/>
-<gentext key="ListofEquations" text="List&#227; de ecua&#254;ii"/>
-<gentext key="ListofUnknown" text="List&#227; de necunoscute"/>
-
-<gentext key="nav-prev" text="Prev"/>
-<gentext key="nav-prev-sibling" text="Fast Backward"/>
-<gentext key="nav-next-sibling" text="Fast Forward"/>
-<gentext key="nav-next" text="Next"/>
-<gentext key="nav-up" text="Up"/>
-<gentext key="nav-home" text="Home"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/ru.xml b/docs/docbook/xslt/db2latex/common/ru.xml
deleted file mode 100644
index a097cd419b..0000000000
--- a/docs/docbook/xslt/db2latex/common/ru.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-<localization language="ru">
-
-<gentext key="abstract" text="&#x0410;&#x043D;&#x043D;&#x043E;&#x0442;&#x0430;&#x0446;&#x0438;&#x044F;"/>
-<gentext key="appendix" text="&#x041F;&#x0440;&#x0438;&#x043B;&#x043E;&#x0436;&#x0435;&#x043D;&#x0438;&#x0435;"/>
-<gentext key="appendix.abr" text="&#x041F;&#x0440;&#x0438;&#x043B;."/>
-<gentext key="article" text="&#x0421;&#x0442;&#x0430;&#x0442;&#x044C;&#x044F;"/>
-<gentext key="audience" text="&#x0410;&#x0443;&#x0434;&#x0438;&#x0442;&#x043E;&#x0440;&#x0438;&#x044F;"/>
-<gentext key="bibliography" text="&#x041B;&#x0438;&#x0442;&#x0435;&#x0440;&#x0430;&#x0442;&#x0443;&#x0440;&#x0430;"/>
-<gentext key="book" text="&#x041A;&#x043D;&#x0438;&#x0433;&#x0430;"/>
-<gentext key="caution" text="&#x041F;&#x0420;&#x0415;&#x0414;&#x041E;&#x0421;&#x0422;&#x0415;&#x0420;&#x0415;&#x0416;&#x0415;&#x041D;&#x0418;&#x0415;"/>
-<gentext key="caution" text="&#x041F;&#x0440;&#x0435;&#x0434;&#x043E;&#x0441;&#x0442;&#x0435;&#x0440;&#x0435;&#x0436;&#x0435;&#x043D;&#x0438;&#x0435;"/>
-<gentext key="chapter" text="&#x0413;&#x043B;&#x0430;&#x0432;&#x0430;"/>
-<gentext key="chapter.abr" text="&#x0413;&#x043B;."/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="&#x041F;&#x043E;&#x0441;&#x0432;&#x044F;&#x0449;&#x0435;&#x043D;&#x0438;&#x0435;"/>
-<gentext key="edition" text="&#x0420;&#x0435;&#x0434;&#x0430;&#x043A;&#x0446;&#x0438;&#x044F;"/>
-<gentext key="equation" text="&#x0424;&#x043E;&#x0440;&#x043C;&#x0443;&#x043B;&#x0430;"/>
-<gentext key="equation.abr" text="&#x0424;."/>
-<gentext key="example" text="&#x041F;&#x0440;&#x0438;&#x043C;&#x0435;&#x0440;"/>
-<gentext key="example.abr" text="&#x041F;&#x0440;&#x0438;&#x043C;."/>
-<gentext key="figure" text="&#x0420;&#x0438;&#x0441;&#x0443;&#x043D;&#x043E;&#x043A;"/>
-<gentext key="figure.abr" text="&#x0420;&#x0438;&#x0441;."/>
-<gentext key="glossary" text="&#x0413;&#x043B;&#x043E;&#x0441;&#x0441;&#x0430;&#x0440;&#x0438;&#x0439;"/>
-<gentext key="important" text="&#x0412;&#x0410;&#x0416;&#x041D;&#x041E;"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="&#x0412;&#x0430;&#x0436;&#x043D;&#x043E;"/>
-<gentext key="index" text="&#x041F;&#x0440;&#x0435;&#x0434;&#x043C;&#x0435;&#x0442;&#x043D;&#x044B;&#x0439; &#x0443;&#x043A;&#x0430;&#x0437;&#x0430;&#x0442;&#x0435;&#x043B;&#x044C;"/>
-<gentext key="legalnotice" text="&#x0410;&#x0432;&#x0442;&#x043E;&#x0440;&#x0441;&#x043A;&#x0438;&#x0435; &#x043F;&#x0440;&#x0430;&#x0432;&#x0430;"/>
-<gentext key="level" text="&#x0423;&#x0440;&#x043E;&#x0432;&#x0435;&#x043D;&#x044C;"/>
-<gentext key="note" text="&#x0417;&#x0410;&#x041C;&#x0415;&#x0427;&#x0410;&#x041D;&#x0418;&#x0415;"/>
-<gentext key="name" text="&#x0418;&#x043C;&#x044F;"/>
-<gentext key="note" text="&#x0417;&#x0430;&#x043C;&#x0435;&#x0447;&#x0430;&#x043D;&#x0438;&#x0435;"/>
-<gentext key="origin" text="&#x0418;&#x0441;&#x0442;&#x043E;&#x0447;&#x043D;&#x0438;&#x043A;"/>
-<gentext key="part" text="&#x0427;&#x0430;&#x0441;&#x0442;&#x044C;"/>
-<gentext key="part.abr" text="&#x0427;."/>
-<gentext key="preface" text="&#x041F;&#x0440;&#x0435;&#x0434;&#x0438;&#x0441;&#x043B;&#x043E;&#x0432;&#x0438;&#x0435;"/>
-<gentext key="procedure" text="&#x041F;&#x0440;&#x043E;&#x0446;&#x0435;&#x0434;&#x0443;&#x0440;&#x0430;"/>
-<gentext key="procedure.abr" text="&#x041F;&#x0440;&#x043E;&#x0446;."/>
-<gentext key="published" text="&#x041E;&#x043F;&#x0443;&#x0431;&#x043B;&#x0438;&#x043A;&#x043E;&#x0432;&#x0430;&#x043D;&#x043E;"/>
-<gentext key="reference" text="&#x0421;&#x0441;&#x044B;&#x043B;&#x043A;&#x0430;"/>
-<gentext key="revision" text="&#x0418;&#x0437;&#x0434;&#x0430;&#x043D;&#x0438;&#x0435;"/>
-<gentext key="history" text="&#x0418;&#x0441;&#x0442;&#x043E;&#x0440;&#x0438;&#x044F;"/>
-<gentext key="revisionhistory" text="&#x0418;&#x0441;&#x0442;&#x043E;&#x0440;&#x0438;&#x044F; &#x043F;&#x0435;&#x0440;&#x0435;&#x0438;&#x0437;&#x0434;&#x0430;&#x043D;&#x0438;&#x044F;"/>
-<gentext key="section" text="&#x0420;&#x0430;&#x0437;&#x0434;&#x0435;&#x043B;"/>
-<gentext key="section.abr" text="&#x0420;&#x0430;&#x0437;&#x0434;."/>
-<gentext key="see" text="&#x0421;&#x043C;."/>
-<gentext key="seealso" text="&#x0421;&#x043C;. &#x0442;&#x0430;&#x043A;&#x0436;&#x0435;"/>
-<gentext key="seealso" text="&#x0421;&#x043C;. &#x0442;&#x0430;&#x043A;&#x0436;&#x0435;"/>
-<gentext key="set" text="&#x041F;&#x043E;&#x0434;&#x0431;&#x043E;&#x0440;&#x043A;&#x0430;"/>
-<gentext key="setindex" text="&#x0418;&#x043D;&#x0434;&#x0435;&#x043A;&#x0441; &#x043F;&#x043E;&#x0434;&#x0431;&#x043E;&#x0440;&#x043A;&#x0438;"/>
-<gentext key="sidebar" text="&#x0412;&#x044B;&#x0434;&#x0435;&#x043B;&#x0435;&#x043D;&#x0438;&#x0435;"/>
-<gentext key="step" text="&#x0428;&#x0430;&#x0433;"/>
-<gentext key="tip" text="&#x041F;&#x041E;&#x0414;&#x0421;&#x041A;&#x0410;&#x0417;&#x041A;&#x0410;"/>
-<gentext key="table" text="&#x0422;&#x0430;&#x0431;&#x043B;&#x0438;&#x0446;&#x0430;"/>
-<gentext key="table.abr" text="&#x0422;&#x0430;&#x0431;&#x043B;."/>
-<gentext key="tip" text="&#x041F;&#x043E;&#x0434;&#x0441;&#x043A;&#x0430;&#x0437;&#x043A;&#x0430;"/>
-<gentext key="warning" text="&#x0412;&#x041D;&#x0418;&#x041C;&#x0410;&#x041D;&#x0418;&#x0415;"/>
-<gentext key="warning" text="&#x0412;&#x043D;&#x0438;&#x043C;&#x0430;&#x043D;&#x0438;&#x0435;"/>
-<gentext key="appendix" text="&#x043F;&#x0440;&#x0438;&#x043B;&#x043E;&#x0436;&#x0435;&#x043D;&#x0438;&#x0435;"/>
-<gentext key="chapter" text="&#x0433;&#x043B;&#x0430;&#x0432;&#x0430;"/>
-<gentext key="section" text="&#x0440;&#x0430;&#x0437;&#x0434;&#x0435;&#x043B;"/>
-<gentext key="step" text="&#x0448;&#x0430;&#x0433;"/>
-
-<gentext key="TableofContents" text="&#x0421;&#x043E;&#x0434;&#x0435;&#x0440;&#x0436;&#x0430;&#x043D;&#x0438;&#x0435;"/>
-<gentext key="called" text=""/>
-<gentext key="in" text="&#x0432;"/>
-<gentext key="by" text=""/>
-<gentext key="Edited" text="&#x041F;&#x043E;&#x0434; &#x0440;&#x0435;&#x0434;&#x0430;&#x043A;&#x0446;&#x0438;&#x0435;&#x0439;"/>
-<gentext key="Editedby" text="&#x041F;&#x043E;&#x0434; &#x0440;&#x0435;&#x0434;&#x0430;&#x043A;&#x0446;&#x0438;&#x0435;&#x0439;"/>
-<gentext key="and" text=""/>
-<!-- the list of author names, but "and" in such
- lists of Russian books is not traditionally
- used (I. Kouznetsov) -->
-<gentext key="Notes" text="&#x041F;&#x0440;&#x0438;&#x043C;&#x0435;&#x0447;&#x0430;&#x043D;&#x0438;&#x044F;"/>
-<gentext key="TableNotes" text="&#x041F;&#x0440;&#x0438;&#x043C;&#x0435;&#x0447;&#x0430;&#x043D;&#x0438;&#x044F;"/>
-
-<!-- Suggestion of I. Kouznetsov: Error messages are better in English -->
-
-<gentext key="nonexistantelement" text="non-existant element"/>
-<gentext key="the" text=""/>
-<gentext key="Pgs" text="&#x0421;&#x0442;&#x0440;."/>
-<gentext key="unsupported" text="unsupported"/>
-<gentext key="xrefto" text="xref to"/>
-<gentext key="unexpectedelementname" text="unexpected element name"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="&#x0421;&#x043F;&#x0438;&#x0441;&#x043E;&#x043A; &#x0442;&#x0430;&#x0431;&#x043B;&#x0438;&#x0446;"/>
-<gentext key="ListofExamples" text="&#x0421;&#x043F;&#x0438;&#x0441;&#x043E;&#x043A; &#x043F;&#x0440;&#x0438;&#x043C;&#x0435;&#x0440;&#x043E;&#x0432;"/>
-<gentext key="ListofFigures" text="&#x0421;&#x043F;&#x0438;&#x0441;&#x043E;&#x043A; &#x0438;&#x043B;&#x043B;&#x044E;&#x0441;&#x0442;&#x0440;&#x0430;&#x0446;&#x0438;&#x0439;"/>
-<gentext key="ListofEquations" text="&#x0421;&#x043F;&#x0438;&#x0441;&#x043E;&#x043A; &#x0444;&#x043E;&#x0440;&#x043C;&#x0443;&#x043B;"/>
-<gentext key="ListofUnknown" text="&#x041D;&#x0435;&#x043E;&#x043F;&#x0440;&#x0435;&#x0434;&#x0435;&#x043B;&#x0435;&#x043D;&#x043D;&#x044B;&#x0439; &#x0441;&#x043F;&#x0438;&#x0441;&#x043E;&#x043A;"/>
-
-<gentext key="nav-prev" text="&#x041F;&#x0440;&#x0435;&#x0434;."/>
-<gentext key="nav-prev-sibling" text="&#x041F;&#x0440;&#x0435;&#x0434;. &#x041F;&#x043E;&#x0434;&#x0440;&#x0430;&#x0437;&#x0434;&#x0435;&#x043B;"/>
-<gentext key="nav-next-sibling" text="&#x0421;&#x043B;&#x0435;&#x0434;. &#x041F;&#x043E;&#x0434;&#x0440;&#x0430;&#x0437;&#x0434;&#x0435;&#x043B;"/>
-<gentext key="nav-next" text="&#x0421;&#x043B;&#x0435;&#x0434;."/>
-<gentext key="nav-up" text="&#x0423;&#x0440;&#x043E;&#x0432;&#x0435;&#x043D;&#x044C; &#x0432;&#x044B;&#x0448;&#x0435;"/>
-<gentext key="nav-home" text="&#x043D;&#x0430;&#x0447;&#x0430;&#x043B;&#x043E;"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/sk.xml b/docs/docbook/xslt/db2latex/common/sk.xml
deleted file mode 100644
index 0c2fbc85fb..0000000000
--- a/docs/docbook/xslt/db2latex/common/sk.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<localization language="sk">
-
-<gentext key="abstract" text="Obsah"/>
-<gentext key="answer" text="A:"/>
-<gentext key="appendix" text="Dodatok"/>
-<gentext key="article" text="&#x010C;l&#x00E1;nok"/>
-<gentext key="bibliography" text="Bibliografia"/>
-<gentext key="book" text="Kniha"/>
-<gentext key="caution" text="V&#x00DD;STRAHA"/>
-<gentext key="caution" text="V&#x00FD;straha"/>
-<gentext key="chapter" text="Kapitola"/>
-<gentext key="colophon" text="Tir&#x00E1;&#x017E;"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Venovanie"/>
-<gentext key="edition" text="Vydanie"/>
-<gentext key="equation" text="Rovnice"/>
-<gentext key="example" text="Pr&#x00ED;klad"/>
-<gentext key="figure" text="Obr&#x00E1;zok"/>
-<gentext key="glosssee" text="Pozri"/>
-<gentext key="glossseealso" text="Pozri tie&#x017E;"/>
-<gentext key="glossary" text="Slovn&#x00ED;k"/>
-<gentext key="important" text="D&#x00D4;LE&#x017D;IT&#x00C9;"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="D&#x00F4;le&#x017E;it&#x00E9;"/>
-<gentext key="index" text="Zoznam"/>
-<gentext key="legalnotice" text="Pr&#x00E1;vna pozn&#x00E1;mka"/>
-<gentext key="msgaud" text="Publikum"/>
-<gentext key="msglevel" text="&#x00DA;rove&#x0148;"/>
-<gentext key="msgorig" text="P&#x00F4;vod"/>
-<gentext key="note" text="POZN&#x00C1;MKA"/>
-<gentext key="note" text="Pozn&#x00E1;mka"/>
-<gentext key="part" text="&#x010C;as&#x0165;"/>
-<gentext key="preface" text="&#x00DA;vod"/>
-<gentext key="procedure" text="Postup"/>
-<gentext key="published" text="Vydan&#x00E9;"/>
-<gentext key="question" text="Q:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="Odkaz"/>
-<gentext key="refname" text="Meno"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="Preh&#x013E;ad"/>
-<gentext key="revision" text="Rev&#x00ED;zia"/>
-<gentext key="revhistory" text="Preh&#x013E;ad rev&#x00ED;zi&#x00ED;"/>
-<gentext key="section" text="Oddiel"/>
-<gentext key="see" text="Pozri"/>
-<gentext key="seealso" text="Pozri tie&#x017E;"/>
-<gentext key="set" text="Nastavi&#x0165;"/>
-<gentext key="setindex" text="Nastavi&#x0165; index"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="Krok"/>
-<gentext key="tip" text="TIP"/>
-<gentext key="table" text="Tabu&#x013E;ka"/>
-<gentext key="tip" text="Tip"/>
-<gentext key="warning" text="VAROVANIE"/>
-<gentext key="warning" text="Varovanie"/>
-<gentext key="appendix" text="dodatok"/>
-<gentext key="chapter" text="kapitola"/>
-<gentext key="section" text="oddiel"/>
-<gentext key="sidebar" text="bo&#x010D;n&#x00ED; li&#x0161;ta"/>
-<gentext key="step" text="krok"/>
-<gentext key="seealso" text="Pozri tie&#x017E;"/>
-
-<gentext key="TableofContents" text="Obsah"/>
-<gentext key="in" text="v"/>
-<gentext key="by" text=""/>
-<gentext key="Edited" text="Vydan&#x00E9;"/>
-<gentext key="Editedby" text="Vydan&#x00E9;"/>
-<gentext key="and" text="a"/>
-<gentext key="Notes" text="Pozn&#x00E1;mky"/>
-<gentext key="TableNotes" text="Pozn&#x00E1;mky"/>
-<gentext key="nonexistantelement" text="neexistuj&#x00FA;ci prvok"/>
-<gentext key="Pgs" text="Str."/>
-<gentext key="unsupported" text="nepodporovan&#x00FD;"/>
-<gentext key="xrefto" text="xref k"/>
-<gentext key="unexpectedelementname" text="Neo&#x010D;ak&#x00E1;van&#x00E9; meno prvku"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Zoznam tabuliek"/>
-<gentext key="ListofExamples" text="Zoznam pr&#x00ED;kladov"/>
-<gentext key="ListofFigures" text="Zoznam obr&#x00E1;zkov"/>
-<gentext key="ListofEquations" text="Zoznam rovn&#x00ED;c"/>
-<gentext key="ListofUnknown" text="Zoznam nezn&#x00E1;meho"/>
-
-<gentext key="nav-prev" text="Predch&#x00E1;dzaj&#x00FA;ci"/>
-<gentext key="nav-prev-sibling" text="R&#x00FD;chlo nazp&#x00E4;t"/>
-<gentext key="nav-next-sibling" text="R&#x00FD;chlo dopredu"/>
-<gentext key="nav-next" text="&#x010E;al&#x0161;&#x00ED;"/>
-<gentext key="nav-up" text="Hore"/>
-<gentext key="nav-home" text="Domov"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/sl.xml b/docs/docbook/xslt/db2latex/common/sl.xml
deleted file mode 100644
index fca0f5e348..0000000000
--- a/docs/docbook/xslt/db2latex/common/sl.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<localization language="sl">
-
-<gentext key="abstract" text="Povzetek"/>
-<gentext key="answer" text="O:"/>
-<gentext key="appendix" text="Dodatek"/>
-<gentext key="article" text="&#x010C;lanek"/>
-<gentext key="bibliography" text="Literatura"/>
-<gentext key="book" text="Knjiga"/>
-<gentext key="caution" text="OPOZORILO"/>
-<gentext key="caution" text="Opozorilo"/>
-<gentext key="chapter" text="Poglavje"/>
-<gentext key="colophon" text="Kolofon"/>
-<gentext key="copyright" text="Pravna za&#x0161;&#x010D;ita"/>
-<gentext key="dedication" text="Posvetilo"/>
-<gentext key="edition" text="Izdaja"/>
-<gentext key="equation" text="Ena&#x010D;ba"/>
-<gentext key="example" text="Primer"/>
-<gentext key="figure" text="Slika"/>
-<gentext key="glosssee" text="glej"/>
-<gentext key="glossseealso" text="glej tudi"/>
-<gentext key="glossary" text="Slovar&#x010D;ek"/>
-<gentext key="important" text="POMEMBNO"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Pomembno"/>
-<gentext key="index" text="Stvarno kazalo"/>
-<gentext key="legalnotice" text="Pravno sporo&#x010D;ilo"/>
-<gentext key="msgaud" text="Ob&#x010D;instvo"/>
-<gentext key="msglevel" text="Raven"/>
-<gentext key="msgorig" text="Izvor"/>
-<gentext key="note" text="OPOMBA"/>
-<gentext key="note" text="Opomba"/>
-<gentext key="part" text="Del"/>
-<gentext key="preface" text="Predgovor"/>
-<gentext key="procedure" text="Postopek"/>
-<gentext key="published" text="Izdano"/>
-<gentext key="question" text="V:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="Sklic"/>
-<gentext key="refname" text="Ime"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="Sinopsis"/>
-<gentext key="revision" text="Razli&#x010D;ica"/>
-<gentext key="revhistory" text="Zgodovina razli&#x010D;ic"/>
-<gentext key="section" text="Razdelek"/>
-<gentext key="see" text="glej"/>
-<gentext key="seealso" text="glej tudi"/>
-<gentext key="set" text="Postavi"/> <!-- ? -->
-<gentext key="setindex" text="Postavi stvarno kazalo"/> <!-- ? -->
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="Korak"/>
-<gentext key="tip" text="NAMIG"/>
-<gentext key="table" text="Tabela"/>
-<gentext key="tip" text="Namig"/>
-<gentext key="warning" text="POZOR"/>
-<gentext key="warning" text="Pozor"/>
-<gentext key="appendix" text="dodatek"/>
-<gentext key="chapter" text="poglavje"/>
-<gentext key="section" text="razdelek"/>
-<gentext key="sidebar" text="sidebar"/> <!-- ? -->
-<gentext key="step" text="korak"/>
-<gentext key="seealso" text="Glej tudi"/>
-
-<gentext key="TableofContents" text="Kazalo"/>
-<gentext key="in" text="v"/>
-<gentext key="by" text="od"/> <!-- ? -->
-<gentext key="Edited" text="Urejeno"/> <!-- ? -->
-<gentext key="Editedby" text="Urejeno od"/> <!-- ? -->
-<gentext key="and" text="in"/>
-<gentext key="Notes" text="Notes"/> <!-- ? -->
-<gentext key="TableNotes" text="Notes"/> <!-- ? -->
-<gentext key="nonexistantelement" text="neobstoje&#x010D;i element"/>
-<gentext key="Pgs" text="Str."/>
-<gentext key="unsupported" text="nepodprto"/>
-<gentext key="xrefto" text="xref na"/> <!-- ? -->
-<gentext key="unexpectedelementname" text="Nepri&#x010D;akovano ime elementa"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Seznam tabel"/>
-<gentext key="ListofExamples" text="Seznam primerov"/>
-<gentext key="ListofFigures" text="Seznam slik"/>
-<gentext key="ListofEquations" text="Seznam ena&#x010D;b"/>
-<gentext key="ListofUnknown" text="Seznam neznanih stvari"/> <!-- ? -->
-
-<gentext key="nav-prev" text="Nazaj"/>
-<gentext key="nav-prev-sibling" text="Hitro nazaj"/>
-<gentext key="nav-next-sibling" text="Hitro naprej"/>
-<gentext key="nav-next" text="Naprej"/>
-<gentext key="nav-up" text="Gor"/>
-<gentext key="nav-home" text="Domov"/>
-
-<dingbat key="startquote" text='&#8220;'/>
-<dingbat key="endquote" text='&#8221;'/>
-<dingbat key="nestedstartquote" text="`"/>
-<dingbat key="nestedendquote" text="'"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/sv.xml b/docs/docbook/xslt/db2latex/common/sv.xml
deleted file mode 100644
index 27b45cce15..0000000000
--- a/docs/docbook/xslt/db2latex/common/sv.xml
+++ /dev/null
@@ -1,99 +0,0 @@
-<localization language="sv">
-
-<gentext key="abstract" text="Abstrakt"/>
-<gentext key="appendix" text="Appendix"/>
-<gentext key="article" text="Artikel"/>
-<gentext key="bibliography" text="Bibliografi"/>
-<gentext key="book" text="Bok"/>
-<gentext key="caution" text="OBSERVERA"/>
-<gentext key="caution" text="Observera"/>
-<gentext key="chapter" text="Kapitel"/>
-<gentext key="copyright" text="Copyright"/>
-<gentext key="dedication" text="Dedikation"/>
-<gentext key="edition" text="Edition"/>
-<gentext key="equation" text="Ekvation"/>
-<gentext key="example" text="Exempel"/>
-<gentext key="figure" text="Figur"/>
-<gentext key="glosssee" text="Se"/>
-<gentext key="glossseealso" text="Se &#196;ven"/>
-<gentext key="glossary" text="Gloslista"/>
-<gentext key="important" text="VIKTIGT"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="important" text="Viktigt"/>
-<gentext key="index" text="Index"/>
-<gentext key="legalnotice" text="Legal Notice"/>
-<gentext key="msgaud" text="M&#229;lgrupp"/>
-<gentext key="msglevel" text="Niv&#229;"/>
-<gentext key="msgorig" text="Ursprung"/>
-<gentext key="note" text="NOT"/>
-<gentext key="note" text="Not"/>
-<gentext key="part" text="Del"/>
-<gentext key="preface" text="F&#246;retal"/>
-<gentext key="procedure" text="Procedur"/>
-<gentext key="published" text="Publicerad"/>
-<gentext key="refname" text="Namn"/>
-<gentext key="reference" text="Referens"/>
-<gentext key="revision" text="Revision"/>
-<gentext key="revhistory" text="Revisions Historik;"/>
-<gentext key="section" text="Sektion"/>
-<gentext key="see" text="Se"/>
-<gentext key="seealso" text="Se &#196;ven"/>
-<gentext key="set" text="Set"/>
-<gentext key="setindex" text="Set Index"/>
-<gentext key="sidebar" text="Sidebar"/>
-<gentext key="step" text="Steg"/>
-<gentext key="tip" text="TIPS"/>
-<gentext key="table" text="Tabell"/>
-<gentext key="tip" text="Tips"/>
-<gentext key="warning" text="VARNING"/>
-<gentext key="warning" text="Varning"/>
-<gentext key="appendix" text="appendix"/>
-<gentext key="chapter" text="kapitel"/>
-<gentext key="section" text="sektion"/>
-<gentext key="step" text="steg"/>
-<gentext key="seealso" text="Se &#228;ven"/>
-
-<gentext key="TableofContents" text="Inneh&#229;llsf&#246;rteckning"/>
-<gentext key="called" text="kallas"/>
-<gentext key="in" text="i"/>
-<gentext key="by" text="av"/>
-<gentext key="Edited" text="Utgiven"/>
-<gentext key="Editedby" text="Utgiven av"/>
-<gentext key="and" text="och"/>
-<gentext key="Notes" text="Noter"/>
-<gentext key="TableNotes" text="Noter"/>
-<gentext key="nonexistantelement" text="non-existant element"/>
-<gentext key="the" text=""/>
-<gentext key="Pgs" text="Sid."/>
-<gentext key="unsupported" text="unsupported"/>
-<gentext key="xrefto" text="xref till"/>
-<gentext key="unexpectedelementname" text="Unexpected element name"/>
-<gentext key="Revisedby" text="Revised by: "/>
-
-<gentext key="ListofTables" text="Tabellf&#246;rteckning"/>
-<gentext key="ListofExamples" text="Exempelf&#246;rteckning"/>
-<gentext key="ListofFigures" text="Figurf&#246;rteckning"/>
-<gentext key="ListofEquations" text="Ekvationsf&#246;rteckning"/>
-<gentext key="ListofUnknown" text="F&#246;rteckning av ok&#228;nda"/>
-
-<gentext key="nav-prev" text="F&#246;rutg&#229;ende"/>
-<gentext key="nav-prev-sibling" text="Snabbt framm&#229;t"/>
-<gentext key="nav-next-sibling" text="Snabbt bak&#229;t"/>
-<gentext key="nav-next" text="N&#228;sta"/>
-<gentext key="nav-up" text="Upp"/>
-<gentext key="nav-home" text="Hem"/>
-
-<dingbat key="startquote" text="&#x201C;"/>
-<dingbat key="endquote" text="&#x201D;"/>
-<dingbat key="nestedstartquote" text="&#x2018;"/>
-<dingbat key="nestedendquote" text="&#x2019;"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="bibliography" text="%t"/>
-<xref element="chapter" text="%g %n, %t"/>
-<xref element="dedication" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-<xref element="preface" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/zh_cn.xml b/docs/docbook/xslt/db2latex/common/zh_cn.xml
deleted file mode 100644
index ef373b4a33..0000000000
--- a/docs/docbook/xslt/db2latex/common/zh_cn.xml
+++ /dev/null
@@ -1,95 +0,0 @@
-<localization language="zh_cn">
-
-<gentext key="abstract" text="&#x6458;&#x8981;"/>
-<gentext key="answer" text="&#x7B54;:"/>
-<gentext key="appendix" text="&#x9644;&#x5F55;"/>
-<gentext key="article" text="&#x6587;&#x7AE0;"/>
-<gentext key="bibliography" text="&#x53C2;&#x8003;&#x4E66;&#x76EE;"/>
-<gentext key="book" text="&#x4E66;&#x76EE;"/>
-<gentext key="caution" text="&#x6CE8;&#x610F;"/>
-<gentext key="chapter" text="&#x7AE0;"/>
-<gentext key="colophon" text="Colophon"/>
-<gentext key="copyright" text="&#x7248;&#x6743;"/>
-<gentext key="dedication" text="&#x5949;&#x732E;"/>
-<gentext key="edition" text="&#x7248;"/>
-<gentext key="equation" text="&#x65B9;&#x7A0B;"/>
-<gentext key="example" text="&#x4F8B;&#x5B50;"/>
-<gentext key="figure" text="&#x56FE;&#x5F62;"/>
-<gentext key="glossary" text="&#x672F;&#x8BED;&#x8868;"/>
-<gentext key="glosssee" text="&#x89C1;"/>
-<gentext key="glossseealso" text="&#x53E6;&#x89C1;"/>
-<gentext key="important" text="&#x91CD;&#x8981;"/>
-<gentext key="index" text="&#x7D22;&#x5F15;"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="legalnotice" text="&#x6CD5;&#x5F8B;&#x5E03;&#x544A;"/>
-<gentext key="msgaud" text="&#x8BFB;&#x8005;"/>
-<gentext key="msglevel" text="&#x96BE;&#x5EA6;"/>
-<gentext key="msgorig" text="&#x51FA;&#x5904;"/>
-<gentext key="note" text="&#x6CE8;"/>
-<gentext key="part" text="&#x90E8;&#x5206;"/>
-<gentext key="preface" text="&#x524D;&#x8A00;"/>
-<gentext key="procedure" text="&#x8FC7;&#x7A0B;"/>
-<gentext key="published" text="&#x51FA;&#x7248;"/>
-<gentext key="question" text="&#x95EE;:"/>
-<gentext key="refentry" text=""/>
-<gentext key="reference" text="&#x53C2;&#x8003;"/>
-<gentext key="refname" text="&#x540D;&#x5B57;"/>
-<gentext key="refsection" text=""/>
-<gentext key="refsynopsisdiv" text="&#x5927;&#x7EB2;"/>
-<gentext key="revhistory" text="&#x4FEE;&#x8BA2;&#x5386;&#x53F2;"/>
-<gentext key="revision" text="&#x4FEE;&#x8BA2;"/>
-<gentext key="section" text="&#x8282;"/>
-<gentext key="see" text="&#x89C1;"/>
-<gentext key="seealso" text="&#x53E6;&#x89C1;"/>
-<gentext key="set" text="Set"/>
-<gentext key="setindex" text="Set Index"/>
-<gentext key="sidebar" text="sidebar"/>
-<gentext key="step" text="&#x6B65;&#x9AA4;"/>
-<gentext key="table" text="&#x8868;&#x683C;"/>
-<gentext key="tip" text="&#x63D0;&#x793A;"/>
-<gentext key="tip" text="&#x63D0;&#x793A;"/>
-<gentext key="warning" text="&#x8B66;&#x544A;"/>
-
-<gentext key="TableofContents" text="&#x76EE;&#x5F55;"/>
-<gentext key="in" text="&#x5728;"/>
-<gentext key="by" text="&#x7531;"/>
-<gentext key="Edited" text="&#x7F16;&#x8F91;"/>
-<gentext key="Editedby" text="&#x7F16;&#x8F91;"/>
-<gentext key="and" text="&#x548C;"/>
-<gentext key="Notes" text="&#x6CE8;"/>
-<gentext key="TableNotes" text="&#x6CE8;"/>
-<gentext key="nonexistantelement" text="&#x4E0D;&#x5B58;&#x5728;&#x7684;&#x5143;&#x7D20;"/>
-<gentext key="Pgs" text="&#x9875;"/>
-<gentext key="unsupported" text="&#x4E0D;&#x652F;&#x6301;"/>
-<gentext key="xrefto" text="&#x53C2;&#x7167;"/>
-<gentext key="unexpectedelementname" text="&#x672A;&#x9884;&#x6599;&#x5230;&#x7684;&#x5143;&#x7D20;&#x540D;"/>
-<gentext key="Revisedby" text="&#x4FEE;&#x8BA2;"/>
-
-<gentext key="ListofTables" text="&#x8868;&#x683C;&#x5217;&#x8868;"/>
-<gentext key="ListofExamples" text="&#x793A;&#x4F8B;&#x5217;&#x8868;"/>
-<gentext key="ListofFigures" text="&#x56FE;&#x5F62;&#x5217;&#x8868;"/>
-<gentext key="ListofEquations" text="&#x65B9;&#x7A0B;&#x5F0F;&#x5217;&#x8868;"/>
-<gentext key="ListofUnknown" text="&#x5176;&#x4ED6;&#x5185;&#x5BB9;&#x5217;&#x8868;"/>
-
-<gentext key="nav-prev" text="&#x540E;&#x9000;"/>
-<gentext key="nav-prev-sibling" text="&#x5FEB;&#x901F;&#x540E;&#x9000;"/>
-<gentext key="nav-next-sibling" text="&#x5FEB;&#x901F;&#x524D;&#x8FDB;"/>
-<gentext key="nav-next" text="&#x524D;&#x8FDB;"/>
-<gentext key="nav-up" text="&#x4E0A;&#x4E00;&#x7EA7;"/>
-<gentext key="nav-home" text="&#x8D77;&#x70B9;"/>
-
-<dingbat key="startquote" text='"'/>
-<dingbat key="endquote" text='"'/>
-<dingbat key="nestedstartquote" text="'"/>
-<dingbat key="nestedendquote" text="'"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="appendix" text="%g %n"/>
-<xref element="chapter" text="%g %n"/>
-<xref element="dedication" text="%t"/>
-<xref element="preface" text="%t"/>
-<xref element="bibliography" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/common/zh_tw.xml b/docs/docbook/xslt/db2latex/common/zh_tw.xml
deleted file mode 100644
index 7168114f49..0000000000
--- a/docs/docbook/xslt/db2latex/common/zh_tw.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<localization language="zh_tw">
-
-<gentext key="abstract" text="&#x6458;&#x8981;"/>
-<gentext key="answer" text="&#x7B54;&#xFF1A;"/>
-<gentext key="appendix" text="&#x9644;&#x9304;"/>
-<gentext key="article" text="&#x6587;&#x7AE0;"/>
-<gentext key="bibliography" text="&#x53C3;&#x8003;&#x6587;&#x737B;"/>
-<gentext key="book" text="&#x66F8;&#x76EE;"/>
-<gentext key="caution" text="&#x6CE8;&#x610F;"/>
-<gentext key="chapter" text="&#x7AE0;"/>
-<gentext key="colophon" text="&#x7248;&#x672C;&#x8A18;&#x9304;"/>
-<gentext key="copyright" text="&#x7248;&#x6B0A;"/>
-<gentext key="dedication" text="&#x5949;&#x737B;"/>
-<gentext key="edition" text="&#x7248;"/>
-<gentext key="equation" text="&#x65B9;&#x7A0B;&#x5F0F;"/>
-<gentext key="example" text="&#x7BC4;&#x4F8B;"/>
-<gentext key="figure" text="&#x5716;&#x5F62;"/>
-<gentext key="glossary" text="&#x5C0F;&#x8FAD;&#x5F59;"/>
-<gentext key="glosssee" text="&#x53C3;&#x898B;"/>
-<gentext key="glossseealso" text="&#x53E6;&#x53C3;&#x898B;"/>
-<gentext key="important" text="&#x91CD;&#x8981;"/>
-<gentext key="index" text="&#x7D22;&#x5F15;"/>
-<gentext key="isbn" text="ISBN"/>
-<gentext key="legalnotice" text="&#x6CD5;&#x5F8B;&#x8072;&#x660E;"/>
-<gentext key="msgaud" text="&#x8B80;&#x8005;"/>
-<gentext key="msglevel" text="&#x7A0B;&#x5EA6;"/>
-<gentext key="msgorig" text="&#x51FA;&#x8655;"/>
-<gentext key="note" text="&#x6CE8;"/>
-<gentext key="part" text="&#x90E8;"/>
-<gentext key="preface" text="&#x5E8F;&#x8A00;"/>
-<gentext key="procedure" text="&#x904E;&#x7A0B;"/>
-<gentext key="published" text="&#x51FA;&#x7248;"/>
-<gentext key="question" text="&#x554F;&#xFF1A;"/>
-<gentext key="refentry" text="&#x53C3;&#x7167;&#x9805;&#x76EE;"/>
-<gentext key="reference" text="&#x53C3;&#x8003;"/>
-<gentext key="refname" text="&#x53C3;&#x8003;&#x540D;"/>
-<gentext key="refsection" text="&#x53C3;&#x7167;&#x7AE0;&#x7BC0;"/>
-<gentext key="refsynopsisdiv" text="&#x5927;&#x7DB1;"/>
-<gentext key="revhistory" text="&#x4FEE;&#x8A02;&#x8A18;&#x9304;"/>
-<gentext key="revision" text="&#x4FEE;&#x8A02;"/>
-<gentext key="section" text="&#x7BC0;"/>
-<gentext key="see" text="&#x898B;"/>
-<gentext key="seealso" text="&#x53E6;&#x898B;"/>
-<gentext key="set" text="Set"/>
-<gentext key="setindex" text="Set Index"/>
-<gentext key="sidebar" text=""/>
-<gentext key="step" text="&#x6B65;&#x9A5F;"/>
-<gentext key="table" text="&#x8868;&#x683C;"/>
-<gentext key="tip" text="&#x63D0;&#x793A;"/>
-<gentext key="tip" text="&#x63D0;&#x793A;"/>
-<gentext key="warning" text="&#x8B66;&#x544A;"/>
-
-<gentext key="TableofContents"
- text="&#x5167;&#x5BB9;&#x76EE;&#x9304;"/>
-<gentext key="in" text="&#x5728;"/>
-<gentext key="by" text="&#x7531;"/>
-<gentext key="Edited" text="&#x7DE8;&#x8F2F;"/>
-<gentext key="Editedby" text="&#x7DE8;&#x8F2F;"/>
-<gentext key="and" text="&#x4E14;"/>
-<gentext key="Notes" text="&#x6CE8;"/>
-<gentext key="TableNotes" text="&#x6CE8;&#x91CB;"/>
-<gentext key="nonexistantelement"
- text="&#x4E0D;&#x5B58;&#x5728;&#x7684;&#x5143;&#x7D20;"/>
-<gentext key="Pgs" text="&#x9801;"/>
-<gentext key="unsupported" text="&#x672A;&#x652F;&#x63F4;"/>
-<gentext key="xrefto" text="&#x53C3;&#x7167;"/>
-<gentext key="unexpectedelementname"
- text="&#x975E;&#x9810;&#x671F;&#x7684;&#x5143;&#x7D20;&#x540D;"/>
-<gentext key="Revisedby" text="&#x4FEE;&#x8A02;"/>
-
-<gentext key="ListofTables" text="&#x9644;&#x8868;&#x76EE;&#x9304;"/>
-<gentext key="ListofExamples" text="&#x7BC4;&#x4F8B;&#x76EE;&#x9304;"/>
-<gentext key="ListofFigures" text="&#x9644;&#x5716;&#x76EE;&#x9304;"/>
-<gentext key="ListofEquations" text="&#x516C;&#x5F0F;&#x76EE;&#x9304;"/>
-<gentext key="ListofUnknown" text="&#x5176;&#x5B83;&#x5167;&#x5BB9;&#x76EE;&#x9304;"/>
-
-<gentext key="nav-prev" text="&#x524D;&#x4E00;&#x9801;"/>
-<gentext key="nav-prev-sibling" text="&#x5FEB;&#x901F;&#x5411;&#x524D;"/>
-<gentext key="nav-next-sibling" text="&#x5FEB;&#x901F;&#x5411;&#x5F8C;"/>
-<gentext key="nav-next" text="&#x4E0B;&#x4E00;&#x9801;"/>
-<gentext key="nav-up" text="&#x4E0A;&#x4E00;&#x5C64;"/>
-<gentext key="nav-home" text="&#x5167;&#x5BB9;"/>
-
-<dingbat key="startquote" text="&quot;"/>
-<dingbat key="endquote" text="&quot;"/>
-<dingbat key="nestedstartquote" text="'"/>
-<dingbat key="nestedendquote" text="'"/>
-<dingbat key="bullet" text="&#2022;"/>
-
-<xref element="appendix" text="%g %n"/>
-<xref element="chapter" text="%g %n"/>
-<xref element="dedication" text="%t"/>
-<xref element="preface" text="%t"/>
-<xref element="bibliography" text="%t"/>
-<xref element="glossary" text="%t"/>
-<xref element="index" text="%t"/>
-
-</localization>
diff --git a/docs/docbook/xslt/db2latex/component.mod.xsl b/docs/docbook/xslt/db2latex/component.mod.xsl
deleted file mode 100644
index bdca568f63..0000000000
--- a/docs/docbook/xslt/db2latex/component.mod.xsl
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: component.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="component" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: component.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Component <filename>component.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <xsl:template name="component.title">
- <xsl:variable name="id">
- <xsl:call-template name="label.id"><xsl:with-param name="object" select="."/></xsl:call-template>
- </xsl:variable>
- <xsl:text>&#10;{\sc </xsl:text><xsl:apply-templates select="." mode="title.ref"/><xsl:text>}</xsl:text>
- </xsl:template>
-
-
-
- <xsl:template name="component.subtitle">
- <xsl:variable name="subtitle"><xsl:apply-templates select="." mode="subtitle.content"/></xsl:variable>
- <xsl:if test="$subtitle != ''">
- <xsl:text>&#10;{\sc </xsl:text><xsl:copy-of select="$subtitle"/><xsl:text>}</xsl:text>
- </xsl:if>
- </xsl:template>
-
-
-
- <xsl:template name="component.separator">
- </xsl:template>
-
-
-
- <xsl:template match="colophon">
- <xsl:variable name="id"><xsl:call-template name="label.id"/></xsl:variable>
- <xsl:call-template name="component.separator"/>
- <xsl:call-template name="component.title"/>
- <xsl:call-template name="component.subtitle"/>
- <xsl:apply-templates/>
- </xsl:template>
-
-
- <xsl:template match="colophon/title"/>
-
-
-
- <xsl:template match="bibliography" mode="component.number">
- <xsl:param name="add.space" select="false()"/>
- </xsl:template>
-
- <xsl:template match="glossary" mode="component.number">
- <xsl:param name="add.space" select="false()"/>
- </xsl:template>
-
- <xsl:template match="index" mode="component.number">
- <xsl:param name="add.space" select="false()"/>
- </xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/dedication.mod.xsl b/docs/docbook/xslt/db2latex/dedication.mod.xsl
deleted file mode 100644
index d8150bdd7f..0000000000
--- a/docs/docbook/xslt/db2latex/dedication.mod.xsl
+++ /dev/null
@@ -1,126 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-|- #############################################################################
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="dedication" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Dedication <filename>dedication.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-<!--#############################################################################
- | XSL Parameters
- +- ############################################################################# -->
-<xsl:param name="latex.dedication.title.style">\sc</xsl:param>
-
-
-
-<!--#############################################################################
- | Dedication Template
- +- ############################################################################# -->
-<xsl:template match="dedication">
-<xsl:text>\newpage&#10;</xsl:text>
-<xsl:text>% -------------------------------------------------------------&#10;</xsl:text>
-<xsl:text>% Dedication &#10;</xsl:text>
-<xsl:text>% -------------------------------------------------------------&#10;</xsl:text>
-<xsl:call-template name="label.id"/>
-<xsl:call-template name="dedication.title"/>
-<xsl:call-template name="dedication.subtitle"/>
-<!-- except title, titleabbrev and subtitle -->
-<xsl:apply-templates select="*[name(.) != 'title' and name(.) != 'subtitle' and name(.) != 'titleabbrev']"/>
-</xsl:template>
-
-
-<!--#############################################################################
- | Dedication Title
- +- ############################################################################# -->
-<xsl:template name="dedication.title">
-<!-- Output dedication title or generic text -->
-<xsl:text>{</xsl:text>
-<xsl:value-of select="$latex.dedication.title.style"/>
-<xsl:text> </xsl:text>
-<xsl:choose>
- <xsl:when test="title">
- <xsl:apply-templates select="title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">dedication</xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
-</xsl:choose>
-<xsl:text>}&#10;</xsl:text>
-<!-- done with title -->
-</xsl:template>
-
-
-<xsl:template match="dedication/title">
-<xsl:apply-templates/>
-</xsl:template>
-
-
-
-<!--#############################################################################
- | Dedication Subtitle
- +- ############################################################################# -->
-<xsl:template name="dedication.subtitle">
-<xsl:variable name="subtitle">
- <xsl:apply-templates select="." mode="subtitle.content"/>
-</xsl:variable>
-<xsl:if test="$subtitle != ''">
- <xsl:text>{</xsl:text>
- <xsl:value-of select="$latex.dedication.title.style"/>
- <xsl:text> </xsl:text>
- <xsl:copy-of select="$subtitle"/>
- <xsl:text>}&#10;</xsl:text>
-</xsl:if>
-</xsl:template>
-
-
-<xsl:template match="dedication/subtitle">
-<xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="dedication/titleabbrev"/>
-
-
-<!--#############################################################################
- | Special treatment for dedication paragraphs
- +- ############################################################################# -->
-<xsl:template match="dedication/para">
-<xsl:text>&#10;\paragraph*{}&#10;</xsl:text> <!-- This is a fixme !! -->
-<xsl:apply-templates/>
-</xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/dingbat.mod.xsl b/docs/docbook/xslt/db2latex/dingbat.mod.xsl
deleted file mode 100644
index 53d970647f..0000000000
--- a/docs/docbook/xslt/db2latex/dingbat.mod.xsl
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: dingbat.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-|
-+ ############################################################################## -->
-
-
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="dingbat" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: dingbat.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Dingbats <filename>dingbat.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- </section>
- </partintro>
- </doc:reference>
-
-
-
- <xsl:template name="dingbat">
- <xsl:param name="dingbat">bullet</xsl:param>
- <xsl:call-template name="dingbat.characters">
- <xsl:with-param name="dingbat" select="$dingbat"/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template name="dingbat.characters">
- <xsl:param name="dingbat">bullet</xsl:param>
- <xsl:choose>
- <xsl:when test="$dingbat='bullet'"> $\bullet$ </xsl:when>
- <xsl:when test="$dingbat='copyright'">\copyright{}</xsl:when>
- <xsl:when test="$dingbat='trademark'">\texttrademark{}</xsl:when>
- <xsl:when test="$dingbat='registered'">\textregistered{}</xsl:when>
- <xsl:when test="$dingbat='nbsp'">~</xsl:when>
- <xsl:when test="$dingbat='ldquo'">``</xsl:when>
- <xsl:when test="$dingbat='rdquo'">''</xsl:when>
- <xsl:when test="$dingbat='lsquo'">`</xsl:when>
- <xsl:when test="$dingbat='rsquo'">'</xsl:when>
- <xsl:when test="$dingbat='em-dash'">---</xsl:when>
- <xsl:when test="$dingbat='mdash'">---</xsl:when>
- <xsl:when test="$dingbat='en-dash'">--</xsl:when>
- <xsl:when test="$dingbat='ndash'">--</xsl:when>
- <xsl:otherwise>
- <xsl:text> [dingbat?] </xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/docbook.xsl b/docs/docbook/xslt/db2latex/docbook.xsl
deleted file mode 100644
index f1ce7ccf9e..0000000000
--- a/docs/docbook/xslt/db2latex/docbook.xsl
+++ /dev/null
@@ -1,153 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: docbook.xsl,v 1.1.2.4 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| 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="ded-pref.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>
diff --git a/docs/docbook/xslt/db2latex/email.mod.xsl b/docs/docbook/xslt/db2latex/email.mod.xsl
deleted file mode 100644
index 8f2bcaa146..0000000000
--- a/docs/docbook/xslt/db2latex/email.mod.xsl
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: email.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="email" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: email.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Email <filename>email.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="email" xmlns="">
- <refpurpose> XSL template for email </refpurpose>
- <refdescription>
- <para>Outputs the mail in {\texttt }. Calls the normalize-scape template in order to get a
- normalized email string. It does not process email content model.</para>
- <formalpara><title>Remarks and Bugs</title>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
-
- <xsl:template match="email">
- <xsl:text>\texttt{&lt;</xsl:text>
- <xsl:call-template name="ulink">
- <xsl:with-param name="url" select="concat('mailto:',.)"/>
- </xsl:call-template>
- <xsl:text>&gt;}</xsl:text>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/errors.mod.xsl b/docs/docbook/xslt/db2latex/errors.mod.xsl
deleted file mode 100644
index a697d1ff1e..0000000000
--- a/docs/docbook/xslt/db2latex/errors.mod.xsl
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version='1.0'?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
- <!--#############################################################################
- | $Id: errors.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE:
- + ############################################################################## -->
-
-
- <xsl:template match="*">
- <xsl:message>DB2LaTeX: Need to process XPath match <xsl:value-of select="concat(name(..),'/',name(.))"/></xsl:message>
- <xsl:text> [</xsl:text><xsl:value-of select="name(.)"/><xsl:text>] &#10;</xsl:text>
- <xsl:apply-templates/>
- <xsl:text> [/</xsl:text><xsl:value-of select="name(.)"/><xsl:text>] &#10;</xsl:text>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/example.mod.xsl b/docs/docbook/xslt/db2latex/example.mod.xsl
deleted file mode 100644
index 599f1c0ace..0000000000
--- a/docs/docbook/xslt/db2latex/example.mod.xsl
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: example.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="example" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: example.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Example <filename>example.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
- <xsl:template match="example">
- <xsl:variable name="placement">
- <xsl:call-template name="generate.formal.title.placement">
- <xsl:with-param name="object" select="local-name(.)" />
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="caption">
- <xsl:text>\caption{</xsl:text>
- <xsl:apply-templates select="title" mode="caption.mode"/>
- <xsl:text>}&#10;</xsl:text>
- </xsl:variable>
- <xsl:call-template name="map.begin"/>
- <xsl:if test="$placement='before'">
- <xsl:text>\captionswapskip{}</xsl:text>
- <xsl:value-of select="$caption" />
- <xsl:text>\captionswapskip{}</xsl:text>
- </xsl:if>
- <xsl:apply-templates />
- <xsl:if test="$placement!='before'"><xsl:value-of select="$caption" /></xsl:if>
- <xsl:call-template name="map.end"/>
- </xsl:template>
-
-
-
- <xsl:template match="example/title"></xsl:template>
-
-
-
-
- <xsl:template match="informalexample">
- <xsl:call-template name="informal.object"/>
- </xsl:template>
-
-
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/figure.mod.xsl b/docs/docbook/xslt/db2latex/figure.mod.xsl
deleted file mode 100644
index 3269bb5cfa..0000000000
--- a/docs/docbook/xslt/db2latex/figure.mod.xsl
+++ /dev/null
@@ -1,130 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: figure.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: Template for figure tag.
-+ ############################################################################## -->
-
-<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'>
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="figure" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: figure.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Figures and InformalFigures <filename>figure.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
-
-
- <!--############################################################################# -->
- <doc:template match="figure|informalfigure" xmlns="">
- <refpurpose> XSL template for figure|informalfigure </refpurpose>
- <refdescription>
- <para>Outputs <literal>\begin{figure}</literal>,
- applies templates and outputs <literal>\end{figure}</literal>. </para>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- <listitem><para>The <literal>figure.title</literal> can be typset in italics by specifying <literal>$latex.figure.title.style</literal> (<literal>\itshape</literal> would be common).</para></listitem>
- <listitem><para>If a <literal>figure.mediaobject.caption</literal> exists, it will be typeset after the <literal>figure.title</literal> (but only if there is a single <literal>figure.mediaobject.caption</literal>).</para></listitem>
- </itemizedlist>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
-
-<!-- Auxiliary template to output a figure caption.-->
-<xsl:template name="aux.figure.caption">
-<xsl:text>\caption{{</xsl:text>
-<xsl:value-of select="$latex.figure.title.style"/>
-<xsl:text>{</xsl:text>
-<xsl:apply-templates select="title"/>
-<xsl:text>}}</xsl:text>
-<xsl:if test="count(child::mediaobject/caption)=1">
- <xsl:text>. </xsl:text>
- <xsl:apply-templates select="mediaobject/caption" />
-</xsl:if>
-<xsl:text>}&#10;</xsl:text>
-</xsl:template>
-
-<xsl:template match="figure|informalfigure">
- <xsl:variable name="placement">
- <xsl:call-template name="generate.formal.title.placement">
- <xsl:with-param name="object" select="local-name(.)" />
- </xsl:call-template>
- </xsl:variable>
- <xsl:call-template name="map.begin"/>
- <xsl:if test="$placement='before'">
- <xsl:text>\captionswapskip{}</xsl:text>
- <xsl:call-template name="aux.figure.caption" />
- <xsl:text>\captionswapskip{}</xsl:text>
- </xsl:if>
- <xsl:apply-templates select="*[name(.) != 'title']"/>
- <xsl:if test="$placement!='before'">
- <xsl:call-template name="aux.figure.caption" />
- </xsl:if>
- <xsl:call-template name="map.end"/>
-</xsl:template>
-
-
-
- <!--############################################################################# -->
- <!--
- <doc:template match="figure[programlisting]" xmlns="">
- <refpurpose> XSL template for programlisting within a figure </refpurpose>
- <refdescription>
- <para>Outputs <literal>\begin{figure}</literal>,
- applies templates and outputs <literal>\end{abstract}</literal>. </para>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- </itemizedlist>
- </formalpara>
- </refdescription>
- </doc:template>
- -->
- <!--############################################################################# -->
-
- <!--
- <xsl:template match="figure[programlisting]">
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="programlisting"/>
- </xsl:call-template>
- <xsl:apply-templates />
- <xsl:call-template name="map.end">
- <xsl:with-param name="keyword" select="programlisting"/>
- </xsl:call-template>
- </xsl:template>
- -->
-
- <xsl:template match="figure/title">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="informalfigure/title">
- </xsl:template>
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/font.mod.xsl b/docs/docbook/xslt/db2latex/font.mod.xsl
deleted file mode 100644
index 40b4550c4f..0000000000
--- a/docs/docbook/xslt/db2latex/font.mod.xsl
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: font.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="font" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: font.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Font <filename>font.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <doc:param name="latex.document.font" xmlns="">
- <refpurpose> Document Font </refpurpose>
- <refdescription>
- Possible values: default, times, palatcm, charter, helvet, palatino, avant, newcent, bookman
- </refdescription>
- </doc:param>
-
-
- <xsl:param name="latex.document.font">palatino</xsl:param>
-
- <!--
- If you want to change explicitly to a certain font, use the command \fontfamily{XYZ}\selectfont whereby XYZ can be set to: pag for Adobe AvantGarde, pbk for Adobe Bookman, pcr for Adobe Courier, phv for Adobe Helvetica, pnc for Adobe NewCenturySchoolbook, ppl for Adobe Palatino, ptm for Adobe Times Roman, pzc for Adobe ZapfChancery
- -->
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/footnote.mod.xsl b/docs/docbook/xslt/db2latex/footnote.mod.xsl
deleted file mode 100644
index 2d6a6aa861..0000000000
--- a/docs/docbook/xslt/db2latex/footnote.mod.xsl
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: footnote.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="footnote" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: footnote.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>FootNotes <filename>footnote.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
-
- <xsl:template match="footnote">
- <xsl:call-template name="label.id"/>
- <xsl:text>\begingroup\catcode`\#=12\footnote{</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>}\endgroup\docbooktolatexmakefootnoteref{</xsl:text>
- <xsl:call-template name="generate.label.id"/>
- <xsl:text>}</xsl:text>
- </xsl:template>
-
- <doc:template name="footnote">
- <refpurpose>Construct a footnote that copes with URLs</refpurpose>
- <refdescription><para>This template exists in this file so that all
- the footnote-generating templates are close to each other. However,
- it is actually a part of the ulink template in xref.mod.xsl</para></refdescription>
- </doc:template>
- <xsl:template name="footnote">
- <xsl:param name="hyphenation"/>
- <xsl:param name="url"/>
- <xsl:call-template name="label.id"/>
- <xsl:text>\begingroup\catcode`\#=12\footnote{</xsl:text>
- <xsl:call-template name="generate.typeset.url">
- <xsl:with-param name="hyphenation" select="$hyphenation"/>
- <xsl:with-param name="url" select="$url"/>
- </xsl:call-template>
- <xsl:text>}\endgroup\docbooktolatexmakefootnoteref{</xsl:text>
- <xsl:call-template name="generate.label.id"/>
- <xsl:text>}</xsl:text>
- </xsl:template>
-
- <xsl:template match="footnote/para">
- <xsl:apply-templates/>
- <xsl:text>&#10;&#10;</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="footnoteref">
- <xsl:variable name="footnote" select="id(@linkend)"/>
- <xsl:text>\docbooktolatexusefootnoteref{</xsl:text>
- <xsl:value-of select="@linkend"/>
- <xsl:text>}</xsl:text>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/formal.mod.xsl b/docs/docbook/xslt/db2latex/formal.mod.xsl
deleted file mode 100644
index 9857186589..0000000000
--- a/docs/docbook/xslt/db2latex/formal.mod.xsl
+++ /dev/null
@@ -1,151 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: formal.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="formal" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: formal.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Formal Objects <filename>formal.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <xsl:template name="formal.object">
- <xsl:call-template name="formal.object.heading">
- <xsl:with-param name="title"><xsl:apply-templates select="." mode="title.ref"/></xsl:with-param>
- </xsl:call-template>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template name="formal.object.heading">
- <xsl:param name="title"></xsl:param>
- <xsl:call-template name="label.id"/>
- <xsl:copy-of select="$title"/>
- </xsl:template>
-
- <xsl:template name="informal.object">
- <xsl:call-template name="label.id"/>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template name="semiformal.object">
- <xsl:choose>
- <xsl:when test="title"> <xsl:call-template name="formal.object"/> </xsl:when>
- <xsl:otherwise> <xsl:call-template name="informal.object"/></xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
- <xsl:template name="generate.formal.title.placement">
- <xsl:param name="object" select="figure" />
- <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement),concat($object, ' '))"/>
- <xsl:choose>
- <xsl:when test="contains($param.placement, ' ')">
- <xsl:value-of select="substring-before($param.placement, ' ')"/>
- </xsl:when>
- <xsl:when test="$param.placement = ''">before</xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$param.placement"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
-<!-- ======================================== -->
-<!-- XSL Template for DocBook Equation Element -->
-<!-- 2003/07/04 Applied patches from J.Pavlovic -->
-<!-- ======================================== -->
-<xsl:template match="equation">
-<!-- Get LaTeX content if available -->
-<xsl:variable name="tex" select=" mediaobject/textobject[@role='tex' or @role='latex'] | mediaobject/textobject/phrase[@role='tex' or @role='latex']"/>
-<!-- Equation title placement -->
-<xsl:variable name="placement">
- <xsl:call-template name="generate.formal.title.placement">
- <xsl:with-param name="object" select="local-name(.)" />
- </xsl:call-template>
-</xsl:variable>
-<!-- Equation caption -->
-<xsl:variable name="caption">
- <xsl:text>\caption{</xsl:text>
- <xsl:apply-templates select="title" mode="caption.mode"/>
- <xsl:text>}&#10;</xsl:text>
-</xsl:variable>
-<xsl:call-template name="map.begin"/>
-<xsl:if test="$placement='before'">
- <xsl:text>\captionswapskip{}</xsl:text>
- <xsl:value-of select="$caption" />
- <xsl:text>\captionswapskip{}</xsl:text>
-</xsl:if>
-<xsl:choose>
- <xsl:when test="$tex">
- <xsl:apply-templates select="$tex"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
-</xsl:choose>
-<xsl:if test="$placement!='before'"><xsl:value-of select="$caption" /></xsl:if>
-<xsl:call-template name="map.end"/>
-</xsl:template>
-
-
-<xsl:template match="equation/title"/>
-
-
-
-
-
-<xsl:template match="informalequation">
-<xsl:variable name="tex" select=" mediaobject/textobject[@role='tex'] | mediaobject/textobject[@role='latex']"/>
-<xsl:call-template name="informal.object"/>
-<xsl:choose>
- <xsl:when test="$tex">
- <xsl:text>$</xsl:text><xsl:value-of select="mediaobject/textobject/phrase"/><xsl:text>$&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-
-
-
-
-
-
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/glossary.mod.xsl b/docs/docbook/xslt/db2latex/glossary.mod.xsl
deleted file mode 100644
index 45153cc98c..0000000000
--- a/docs/docbook/xslt/db2latex/glossary.mod.xsl
+++ /dev/null
@@ -1,221 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: glossary.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="glossary" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: glossary.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Glossary <filename>glossary.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para>This reference applies to the glossary element name. Altough LaTeX
- provides some glossary support, the better glossary management support
- motivates the bypass of the LaTeX <literal>\makeglossary</literal>
- command.</para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="glossary" xmlns="">
- <refpurpose> Glossary XSL template / entry point </refpurpose>
- <refdescription><para>The <sgmltag>glossary</sgmltag> element is the entry point
- to a docbook glossary. The DB2LaTeX processing of the element is quite straight-
- forward. First thing is to check whether the document is a book or article. In
- both cases two new LaTeX commands are defined. <literal>\dbglossary</literal>
- and <literal>\dbglossdiv</literal>. In the former case, they are mapped to
- <literal>\chapter*</literal> and <literal>\section*</literal>. In the second
- case to <literal>\section*</literal> and <literal>\subsection*</literal>.</para>
- </refdescription>
- <itemizedlist>
- <listitem><para>Call template map.begin.</para></listitem>
- <listitem><para>Apply Templates for Preamble, GlossDivs and GlossEntries (serial).</para></listitem>
- <listitem><para>Call template map.end.</para></listitem>
- </itemizedlist>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- <listitem><para>Template for glossary/glossaryinfo is EMPTY.</para></listitem>
- <listitem><para>Template for glossary/title | glossary/subtitle is EMPTY.</para></listitem>
- <listitem><para>Template for glossary/titleabbrev is EMPTY.</para></listitem>
- </itemizedlist>
- </formalpara>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="glossary">
- <xsl:variable name="divs" select="glossdiv"/>
- <xsl:variable name="entries" select="glossentry"/>
- <xsl:variable name="preamble" select="*[not(self::title or self::subtitle or self::glossdiv or self::glossentry)]"/>
- <xsl:choose>
- <xsl:when test="local-name(..)='book' or local-name(..)='part'">
- <xsl:text>\newcommand{\dbglossary}[1]{\chapter*{#1}}%&#10;</xsl:text>
- <xsl:text>\newcommand{\dbglossdiv}[1]{\section*{#1}}%&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\newcommand{\dbglossary}[1]{\section*{#1}}%&#10;</xsl:text>
- <xsl:text>\newcommand{\dbglossdiv}[1]{\subsection*{#1}}%&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="map.begin"/>
- <xsl:if test="./subtitle"><xsl:apply-templates select="./subtitle" mode="component.title.mode"/> </xsl:if>
- <xsl:if test="$preamble"> <xsl:apply-templates select="$preamble"/> </xsl:if>
- <xsl:if test="$divs"> <xsl:apply-templates select="$divs"/> </xsl:if>
- <xsl:if test="$entries"> <xsl:apply-templates select="$entries"/></xsl:if>
- <xsl:call-template name="map.end"/>
- </xsl:template>
-
- <xsl:template match="glossary/glossaryinfo"/>
- <xsl:template match="glossary/title"/>
- <xsl:template match="glossary/subtitle"/>
- <xsl:template match="glossary/titleabbrev"/>
- <xsl:template match="glossary/title" mode="component.title.mode"> <xsl:apply-templates/> </xsl:template>
- <xsl:template match="glossary/subtitle" mode="component.title.mode"> <xsl:apply-templates/> </xsl:template>
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="glossdiv|glosslist" xmlns="">
- <refpurpose> Glossary Division and Glossary Lists XSL templates. </refpurpose>
- <refdescription><para>T.B.D</para>
- </refdescription>
- <itemizedlist>
- <listitem><para>Call template map.begin.</para></listitem>
- <listitem><para>Apply Templates.</para></listitem>
- <listitem><para>Call template map.end.</para></listitem>
- </itemizedlist>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- <listitem><para>Template for glossdiv/glossaryinfo is EMPTY.</para></listitem>
- </itemizedlist>
- </formalpara>
- </doc:template>
- <!--############################################################################# -->
- <xsl:template match="glossdiv|glosslist">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- <xsl:call-template name="map.end"/>
- </xsl:template>
-
- <xsl:template match="glossdiv/title" />
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="glossentry" xmlns="">
- <refpurpose> Glossary Entry XSL template / entry point </refpurpose>
- <refdescription>
- <para>T.B.D.</para>
- </refdescription>
- <itemizedlist>
- <listitem><para>Apply Templates.</para></listitem>
- </itemizedlist>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- <listitem><para>Explicit Templates for <literal>glossentry/glossterm</literal></para></listitem>
- <listitem><para>Explicit Templates for <literal>glossentry/acronym</literal></para></listitem>
- <listitem><para>Explicit Templates for <literal>glossentry/abbrev</literal></para></listitem>
- <listitem><para>Explicit Templates for <literal>glossentry/glossdef</literal></para></listitem>
- <listitem><para>Explicit Templates for <literal>glossentry/glosssee</literal></para></listitem>
- <listitem><para>Explicit Templates for <literal>glossentry/glossseealso</literal></para></listitem>
- <listitem><para>Template for glossentry/revhistory is EMPTY.</para></listitem>
- </itemizedlist>
- </formalpara>
- </doc:template>
- <!--############################################################################# -->
-
-
- <xsl:template match="glossentry">
- <xsl:apply-templates/>
- <xsl:text>&#10;&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="glossentry/glossterm">
- <xsl:text>\item[</xsl:text>
- <xsl:if test="../@id!=''">
- <xsl:text>\hypertarget{</xsl:text>
- <xsl:value-of select="../@id"/>
- <xsl:text>}</xsl:text>
- </xsl:if>
- <xsl:text>{</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="."/>
- </xsl:call-template>
- <xsl:text>}] </xsl:text>
- </xsl:template>
-
- <xsl:template match="glossentry/acronym">
- <xsl:text> ( \texttt {</xsl:text> <xsl:apply-templates/> <xsl:text>} ) </xsl:text>
- </xsl:template>
-
- <xsl:template match="glossentry/abbrev">
- <xsl:text> [ </xsl:text> <xsl:apply-templates/> <xsl:text> ] </xsl:text>
- </xsl:template>
-
- <xsl:template match="glossentry/revhistory"/>
-
- <xsl:template match="glossentry/glossdef">
- <xsl:text>&#10;</xsl:text>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="glossseealso|glossentry/glosssee">
- <xsl:variable name="otherterm" select="@otherterm"/>
- <xsl:variable name="targets" select="//node()[@id=$otherterm]"/>
- <xsl:variable name="target" select="$targets[1]"/>
- <xsl:call-template name="gentext.element.name"/>
- <xsl:call-template name="gentext.space"/>
- <xsl:call-template name="gentext.startquote"/>
- <xsl:choose>
- <xsl:when test="@otherterm">
- <xsl:text>\hyperlink{</xsl:text><xsl:value-of select="@otherterm"/>
- <xsl:text>}{</xsl:text><xsl:apply-templates select="$target" mode="xref"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="gentext.endquote"/>
- <xsl:text>. </xsl:text>
- </xsl:template>
-
- <xsl:template match="glossentry" mode="xref">
- <xsl:apply-templates select="./glossterm" mode="xref"/>
- </xsl:template>
-
- <xsl:template match="glossterm" mode="xref">
- <xsl:apply-templates/>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/graphic.mod.xsl b/docs/docbook/xslt/db2latex/graphic.mod.xsl
deleted file mode 100644
index a3861d5c29..0000000000
--- a/docs/docbook/xslt/db2latex/graphic.mod.xsl
+++ /dev/null
@@ -1,90 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: graphic.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="graphic" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: graphic.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Graphics <filename>graphic.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <xsl:template match="screenshot">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="screeninfo">
- </xsl:template>
-
-
- <xsl:template match="graphic[@fileref]">
- <xsl:text>\includegraphics{</xsl:text> <xsl:value-of select="normalize-space(@fileref)"/>}
- </xsl:template>
-
- <xsl:template match="graphic[@entityref]">
- <xsl:text>\includegraphics{</xsl:text> <xsl:value-of select="unparsed-entity-uri(@entityref)"/>}
- </xsl:template>
-
-
- <xsl:template match="inlinegraphic[@fileref]">
- <xsl:choose>
- <xsl:when test="@format='linespecific'">
- <a xml:link="simple" show="embed" actuate="auto" href="{@fileref}"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\includegraphics{</xsl:text>
- <xsl:if test="@align">
- <!-- <xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute> -->
- </xsl:if>
- <xsl:value-of select="normalize-space(@fileref)"/>}
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="inlinegraphic[@entityref]">
- <xsl:choose>
- <xsl:when test="@format='linespecific'">
- <a xml:link="simple" show="embed" actuate="auto" href="{@fileref}"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\includegraphics{</xsl:text>
- <xsl:if test="@align">
- <!-- <xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute> -->
- </xsl:if>
- <xsl:value-of select="unparsed-entity-uri(@entityref)"/>}
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/html.mod.xsl b/docs/docbook/xslt/db2latex/html.mod.xsl
deleted file mode 100644
index e4ad775d18..0000000000
--- a/docs/docbook/xslt/db2latex/html.mod.xsl
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
- <!--#############################################################################
- | $Id: html.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE:
- |
- + ############################################################################## -->
-
-
- <xsl:template name="html">
- </xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/index.mod.xsl b/docs/docbook/xslt/db2latex/index.mod.xsl
deleted file mode 100644
index 5a33c49f44..0000000000
--- a/docs/docbook/xslt/db2latex/index.mod.xsl
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: index.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="index" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: index.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Index <filename>index.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <xsl:template match="index|setindex">
- <xsl:call-template name="label.id"/>
- <xsl:text>\printindex&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="index/title"></xsl:template>
- <xsl:template match="index/subtitle"></xsl:template>
- <xsl:template match="index/titleabbrev"></xsl:template>
-
- <xsl:template match="index/title" mode="component.title.mode">
- <xsl:call-template name="label.id"> <xsl:with-param name="object" select=".."/> </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="index/subtitle" mode="component.title.mode"/>
-
-
-
-
- <xsl:template match="indexdiv">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="indexdiv/title">
- <xsl:call-template name="label.id"> <xsl:with-param name="object" select=".."/> </xsl:call-template>
- </xsl:template>
-
-
-<!-- INDEX TERM CONTENT MODEL
-IndexTerm ::=
-(Primary,
-((Secondary,
-((Tertiary,
-(See|SeeAlso+)?)|
-See|SeeAlso+)?)|
-See|SeeAlso+)?)
--->
-<xsl:template match="indexterm">
-<xsl:text>\index{</xsl:text>
-<!-- output primary -->
-<xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="normalize-space(./primary)"/>
-</xsl:call-template>
-<!-- output secondary if it exists -->
-<xsl:if test="./secondary">
- <xsl:text>!</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="normalize-space(./secondary)"/>
- </xsl:call-template>
-</xsl:if>
-<!-- output tertiary if it exists -->
-<xsl:if test="./tertiary">
- <xsl:text>!</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="normalize-space(./tertiary)"/>
- </xsl:call-template>
-</xsl:if>
-<!-- idem with see/seealso -->
-<xsl:if test="./see">
- <xsl:text>|see{</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="normalize-space(./see)"/>
- </xsl:call-template>
- <xsl:text>}</xsl:text>
-</xsl:if>
-<xsl:if test="./seealso">
- <xsl:text>|see{</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="normalize-space(./seealso)"/>
- </xsl:call-template>
- <xsl:text>}</xsl:text>
-</xsl:if>
-<xsl:text>}</xsl:text>
-</xsl:template>
-
-
-
-
- <xsl:template match="primary|secondary|tertiary|see|seealso"/>
- <xsl:template match="indexentry"/>
- <xsl:template match="primaryie|secondaryie|tertiaryie|seeie|seealsoie"/>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/info.mod.xsl b/docs/docbook/xslt/db2latex/info.mod.xsl
deleted file mode 100644
index 86fdc19ef1..0000000000
--- a/docs/docbook/xslt/db2latex/info.mod.xsl
+++ /dev/null
@@ -1,69 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: info.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="info" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: info.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Info <filename>info.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <!-- These templates define the "default behavior" for info
- elements. Even if you don't process the *info wrappers,
- some of these elements are needed because the elements are
- processed from named templates that are called with modes.
- Since modes aren't sticky, these rules apply.
- (TODO: clarify this comment) -->
-
-
- <xsl:template match="corpauthor">
- <xsl:apply-templates/>
- </xsl:template>
-
-
- <xsl:template match="jobtitle">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="orgname">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="orgdiv">
- <xsl:apply-templates/>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/inline.mod.xsl b/docs/docbook/xslt/db2latex/inline.mod.xsl
deleted file mode 100644
index 864834f7c2..0000000000
--- a/docs/docbook/xslt/db2latex/inline.mod.xsl
+++ /dev/null
@@ -1,526 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: inline.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="inline" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: inline.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Inline <filename>inline.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
-
-
- <xsl:template name="inline.charseq">
- <xsl:param name="content">
- <xsl:apply-templates/>
- </xsl:param>
- <xsl:copy-of select="$content"/>
- </xsl:template>
-
- <xsl:template name="inline.monoseq">
- <xsl:param name="hyphenation">\docbookhyphenatedot</xsl:param>
- <xsl:param name="content">
- <xsl:apply-templates/>
- </xsl:param>
- <xsl:text>{\texttt</xsl:text>
- <xsl:if test="$latex.hyphenation.tttricks='1'"><xsl:value-of select="$hyphenation" /></xsl:if>
- <xsl:text>{</xsl:text>
- <xsl:copy-of select="$content"/>
- <xsl:text>}}</xsl:text>
- </xsl:template>
-
- <xsl:template name="inline.boldseq">
- <xsl:param name="content">
- <xsl:apply-templates/>
- </xsl:param>
- <xsl:text>{\bfseries </xsl:text>
- <xsl:copy-of select="$content"/>
- <xsl:text>}</xsl:text>
- </xsl:template>
-
- <xsl:template name="inline.italicseq">
- <xsl:param name="content">
- <xsl:apply-templates/>
- </xsl:param>
- <xsl:text>{\em </xsl:text>
- <xsl:copy-of select="$content"/>
- <xsl:text>}</xsl:text>
- </xsl:template>
-
- <xsl:template name="inline.boldmonoseq">
- <xsl:param name="hyphenation">\docbookhyphenatedot</xsl:param>
- <xsl:param name="content">
- <xsl:apply-templates/>
- </xsl:param>
- <xsl:text>{\texttt\bfseries</xsl:text>
- <xsl:if test="$latex.hyphenation.tttricks='1'"><xsl:value-of select="$hyphenation" /></xsl:if>
- <xsl:text>{</xsl:text>
- <xsl:copy-of select="$content"/>
- <xsl:text>}}</xsl:text>
- </xsl:template>
-
- <xsl:template name="inline.italicmonoseq">
- <xsl:param name="hyphenation">\docbookhyphenatedot</xsl:param>
- <xsl:param name="content">
- <xsl:apply-templates/>
- </xsl:param>
- <xsl:text>{\texttt\itshape</xsl:text>
- <xsl:if test="$latex.hyphenation.tttricks='1'"><xsl:value-of select="$hyphenation" /></xsl:if>
- <xsl:text>{</xsl:text>
- <xsl:copy-of select="$content"/>
- <xsl:text>}}</xsl:text>
- </xsl:template>
-
- <xsl:template name="inline.superscriptseq">
- <xsl:param name="content">
- <xsl:apply-templates/>
- </xsl:param>
- <xsl:text>$^\text{</xsl:text>
- <xsl:copy-of select="$content"/>
- <xsl:text>}$</xsl:text>
- </xsl:template>
-
- <xsl:template name="inline.subscriptseq">
- <xsl:param name="content">
- <xsl:apply-templates/>
- </xsl:param>
- <xsl:text>$_\text{</xsl:text>
- <xsl:copy-of select="$content"/>
- <xsl:text>}$</xsl:text>
- </xsl:template>
-
-
-
-
-
-
- <!-- ==================================================================== -->
- <!-- some special cases -->
-
- <xsl:template match="author">
- <xsl:call-template name="person.name"/>
- </xsl:template>
-
- <xsl:template match="editor">
- <xsl:call-template name="person.name"/>
- </xsl:template>
-
- <xsl:template match="othercredit">
- <xsl:call-template name="person.name"/>
- </xsl:template>
-
- <xsl:template match="authorinitials">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
- <xsl:template match="accel">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="action">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="application">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="classname">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="exceptionname">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="interfacename">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="methodname">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="command">
- <xsl:call-template name="inline.boldseq"/>
- </xsl:template>
-
- <xsl:template match="computeroutput">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="constant">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="database">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="errorcode">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="errorname">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="errortype">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="envar">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="filename">
- <xsl:call-template name="inline.monoseq"><xsl:with-param name="hyphenation">\docbookhyphenatefilename</xsl:with-param></xsl:call-template>
- </xsl:template>
-
-
-
- <xsl:template match="function">
- <xsl:choose>
- <xsl:when test="$function.parens != '0'
- or parameter or function or replaceable"> <xsl:variable name="nodes" select="text()|*"/>
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:apply-templates select="$nodes[1]"/>
- </xsl:with-param>
- </xsl:call-template>
- <xsl:text>(</xsl:text>
- <xsl:apply-templates select="$nodes[position()>1]"/>
- <xsl:text>)</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="inline.monoseq"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="function/parameter" priority="2">
- <xsl:call-template name="inline.italicmonoseq"/>
- <xsl:if test="following-sibling::*">
- <xsl:text>, </xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="function/replaceable" priority="2">
- <xsl:call-template name="inline.italicmonoseq"/>
- <xsl:if test="following-sibling::*">
- <xsl:text>, </xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface">
- <xsl:text>{\sffamily \bfseries </xsl:text>
- <xsl:call-template name="inline.charseq" />
- <xsl:text>}</xsl:text>
- </xsl:template>
-
- <xsl:template match="hardware">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="interfacedefinition">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="keycap|keysym">
- <xsl:call-template name="inline.boldseq" />
- </xsl:template>
-
- <xsl:template match="keycode">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="literal">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="medialabel">
- <xsl:call-template name="inline.italicseq"/>
- </xsl:template>
-
- <xsl:template match="shortcut">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="mousebutton">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="option">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="parameter" priority="1">
- <xsl:call-template name="inline.italicmonoseq"/>
- </xsl:template>
-
- <xsl:template match="property">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="prompt">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="replaceable" priority="1">
- <xsl:call-template name="inline.italicmonoseq"/>
- </xsl:template>
-
- <xsl:template match="returnvalue">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="structfield">
- <xsl:call-template name="inline.italicmonoseq"/>
- </xsl:template>
-
- <xsl:template match="structname">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="symbol">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="systemitem">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="token">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="type">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="userinput">
- <xsl:call-template name="inline.boldmonoseq"/>
- </xsl:template>
-
- <xsl:template match="abbrev">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="acronym">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="citerefentry">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="citetitle">
- <xsl:call-template name="inline.italicseq"/>
- </xsl:template>
-
- <xsl:template match="emphasis">
- <xsl:call-template name="inline.italicseq"/>
- </xsl:template>
-
- <xsl:template match="emphasis[@role='bold']">
- <xsl:call-template name="inline.boldseq"/>
- </xsl:template>
-
- <xsl:template match="foreignphrase">
- <xsl:call-template name="inline.italicseq"/>
- </xsl:template>
-
- <xsl:template match="markup">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <doc:template match="phrase">
- <refpurpose> A span of text </refpurpose>
- <refdescription><para>
- This is a regular inline sequence.
- However, if the role attribute is 'tex' or 'latex', the content
- will be output without LaTeX active-character escaping.
- </para></refdescription>
- </doc:template>
- <xsl:template match="phrase">
- <xsl:choose>
- <xsl:when test="@role='tex' or @role='latex'">
- <xsl:value-of select="."/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="inline.charseq"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="quote">
- <xsl:call-template name="gentext.nestedstartquote"/>
- <xsl:call-template name="inline.charseq"/>
- <xsl:call-template name="gentext.nestedendquote"/>
- </xsl:template>
-
- <xsl:template match="varname">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template match="wordasword">
- <xsl:call-template name="inline.italicseq"/>
- </xsl:template>
-
- <xsl:template match="lineannotation">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="superscript">
- <xsl:call-template name="inline.superscriptseq"/>
- </xsl:template>
-
- <xsl:template match="subscript">
- <xsl:call-template name="inline.subscriptseq"/>
- </xsl:template>
-
- <xsl:template match="trademark">
- <xsl:call-template name="inline.charseq"/>
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">trademark</xsl:with-param>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="firstterm">
- <xsl:call-template name="inline.italicseq"/>
- </xsl:template>
-
- <xsl:template match="glossterm">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="keycombo">
- <xsl:variable name="action" select="@action"/>
- <xsl:variable name="joinchar">
- <xsl:choose>
- <xsl:when test="$action='seq'"><xsl:text> </xsl:text></xsl:when>
- <xsl:when test="$action='simul'">+</xsl:when>
- <xsl:when test="$action='press'">--</xsl:when>
- <xsl:when test="$action='click'">--</xsl:when>
- <xsl:when test="$action='double-click'">--</xsl:when>
- <xsl:when test="$action='other'"></xsl:when>
- <xsl:otherwise>--</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:for-each select="./*">
- <xsl:if test="position()>1"><xsl:value-of select="$joinchar"/></xsl:if>
- <xsl:apply-templates select="."/>
- </xsl:for-each>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
- <xsl:template match="menuchoice">
- <xsl:variable name="shortcut" select="./shortcut"/>
- <xsl:call-template name="process.menuchoice"/>
- <xsl:if test="$shortcut">
- <xsl:text> (</xsl:text>
- <xsl:apply-templates select="$shortcut"/>
- <xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="process.menuchoice">
- <xsl:param name="nodelist" select="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface"/><!-- not(shortcut) -->
- <xsl:param name="count" select="1"/>
-
- <xsl:choose>
- <xsl:when test="$count>count($nodelist)"></xsl:when>
- <xsl:when test="$count=1">
- <xsl:apply-templates select="$nodelist[$count=position()]"/>
- <xsl:call-template name="process.menuchoice">
- <xsl:with-param name="nodelist" select="$nodelist"/>
- <xsl:with-param name="count" select="$count+1"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="node" select="$nodelist[$count=position()]"/>
- <xsl:choose>
- <xsl:when test="name($node)='guimenuitem'
- or name($node)='guisubmenu'">
- <xsl:text> $\to$ </xsl:text>
- </xsl:when>
- <xsl:otherwise>+</xsl:otherwise>
- </xsl:choose>
- <xsl:apply-templates select="$node"/>
- <xsl:call-template name="process.menuchoice">
- <xsl:with-param name="nodelist" select="$nodelist"/>
- <xsl:with-param name="count" select="$count+1"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
- <xsl:template match="optional">
- <xsl:value-of select="$arg.choice.opt.open.str"/>
- <xsl:call-template name="inline.charseq"/>
- <xsl:value-of select="$arg.choice.opt.close.str"/>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
- <xsl:template match="comment|remark">
- <xsl:if test="$show.comments != 0">
- <i><xsl:call-template name="inline.charseq"/></i>
- </xsl:if>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
- <xsl:template match="productname">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="productnumber">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
- <xsl:template match="pob|street|city|state|postcode|country|phone|fax|otheraddr">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/keywords.mod.xsl b/docs/docbook/xslt/db2latex/keywords.mod.xsl
deleted file mode 100644
index c975406ba7..0000000000
--- a/docs/docbook/xslt/db2latex/keywords.mod.xsl
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: keywords.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="keywords" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: keywords.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Keywords <filename>keywords.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-<xsl:template match="keywordset">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- <xsl:call-template name="map.end"/>
-</xsl:template>
-
-<xsl:template match="keyword">
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="normalize-space(.)"/>
- </xsl:call-template>
- <xsl:if test="following-sibling::keyword">, </xsl:if>
-</xsl:template>
-
-
-
-
-
-<xsl:template match="subjectset"></xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/labelid.mod.xsl b/docs/docbook/xslt/db2latex/labelid.mod.xsl
deleted file mode 100644
index ee8faf0000..0000000000
--- a/docs/docbook/xslt/db2latex/labelid.mod.xsl
+++ /dev/null
@@ -1,479 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: labelid.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: When this template is called, it marks the object with a label
-| and an hypertarget.
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="labelid" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: labelid.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Labels <filename>labelid.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
- <doc:template name="label.id" xmlns="">
- <refpurpose>Marks the current object with a label.</refpurpose>
- <refdescription>
- <para>This template marks the current object with a <literal>
- \label{.}</literal>. The passed argument indicates the object whose
- <literal>id attribute</literal> is used to generate the label.
- In this sense, in most cases its the current node itself.
- If the used object has not an id attribute, a unique id is
- obtained by means of the <literal>generate-id</literal> function.
- Moreover, if we are using the hyperref package, a hypertarget is
- also defined for this object. </para>
- </refdescription>
- <refparameter>
- <variablelist>
- <varlistentry><term>object</term>
- <listitem><para>The node whose id is to be used.</para></listitem>
- </varlistentry>
- </variablelist>
- </refparameter>
- <refreturn>
- <para>This template returns the id that has been used to label the
- object.</para>
- </refreturn>
- </doc:template>
-
- <xsl:template name="label.id">
- <xsl:text>\label{</xsl:text>
- <xsl:call-template name="generate.label.id"/>
- <xsl:text>}</xsl:text>
- </xsl:template>
-
- <xsl:template name="generate.label.id">
- <xsl:param name="object" select="."/>
- <xsl:variable name="id">
- <xsl:choose>
- <xsl:when test="$object/@id">
- <xsl:value-of select="$object/@id"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="generate-id($object)"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:value-of select="normalize-space($id)"/>
- </xsl:template>
-
-
-
-
- <!--
- <xsl:template match="*" mode="label.content">
- <xsl:message>
- <xsl:text>Request for label of unexpected element: </xsl:text>
- <xsl:value-of select="name(.)"/>
- </xsl:message>
- </xsl:template>
-
- <xsl:template match="set|book" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="part" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$part.autolabel != 0">
- <xsl:number from="book" count="part" format="I"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
-
- <xsl:template match="preface" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$preface.autolabel != 0">
- <xsl:number from="book" count="preface" format="1" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="chapter" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$chapter.autolabel != 0">
- <xsl:number from="book" count="chapter" format="1" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="appendix" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$chapter.autolabel != 0">
- <xsl:number from="book" count="appendix" format="A" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="article" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
- </xsl:template>
-
-
- <xsl:template match="dedication|colophon" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="reference" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$part.autolabel != 0">
- <xsl:number from="book" count="reference" format="I" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="refentry" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="section" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
-
- <xsl:if test="local-name(..) = 'section'">
- <xsl:apply-templates select=".." mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
- </xsl:if>
-
- <xsl:variable name="parent.is.component">
- <xsl:call-template name="is.component">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:variable name="label">
- <xsl:call-template name="label.this.section">
- <xsl:with-param name="section" select="."/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:if test="$section.label.includes.component.label != 0
- and $parent.is.component != 0">
- <xsl:apply-templates select=".." mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$label != 0">
- <xsl:number count="section"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="sect1" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
-
- <xsl:variable name="parent.is.component">
- <xsl:call-template name="is.component">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:if test="$section.label.includes.component.label != 0
- and $parent.is.component">
- <xsl:apply-templates select=".." mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$section.autolabel != 0">
- <xsl:number count="sect1"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="sect2|sect3|sect4|sect5" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
-
- <xsl:apply-templates select=".." mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
-
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$section.autolabel != 0">
- <xsl:choose>
- <xsl:when test="local-name(.) = 'sect2'">
- <xsl:number count="sect2"/>
- </xsl:when>
- <xsl:when test="local-name(.) = 'sect3'">
- <xsl:number count="sect3"/>
- </xsl:when>
- <xsl:when test="local-name(.) = 'sect4'">
- <xsl:number count="sect4"/>
- </xsl:when>
- <xsl:when test="local-name(.) = 'sect5'">
- <xsl:number count="sect5"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message>label.content: this can't happen!</xsl:message>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="refsect1|refsect2|refsect3" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$section.autolabel != 0">
- <xsl:number level="multiple" count="refsect1|refsect2|refsect3"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="simplesect" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$section.autolabel != 0">
- <xsl:number level="multiple" count="section
- |sect1|sect2|sect3|sect4|sect5
- |refsect1|refsect2|refsect3
- |simplesect"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="qandadiv" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:variable name="prefix">
- <xsl:if test="$qanda.inherit.numeration != 0">
- <xsl:variable name="lparent" select="(ancestor::set
- |ancestor::book
- |ancestor::chapter
- |ancestor::appendix
- |ancestor::preface
- |ancestor::section
- |ancestor::simplesect
- |ancestor::sect1
- |ancestor::sect2
- |ancestor::sect3
- |ancestor::sect4
- |ancestor::sect5
- |ancestor::refsect1
- |ancestor::refsect2
- |ancestor::refsect3)[last()]"/>
- <xsl:if test="count($lparent)>0">
- <xsl:apply-templates select="$lparent" mode="label.content"/>
- </xsl:if>
- </xsl:if>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="$prefix"/>
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:when test="$qandadiv.autolabel != 0">
- <xsl:value-of select="$prefix"/>
- <xsl:number level="multiple" count="qandadiv" format="1"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="question|answer" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:variable name="prefix">
- <xsl:if test="$qanda.inherit.numeration != 0">
- <xsl:variable name="lparent" select="(ancestor::set
- |ancestor::book
- |ancestor::chapter
- |ancestor::appendix
- |ancestor::preface
- |ancestor::section
- |ancestor::simplesect
- |ancestor::sect1
- |ancestor::sect2
- |ancestor::sect3
- |ancestor::sect4
- |ancestor::sect5
- |ancestor::refsect1
- |ancestor::refsect2
- |ancestor::refsect3
- |ancestor::qandadiv)[last()]"/>
- <xsl:if test="count($lparent)>0">
- <xsl:apply-templates select="$lparent" mode="label.content"/>
- </xsl:if>
- </xsl:if>
- </xsl:variable>
-
- <xsl:variable name="inhlabel"
- select="ancestor-or-self::qandaset/@defaultlabel[1]"/>
-
- <xsl:variable name="deflabel">
- <xsl:choose>
- <xsl:when test="$inhlabel != ''">
- <xsl:value-of select="$inhlabel"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$qanda.defaultlabel"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="label" select="label"/>
-
- <xsl:choose>
- <xsl:when test="count($label)>0">
- <xsl:value-of select="$prefix"/>
- <xsl:apply-templates select="$label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
-
- <xsl:when test="$deflabel = 'qanda'">
- <xsl:call-template name="gentext.element.name"/>
- </xsl:when>
-
- <xsl:when test="$deflabel = 'number'">
- <xsl:if test="name(.) = 'question'">
- <xsl:value-of select="$prefix"/>
- <xsl:number level="multiple" count="qandaentry" format="1"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="bibliography|glossary|index" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="figure|table|example|equation" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- <xsl:choose>
- <xsl:when test="@label">
- <xsl:value-of select="@label"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="pchap"
- select="ancestor::chapter|ancestor::appendix"/>
- <xsl:choose>
- <xsl:when test="count($pchap)>0">
- <xsl:apply-templates select="$pchap" mode="label.content">
- <xsl:with-param name="punct">.</xsl:with-param>
- </xsl:apply-templates>
- <xsl:number format="1" from="chapter|appendix" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:number format="1" from="book|article" level="any"/>
- <xsl:value-of select="$punct"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="abstract" mode="label.content">
- <xsl:param name="punct">.</xsl:param>
- </xsl:template>
- -->
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/latex.mapping.dtd b/docs/docbook/xslt/db2latex/latex.mapping.dtd
deleted file mode 100644
index 361ce5a18d..0000000000
--- a/docs/docbook/xslt/db2latex/latex.mapping.dtd
+++ /dev/null
@@ -1,13 +0,0 @@
-<!ELEMENT latexbindings (latexmapping+)>
-<!ELEMENT latexmapping (mapping+)>
-<!ELEMENT mapping (line*)>
-<!ELEMENT line (#PCDATA)>
-
-<!ATTLIST latexmapping
-role CDATA #REQUIRED
->
-<!ATTLIST mapping
-key CDATA #REQUIRED
-text CDATA #REQUIRED
->
-
diff --git a/docs/docbook/xslt/db2latex/latex.mapping.xml b/docs/docbook/xslt/db2latex/latex.mapping.xml
deleted file mode 100644
index 1616774046..0000000000
--- a/docs/docbook/xslt/db2latex/latex.mapping.xml
+++ /dev/null
@@ -1,290 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE latexbindings SYSTEM "latex.mapping.dtd" []>
-
-<latexbindings>
-
- <!--
- ################################################################
- Keywords
- %id
- %title
- ################################################################ -->
-
-
- <!-- LaTeX mapping, role, BEGIN -->
- <latexmapping role="begin">
-
- <mapping key="abstract" text="">
- <line>&#10;</line>
- <line>% --------------------------------------------&#10;</line>
- <line>% Abstract &#10;</line>
- <line>% --------------------------------------------&#10;</line>
- <line>\begin{abstract}&#10;</line>
- </mapping>
-
- <mapping key="admonition" text="">
- <line>&#10;</line>
- <line>\begin{admonition}%title% NOTICE: see the db2latex FAQ w.r.t db2latex variable $latex.admonition.path&#10;</line>
- </mapping>
-
- <mapping key="appendixes" text="">
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>% Appendixes start here&#10;</line>
- <line>% -------------------------------------------------------------&#10;</line>
- <line>\appendix&#10;</line>
- </mapping>
-
- <mapping key="appendix" text="">
- <line>&#10;</line>
- <line>% -------------------------------------------------------------&#10;</line>
- <line>% appendix: %title &#10;</line>
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>\dbappendix{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="chapter" text="">
- <line>&#10;</line>
- <line>% -------------------------------------------------------------&#10;</line>
- <line>% Chapter %title &#10;</line>
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>\chapter{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="figure" text="">
- <line>&#10;</line>
- <line>% figure ------------------------------------------------------&#10;</line>
- <line>\begin{figure}[hbt]&#10;</line>
- <line>\begin{center}%&#10;</line>
- <line>\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
-
- <mapping key="keywordset" text="">
- <line>&#10;</line>
- <line>% keywords ------------------------------------------------------&#10;</line>
- <line>\begin{keywords}&#10;</line>
- </mapping>
-
- <mapping key="table" text="">
- <line>&#10;</line>
- <line>% table ------------------------------------------------------&#10;</line>
- <line>\begin{table}[hbt]&#10;</line>
- <line>\begin{center}%&#10;</line>
- <line>\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="informaltable" text="">
- <line>&#10;</line>
- <line>% tabular ------------------------------------------------------&#10;</line>
- <line>\begin{center}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="equation" text="">
- <line>&#10;\begin{dbequation}&#10;</line>
- <line>\begin{center}&#10;</line>
- </mapping>
-
- <mapping key="glossary" text="">
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>% &#10;</line>
- <line>% GLOSSARY %title&#10;</line>
- <line>% &#10;</line>
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>\dbglossary{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="glossdiv" text="">
- <line>% &#10;</line>
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>\dbglossdiv{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- <line>\noindent%&#10;</line>
- <line>\begin{description}%&#10;</line>
- </mapping>
-
- <mapping key="part" text="">
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>% &#10;</line>
- <line>% PART %title&#10;</line>
- <line>% &#10;</line>
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>\part{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="refentry" text="">
- <line>% &#10;</line>
- <line>% -------------------------------------------------------------&#10;</line>
- <line>% Refentry &#10;</line>
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>\section*{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="reference" text="">
- <line>% &#10;</line>
- <line>% -------------------------------------------------------------&#10;</line>
- <line>% Reference &#10;</line>
- <line>% ------------------------------------------------------------- &#10;</line>
- <line>\chapter*{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="revhistory" text="">
- <line>&#10;</line>
- <line>% ------------------------ &#10;</line>
- <line>% RevHistory &#10;</line>
- <line>% ------------------------ &#10;</line>
- <line>\pagebreak&#10;</line>
- <line>\section*{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- <line>\begin{center}&#10;</line>
- <line>\begin{tt}&#10;</line>
- <line>\begin{tabular}{|l||l|l|} \hline&#10;</line>
- </mapping>
-
- <mapping key="example" text="&#10;\begin{example}%&#10;"/>
-
- <mapping key="programlisting" text="&#10;\begin{program}%&#10;"/>
-
- <mapping key="sect1" text="">
- <line>&#10;</line>
- <line>% ------------------------ &#10;</line>
- <line>% Section &#10;</line>
- <line>\section{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="sect2" text="">
- <line>\subsection{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="sect3" text="">
- <line>\subsubsection{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="sect4" text="">
- <line>\subparagraph*{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="sect5" text="">
- <line>\subparagraph*{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="sect6" text="">
- <line>\subparagraph*{%title}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="formalpara" text="">
- <line>\subsubsection*{\small{%title}}&#10;</line>
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- </mapping>
-
- <mapping key="refentry" text="&#10;\section*{%title}&#10;\label{%id}&#10;"/>
- <mapping key="refsect1" text="&#10;\subsection*{%title}&#10;\label{%id}&#10;"/>
- <mapping key="refsect2" text="&#10;\subsubsection*{%title}&#10;\label{%id}&#10;"/>
- <mapping key="refsect3" text="&#10;\paragraph*{%title}&#10;\label{%id}&#10;"/>
-
- </latexmapping>
-
-
-
- <!-- LaTeX mapping, role, END -->
-
- <latexmapping role="end">
-
- <mapping key="abstract" text="">
- <line>\end{abstract}&#10;</line>
- <line>&#10;</line>
- </mapping>
-
- <mapping key="admonition" text="">
- <line>\end{admonition}&#10;</line>
- <line>&#10;</line>
- </mapping>
-
- <mapping key="book" text="">
- <line>&#10;</line>
- <line>\end{document}&#10;</line>
- <line>&#10;</line>
- </mapping>
-
- <mapping key="chapter" text=""/>
-
- <mapping key="example" text="">
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- <line>\end{example}&#10;</line>
- <line>&#10;</line>
- </mapping>
-
- <mapping key="figure" text="">
- <line>\label{%id}&#10;</line>
- <line>\end{center}&#10;</line>
- <line>\end{figure}&#10;</line>
- <line>&#10;</line>
- </mapping>
- <mapping key="equation" text="">
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- <line>\end{center}&#10;</line>
- <line>\end{dbequation}&#10;</line>
- <line>&#10;</line>
- </mapping>
-
- <mapping key="glossary" text="">
- </mapping>
-
- <mapping key="glossdiv" text="">
- <line>\end{description}%&#10;</line>
- </mapping>
-
-
- <mapping key="keywordset" text="">
- <line>\end{keywords}&#10;</line>
- </mapping>
-
- <mapping key="part" text="">
- </mapping>
-
- <mapping key="table" text="">
- <line>\label{%id}&#10;</line>
- <line>\end{center}&#10;</line>
- <line>\end{table}&#10;</line>
- <line>&#10;</line>
- </mapping>
-
- <mapping key="informaltable" text="">
- <line>\end{center}&#10;</line>
- <line>&#10;</line>
- </mapping>
-
- <mapping key="programlisting" text="">
- <line>\label{%id}\hypertarget{%id}{}%&#10;</line>
- <line>\end{center}&#10;</line>
- <line>\end{program}&#10;</line>
- <line>&#10;</line>
- </mapping>
-
- <mapping key="revhistory" text="">
- <line>\end{tabular}&#10;</line>
- <line>\end{tt}&#10;</line>
- <line>\end{center}&#10;</line>
- <line>% ------------------------ &#10;</line>
- <line>% End RevHistory &#10;</line>
- <line>% ------------------------ &#10;</line>
- </mapping>
- </latexmapping>
-
- <latexmapping role="entities">
- <mapping key="&#x0221E;" text=" \infty "/>
- </latexmapping>
-
-</latexbindings>
diff --git a/docs/docbook/xslt/db2latex/latex.mapping.xsl b/docs/docbook/xslt/db2latex/latex.mapping.xsl
deleted file mode 100644
index 8cdcde4312..0000000000
--- a/docs/docbook/xslt/db2latex/latex.mapping.xsl
+++ /dev/null
@@ -1,177 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: latex.mapping.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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:variable name="latex.mapping.xml" select="document('latex.mapping.xml')"/>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="glossary" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: latex.mapping.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <author>
- <firstname>Ramon</firstname><surname>Casellas</surname>
- </author>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>The DB2LaTeX mapping system <filename>latex.mapping.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para>The DB2LaTeX mapping system centralizes mapping docbook tags (e.g. <sgmltag>chapter</sgmltag>)
- to LaTeX commands <literal>\chapter</literal>. It used an auxiliary file, <filename>latex.mapping.xml</filename>
- that defines how the mapping is to be done.</para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template name="latex.mapping" xmlns="">
- <refpurpose></refpurpose>
- <refdescription>
- <para></para>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- </itemizedlist>
- </formalpara>
- <formalpara><title>Default Behaviour</title>
- <screen></screen>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
-
-
- <xsl:template name="latex.mapping">
- <xsl:param name="object" select="."/>
- <xsl:param name="keyword" select="local-name($object)"/>
- <xsl:param name="role" select="begin"/>
- <xsl:param name="string">
- <xsl:call-template name="extract.object.title">
- <xsl:with-param name="object" select="$object"/>
- </xsl:call-template>
- </xsl:param>
- <xsl:param name="use.label" select="1"/>
- <xsl:param name="use.hypertarget" select="1"/>
- <xsl:variable name="id">
- <xsl:choose>
- <xsl:when test="$object/@id"> <xsl:value-of select="$object/@id"/> </xsl:when>
- <xsl:otherwise> <xsl:value-of select="generate-id($object)"/> </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="title">
- <xsl:choose>
- <xsl:when test="$string=''">
- <xsl:call-template name="gentext.element.name"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="normalize-space($string)"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="latex.mapping.node"
- select="($latex.mapping.xml/latexbindings/latexmapping[@role=$role]/mapping[@key=$keyword])"/>
- <xsl:choose>
- <xsl:when test="$latex.mapping.node/@text!=''">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to"><xsl:value-of select="$id"/></xsl:with-param>
- <xsl:with-param name="from">%id</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to"><xsl:value-of select="$title"/></xsl:with-param>
- <xsl:with-param name="from">%title</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:value-of select="$latex.mapping.node/@text"/>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:for-each select="$latex.mapping.node/line">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to"><xsl:value-of select="$id"/></xsl:with-param>
- <xsl:with-param name="from">%id</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to"><xsl:value-of select="$title"/></xsl:with-param>
- <xsl:with-param name="from">%title</xsl:with-param>
- <xsl:with-param name="string" select="."/>
- </xsl:call-template>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
- <xsl:template name="map.begin">
- <xsl:param name="object" select="."/>
- <xsl:param name="keyword" select="local-name($object)"/>
- <xsl:param name="string">
- <xsl:call-template name="extract.object.title">
- <xsl:with-param name="object" select="$object"/>
- </xsl:call-template>
- </xsl:param>
- <xsl:call-template name="latex.mapping">
- <xsl:with-param name="keyword" select="$keyword"/>
- <xsl:with-param name="role">begin</xsl:with-param>
- <xsl:with-param name="string" select="$string"/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template name="map.end">
- <xsl:param name="object" select="."/>
- <xsl:param name="keyword" select="local-name($object)"/>
- <xsl:param name="role" select="begin"/>
- <xsl:param name="string">
- <xsl:call-template name="extract.object.title">
- <xsl:with-param name="object" select="$object"/>
- </xsl:call-template>
- </xsl:param>
- <xsl:call-template name="latex.mapping">
- <xsl:with-param name="keyword" select="$keyword"/>
- <xsl:with-param name="string" select="$string"/>
- <xsl:with-param name="role">end</xsl:with-param>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="title" mode="latex"><xsl:apply-templates/></xsl:template>
-
- <xsl:template name="extract.object.title">
- <xsl:param name="object" select="."/>
- <xsl:choose>
- <xsl:when test="$latex.apply.title.templates='1'">
- <xsl:apply-templates select="$object/title" mode="latex"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="$object/title"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/lists.mod.xsl b/docs/docbook/xslt/db2latex/lists.mod.xsl
deleted file mode 100644
index 351542d1e8..0000000000
--- a/docs/docbook/xslt/db2latex/lists.mod.xsl
+++ /dev/null
@@ -1,448 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: lists.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="lists" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: lists.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Lists <filename>lists.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
- <xsl:template match="variablelist/title| orderedlist/title | itemizedlist/title | simplelist/title">
- <xsl:text>&#10;{\sc </xsl:text>
- <xsl:apply-templates/>
- <xsl:text>}&#10;</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="itemizedlist">
- <xsl:if test="title"> <xsl:apply-templates select="title"/></xsl:if>
- <xsl:text>\begin{itemize}&#10;</xsl:text>
- <xsl:apply-templates select="listitem"/>
- <xsl:text>\end{itemize}&#10;</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="orderedlist">
- <!-- PARAM numeration : -->
- <xsl:param name="numeration">
- <xsl:choose>
- <xsl:when test="@numeration">
- <xsl:value-of select="@numeration"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="arabic"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:param>
- <xsl:if test="title"> <xsl:apply-templates select="title"/></xsl:if>
- <xsl:text>\begin{enumerate}</xsl:text>
- <xsl:if test="@numeration">
- <xsl:choose>
- <xsl:when test="@numeration='arabic'"> <xsl:text>[1]</xsl:text>&#10;</xsl:when>
- <xsl:when test="@numeration='upperalpha'"><xsl:text>[A]</xsl:text>&#10;</xsl:when>
- <xsl:when test="@numeration='loweralpha'"><xsl:text>[a]</xsl:text>&#10;</xsl:when>
- <xsl:when test="@numeration='upperroman'"><xsl:text>[I]</xsl:text>&#10;</xsl:when>
- <xsl:when test="@numeration='lowerroman'"><xsl:text>[i]</xsl:text>&#10;</xsl:when>
- </xsl:choose>
- </xsl:if>
- <xsl:apply-templates select="listitem"/>
- \end{enumerate}&#10;
- </xsl:template>
-
-
-
- <xsl:template match="variablelist">
- <xsl:if test="title"> <xsl:apply-templates select="title"/></xsl:if>
- <xsl:text>&#10;\noindent&#10;</xsl:text>
- \begin{description}
- <xsl:apply-templates select="varlistentry"/>
- \end{description}
- </xsl:template>
-
-
- <xsl:template match="listitem">
- \item <xsl:apply-templates/><xsl:text>&#10;</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="varlistentry">
- <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
- <xsl:text>\item[</xsl:text><xsl:apply-templates select="term"/><xsl:text>] </xsl:text>
- <xsl:apply-templates select="listitem"/>
- </xsl:template>
-
- <xsl:template match="varlistentry/term">
- <xsl:apply-templates/><xsl:text>, </xsl:text>
- </xsl:template>
-
- <xsl:template match="varlistentry/term[position()=last()]">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="varlistentry/listitem">
- <xsl:apply-templates/>
- </xsl:template>
-
-
- <xsl:template name="tabular.string">
- <xsl:param name="cols" select="1"/>
- <xsl:param name="i" select="1"/>
- <xsl:choose>
- <xsl:when test="$i > $cols"></xsl:when>
- <xsl:otherwise>
- <xsl:text>l</xsl:text>
- <xsl:call-template name="tabular.string">
- <xsl:with-param name="i" select="$i+1"/>
- <xsl:with-param name="cols" select="$cols"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
- <!--==========================================================================
- | Inline simplelist. It is rendered as a list of comma separated values.
- | We make the difference between the last member and the rest. XSL easily
- | allows this.
- +============================================================================-->
-
- <xsl:template match="simplelist[@type='inline']">
- <xsl:apply-templates/>
- </xsl:template>
- <xsl:template match="simplelist[@type='inline']/member">
- <xsl:apply-templates/>
- <xsl:text>, </xsl:text>
- </xsl:template>
- <xsl:template match="simplelist[@type='inline']/member[position()=last()]">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="simplelist[@type='horiz']">
- <xsl:variable name="cols">
- <xsl:choose>
- <xsl:when test="@columns">
- <xsl:value-of select="@columns"/>
- </xsl:when>
- <xsl:otherwise>1</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:text>&#10;</xsl:text>
- <xsl:text>\begin{tabular*}{\linewidth}{</xsl:text>
- <xsl:call-template name="tabular.string">
- <xsl:with-param name="cols" select="$cols"/>
- </xsl:call-template>
- <xsl:text>} </xsl:text>
- <xsl:call-template name="simplelist.horiz">
- <xsl:with-param name="cols" select="$cols"/>
- </xsl:call-template>
- <xsl:text>&#10;\end{tabular*}&#10;</xsl:text>
- </xsl:template>
-
-
-
-
- <xsl:template name="simplelist.horiz">
- <xsl:param name="cols">1</xsl:param>
- <xsl:param name="cell">1</xsl:param>
- <xsl:param name="members" select="./member"/>
- <xsl:if test="$cell &lt;= count($members)">
- <xsl:text>&#10;</xsl:text>
- <xsl:call-template name="simplelist.horiz.row">
- <xsl:with-param name="cols" select="$cols"/>
- <xsl:with-param name="cell" select="$cell"/>
- <xsl:with-param name="members" select="$members"/>
- </xsl:call-template>
- <xsl:text> \\</xsl:text>
- <xsl:call-template name="simplelist.horiz">
- <xsl:with-param name="cols" select="$cols"/>
- <xsl:with-param name="cell" select="$cell + $cols"/>
- <xsl:with-param name="members" select="$members"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="simplelist.horiz.row">
- <xsl:param name="cols">1</xsl:param>
- <xsl:param name="cell">1</xsl:param>
- <xsl:param name="members" select="./member"/>
- <xsl:param name="curcol">1</xsl:param>
- <xsl:if test="$curcol &lt;= $cols">
- <xsl:choose>
- <xsl:when test="$members[position()=$cell]">
- <xsl:apply-templates select="$members[position()=$cell]"/>
- <xsl:text> </xsl:text>
- <xsl:if test="$curcol &lt; $cols">
- <xsl:text>&amp; </xsl:text>
- </xsl:if>
- </xsl:when>
- </xsl:choose>
- <xsl:call-template name="simplelist.horiz.row">
- <xsl:with-param name="cols" select="$cols"/>
- <xsl:with-param name="cell" select="$cell+1"/>
- <xsl:with-param name="members" select="$members"/>
- <xsl:with-param name="curcol" select="$curcol+1"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
-
-
-
-
-
-
-
-
-
-
-
- <xsl:template match="simplelist|simplelist[@type='vert']">
- <xsl:variable name="cols">
- <xsl:choose>
- <xsl:when test="@columns">
- <xsl:value-of select="@columns"/>
- </xsl:when>
- <xsl:otherwise>1</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:text>&#10;</xsl:text>
- <!--<xsl:text>\vspace{1cm}&#10;</xsl:text>-->
- <xsl:text>\begin{tabular*}{\linewidth}{</xsl:text>
- <xsl:call-template name="tabular.string">
- <xsl:with-param name="i" select="1"/>
- <xsl:with-param name="cols" select="$cols"/>
- </xsl:call-template>
- <xsl:text>}</xsl:text>
- <xsl:call-template name="simplelist.vert">
- <xsl:with-param name="cols" select="$cols"/>
- </xsl:call-template>
- <xsl:text>&#10;\end{tabular*}&#10;</xsl:text>
- <!--<xsl:text>\vspace{1cm}&#10;</xsl:text>-->
- </xsl:template>
-
-
-
- <xsl:template name="simplelist.vert">
- <xsl:param name="cols">1</xsl:param>
- <xsl:param name="cell">1</xsl:param>
- <xsl:param name="members" select="./member"/>
- <xsl:param name="rows" select="floor((count($members)+$cols - 1) div $cols)"/>
- <xsl:if test="$cell &lt;= $rows">
- <xsl:text>&#10;</xsl:text>
- <xsl:call-template name="simplelist.vert.row">
- <xsl:with-param name="cols" select="$cols"/>
- <xsl:with-param name="rows" select="$rows"/>
- <xsl:with-param name="cell" select="$cell"/>
- <xsl:with-param name="members" select="$members"/>
- </xsl:call-template>
- <xsl:text> \\</xsl:text>
- <xsl:call-template name="simplelist.vert">
- <xsl:with-param name="cols" select="$cols"/>
- <xsl:with-param name="cell" select="$cell+1"/>
- <xsl:with-param name="members" select="$members"/>
- <xsl:with-param name="rows" select="$rows"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
-
-
-
- <xsl:template name="simplelist.vert.row">
- <xsl:param name="cols">1</xsl:param>
- <xsl:param name="rows">1</xsl:param>
- <xsl:param name="cell">1</xsl:param>
- <xsl:param name="members" select="./member"/>
- <xsl:param name="curcol">1</xsl:param>
- <xsl:if test="$curcol &lt;= $cols">
- <xsl:choose>
- <xsl:when test="$members[position()=$cell]">
- <xsl:apply-templates select="$members[position()=$cell]"/>
- <xsl:text> </xsl:text>
- <xsl:if test="$curcol &lt; $cols">
- <xsl:text>&amp; </xsl:text>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="simplelist.vert.row">
- <xsl:with-param name="cols" select="$cols"/>
- <xsl:with-param name="rows" select="$rows"/>
- <xsl:with-param name="cell" select="$cell+$rows"/>
- <xsl:with-param name="members" select="$members"/>
- <xsl:with-param name="curcol" select="$curcol+1"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
-
-
- <xsl:template match="member">
- <xsl:apply-templates/>
- </xsl:template>
-
-
-
-
- <xsl:template match="segmentedlist">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="segmentedlist/title">
- <xsl:text>&#10;{\sc </xsl:text>
- <xsl:apply-templates/>
- <xsl:text>} \\&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="segtitle">
- </xsl:template>
-
- <xsl:template match="segtitle" mode="segtitle-in-seg">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="seglistitem">
- <xsl:apply-templates/>
- <xsl:choose>
- <xsl:when test="position()=last()"><xsl:text>&#10;&#10;</xsl:text></xsl:when>
- <xsl:otherwise><xsl:text> \\&#10;</xsl:text></xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
- <xsl:template match="seg">
- <xsl:variable name="segnum" select="position()"/>
- <xsl:variable name="seglist" select="ancestor::segmentedlist"/>
- <xsl:variable name="segtitles" select="$seglist/segtitle"/>
-
- <!--
- Note: segtitle is only going to be the right thing in a well formed
- SegmentedList. If there are too many Segs or too few SegTitles,
- you'll get something odd...maybe an error
- -->
-
- <xsl:text>{ \em </xsl:text>
- <xsl:apply-templates select="$segtitles[$segnum=position()]" mode="segtitle-in-seg"/>
- <xsl:text>:} </xsl:text>
- <xsl:apply-templates/>
- </xsl:template>
-
-
-
-
-
-
-
-
-
-
- <!-- ==================================================================== -->
-
- <xsl:template match="calloutlist">
- <xsl:if test="./title">
- <xsl:apply-templates select="./title" mode="calloutlist.title.mode"/>
- </xsl:if>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="calloutlist/title">
- </xsl:template>
-
- <xsl:template match="calloutlist/title" mode="calloutlist.title.mode">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="callout">
- <dt>
- <xsl:call-template name="callout.arearefs">
- <xsl:with-param name="arearefs" select="@arearefs"/>
- </xsl:call-template>
- </dt>
- <dl><xsl:apply-templates/></dl>
- </xsl:template>
-
- <xsl:template name="callout.arearefs">
- <xsl:param name="arearefs"></xsl:param>
- <xsl:if test="$arearefs!=''">
- <xsl:choose>
- <xsl:when test="substring-before($arearefs,' ')=''">
- <xsl:call-template name="callout.arearef">
- <xsl:with-param name="arearef" select="$arearefs"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="callout.arearef">
- <xsl:with-param name="arearef"
- select="substring-before($arearefs,' ')"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="callout.arearefs">
- <xsl:with-param name="arearefs"
- select="substring-after($arearefs,' ')"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
-
-
-
-
-
- <xsl:template name="callout.arearef">
- <xsl:param name="arearef"></xsl:param>
- <xsl:variable name="targets" select="//node()[@id=$arearef]"/>
- <xsl:variable name="target" select="$targets[1]"/>
- <xsl:choose>
- <xsl:when test="count($target)=0">
- <xsl:value-of select="$arearef"/>
- <xsl:text>callout ???</xsl:text>
- </xsl:when>
- <xsl:when test="local-name($target)='co'">
- <!-- FIXME -->
- <xsl:text>\href{ </xsl:text>
- <xsl:value-of select="$target/@id"/>
- <xsl:text>}{</xsl:text>
- <xsl:value-of select="$target/@id"/><xsl:text>} </xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>callout ???</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/mathelem.mod.xsl b/docs/docbook/xslt/db2latex/mathelem.mod.xsl
deleted file mode 100644
index f32d2631a5..0000000000
--- a/docs/docbook/xslt/db2latex/mathelem.mod.xsl
+++ /dev/null
@@ -1,225 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: mathelem.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: Math Elements as theorems, lemmas, propositions, etc.
-| Note: these elements are not part of the DocBook DTD. I have extended
-| the docbook DTD in order to support this tags, so that's why I have these
-| templates here.
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="mathelems" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: mathelem.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Math Elements <filename>mathelems.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <xsl:template match="mathelement">
- <xsl:apply-templates/>
- </xsl:template>
-
-
- <!--
- ##########################################
- #
- # \begin{hypothesis}[title]
- #
- # \end{hypothesis}
- #
- ##########################################
- -->
- <xsl:template match="mathelement/mathhypothesis">
- <xsl:text>\begin{hypothesis}[</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="title"/>
- </xsl:call-template>
- <xsl:text>]&#10;</xsl:text>
- <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
- <xsl:apply-templates/>
- <xsl:text>\end{rem}&#10;</xsl:text>
- </xsl:template>
-
- <!--
- ##########################################
- #
- # \begin{rem}[title]
- #
- # \end{rem}
- #
- ##########################################
- -->
- <xsl:template match="mathelement/mathremark">
- <xsl:text>\begin{rem}[</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="title"/>
- </xsl:call-template>
- <xsl:text>]&#10;</xsl:text>
- <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
- <xsl:apply-templates/>
- <xsl:text>\end{rem}&#10;</xsl:text>
- </xsl:template>
-
-
- <!--
- ##########################################
- #
- # \begin{exm}[title]
- #
- # \end{exm}
- #
- ##########################################
- -->
- <xsl:template match="mathelement/mathexample">
- <xsl:text>\begin{exm}[</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="title"/>
- </xsl:call-template>
- <xsl:text>]&#10;</xsl:text>
- <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
- <xsl:apply-templates/>
- <xsl:text>\end{exm}&#10;</xsl:text>
- </xsl:template>
-
-
- <!--
- ##########################################
- #
- # \begin{prop}[title]
- #
- # \end{prop}
- #
- ##########################################
- -->
- <xsl:template match="mathelement/mathproposition">
- <xsl:text>\begin{prop}[</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="title"/>
- </xsl:call-template>
- <xsl:text>]&#10;</xsl:text>
- <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
- <xsl:apply-templates/>
- <xsl:text>\end{prop}&#10;</xsl:text>
- </xsl:template>
-
-
- <!--
- ##########################################
- #
- # \begin{thm}[title]
- #
- # \end{thm}
- #
- ##########################################
- -->
- <xsl:template match="mathelement/maththeorem">
- <xsl:text>\begin{thm}[</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="title"/>
- </xsl:call-template>
- <xsl:text>]&#10;</xsl:text>
- <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
- <xsl:apply-templates/>
- <xsl:text>\end{thm}&#10;</xsl:text>
- </xsl:template>
-
-
-
- <!--
- ##########################################
- #
- # \begin{defn}[definition title]
- #
- # \end{defn}
- #
- ##########################################
- -->
- <xsl:template match="mathelement/mathdefinition">
- <xsl:text>\begin{defn}[</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="title"/>
- </xsl:call-template>
- <xsl:text>]&#10;</xsl:text>
- <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
- <xsl:apply-templates/>
- <xsl:text>\end{defn}&#10;</xsl:text>
- </xsl:template>
-
-
-
- <!--
- ##########################################
- #
- # \begin{lem}[lemma title]
- #
- # \end{lem}
- #
- ##########################################
- -->
- <xsl:template match="mathelement/mathlemma">
- <xsl:text>\begin{lem}[</xsl:text>
- <xsl:call-template name="normalize-scape">
- <xsl:with-param name="string" select="title"/>
- </xsl:call-template>
- <xsl:text>]&#10;</xsl:text>
- <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
- <xsl:apply-templates/>
- <xsl:text>\end{lem}&#10;</xsl:text>
- </xsl:template>
-
-
- <!--
- ##########################################
- #
- # \begin{proof}
- #
- # \end{proof}
- #
- ##########################################
- -->
- <xsl:template match="mathproof">
- <xsl:text>\begin{proof}</xsl:text>
- <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
- <xsl:apply-templates/>
- <xsl:text>\end{proof}&#10;</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="mathphrase|mathcondition|mathassertion">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="mathelement/*/title">
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsa.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsa.ent
deleted file mode 100644
index 5ecf4db216..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsa.ent
+++ /dev/null
@@ -1,173 +0,0 @@
-
-<!--
- File isoamsa.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY angzarr "&#x0237C;" ><!--angle with down zig-zag arrow -->
-<!ENTITY cirmid "&#x02AEF;" ><!--circle, mid below -->
-<!ENTITY cudarrl "&#x02938;" ><!--left, curved, down arrow -->
-<!ENTITY cudarrr "&#x02935;" ><!--right, curved, down arrow -->
-<!ENTITY cularr "&#x021B6;" ><!--/curvearrowleft A: left curved arrow -->
-<!ENTITY cularrp "&#x0293D;" ><!--curved left arrow with plus -->
-<!ENTITY curarr "&#x021B7;" ><!--/curvearrowright A: rt curved arrow -->
-<!ENTITY curarrm "&#x0293C;" ><!--curved right arrow with minus -->
-<!ENTITY dArr "&#x021D3;" ><!--/Downarrow A: down dbl arrow -->
-<!ENTITY Darr "&#x021A1;" ><!--down two-headed arrow -->
-<!ENTITY ddarr "&#x021CA;" ><!--/downdownarrows A: two down arrows -->
-<!ENTITY DDotrahd "&#x02911;" ><!--right arrow with dotted stem -->
-<!ENTITY dfisht "&#x0297F;" ><!--down fish tail -->
-<!ENTITY dHar "&#x02965;" ><!--down harpoon-left, down harpoon-right -->
-<!ENTITY dharl "&#x021C3;" ><!--/downharpoonleft A: dn harpoon-left -->
-<!ENTITY dharr "&#x021C2;" ><!--/downharpoonright A: down harpoon-rt -->
-<!ENTITY duarr "&#x021F5;" ><!--down arrow, up arrow -->
-<!ENTITY duhar "&#x0296F;" ><!--down harp, up harp -->
-<!ENTITY dzigrarr "&#x021DD;" ><!--right long zig-zag arrow -->
-<!ENTITY erarr "&#x02971;" ><!--equal, right arrow below -->
-<!ENTITY harr "&#x02194;" ><!--/leftrightarrow A: l&r arrow -->
-<!ENTITY hArr "&#x021D4;" ><!--/Leftrightarrow A: l&r dbl arrow -->
-<!ENTITY harrcir "&#x02948;" ><!--left and right arrow with a circle -->
-<!ENTITY harrw "&#x021AD;" ><!--/leftrightsquigarrow A: l&r arr-wavy -->
-<!ENTITY hoarr "&#x021FF;" ><!--horizontal open arrow -->
-<!ENTITY imof "&#x022B7;" ><!--image of -->
-<!ENTITY lAarr "&#x021DA;" ><!--/Lleftarrow A: left triple arrow -->
-<!ENTITY Larr "&#x0219E;" ><!--/twoheadleftarrow A: -->
-<!ENTITY larrbfs "&#x0291F;" ><!--left arrow-bar, filled square -->
-<!ENTITY larrfs "&#x0291D;" ><!--left arrow, filled square -->
-<!ENTITY larrhk "&#x021A9;" ><!--/hookleftarrow A: left arrow-hooked -->
-<!ENTITY larrlp "&#x021AB;" ><!--/looparrowleft A: left arrow-looped -->
-<!ENTITY larrpl "&#x02939;" ><!--left arrow, plus -->
-<!ENTITY larrsim "&#x02973;" ><!--left arrow, similar -->
-<!ENTITY larrtl "&#x021A2;" ><!--/leftarrowtail A: left arrow-tailed -->
-<!ENTITY latail "&#x02919;" ><!--left arrow-tail -->
-<!ENTITY lAtail "&#x0291B;" ><!--left double arrow-tail -->
-<!ENTITY lbarr "&#x0290C;" ><!--left broken arrow -->
-<!ENTITY lBarr "&#x0290E;" ><!--left doubly broken arrow -->
-<!ENTITY ldca "&#x02936;" ><!--left down curved arrow -->
-<!ENTITY ldrdhar "&#x02967;" ><!--left harpoon-down over right harpoon-down -->
-<!ENTITY ldrushar "&#x0294B;" ><!--left-down-right-up harpoon -->
-<!ENTITY ldsh "&#x021B2;" ><!--left down angled arrow -->
-<!ENTITY lfisht "&#x0297C;" ><!--left fish tail -->
-<!ENTITY lHar "&#x02962;" ><!--left harpoon-up over left harpoon-down -->
-<!ENTITY lhard "&#x021BD;" ><!--/leftharpoondown A: l harpoon-down -->
-<!ENTITY lharu "&#x021BC;" ><!--/leftharpoonup A: left harpoon-up -->
-<!ENTITY lharul "&#x0296A;" ><!--left harpoon-up over long dash -->
-<!ENTITY llarr "&#x021C7;" ><!--/leftleftarrows A: two left arrows -->
-<!ENTITY llhard "&#x0296B;" ><!--left harpoon-down below long dash -->
-<!ENTITY loarr "&#x021FD;" ><!--left open arrow -->
-<!ENTITY lrarr "&#x021C6;" ><!--/leftrightarrows A: l arr over r arr -->
-<!ENTITY lrhar "&#x021CB;" ><!--/leftrightharpoons A: l harp over r -->
-<!ENTITY lrhard "&#x0296D;" ><!--right harpoon-down below long dash -->
-<!ENTITY lsh "&#x021B0;" ><!--/Lsh A: -->
-<!ENTITY lurdshar "&#x0294A;" ><!--left-up-right-down harpoon -->
-<!ENTITY luruhar "&#x02966;" ><!--left harpoon-up over right harpoon-up -->
-<!ENTITY map "&#x021A6;" ><!--/mapsto A: -->
-<!ENTITY Map "&#x02905;" ><!--twoheaded mapsto -->
-<!ENTITY midcir "&#x02AF0;" ><!--mid, circle below -->
-<!ENTITY mumap "&#x022B8;" ><!--/multimap A: -->
-<!ENTITY nearhk "&#x02924;" ><!--NE arrow-hooked -->
-<!ENTITY nearr "&#x02197;" ><!--/nearrow A: NE pointing arrow -->
-<!ENTITY neArr "&#x021D7;" ><!--NE pointing dbl arrow -->
-<!ENTITY nesear "&#x02928;" ><!--/toea A: NE & SE arrows -->
-<!ENTITY nharr "&#x021AE;" ><!--/nleftrightarrow A: not l&r arrow -->
-<!ENTITY nhArr "&#x021CE;" ><!--/nLeftrightarrow A: not l&r dbl arr -->
-<!ENTITY nlarr "&#x0219A;" ><!--/nleftarrow A: not left arrow -->
-<!ENTITY nlArr "&#x021CD;" ><!--/nLeftarrow A: not implied by -->
-<!ENTITY nrarr "&#x0219B;" ><!--/nrightarrow A: not right arrow -->
-<!ENTITY nrArr "&#x021CF;" ><!--/nRightarrow A: not implies -->
-<!ENTITY nrarrc "&#x02933;&#x00338;" ><!--not right arrow-curved -->
-<!ENTITY nrarrw "&#x0219D;&#x00338;" ><!--not right arrow-wavy -->
-<!ENTITY nvHarr "&#x021CE;" ><!--not, vert, left and right double arrow -->
-<!ENTITY nvlArr "&#x021CD;" ><!--not, vert, left double arrow -->
-<!ENTITY nvrArr "&#x021CF;" ><!--not, vert, right double arrow -->
-<!ENTITY nwarhk "&#x02923;" ><!--NW arrow-hooked -->
-<!ENTITY nwarr "&#x02196;" ><!--/nwarrow A: NW pointing arrow -->
-<!ENTITY nwArr "&#x021D6;" ><!--NW pointing dbl arrow -->
-<!ENTITY nwnear "&#x02927;" ><!--NW & NE arrows -->
-<!ENTITY olarr "&#x021BA;" ><!--/circlearrowleft A: l arr in circle -->
-<!ENTITY orarr "&#x021BB;" ><!--/circlearrowright A: r arr in circle -->
-<!ENTITY origof "&#x022B6;" ><!--original of -->
-<!ENTITY rAarr "&#x021DB;" ><!--/Rrightarrow A: right triple arrow -->
-<!ENTITY Rarr "&#x021A0;" ><!--/twoheadrightarrow A: -->
-<!ENTITY rarrap "&#x02975;" ><!--approximate, right arrow above -->
-<!ENTITY rarrbfs "&#x02920;" ><!--right arrow-bar, filled square -->
-<!ENTITY rarrc "&#x02933;" ><!--right arrow-curved -->
-<!ENTITY rarrfs "&#x0291E;" ><!--right arrow, filled square -->
-<!ENTITY rarrhk "&#x021AA;" ><!--/hookrightarrow A: rt arrow-hooked -->
-<!ENTITY rarrlp "&#x021AC;" ><!--/looparrowright A: rt arrow-looped -->
-<!ENTITY rarrpl "&#x02945;" ><!--right arrow, plus -->
-<!ENTITY rarrsim "&#x02974;" ><!--right arrow, similar -->
-<!ENTITY rarrtl "&#x021A3;" ><!--/rightarrowtail A: rt arrow-tailed -->
-<!ENTITY Rarrtl "&#x02916;" ><!--right two-headed arrow with tail -->
-<!ENTITY rarrw "&#x021DD;" ><!--/rightsquigarrow A: rt arrow-wavy -->
-<!ENTITY ratail "&#x021A3;" ><!--right arrow-tail -->
-<!ENTITY rAtail "&#x0291C;" ><!--right double arrow-tail -->
-<!ENTITY rbarr "&#x0290D;" ><!--/bkarow A: right broken arrow -->
-<!ENTITY rBarr "&#x0290F;" ><!--/dbkarow A: right doubly broken arrow -->
-<!ENTITY RBarr "&#x02910;" ><!--/drbkarow A: twoheaded right broken arrow -->
-<!ENTITY rdca "&#x02937;" ><!--right down curved arrow -->
-<!ENTITY rdldhar "&#x02969;" ><!--right harpoon-down over left harpoon-down -->
-<!ENTITY rdsh "&#x021B3;" ><!--right down angled arrow -->
-<!ENTITY rfisht "&#x0297D;" ><!--right fish tail -->
-<!ENTITY rHar "&#x02964;" ><!--right harpoon-up over right harpoon-down -->
-<!ENTITY rhard "&#x021C1;" ><!--/rightharpoondown A: rt harpoon-down -->
-<!ENTITY rharu "&#x021C0;" ><!--/rightharpoonup A: rt harpoon-up -->
-<!ENTITY rharul "&#x0296C;" ><!--right harpoon-up over long dash -->
-<!ENTITY rlarr "&#x021C4;" ><!--/rightleftarrows A: r arr over l arr -->
-<!ENTITY rlhar "&#x021CC;" ><!--/rightleftharpoons A: r harp over l -->
-<!ENTITY roarr "&#x021FE;" ><!--right open arrow -->
-<!ENTITY rrarr "&#x021C9;" ><!--/rightrightarrows A: two rt arrows -->
-<!ENTITY rsh "&#x021B1;" ><!--/Rsh A: -->
-<!ENTITY ruluhar "&#x02968;" ><!--right harpoon-up over left harpoon-up -->
-<!ENTITY searhk "&#x02925;" ><!--/hksearow A: SE arrow-hooken -->
-<!ENTITY searr "&#x02198;" ><!--/searrow A: SE pointing arrow -->
-<!ENTITY seArr "&#x021D8;" ><!--SE pointing dbl arrow -->
-<!ENTITY seswar "&#x02929;" ><!--/tosa A: SE & SW arrows -->
-<!ENTITY simrarr "&#x02972;" ><!--similar, right arrow below -->
-<!ENTITY slarr "&#x02190;&#x02063;" ><!--short left arrow -->
-<!ENTITY srarr "&#x02192;&#x02063;" ><!--short right arrow -->
-<!ENTITY swarhk "&#x02926;" ><!--/hkswarow A: SW arrow-hooked -->
-<!ENTITY swarr "&#x02199;" ><!--/swarrow A: SW pointing arrow -->
-<!ENTITY swArr "&#x021D9;" ><!--SW pointing dbl arrow -->
-<!ENTITY swnwar "&#x0292A;" ><!--SW & NW arrows -->
-<!ENTITY uArr "&#x021D1;" ><!--/Uparrow A: up dbl arrow -->
-<!ENTITY Uarr "&#x0219F;" ><!--up two-headed arrow -->
-<!ENTITY Uarrocir "&#x02949;" ><!--up two-headed arrow above circle -->
-<!ENTITY udarr "&#x021C5;" ><!--up arrow, down arrow -->
-<!ENTITY udhar "&#x0296E;" ><!--up harp, down harp -->
-<!ENTITY ufisht "&#x0297E;" ><!--up fish tail -->
-<!ENTITY uHar "&#x02963;" ><!--up harpoon-left, up harpoon-right -->
-<!ENTITY uharl "&#x021BF;" ><!--/upharpoonleft A: up harpoon-left -->
-<!ENTITY uharr "&#x021BE;" ><!--/upharpoonright /restriction A: up harp-r -->
-<!ENTITY uuarr "&#x021C8;" ><!--/upuparrows A: two up arrows -->
-<!ENTITY varr "&#x02195;" ><!--/updownarrow A: up&down arrow -->
-<!ENTITY vArr "&#x021D5;" ><!--/Updownarrow A: up&down dbl arrow -->
-<!ENTITY xharr "&#x02194;" ><!--/longleftrightarrow A: long l&r arr -->
-<!ENTITY xhArr "&#x021D4;" ><!--/Longleftrightarrow A: long l&r dbl arr -->
-<!ENTITY xlarr "&#x02190;" ><!--/longleftarrow A: long left arrow -->
-<!ENTITY xlArr "&#x021D0;" ><!--/Longleftarrow A: long l dbl arrow -->
-<!ENTITY xmap "&#x021A6;" ><!--/longmapsto A: -->
-<!ENTITY xrarr "&#x02192;" ><!--/longrightarrow A: long right arrow -->
-<!ENTITY xrArr "&#x021D2;" ><!--/Longrightarrow A: long rt dbl arr -->
-<!ENTITY zigrarr "&#x021DD;" ><!--right zig-zag arrow -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsb.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsb.ent
deleted file mode 100644
index 08e646c2bd..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsb.ent
+++ /dev/null
@@ -1,146 +0,0 @@
-
-<!--
- File isoamsb.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY ac "&#x0290F;" ><!--most positive -->
-<!ENTITY acE "&#x029DB;" ><!--most positive, two lines below -->
-<!ENTITY amalg "&#x02A3F;" ><!--/amalg B: amalgamation or coproduct -->
-<!ENTITY barvee "&#x022BD;" ><!--bar, vee -->
-<!ENTITY barwed "&#x022BC;" ><!--/barwedge B: logical and, bar above -->
-<!ENTITY Barwed "&#x02306;" ><!--/doublebarwedge B: log and, dbl bar above -->
-<!ENTITY bsolb "&#x029C5;" ><!--reverse solidus in square -->
-<!ENTITY Cap "&#x022D2;" ><!--/Cap /doublecap B: dbl intersection -->
-<!ENTITY capand "&#x02A44;" ><!--intersection, and -->
-<!ENTITY capbrcup "&#x02A49;" ><!--intersection, bar, union -->
-<!ENTITY capcap "&#x02A4B;" ><!--intersection, intersection, joined -->
-<!ENTITY capcup "&#x02A47;" ><!--intersection above union -->
-<!ENTITY capdot "&#x02A40;" ><!--intersection, with dot -->
-<!ENTITY caps "&#x02229;&#x02063;" ><!--intersection, serifs -->
-<!ENTITY ccaps "&#x02A4D;" ><!--closed intersection, serifs -->
-<!ENTITY ccups "&#x02A4C;" ><!--closed union, serifs -->
-<!ENTITY ccupssm "&#x02A50;" ><!--closed union, serifs, smash product -->
-<!ENTITY coprod "&#x02210;" ><!--/coprod L: coproduct operator -->
-<!ENTITY Cup "&#x022D3;" ><!--/Cup /doublecup B: dbl union -->
-<!ENTITY cupbrcap "&#x02A48;" ><!--union, bar, intersection -->
-<!ENTITY cupcap "&#x02A46;" ><!--union above intersection -->
-<!ENTITY cupcup "&#x02A4A;" ><!--union, union, joined -->
-<!ENTITY cupdot "&#x0228D;" ><!--union, with dot -->
-<!ENTITY cupor "&#x02A45;" ><!--union, or -->
-<!ENTITY cups "&#x0222A;&#x02063;" ><!--union, serifs -->
-<!ENTITY cuvee "&#x022CE;" ><!--/curlyvee B: curly logical or -->
-<!ENTITY cuwed "&#x022CF;" ><!--/curlywedge B: curly logical and -->
-<!ENTITY dagger "&#x02020;" ><!--/dagger B: dagger relation -->
-<!ENTITY Dagger "&#x02021;" ><!--/ddagger B: double dagger relation -->
-<!ENTITY diam "&#x022C4;" ><!--/diamond B: open diamond -->
-<!ENTITY divonx "&#x022C7;" ><!--/divideontimes B: division on times -->
-<!ENTITY eplus "&#x02A71;" ><!--equal, plus -->
-<!ENTITY hercon "&#x022B9;" ><!--hermitian conjugate matrix -->
-<!ENTITY intcal "&#x022BA;" ><!--/intercal B: intercal -->
-<!ENTITY iprod "&#x02A3C;" ><!--/intprod -->
-<!ENTITY loplus "&#x02A2D;" ><!--plus sign in left half circle -->
-<!ENTITY lotimes "&#x02A34;" ><!--multiply sign in left half circle -->
-<!ENTITY lthree "&#x022CB;" ><!--/leftthreetimes B: -->
-<!ENTITY ltimes "&#x022C9;" ><!--/ltimes B: times sign, left closed -->
-<!ENTITY midast "&#x0002A;" ><!--/ast B: asterisk -->
-<!ENTITY minusb "&#x0229F;" ><!--/boxminus B: minus sign in box -->
-<!ENTITY minusd "&#x02238;" ><!--/dotminus B: minus sign, dot above -->
-<!ENTITY minusdu "&#x02A2A;" ><!--minus sign, dot below -->
-<!ENTITY ncap "&#x02A43;" ><!--bar, intersection -->
-<!ENTITY ncup "&#x02A42;" ><!--bar, union -->
-<!ENTITY oast "&#x0229B;" ><!--/circledast B: asterisk in circle -->
-<!ENTITY ocir "&#x0229A;" ><!--/circledcirc B: small circle in circle -->
-<!ENTITY odash "&#x0229D;" ><!--/circleddash B: hyphen in circle -->
-<!ENTITY odiv "&#x02A38;" ><!--divide in circle -->
-<!ENTITY odot "&#x02299;" ><!--/odot B: middle dot in circle -->
-<!ENTITY odsold "&#x029BC;" ><!--dot, solidus, dot in circle -->
-<!ENTITY ofcir "&#x029BF;" ><!--filled circle in circle -->
-<!ENTITY ogt "&#x029C1;" ><!--greater-than in circle -->
-<!ENTITY ohbar "&#x029B5;" ><!--circle with horizontal bar -->
-<!ENTITY olcir "&#x029BE;" ><!--large circle in circle -->
-<!ENTITY olt "&#x029C0;" ><!--less-than in circle -->
-<!ENTITY omid "&#x029B6;" ><!--vertical bar in circle -->
-<!ENTITY ominus "&#x02296;" ><!--/ominus B: minus sign in circle -->
-<!ENTITY opar "&#x029B7;" ><!--parallel in circle -->
-<!ENTITY operp "&#x029B9;" ><!--perpendicular in circle -->
-<!ENTITY oplus "&#x02295;" ><!--/oplus B: plus sign in circle -->
-<!ENTITY osol "&#x02298;" ><!--/oslash B: solidus in circle -->
-<!ENTITY otimes "&#x02297;" ><!--/otimes B: multiply sign in circle -->
-<!ENTITY Otimes "&#x02A37;" ><!--multiply sign in double circle -->
-<!ENTITY otimesas "&#x02A36;" ><!--multiply sign in circle, circumflex accent -->
-<!ENTITY ovbar "&#x0233D;" ><!--circle with vertical bar -->
-<!ENTITY plusacir "&#x02A23;" ><!--plus, circumflex accent above -->
-<!ENTITY plusb "&#x0229E;" ><!--/boxplus B: plus sign in box -->
-<!ENTITY pluscir "&#x02A22;" ><!--plus, small circle above -->
-<!ENTITY plusdo "&#x02214;" ><!--/dotplus B: plus sign, dot above -->
-<!ENTITY plusdu "&#x02A25;" ><!--plus sign, dot below -->
-<!ENTITY pluse "&#x02A72;" ><!--plus, equals -->
-<!ENTITY plussim "&#x02A26;" ><!--plus, similar below -->
-<!ENTITY plustwo "&#x02A27;" ><!--plus, two; Nim-addition -->
-<!ENTITY prod "&#x0220F;" ><!--/prod L: product operator -->
-<!ENTITY race "&#x029DA;" ><!--reverse most positive, line below -->
-<!ENTITY roplus "&#x02A2E;" ><!--plus sign in right half circle -->
-<!ENTITY rotimes "&#x02A35;" ><!--multiply sign in right half circle -->
-<!ENTITY rthree "&#x022CC;" ><!--/rightthreetimes B: -->
-<!ENTITY rtimes "&#x022CA;" ><!--/rtimes B: times sign, right closed -->
-<!ENTITY sdot "&#x022C5;" ><!--/cdot B: small middle dot -->
-<!ENTITY sdotb "&#x022A1;" ><!--/dotsquare /boxdot B: small dot in box -->
-<!ENTITY setmn "&#x02216;" ><!--/setminus B: reverse solidus -->
-<!ENTITY simplus "&#x02A24;" ><!--plus, similar above -->
-<!ENTITY smashp "&#x02A33;" ><!--smash product -->
-<!ENTITY solb "&#x029C4;" ><!--solidus in square -->
-<!ENTITY sqcap "&#x02293;" ><!--/sqcap B: square intersection -->
-<!ENTITY sqcaps "&#x02293;&#x02063;" ><!--square intersection, serifs -->
-<!ENTITY sqcup "&#x02294;" ><!--/sqcup B: square union -->
-<!ENTITY sqcups "&#x02294;&#x02063;" ><!--square union, serifs -->
-<!ENTITY ssetmn "&#x02216;" ><!--/smallsetminus B: sm reverse solidus -->
-<!ENTITY sstarf "&#x022C6;" ><!--/star B: small star, filled -->
-<!ENTITY subdot "&#x02ABD;" ><!--subset, with dot -->
-<!ENTITY sum "&#x02211;" ><!--/sum L: summation operator -->
-<!ENTITY supdot "&#x02ABE;" ><!--superset, with dot -->
-<!ENTITY timesb "&#x022A0;" ><!--/boxtimes B: multiply sign in box -->
-<!ENTITY timesbar "&#x02A31;" ><!--multiply sign, bar below -->
-<!ENTITY timesd "&#x02A30;" ><!--times, dot -->
-<!ENTITY tridot "&#x025EC;" ><!--dot in triangle -->
-<!ENTITY triminus "&#x02A3A;" ><!--minus in triangle -->
-<!ENTITY triplus "&#x02A39;" ><!--plus in triangle -->
-<!ENTITY trisb "&#x029CD;" ><!--triangle, serifs at bottom -->
-<!ENTITY tritime "&#x02A3B;" ><!--multiply in triangle -->
-<!ENTITY uplus "&#x0228E;" ><!--/uplus B: plus sign in union -->
-<!ENTITY veebar "&#x022BB;" ><!--/veebar B: logical or, bar below -->
-<!ENTITY wedbar "&#x02A5F;" ><!--wedge, bar below -->
-<!ENTITY wreath "&#x02240;" ><!--/wr B: wreath product -->
-<!ENTITY xcap "&#x022C2;" ><!--/bigcap L: intersection operator -->
-<!ENTITY xcirc "&#x025EF;" ><!--/bigcirc B: large circle -->
-<!ENTITY xcup "&#x022C3;" ><!--/bigcup L: union operator -->
-<!ENTITY xdtri "&#x025BD;" ><!--/bigtriangledown B: big dn tri, open -->
-<!ENTITY xodot "&#x02299;" ><!--/bigodot L: circle dot operator -->
-<!ENTITY xoplus "&#x02295;" ><!--/bigoplus L: circle plus operator -->
-<!ENTITY xotime "&#x02297;" ><!--/bigotimes L: circle times operator -->
-<!ENTITY xsqcup "&#x02294;" ><!--/bigsqcup L: square union operator -->
-<!ENTITY xuplus "&#x0228E;" ><!--/biguplus L: -->
-<!ENTITY xutri "&#x025B3;" ><!--/bigtriangleup B: big up tri, open -->
-<!ENTITY xvee "&#x022C1;" ><!--/bigvee L: logical and operator -->
-<!ENTITY xwedge "&#x022C0;" ><!--/bigwedge L: logical or operator -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsc.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsc.ent
deleted file mode 100644
index cce399cf9d..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsc.ent
+++ /dev/null
@@ -1,49 +0,0 @@
-
-<!--
- File isoamsc.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY dlcorn "&#x0231E;" ><!--/llcorner O: lower left corner -->
-<!ENTITY drcorn "&#x0231F;" ><!--/lrcorner C: lower right corner -->
-<!ENTITY gtlPar "&#x02995;" ><!--dbl left parenthesis, greater -->
-<!ENTITY langd "&#x02991;" ><!--left angle, dot -->
-<!ENTITY lbrke "&#x0298B;" ><!--left bracket, equal -->
-<!ENTITY lbrksld "&#x0298F;" ><!--left bracket, solidus bottom corner -->
-<!ENTITY lbrkslu "&#x0298D;" ><!--left bracket, solidus top corner -->
-<!ENTITY lceil "&#x02308;" ><!--/lceil O: left ceiling -->
-<!ENTITY lfloor "&#x0230A;" ><!--/lfloor O: left floor -->
-<!ENTITY lmoust "&#x02998;" ><!--/lmoustache -->
-<!ENTITY lparlt "&#x02993;" ><!--O: left parenthesis, lt -->
-<!ENTITY ltrPar "&#x02996;" ><!--dbl right parenthesis, less -->
-<!ENTITY rangd "&#x02992;" ><!--right angle, dot -->
-<!ENTITY rbrke "&#x0298C;" ><!--right bracket, equal -->
-<!ENTITY rbrksld "&#x0298E;" ><!--right bracket, solidus bottom corner -->
-<!ENTITY rbrkslu "&#x02990;" ><!--right bracket, solidus top corner -->
-<!ENTITY rceil "&#x02309;" ><!--/rceil C: right ceiling -->
-<!ENTITY rfloor "&#x0230B;" ><!--/rfloor C: right floor -->
-<!ENTITY rmoust "&#x02997;" ><!--/rmoustache -->
-<!ENTITY rpargt "&#x02994;" ><!--C: right paren, gt -->
-<!ENTITY ulcorn "&#x0231C;" ><!--/ulcorner O: upper left corner -->
-<!ENTITY urcorn "&#x0231D;" ><!--/urcorner C: upper right corner -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsn.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsn.ent
deleted file mode 100644
index cddeba066e..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsn.ent
+++ /dev/null
@@ -1,117 +0,0 @@
-
-<!--
- File isoamsn.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY gnap "&#x02A8A;" ><!--/gnapprox N: greater, not approximate -->
-<!ENTITY gne "&#x02269;" ><!--/gneq N: greater, not equals -->
-<!ENTITY gnE "&#x02269;" ><!--/gneqq N: greater, not dbl equals -->
-<!ENTITY gnsim "&#x022E7;" ><!--/gnsim N: greater, not similar -->
-<!ENTITY gvnE "&#x02269;&#x00338;" ><!--/gvertneqq N: gt, vert, not dbl eq -->
-<!ENTITY lnap "&#x02A89;" ><!--/lnapprox N: less, not approximate -->
-<!ENTITY lne "&#x02268;" ><!--/lneq N: less, not equals -->
-<!ENTITY lnE "&#x02268;" ><!--/lneqq N: less, not double equals -->
-<!ENTITY lnsim "&#x022E6;" ><!--/lnsim N: less, not similar -->
-<!ENTITY lvnE "&#x02268;&#x00338;" ><!--/lvertneqq N: less, vert, not dbl eq -->
-<!ENTITY nap "&#x02249;" ><!--/napprox N: not approximate -->
-<!ENTITY napE "&#x02A70;&#x00338;" ><!--not approximately equal or equal to -->
-<!ENTITY napid "&#x0224B;&#x00338;" ><!--not approximately identical to -->
-<!ENTITY ncong "&#x02247;" ><!--/ncong N: not congruent with -->
-<!ENTITY ncongdot "&#x02A6D;&#x00338;" ><!--not congruent, dot -->
-<!ENTITY nequiv "&#x02262;" ><!--/nequiv N: not identical with -->
-<!ENTITY nge "&#x02271;&#x020E5;" ><!--/ngeq N: not greater-than-or-equal -->
-<!ENTITY ngE "&#x02271;" ><!--/ngeqq N: not greater, dbl equals -->
-<!ENTITY nges "&#x02271;" ><!--/ngeqslant N: not gt-or-eq, slanted -->
-<!ENTITY nGg "&#x022D9;&#x00338;" ><!--not triple greater than -->
-<!ENTITY ngsim "&#x02275;" ><!--not greater, similar -->
-<!ENTITY ngt "&#x0226F;" ><!--/ngtr N: not greater-than -->
-<!ENTITY nGt "&#x0226B;&#x00338;" ><!--not, vert, much greater than -->
-<!ENTITY nGtv "&#x0226B;&#x00338;&#x02063;" ><!--not much greater than, variant -->
-<!ENTITY nle "&#x02270;&#x020E5;" ><!--/nleq N: not less-than-or-equal -->
-<!ENTITY nlE "&#x02270;" ><!--/nleqq N: not less, dbl equals -->
-<!ENTITY nles "&#x02270;" ><!--/nleqslant N: not less-or-eq, slant -->
-<!ENTITY nLl "&#x022D8;&#x00338;" ><!--not triple less than -->
-<!ENTITY nlsim "&#x02274;" ><!--not less, similar -->
-<!ENTITY nlt "&#x0226E;" ><!--/nless N: not less-than -->
-<!ENTITY nLt "&#x0226A;&#x00338;" ><!--not, vert, much less than -->
-<!ENTITY nltri "&#x022EA;" ><!--/ntriangleleft N: not left triangle -->
-<!ENTITY nltrie "&#x022EC;" ><!--/ntrianglelefteq N: not l tri, eq -->
-<!ENTITY nLtv "&#x0226A;&#x00338;&#x02063;" ><!--not much less than, variant -->
-<!ENTITY nmid "&#x02224;" ><!--/nmid -->
-<!ENTITY npar "&#x02226;" ><!--/nparallel N: not parallel -->
-<!ENTITY npr "&#x02280;" ><!--/nprec N: not precedes -->
-<!ENTITY nprcue "&#x022E0;" ><!--not curly precedes, eq -->
-<!ENTITY npre "&#x02AAF;&#x00338;" ><!--/npreceq N: not precedes, equals -->
-<!ENTITY nrtri "&#x022EB;" ><!--/ntriangleright N: not rt triangle -->
-<!ENTITY nrtrie "&#x022ED;" ><!--/ntrianglerighteq N: not r tri, eq -->
-<!ENTITY nsc "&#x02281;" ><!--/nsucc N: not succeeds -->
-<!ENTITY nsccue "&#x022E1;" ><!--not succeeds, curly eq -->
-<!ENTITY nsce "&#x02AB0;&#x00338;" ><!--/nsucceq N: not succeeds, equals -->
-<!ENTITY nsim "&#x02241;" ><!--/nsim N: not similar -->
-<!ENTITY nsime "&#x02244;" ><!--/nsimeq N: not similar, equals -->
-<!ENTITY nsmid "&#x02224;&#x02063;" ><!--/nshortmid -->
-<!ENTITY nspar "&#x02226;&#x02063;" ><!--/nshortparallel N: not short par -->
-<!ENTITY nsqsube "&#x022E2;" ><!--not, square subset, equals -->
-<!ENTITY nsqsupe "&#x022E3;" ><!--not, square superset, equals -->
-<!ENTITY nsub "&#x02284;" ><!--not subset -->
-<!ENTITY nsube "&#x02288;" ><!--/nsubseteq N: not subset, equals -->
-<!ENTITY nsubE "&#x02288;" ><!--/nsubseteqq N: not subset, dbl eq -->
-<!ENTITY nsup "&#x02285;" ><!--not superset -->
-<!ENTITY nsupe "&#x02289;" ><!--/nsupseteq N: not superset, equals -->
-<!ENTITY nsupE "&#x02289;" ><!--/nsupseteqq N: not superset, dbl eq -->
-<!ENTITY ntgl "&#x02279;" ><!--not greater, less -->
-<!ENTITY ntlg "&#x02278;" ><!--not less, greater -->
-<!ENTITY nvap "&#x02249;&#x00338;" ><!--not, vert, approximate -->
-<!ENTITY nvdash "&#x022AC;" ><!--/nvdash N: not vertical, dash -->
-<!ENTITY nvDash "&#x022AD;" ><!--/nvDash N: not vertical, dbl dash -->
-<!ENTITY nVdash "&#x022AE;" ><!--/nVdash N: not dbl vertical, dash -->
-<!ENTITY nVDash "&#x022AF;" ><!--/nVDash N: not dbl vert, dbl dash -->
-<!ENTITY nvge "&#x02271;" ><!--not, vert, greater-than-or-equal -->
-<!ENTITY nvgt "&#x0226F;" ><!--not, vert, greater-than -->
-<!ENTITY nvle "&#x02270;" ><!--not, vert, less-than-or-equal -->
-<!ENTITY nvlt "&#x0226E;" ><!--not, vert, less-than -->
-<!ENTITY nvltrie "&#x022EC;&#x00338;" ><!--not, vert, left triangle, equals -->
-<!ENTITY nvrtrie "&#x022ED;&#x00338;" ><!--not, vert, right triangle, equals -->
-<!ENTITY nvsim "&#x02241;&#x00338;" ><!--not, vert, similar -->
-<!ENTITY parsim "&#x02AF3;" ><!--parallel, similar -->
-<!ENTITY prnap "&#x022E8;" ><!--/precnapprox N: precedes, not approx -->
-<!ENTITY prnE "&#x02AB5;" ><!--/precneqq N: precedes, not dbl eq -->
-<!ENTITY prnsim "&#x022E8;" ><!--/precnsim N: precedes, not similar -->
-<!ENTITY rnmid "&#x02AEE;" ><!--reverse /nmid -->
-<!ENTITY scnap "&#x022E9;" ><!--/succnapprox N: succeeds, not approx -->
-<!ENTITY scnE "&#x02AB6;" ><!--/succneqq N: succeeds, not dbl eq -->
-<!ENTITY scnsim "&#x022E9;" ><!--/succnsim N: succeeds, not similar -->
-<!ENTITY simne "&#x02246;" ><!--similar, not equals -->
-<!ENTITY solbar "&#x0233F;" ><!--solidus, bar through -->
-<!ENTITY subne "&#x0228A;" ><!--/subsetneq N: subset, not equals -->
-<!ENTITY subnE "&#x0228A;" ><!--/subsetneqq N: subset, not dbl eq -->
-<!ENTITY supne "&#x0228B;" ><!--/supsetneq N: superset, not equals -->
-<!ENTITY supnE "&#x0228B;" ><!--/supsetneqq N: superset, not dbl eq -->
-<!ENTITY vnsub "&#x02284;" ><!--/nsubset N: not subset, var -->
-<!ENTITY vnsup "&#x02285;" ><!--/nsupset N: not superset, var -->
-<!ENTITY vsubne "&#x0228A;&#x02063;" ><!--/varsubsetneq N: subset, not eq, var -->
-<!ENTITY vsubnE "&#x0228A;&#x02063;" ><!--/varsubsetneqq N: subset not dbl eq, var -->
-<!ENTITY vsupne "&#x0228B;&#x02063;" ><!--/varsupsetneq N: superset, not eq, var -->
-<!ENTITY vsupnE "&#x0228B;&#x02063;" ><!--/varsupsetneqq N: super not dbl eq, var -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamso.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamso.ent
deleted file mode 100644
index 8ac4bdb619..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isoamso.ent
+++ /dev/null
@@ -1,77 +0,0 @@
-
-<!--
- File isoamso.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY ang "&#x02220;" ><!--/angle - angle -->
-<!ENTITY ange "&#x029A4;" ><!--angle, equal -->
-<!ENTITY angmsd "&#x02221;" ><!--/measuredangle - angle-measured -->
-<!ENTITY angmsdaa "&#x029A8;" ><!--angle-measured, arrow, up, right -->
-<!ENTITY angmsdab "&#x029A9;" ><!--angle-measured, arrow, up, left -->
-<!ENTITY angmsdac "&#x029AA;" ><!--angle-measured, arrow, down, right -->
-<!ENTITY angmsdad "&#x029AB;" ><!--angle-measured, arrow, down, left -->
-<!ENTITY angmsdae "&#x029AC;" ><!--angle-measured, arrow, right, up -->
-<!ENTITY angmsdaf "&#x029AD;" ><!--angle-measured, arrow, left, up -->
-<!ENTITY angmsdag "&#x029AE;" ><!--angle-measured, arrow, right, down -->
-<!ENTITY angmsdah "&#x029AF;" ><!--angle-measured, arrow, left, down -->
-<!ENTITY angrtvb "&#x0299D;&#x02063;" ><!--right angle-measured -->
-<!ENTITY angrtvbd "&#x0299D;" ><!--right angle-measured, dot -->
-<!ENTITY bbrk "&#x023B5;" ><!--bottom square bracket -->
-<!ENTITY bemptyv "&#x029B0;" ><!--reversed circle, slash -->
-<!ENTITY beth "&#x02136;" ><!--/beth - beth, Hebrew -->
-<!ENTITY boxbox "&#x029C9;" ><!--two joined squares -->
-<!ENTITY bprime "&#x02035;" ><!--/backprime - reverse prime -->
-<!ENTITY bsemi "&#x0204F;" ><!--reverse semi-colon -->
-<!ENTITY cemptyv "&#x029B2;" ><!--circle, slash, small circle above -->
-<!ENTITY cirE "&#x029C3;" ><!--circle, two horizontal stroked to the right -->
-<!ENTITY cirscir "&#x029C2;" ><!--circle, small circle to the right -->
-<!ENTITY comp "&#x02201;" ><!--/complement - complement sign -->
-<!ENTITY daleth "&#x02138;" ><!--/daleth - daleth, Hebrew -->
-<!ENTITY demptyv "&#x029B1;" ><!--circle, slash, bar above -->
-<!ENTITY ell "&#x02113;" ><!--/ell - cursive small l -->
-<!ENTITY empty "&#x02205;&#x02063;" ><!--/emptyset - zero, slash -->
-<!ENTITY emptyv "&#x02205;" ><!--/varnothing - circle, slash -->
-<!ENTITY gimel "&#x02137;" ><!--/gimel - gimel, Hebrew -->
-<!ENTITY iiota "&#x02129;" ><!--inverted iota -->
-<!ENTITY image "&#x02111;" ><!--/Im - imaginary -->
-<!ENTITY imath "&#x00131;" ><!--/imath - small i, no dot -->
-<!ENTITY jmath "&#x0006A;&#x02063;" ><!--/jmath - small j, no dot -->
-<!ENTITY laemptyv "&#x029B4;" ><!--circle, slash, left arrow above -->
-<!ENTITY lltri "&#x025FA;" ><!--lower left triangle -->
-<!ENTITY lrtri "&#x022BF;" ><!--lower right triangle -->
-<!ENTITY mho "&#x02127;" ><!--/mho - conductance -->
-<!ENTITY nang "&#x02220;&#x00338;" ><!--not, vert, angle -->
-<!ENTITY nexist "&#x02204;" ><!--/nexists - negated exists -->
-<!ENTITY oS "&#x024C8;" ><!--/circledS - capital S in circle -->
-<!ENTITY plank "&#x0210F;" ><!--/hbar - Planck's over 2pi -->
-<!ENTITY plankv "&#x0210F;" ><!--/hslash - variant Planck's over 2pi -->
-<!ENTITY raemptyv "&#x029B3;" ><!--circle, slash, right arrow above -->
-<!ENTITY range "&#x029A5;" ><!--reverse angle, equal -->
-<!ENTITY real "&#x0211C;" ><!--/Re - real -->
-<!ENTITY tbrk "&#x023B4;" ><!--top square bracket -->
-<!ENTITY ultri "&#x025F8;" ><!--upper left triangle -->
-<!ENTITY urtri "&#x025F9;" ><!--upper right triangle -->
-<!ENTITY vzigzag "&#x0299A;" ><!--vertical zig-zag line -->
-<!ENTITY weierp "&#x02118;" ><!--/wp - Weierstrass p -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsr.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsr.ent
deleted file mode 100644
index 7fec582555..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsr.ent
+++ /dev/null
@@ -1,205 +0,0 @@
-
-<!--
- File isoamsr.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY ape "&#x0224A;" ><!--/approxeq R: approximate, equals -->
-<!ENTITY apE "&#x0224A;" ><!--approximately equal or equal to -->
-<!ENTITY apid "&#x0224B;" ><!--approximately identical to -->
-<!ENTITY asymp "&#x0224D;" ><!--/asymp R: asymptotically equal to -->
-<!ENTITY Barv "&#x02AE7;" ><!--vert, dbl bar (over) -->
-<!ENTITY bcong "&#x0224C;" ><!--/backcong R: reverse congruent -->
-<!ENTITY bepsi "&#x0213C;" ><!--/backepsilon R: such that -->
-<!ENTITY bowtie "&#x022C8;" ><!--/bowtie R: -->
-<!ENTITY bsim "&#x0223D;" ><!--/backsim R: reverse similar -->
-<!ENTITY bsime "&#x022CD;" ><!--/backsimeq R: reverse similar, eq -->
-<!ENTITY bsolhsub "&#x0005C;&#x02282;" ><!--reverse solidus, subset -->
-<!ENTITY bump "&#x0224E;" ><!--/Bumpeq R: bumpy equals -->
-<!ENTITY bumpe "&#x0224F;" ><!--/bumpeq R: bumpy equals, equals -->
-<!ENTITY bumpE "&#x02AAE;" ><!--bump, equals -->
-<!ENTITY cire "&#x02257;" ><!--/circeq R: circle, equals -->
-<!ENTITY Colon "&#x02237;" ><!--/Colon, two colons -->
-<!ENTITY colone "&#x02254;" ><!--/coloneq R: colon, equals -->
-<!ENTITY Colone "&#x02A74;" ><!--double colon, equals -->
-<!ENTITY congdot "&#x02A6D;" ><!--congruent, dot -->
-<!ENTITY csub "&#x02ACF;" ><!--subset, closed -->
-<!ENTITY csube "&#x02AD1;" ><!--subset, closed, equals -->
-<!ENTITY csup "&#x02AD0;" ><!--superset, closed -->
-<!ENTITY csupe "&#x02AD2;" ><!--superset, closed, equals -->
-<!ENTITY cuepr "&#x022DE;" ><!--/curlyeqprec R: curly eq, precedes -->
-<!ENTITY cuesc "&#x022DF;" ><!--/curlyeqsucc R: curly eq, succeeds -->
-<!ENTITY dashv "&#x022A3;" ><!--/dashv R: dash, vertical -->
-<!ENTITY Dashv "&#x02AE4;" ><!--dbl dash, vertical -->
-<!ENTITY easter "&#x0225B;" ><!--equal, asterisk above -->
-<!ENTITY ecir "&#x02256;" ><!--/eqcirc R: circle on equals sign -->
-<!ENTITY ecolon "&#x02255;" ><!--/eqcolon R: equals, colon -->
-<!ENTITY eDDot "&#x02A77;" ><!--/ddotseq R: equal with four dots -->
-<!ENTITY eDot "&#x02251;" ><!--/doteqdot /Doteq R: eq, even dots -->
-<!ENTITY efDot "&#x02252;" ><!--/fallingdotseq R: eq, falling dots -->
-<!ENTITY eg "&#x02A9A;" ><!--equal-or-greater -->
-<!ENTITY egs "&#x022DD;" ><!--/eqslantgtr R: equal-or-gtr, slanted -->
-<!ENTITY egsdot "&#x02A98;" ><!--equal-or-greater, slanted, dot inside -->
-<!ENTITY el "&#x02A99;" ><!--equal-or-less -->
-<!ENTITY els "&#x022DC;" ><!--/eqslantless R: eq-or-less, slanted -->
-<!ENTITY elsdot "&#x02A97;" ><!--equal-or-less, slanted, dot inside -->
-<!ENTITY equest "&#x0225F;" ><!--/questeq R: equal with questionmark -->
-<!ENTITY equivDD "&#x02A78;" ><!--equivalent, four dots above -->
-<!ENTITY erDot "&#x02253;" ><!--/risingdotseq R: eq, rising dots -->
-<!ENTITY esdot "&#x02250;" ><!--/doteq R: equals, single dot above -->
-<!ENTITY esim "&#x02242;" ><!--/esim R: equals, similar -->
-<!ENTITY Esim "&#x02A73;" ><!--equal, similar -->
-<!ENTITY fork "&#x022D4;" ><!--/pitchfork R: pitchfork -->
-<!ENTITY forkv "&#x02AD9;" ><!--fork, variant -->
-<!ENTITY frown "&#x02322;" ><!--/frown R: down curve -->
-<!ENTITY gap "&#x02273;" ><!--/gtrapprox R: greater, approximate -->
-<!ENTITY gE "&#x02267;" ><!--/geqq R: greater, double equals -->
-<!ENTITY gel "&#x022DB;" ><!--/gtreqless R: greater, equals, less -->
-<!ENTITY gEl "&#x022DB;" ><!--/gtreqqless R: gt, dbl equals, less -->
-<!ENTITY ges "&#x02A7E;" ><!--/geqslant R: gt-or-equal, slanted -->
-<!ENTITY gescc "&#x02AA9;" ><!--greater than, closed by curve, equal, slanted -->
-<!ENTITY gesdot "&#x02A80;" ><!--greater-than-or-equal, slanted, dot inside -->
-<!ENTITY gesdoto "&#x02A82;" ><!--greater-than-or-equal, slanted, dot above -->
-<!ENTITY gesdotol "&#x02A84;" ><!--greater-than-or-equal, slanted, dot above left -->
-<!ENTITY gesl "&#x022DB;&#x02063;" ><!--greater, equal, slanted, less -->
-<!ENTITY gesles "&#x02A94;" ><!--greater, equal, slanted, less, equal, slanted -->
-<!ENTITY Gg "&#x022D9;" ><!--/ggg /Gg /gggtr R: triple gtr-than -->
-<!ENTITY gl "&#x02277;" ><!--/gtrless R: greater, less -->
-<!ENTITY gla "&#x02AA5;" ><!--greater, less, apart -->
-<!ENTITY glE "&#x02A92;" ><!--greater, less, equal -->
-<!ENTITY glj "&#x02AA4;" ><!--greater, less, overlapping -->
-<!ENTITY gsim "&#x02273;" ><!--/gtrsim R: greater, similar -->
-<!ENTITY gsime "&#x02A8E;" ><!--greater, similar, equal -->
-<!ENTITY gsiml "&#x02A90;" ><!--greater, similar, less -->
-<!ENTITY Gt "&#x0226B;" ><!--/gg R: dbl greater-than sign -->
-<!ENTITY gtcc "&#x02AA7;" ><!--greater than, closed by curve -->
-<!ENTITY gtcir "&#x02A7A;" ><!--greater than, circle inside -->
-<!ENTITY gtdot "&#x022D7;" ><!--/gtrdot R: greater than, with dot -->
-<!ENTITY gtquest "&#x02A7C;" ><!--greater than, questionmark above -->
-<!ENTITY gtrarr "&#x02978;" ><!--greater than, right arrow -->
-<!ENTITY homtht "&#x0223B;" ><!--homothetic -->
-<!ENTITY lap "&#x02272;" ><!--/lessapprox R: less, approximate -->
-<!ENTITY lat "&#x02AAB;" ><!--larger than -->
-<!ENTITY late "&#x02AAD;" ><!--larger than or equal -->
-<!ENTITY lates "&#x02AAD;&#x02063;" ><!--larger than or equal, slanted -->
-<!ENTITY lE "&#x02266;" ><!--/leqq R: less, double equals -->
-<!ENTITY leg "&#x022DA;" ><!--/lesseqgtr R: less, eq, greater -->
-<!ENTITY lEg "&#x022DA;" ><!--/lesseqqgtr R: less, dbl eq, greater -->
-<!ENTITY les "&#x02A7D;" ><!--/leqslant R: less-than-or-eq, slant -->
-<!ENTITY lescc "&#x02AA8;" ><!--less than, closed by curve, equal, slanted -->
-<!ENTITY lesdot "&#x02A7F;" ><!--less-than-or-equal, slanted, dot inside -->
-<!ENTITY lesdoto "&#x02A81;" ><!--less-than-or-equal, slanted, dot above -->
-<!ENTITY lesdotor "&#x02A83;" ><!--less-than-or-equal, slanted, dot above right -->
-<!ENTITY lesg "&#x022DA;&#x02063;" ><!--less, equal, slanted, greater -->
-<!ENTITY lesges "&#x02A93;" ><!--less, equal, slanted, greater, equal, slanted -->
-<!ENTITY lg "&#x02276;" ><!--/lessgtr R: less, greater -->
-<!ENTITY lgE "&#x02A91;" ><!--less, greater, equal -->
-<!ENTITY Ll "&#x022D8;" ><!--/Ll /lll /llless R: triple less-than -->
-<!ENTITY lsim "&#x02272;" ><!--/lesssim R: less, similar -->
-<!ENTITY lsime "&#x02A8D;" ><!--less, similar, equal -->
-<!ENTITY lsimg "&#x02A8F;" ><!--less, similar, greater -->
-<!ENTITY Lt "&#x0226A;" ><!--/ll R: double less-than sign -->
-<!ENTITY ltcc "&#x02AA6;" ><!--less than, closed by curve -->
-<!ENTITY ltcir "&#x02A79;" ><!--less than, circle inside -->
-<!ENTITY ltdot "&#x022D6;" ><!--/lessdot R: less than, with dot -->
-<!ENTITY ltlarr "&#x02976;" ><!--less than, left arrow -->
-<!ENTITY ltquest "&#x02A7B;" ><!--less than, questionmark above -->
-<!ENTITY ltrie "&#x022B4;" ><!--/trianglelefteq R: left triangle, eq -->
-<!ENTITY mcomma "&#x02A29;" ><!--minus, comma above -->
-<!ENTITY mDDot "&#x0223A;" ><!--minus with four dots, geometric properties -->
-<!ENTITY mid "&#x02223;" ><!--/mid R: -->
-<!ENTITY mlcp "&#x02ADB;" ><!--/mlcp -->
-<!ENTITY models "&#x022A7;" ><!--/models R: -->
-<!ENTITY mstpos "&#x0223E;" ><!--most positive -->
-<!ENTITY pr "&#x0227A;" ><!--/prec R: precedes -->
-<!ENTITY Pr "&#x02ABB;" ><!--dbl precedes -->
-<!ENTITY prap "&#x0227E;" ><!--/precapprox R: precedes, approximate -->
-<!ENTITY prcue "&#x0227C;" ><!--/preccurlyeq R: precedes, curly eq -->
-<!ENTITY pre "&#x02AAF;" ><!--/preceq R: precedes, equals -->
-<!ENTITY prE "&#x02AAF;" ><!--precedes, dbl equals -->
-<!ENTITY prsim "&#x0227E;" ><!--/precsim R: precedes, similar -->
-<!ENTITY prurel "&#x022B0;" ><!--element precedes under relation -->
-<!ENTITY ratio "&#x02236;" ><!--/ratio -->
-<!ENTITY rtrie "&#x022B5;" ><!--/trianglerighteq R: right tri, eq -->
-<!ENTITY rtriltri "&#x029CE;" ><!--right triangle above left triangle -->
-<!ENTITY sc "&#x0227B;" ><!--/succ R: succeeds -->
-<!ENTITY Sc "&#x02ABC;" ><!--dbl succeeds -->
-<!ENTITY scap "&#x0227F;" ><!--/succapprox R: succeeds, approximate -->
-<!ENTITY sccue "&#x0227D;" ><!--/succcurlyeq R: succeeds, curly eq -->
-<!ENTITY sce "&#x0227D;" ><!--/succeq R: succeeds, equals -->
-<!ENTITY scE "&#x0227E;" ><!--succeeds, dbl equals -->
-<!ENTITY scsim "&#x0227F;" ><!--/succsim R: succeeds, similar -->
-<!ENTITY sdote "&#x02A66;" ><!--equal, dot below -->
-<!ENTITY simg "&#x02A9E;" ><!--similar, greater -->
-<!ENTITY simgE "&#x02AA0;" ><!--similar, greater, equal -->
-<!ENTITY siml "&#x02A9D;" ><!--similar, less -->
-<!ENTITY simlE "&#x02A9F;" ><!--similar, less, equal -->
-<!ENTITY smid "&#x02223;&#x02063;" ><!--/shortmid R: -->
-<!ENTITY smile "&#x02323;" ><!--/smile R: up curve -->
-<!ENTITY smt "&#x02AAA;" ><!--smaller than -->
-<!ENTITY smte "&#x02AAC;" ><!--smaller than or equal -->
-<!ENTITY smtes "&#x02AAC;&#x02063;" ><!--smaller than or equal, slanted -->
-<!ENTITY spar "&#x02225;&#x02063;" ><!--/shortparallel R: short parallel -->
-<!ENTITY sqsub "&#x0228F;" ><!--/sqsubset R: square subset -->
-<!ENTITY sqsube "&#x02291;" ><!--/sqsubseteq R: square subset, equals -->
-<!ENTITY sqsup "&#x02290;" ><!--/sqsupset R: square superset -->
-<!ENTITY sqsupe "&#x02292;" ><!--/sqsupseteq R: square superset, eq -->
-<!ENTITY Sub "&#x022D0;" ><!--/Subset R: double subset -->
-<!ENTITY subE "&#x02286;" ><!--/subseteqq R: subset, dbl equals -->
-<!ENTITY subedot "&#x02AC3;" ><!--subset, equals, dot -->
-<!ENTITY submult "&#x02AC1;" ><!--subset, multiply -->
-<!ENTITY subplus "&#x02ABF;" ><!--subset, plus -->
-<!ENTITY subrarr "&#x02979;" ><!--subset, right arrow -->
-<!ENTITY subsim "&#x02AC7;" ><!--subset, similar -->
-<!ENTITY subsub "&#x02AD5;" ><!--subset above subset -->
-<!ENTITY subsup "&#x02AD3;" ><!--subset above superset -->
-<!ENTITY Sup "&#x022D1;" ><!--/Supset R: dbl superset -->
-<!ENTITY supdsub "&#x02AD8;" ><!--superset, subset, dash joining them -->
-<!ENTITY supE "&#x02287;" ><!--/supseteqq R: superset, dbl equals -->
-<!ENTITY supedot "&#x02AC4;" ><!--superset, equals, dot -->
-<!ENTITY suphsol "&#x02283;&#x0002F;" ><!--superset, solidus -->
-<!ENTITY suphsub "&#x02AD7;" ><!--superset, subset -->
-<!ENTITY suplarr "&#x0297B;" ><!--superset, left arrow -->
-<!ENTITY supmult "&#x02AC2;" ><!--superset, multiply -->
-<!ENTITY supplus "&#x02AC0;" ><!--superset, plus -->
-<!ENTITY supsim "&#x02AC8;" ><!--superset, similar -->
-<!ENTITY supsub "&#x02AD4;" ><!--superset above subset -->
-<!ENTITY supsup "&#x02AD6;" ><!--superset above superset -->
-<!ENTITY thkap "&#x02248;&#x02063;" ><!--/thickapprox R: thick approximate -->
-<!ENTITY thksim "&#x0223C;" ><!--/thicksim R: thick similar -->
-<!ENTITY topfork "&#x02ADA;" ><!--fork with top -->
-<!ENTITY trie "&#x0225C;" ><!--/triangleq R: triangle, equals -->
-<!ENTITY twixt "&#x0226C;" ><!--/between R: between -->
-<!ENTITY vBar "&#x02AE8;" ><!--vert, dbl bar (under) -->
-<!ENTITY Vbar "&#x02AEB;" ><!--dbl vert, bar (under) -->
-<!ENTITY vBarv "&#x02AE9;" ><!--dbl bar, vert over and under -->
-<!ENTITY vdash "&#x022A2;" ><!--/vdash R: vertical, dash -->
-<!ENTITY vDash "&#x022A8;" ><!--/vDash R: vertical, dbl dash -->
-<!ENTITY Vdash "&#x022A9;" ><!--/Vdash R: dbl vertical, dash -->
-<!ENTITY VDash "&#x022AB;" ><!--dbl vert, dbl dash -->
-<!ENTITY Vdashl "&#x02AE6;" ><!--vertical, dash (long) -->
-<!ENTITY vltri "&#x022B2;" ><!--/vartriangleleft R: l tri, open, var -->
-<!ENTITY vprop "&#x0221D;" ><!--/varpropto R: proportional, variant -->
-<!ENTITY vrtri "&#x022B3;" ><!--/vartriangleright R: r tri, open, var -->
-<!ENTITY Vvdash "&#x022AA;" ><!--/Vvdash R: triple vertical, dash -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isobox.ent b/docs/docbook/xslt/db2latex/mathml/ent/isobox.ent
deleted file mode 100644
index 630edc5597..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isobox.ent
+++ /dev/null
@@ -1,67 +0,0 @@
-
-<!--
- File isobox.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY boxdl "&#x02510;" ><!--lower left quadrant -->
-<!ENTITY boxdL "&#x02555;" ><!--lower left quadrant -->
-<!ENTITY boxDl "&#x02556;" ><!--lower left quadrant -->
-<!ENTITY boxDL "&#x02557;" ><!--lower left quadrant -->
-<!ENTITY boxdr "&#x0250C;" ><!--lower right quadrant -->
-<!ENTITY boxdR "&#x02552;" ><!--lower right quadrant -->
-<!ENTITY boxDr "&#x02553;" ><!--lower right quadrant -->
-<!ENTITY boxDR "&#x02554;" ><!--lower right quadrant -->
-<!ENTITY boxh "&#x02500;" ><!--horizontal line -->
-<!ENTITY boxH "&#x02550;" ><!--horizontal line -->
-<!ENTITY boxhd "&#x0252C;" ><!--lower left and right quadrants -->
-<!ENTITY boxhD "&#x02565;" ><!--lower left and right quadrants -->
-<!ENTITY boxHd "&#x02564;" ><!--lower left and right quadrants -->
-<!ENTITY boxHD "&#x02566;" ><!--lower left and right quadrants -->
-<!ENTITY boxhu "&#x02534;" ><!--upper left and right quadrants -->
-<!ENTITY boxhU "&#x02568;" ><!--upper left and right quadrants -->
-<!ENTITY boxHu "&#x02567;" ><!--upper left and right quadrants -->
-<!ENTITY boxHU "&#x02569;" ><!--upper left and right quadrants -->
-<!ENTITY boxul "&#x02518;" ><!--upper left quadrant -->
-<!ENTITY boxuL "&#x0255B;" ><!--upper left quadrant -->
-<!ENTITY boxUl "&#x0255C;" ><!--upper left quadrant -->
-<!ENTITY boxUL "&#x0255D;" ><!--upper left quadrant -->
-<!ENTITY boxur "&#x02514;" ><!--upper right quadrant -->
-<!ENTITY boxuR "&#x02558;" ><!--upper right quadrant -->
-<!ENTITY boxUr "&#x02559;" ><!--upper right quadrant -->
-<!ENTITY boxUR "&#x0255A;" ><!--upper right quadrant -->
-<!ENTITY boxv "&#x02502;" ><!--vertical line -->
-<!ENTITY boxV "&#x02551;" ><!--vertical line -->
-<!ENTITY boxvh "&#x0253C;" ><!--all four quadrants -->
-<!ENTITY boxvH "&#x0256A;" ><!--all four quadrants -->
-<!ENTITY boxVh "&#x0256B;" ><!--all four quadrants -->
-<!ENTITY boxVH "&#x0256C;" ><!--all four quadrants -->
-<!ENTITY boxvl "&#x02524;" ><!--upper and lower left quadrants -->
-<!ENTITY boxvL "&#x02561;" ><!--upper and lower left quadrants -->
-<!ENTITY boxVl "&#x02562;" ><!--upper and lower left quadrants -->
-<!ENTITY boxVL "&#x02563;" ><!--upper and lower left quadrants -->
-<!ENTITY boxvr "&#x0251C;" ><!--upper and lower right quadrants -->
-<!ENTITY boxvR "&#x0255E;" ><!--upper and lower right quadrants -->
-<!ENTITY boxVr "&#x0255F;" ><!--upper and lower right quadrants -->
-<!ENTITY boxVR "&#x02560;" ><!--upper and lower right quadrants -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isocyr1.ent b/docs/docbook/xslt/db2latex/mathml/ent/isocyr1.ent
deleted file mode 100644
index 4bcc9e416e..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isocyr1.ent
+++ /dev/null
@@ -1,94 +0,0 @@
-
-<!--
- File isocyr1.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY acy "&#x00430;" ><!--=small a, Cyrillic -->
-<!ENTITY Acy "&#x00410;" ><!--=capital A, Cyrillic -->
-<!ENTITY bcy "&#x00431;" ><!--=small be, Cyrillic -->
-<!ENTITY Bcy "&#x00411;" ><!--=capital BE, Cyrillic -->
-<!ENTITY chcy "&#x00447;" ><!--=small che, Cyrillic -->
-<!ENTITY CHcy "&#x00427;" ><!--=capital CHE, Cyrillic -->
-<!ENTITY dcy "&#x00434;" ><!--=small de, Cyrillic -->
-<!ENTITY Dcy "&#x00414;" ><!--=capital DE, Cyrillic -->
-<!ENTITY ecy "&#x0044D;" ><!--=small e, Cyrillic -->
-<!ENTITY Ecy "&#x0042D;" ><!--=capital E, Cyrillic -->
-<!ENTITY fcy "&#x00444;" ><!--=small ef, Cyrillic -->
-<!ENTITY Fcy "&#x00424;" ><!--=capital EF, Cyrillic -->
-<!ENTITY gcy "&#x00433;" ><!--=small ghe, Cyrillic -->
-<!ENTITY Gcy "&#x00413;" ><!--=capital GHE, Cyrillic -->
-<!ENTITY hardcy "&#x0044A;" ><!--=small hard sign, Cyrillic -->
-<!ENTITY HARDcy "&#x0042A;" ><!--=capital HARD sign, Cyrillic -->
-<!ENTITY icy "&#x00438;" ><!--=small i, Cyrillic -->
-<!ENTITY Icy "&#x00418;" ><!--=capital I, Cyrillic -->
-<!ENTITY iecy "&#x00435;" ><!--=small ie, Cyrillic -->
-<!ENTITY IEcy "&#x00415;" ><!--=capital IE, Cyrillic -->
-<!ENTITY iocy "&#x00451;" ><!--=small io, Russian -->
-<!ENTITY IOcy "&#x00401;" ><!--=capital IO, Russian -->
-<!ENTITY jcy "&#x00439;" ><!--=small short i, Cyrillic -->
-<!ENTITY Jcy "&#x00419;" ><!--=capital short I, Cyrillic -->
-<!ENTITY kcy "&#x0043A;" ><!--=small ka, Cyrillic -->
-<!ENTITY Kcy "&#x0041A;" ><!--=capital KA, Cyrillic -->
-<!ENTITY khcy "&#x00445;" ><!--=small ha, Cyrillic -->
-<!ENTITY KHcy "&#x00425;" ><!--=capital HA, Cyrillic -->
-<!ENTITY lcy "&#x0043B;" ><!--=small el, Cyrillic -->
-<!ENTITY Lcy "&#x0041B;" ><!--=capital EL, Cyrillic -->
-<!ENTITY mcy "&#x0043C;" ><!--=small em, Cyrillic -->
-<!ENTITY Mcy "&#x0041C;" ><!--=capital EM, Cyrillic -->
-<!ENTITY ncy "&#x0043D;" ><!--=small en, Cyrillic -->
-<!ENTITY Ncy "&#x0041D;" ><!--=capital EN, Cyrillic -->
-<!ENTITY numero "&#x02116;" ><!--=numero sign -->
-<!ENTITY ocy "&#x0043E;" ><!--=small o, Cyrillic -->
-<!ENTITY Ocy "&#x0041E;" ><!--=capital O, Cyrillic -->
-<!ENTITY pcy "&#x0043F;" ><!--=small pe, Cyrillic -->
-<!ENTITY Pcy "&#x0041F;" ><!--=capital PE, Cyrillic -->
-<!ENTITY rcy "&#x00440;" ><!--=small er, Cyrillic -->
-<!ENTITY Rcy "&#x00420;" ><!--=capital ER, Cyrillic -->
-<!ENTITY scy "&#x00441;" ><!--=small es, Cyrillic -->
-<!ENTITY Scy "&#x00421;" ><!--=capital ES, Cyrillic -->
-<!ENTITY shchcy "&#x00449;" ><!--=small shcha, Cyrillic -->
-<!ENTITY SHCHcy "&#x00429;" ><!--=capital SHCHA, Cyrillic -->
-<!ENTITY shcy "&#x00448;" ><!--=small sha, Cyrillic -->
-<!ENTITY SHcy "&#x00428;" ><!--=capital SHA, Cyrillic -->
-<!ENTITY softcy "&#x0044C;" ><!--=small soft sign, Cyrillic -->
-<!ENTITY SOFTcy "&#x0042C;" ><!--=capital SOFT sign, Cyrillic -->
-<!ENTITY tcy "&#x00442;" ><!--=small te, Cyrillic -->
-<!ENTITY Tcy "&#x00422;" ><!--=capital TE, Cyrillic -->
-<!ENTITY tscy "&#x00446;" ><!--=small tse, Cyrillic -->
-<!ENTITY TScy "&#x00426;" ><!--=capital TSE, Cyrillic -->
-<!ENTITY ucy "&#x00443;" ><!--=small u, Cyrillic -->
-<!ENTITY Ucy "&#x00423;" ><!--=capital U, Cyrillic -->
-<!ENTITY vcy "&#x00432;" ><!--=small ve, Cyrillic -->
-<!ENTITY Vcy "&#x00412;" ><!--=capital VE, Cyrillic -->
-<!ENTITY yacy "&#x0044F;" ><!--=small ya, Cyrillic -->
-<!ENTITY YAcy "&#x0042F;" ><!--=capital YA, Cyrillic -->
-<!ENTITY ycy "&#x0044B;" ><!--=small yeru, Cyrillic -->
-<!ENTITY Ycy "&#x0042B;" ><!--=capital YERU, Cyrillic -->
-<!ENTITY yucy "&#x0044E;" ><!--=small yu, Cyrillic -->
-<!ENTITY YUcy "&#x0042E;" ><!--=capital YU, Cyrillic -->
-<!ENTITY zcy "&#x00437;" ><!--=small ze, Cyrillic -->
-<!ENTITY Zcy "&#x00417;" ><!--=capital ZE, Cyrillic -->
-<!ENTITY zhcy "&#x00436;" ><!--=small zhe, Cyrillic -->
-<!ENTITY ZHcy "&#x00416;" ><!--=capital ZHE, Cyrillic -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isocyr2.ent b/docs/docbook/xslt/db2latex/mathml/ent/isocyr2.ent
deleted file mode 100644
index 67c477b24d..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isocyr2.ent
+++ /dev/null
@@ -1,53 +0,0 @@
-
-<!--
- File isocyr2.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY djcy "&#x00452;" ><!--=small dje, Serbian -->
-<!ENTITY DJcy "&#x00402;" ><!--=capital DJE, Serbian -->
-<!ENTITY dscy "&#x00455;" ><!--=small dse, Macedonian -->
-<!ENTITY DScy "&#x00405;" ><!--=capital DSE, Macedonian -->
-<!ENTITY dzcy "&#x0045F;" ><!--=small dze, Serbian -->
-<!ENTITY DZcy "&#x0040F;" ><!--=capital dze, Serbian -->
-<!ENTITY gjcy "&#x00453;" ><!--=small gje, Macedonian -->
-<!ENTITY GJcy "&#x00403;" ><!--=capital GJE Macedonian -->
-<!ENTITY iukcy "&#x00456;" ><!--=small i, Ukrainian -->
-<!ENTITY Iukcy "&#x00406;" ><!--=capital I, Ukrainian -->
-<!ENTITY jsercy "&#x00458;" ><!--=small je, Serbian -->
-<!ENTITY Jsercy "&#x00408;" ><!--=capital JE, Serbian -->
-<!ENTITY jukcy "&#x00454;" ><!--=small je, Ukrainian -->
-<!ENTITY Jukcy "&#x00404;" ><!--=capital JE, Ukrainian -->
-<!ENTITY kjcy "&#x0045C;" ><!--=small kje Macedonian -->
-<!ENTITY KJcy "&#x0040C;" ><!--=capital KJE, Macedonian -->
-<!ENTITY ljcy "&#x00459;" ><!--=small lje, Serbian -->
-<!ENTITY LJcy "&#x00409;" ><!--=capital LJE, Serbian -->
-<!ENTITY njcy "&#x0045A;" ><!--=small nje, Serbian -->
-<!ENTITY NJcy "&#x0040A;" ><!--=capital NJE, Serbian -->
-<!ENTITY tshcy "&#x0045B;" ><!--=small tshe, Serbian -->
-<!ENTITY TSHcy "&#x0040B;" ><!--=capital TSHE, Serbian -->
-<!ENTITY ubrcy "&#x0045E;" ><!--=small u, Byelorussian -->
-<!ENTITY Ubrcy "&#x0040E;" ><!--=capital U, Byelorussian -->
-<!ENTITY yicy "&#x00457;" ><!--=small yi, Ukrainian -->
-<!ENTITY YIcy "&#x00407;" ><!--=capital YI, Ukrainian -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isodia.ent b/docs/docbook/xslt/db2latex/mathml/ent/isodia.ent
deleted file mode 100644
index ba6496300f..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isodia.ent
+++ /dev/null
@@ -1,41 +0,0 @@
-
-<!--
- File isodia.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY acute "&#x000B4;" ><!--=acute accent -->
-<!ENTITY breve "&#x002D8;" ><!--=breve -->
-<!ENTITY caron "&#x002C7;" ><!--=caron -->
-<!ENTITY cedil "&#x000B8;" ><!--=cedilla -->
-<!ENTITY circ "&#x0005E;" ><!--circumflex accent -->
-<!ENTITY dblac "&#x002DD;" ><!--=double acute accent -->
-<!ENTITY die "&#x000A8;" ><!--=dieresis -->
-<!ENTITY dot "&#x002D9;" ><!--=dot above -->
-<!ENTITY grave "&#x00060;" ><!--=grave accent -->
-<!ENTITY macr "&#x000AF;" ><!--=macron -->
-<!ENTITY ogon "&#x002DB;" ><!--=ogonek -->
-<!ENTITY ring "&#x002DA;" ><!--=ring -->
-<!ENTITY tilde "&#x002DC;" ><!--=tilde -->
-<!ENTITY uml "&#x000A8;" ><!--=umlaut mark -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isogrk1.ent b/docs/docbook/xslt/db2latex/mathml/ent/isogrk1.ent
deleted file mode 100644
index 63b9f14ce8..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isogrk1.ent
+++ /dev/null
@@ -1,75 +0,0 @@
-<!--
-
- File isogrk1.ent produced by the dsssl script ent.dsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments in the STIX proposal for characters
- for Mathematics.
-
- The STIX assignments are temporary and will change if
- the proposal or some variant of it is adopted by the
- Unicode Consortium.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
--->
-
-<!ENTITY agr "&#945;" ><!--U03B1 =small alpha, Greek -->
-<!ENTITY Agr "&#913;" ><!--U0391 =capital Alpha, Greek -->
-<!ENTITY bgr "&#946;" ><!--U03B2 =small beta, Greek -->
-<!ENTITY Bgr "&#914;" ><!--U0392 =capital Beta, Greek -->
-<!ENTITY dgr "&#948;" ><!--U03B4 =small delta, Greek -->
-<!ENTITY Dgr "&#916;" ><!--U0394 =capital Delta, Greek -->
-<!ENTITY eegr "&#951;" ><!--U03B7 =small eta, Greek -->
-<!ENTITY egr "&#949;" ><!--U03B5 =small epsilon, Greek -->
-<!ENTITY EEgr "&#919;" ><!--U0397 =capital Eta, Greek -->
-<!ENTITY Egr "&#917;" ><!--U0395 =capital Epsilon, Greek -->
-<!ENTITY ggr "&#947;" ><!--U03B3 =small gamma, Greek -->
-<!ENTITY Ggr "&#915;" ><!--U0393 =capital Gamma, Greek -->
-<!ENTITY igr "&#953;" ><!--U03B9 =small iota, Greek -->
-<!ENTITY Igr "&#921;" ><!--U0399 =capital Iota, Greek -->
-<!ENTITY kgr "&#954;" ><!--U03BA =small kappa, Greek -->
-<!ENTITY khgr "&#967;" ><!--U03C7 =small chi, Greek -->
-<!ENTITY Kgr "&#922;" ><!--U039A =capital Kappa, Greek -->
-<!ENTITY KHgr "&#935;" ><!--U03A7 =capital Chi, Greek -->
-<!ENTITY lgr "&#955;" ><!--U03BB =small lambda, Greek -->
-<!ENTITY Lgr "&#923;" ><!--U039B =capital Lambda, Greek -->
-<!ENTITY mgr "&#956;" ><!--U03BC =small mu, Greek -->
-<!ENTITY Mgr "&#924;" ><!--U039C =capital Mu, Greek -->
-<!ENTITY ngr "&#957;" ><!--U03BD =small nu, Greek -->
-<!ENTITY Ngr "&#925;" ><!--U039D =capital Nu, Greek -->
-<!ENTITY ogr "&#959;" ><!--U03BF =small omicron, Greek -->
-<!ENTITY ohgr "&#969;" ><!--U03C9 =small omega, Greek -->
-<!ENTITY Ogr "&#927;" ><!--U039F =capital Omicron, Greek -->
-<!ENTITY OHgr "&#937;" ><!--U03A9 =capital Omega, Greek -->
-<!ENTITY pgr "&#960;" ><!--U03C0 =small pi, Greek -->
-<!ENTITY phgr "&#966;" ><!--U03C6 =small phi, Greek -->
-<!ENTITY psgr "&#968;" ><!--U03C8 =small psi, Greek -->
-<!ENTITY Pgr "&#928;" ><!--U03A0 =capital Pi, Greek -->
-<!ENTITY PHgr "&#934;" ><!--U03A6 =capital Phi, Greek -->
-<!ENTITY PSgr "&#936;" ><!--U03A8 =capital Psi, Greek -->
-<!ENTITY rgr "&#961;" ><!--U03C1 =small rho, Greek -->
-<!ENTITY Rgr "&#929;" ><!--U03A1 =capital Rho, Greek -->
-<!ENTITY sfgr "&#962;" ><!--U03C2 =final small sigma, Greek -->
-<!ENTITY sgr "&#963;" ><!--U03C3 =small sigma, Greek -->
-<!ENTITY Sgr "&#931;" ><!--U03A3 =capital Sigma, Greek -->
-<!ENTITY tgr "&#964;" ><!--U03C4 =small tau, Greek -->
-<!ENTITY thgr "&#952;" ><!--U03B8 =small theta, Greek -->
-<!ENTITY Tgr "&#932;" ><!--U03A4 =capital Tau, Greek -->
-<!ENTITY THgr "&#920;" ><!--U0398 =capital Theta, Greek -->
-<!ENTITY ugr "&#965;" ><!--U03C5 =small upsilon, Greek -->
-<!ENTITY Ugr "&#933;" ><!--U03A5 =capital Upsilon, Greek -->
-<!ENTITY xgr "&#958;" ><!--U03BE =small xi, Greek -->
-<!ENTITY Xgr "&#926;" ><!--U039E =capital Xi, Greek -->
-<!ENTITY zgr "&#950;" ><!--U03B6 =small zeta, Greek -->
-<!ENTITY Zgr "&#918;" ><!--U0396 =capital Zeta, Greek -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isogrk2.ent b/docs/docbook/xslt/db2latex/mathml/ent/isogrk2.ent
deleted file mode 100644
index 424786cabb..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isogrk2.ent
+++ /dev/null
@@ -1,46 +0,0 @@
-<!--
-
- File isogrk2.ent produced by the dsssl script ent.dsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments in the STIX proposal for characters
- for Mathematics.
-
- The STIX assignments are temporary and will change if
- the proposal or some variant of it is adopted by the
- Unicode Consortium.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
--->
-
-<!ENTITY aacgr "&#940;" ><!--U03AC =small alpha, accent, Greek -->
-<!ENTITY Aacgr "&#902;" ><!--U0386 =capital Alpha, accent, Greek -->
-<!ENTITY eacgr "&#941;" ><!--U03AD =small epsilon, accent, Greek -->
-<!ENTITY eeacgr "&#942;" ><!--U03AE =small eta, accent, Greek -->
-<!ENTITY Eacgr "&#904;" ><!--U0388 =capital Epsilon, accent, Greek -->
-<!ENTITY EEacgr "&#905;" ><!--U0389 =capital Eta, accent, Greek -->
-<!ENTITY iacgr "&#943;" ><!--U03AF =small iota, accent, Greek -->
-<!ENTITY idiagr "&#912;" ><!--U0390 =small iota, dieresis, accent, Greek -->
-<!ENTITY idigr "&#970;" ><!--U03CA =small iota, dieresis, Greek -->
-<!ENTITY Iacgr "&#906;" ><!--U038A =capital Iota, accent, Greek -->
-<!ENTITY Idigr "&#938;" ><!--U03AA =capital Iota, dieresis, Greek -->
-<!ENTITY oacgr "&#972;" ><!--U03CC =small omicron, accent, Greek -->
-<!ENTITY ohacgr "&#974;" ><!--U03CE =small omega, accent, Greek -->
-<!ENTITY Oacgr "&#908;" ><!--U038C =capital Omicron, accent, Greek -->
-<!ENTITY OHacgr "&#911;" ><!--U038F =capital Omega, accent, Greek -->
-<!ENTITY uacgr "&#973;" ><!--U03CD =small upsilon, accent, Greek -->
-<!ENTITY udiagr "&#944;" ><!--U03B0 =small upsilon, dieresis, accent, Greek -->
-<!ENTITY udigr "&#971;" ><!--U03CB =small upsilon, dieresis, Greek -->
-<!ENTITY Uacgr "&#910;" ><!--U038E =capital Upsilon, accent, Greek -->
-<!ENTITY Udigr "&#939;" ><!--U03AB =capital Upsilon, dieresis, Greek -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isogrk3.ent b/docs/docbook/xslt/db2latex/mathml/ent/isogrk3.ent
deleted file mode 100644
index fa03355048..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isogrk3.ent
+++ /dev/null
@@ -1,70 +0,0 @@
-
-<!--
- File isogrk3.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY alpha "&#x003B1;" ><!--/alpha small alpha, Greek -->
-<!ENTITY beta "&#x003B2;" ><!--/beta small beta, Greek -->
-<!ENTITY chi "&#x003C7;" ><!--/chi small chi, Greek -->
-<!ENTITY delta "&#x003B4;" ><!--/delta small delta, Greek -->
-<!ENTITY Delta "&#x00394;" ><!--/Delta capital Delta, Greek -->
-<!ENTITY epsi "&#x003B5;" ><!--/straightepsilon, small epsilon, Greek -->
-<!ENTITY epsiv "&#x0025B;" ><!--/varepsilon -->
-<!ENTITY eta "&#x003B7;" ><!--/eta small eta, Greek -->
-<!ENTITY gamma "&#x003B3;" ><!--/gamma small gamma, Greek -->
-<!ENTITY Gamma "&#x00393;" ><!--/Gamma capital Gamma, Greek -->
-<!ENTITY gammad "&#x003DC;" ><!--/digamma -->
-<!ENTITY Gammad "&#x003DC;" ><!--capital digamma -->
-<!ENTITY iota "&#x003B9;" ><!--/iota small iota, Greek -->
-<!ENTITY kappa "&#x003BA;" ><!--/kappa small kappa, Greek -->
-<!ENTITY kappav "&#x003F0;" ><!--/varkappa -->
-<!ENTITY lambda "&#x003BB;" ><!--/lambda small lambda, Greek -->
-<!ENTITY Lambda "&#x0039B;" ><!--/Lambda capital Lambda, Greek -->
-<!ENTITY mu "&#x003BC;" ><!--/mu small mu, Greek -->
-<!ENTITY nu "&#x003BD;" ><!--/nu small nu, Greek -->
-<!ENTITY omega "&#x003C9;" ><!--/omega small omega, Greek -->
-<!ENTITY Omega "&#x003A9;" ><!--/Omega capital Omega, Greek -->
-<!ENTITY phi "&#x003C6;" ><!--/straightphi - small phi, Greek -->
-<!ENTITY Phi "&#x003A6;" ><!--/Phi capital Phi, Greek -->
-<!ENTITY phiv "&#x003D5;" ><!--/varphi - curly or open phi -->
-<!ENTITY pi "&#x003C0;" ><!--/pi small pi, Greek -->
-<!ENTITY Pi "&#x003A0;" ><!--/Pi capital Pi, Greek -->
-<!ENTITY piv "&#x003D6;" ><!--/varpi -->
-<!ENTITY psi "&#x003C8;" ><!--/psi small psi, Greek -->
-<!ENTITY Psi "&#x003A8;" ><!--/Psi capital Psi, Greek -->
-<!ENTITY rho "&#x003C1;" ><!--/rho small rho, Greek -->
-<!ENTITY rhov "&#x003F1;" ><!--/varrho -->
-<!ENTITY sigma "&#x003C3;" ><!--/sigma small sigma, Greek -->
-<!ENTITY Sigma "&#x003A3;" ><!--/Sigma capital Sigma, Greek -->
-<!ENTITY sigmav "&#x003C2;" ><!--/varsigma -->
-<!ENTITY tau "&#x003C4;" ><!--/tau small tau, Greek -->
-<!ENTITY theta "&#x003B8;" ><!--/theta straight theta, small theta, Greek -->
-<!ENTITY Theta "&#x00398;" ><!--/Theta capital Theta, Greek -->
-<!ENTITY thetav "&#x003D1;" ><!--/vartheta - curly or open theta -->
-<!ENTITY upsi "&#x003C5;" ><!--/upsilon small upsilon, Greek -->
-<!ENTITY Upsi "&#x003D2;" ><!--/Upsilon capital Upsilon, Greek -->
-<!ENTITY xi "&#x003BE;" ><!--/xi small xi, Greek -->
-<!ENTITY Xi "&#x0039E;" ><!--/Xi capital Xi, Greek -->
-<!ENTITY zeta "&#x003B6;" ><!--/zeta small zeta, Greek -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isogrk4.ent b/docs/docbook/xslt/db2latex/mathml/ent/isogrk4.ent
deleted file mode 100644
index 71f834042b..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isogrk4.ent
+++ /dev/null
@@ -1,69 +0,0 @@
-<!--
-
- File isogrk4.ent produced by the dsssl script ent.dsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments in the STIX proposal for characters
- for Mathematics.
-
- The STIX assignments are temporary and will change if
- the proposal or some variant of it is adopted by the
- Unicode Consortium.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
--->
-
-<!ENTITY b.alpha "&#59136;" ><!--UE700 small alpha, Greek -->
-<!ENTITY b.beta "&#59137;" ><!--UE701 small beta, Greek -->
-<!ENTITY b.chi "&#59175;" ><!--UE727 small chi, Greek -->
-<!ENTITY b.delta "&#59142;" ><!--UE706 small delta, Greek -->
-<!ENTITY b.Delta "&#59143;" ><!--UE707 capital delta, Greek -->
-<!ENTITY b.epsi "&#59144;" ><!--UE708 small epsilon, Greek -->
-<!ENTITY b.epsiv "&#59146;" ><!--UE709 varepsilion -->
-<!ENTITY b.eta "&#59148;" ><!--UE70C small eta, Greek -->
-<!ENTITY b.gamma "&#59138;" ><!--UE702 small gamma, Greek -->
-<!ENTITY b.gammad "&#59140;" ><!--UE704 digamma, Greek -->
-<!ENTITY b.Gamma "&#59139;" ><!--UE703 capital gamma, Greek -->
-<!ENTITY b.Gammad "&#59141;" ><!--UE705 capital digamma, Greek -->
-<!ENTITY b.iota "&#59152;" ><!--UE710 small iota, Greek -->
-<!ENTITY b.kappa "&#59153;" ><!--UE711 small kappa, Greek -->
-<!ENTITY b.kappav "&#59154;" ><!--UE712 var kappa, Greek -->
-<!ENTITY b.lambda "&#59155;" ><!--UE713 small lambda, Greek -->
-<!ENTITY b.Lambda "&#59156;" ><!--UE714 capital lambda, Greek -->
-<!ENTITY b.mu "&#59157;" ><!--UE715 small mu, Greek -->
-<!ENTITY b.nu "&#59158;" ><!--UE716 small nu, Greek -->
-<!ENTITY b.omega "&#59178;" ><!--UE72A small omega, Greek -->
-<!ENTITY b.Omega "&#59179;" ><!--UE72B capital Omega, Greek -->
-<!ENTITY b.phis "&#59172;" ><!--UE724 straight phi, Greek -->
-<!ENTITY b.phiv "&#59174;" ><!--UE726 varphi -->
-<!ENTITY b.pi "&#59161;" ><!--UE719 small pi, Greek -->
-<!ENTITY b.piv "&#59163;" ><!--UE71B varpi -->
-<!ENTITY b.psi "&#59176;" ><!--UE728 small psi, Greek -->
-<!ENTITY b.Phi "&#59173;" ><!--UE725 capital Phi, Greek -->
-<!ENTITY b.Pi "&#59162;" ><!--UE71A capital pi, Greek -->
-<!ENTITY b.Psi "&#59177;" ><!--UE729 capital Psi, Greek -->
-<!ENTITY b.rho "&#59164;" ><!--UE71C small rho, Greek -->
-<!ENTITY b.rhov "&#59165;" ><!--UE71D varrho -->
-<!ENTITY b.sigma "&#59166;" ><!--UE71E small sigma, Greek -->
-<!ENTITY b.sigmav "&#59168;" ><!--UE720 varsigma -->
-<!ENTITY b.Sigma "&#59167;" ><!--UE71F capital sigma, Greek -->
-<!ENTITY b.tau "&#59169;" ><!--UE721 small tau, Greek -->
-<!ENTITY b.thetas "&#59149;" ><!--UE70D straight theta, Greek -->
-<!ENTITY b.thetav "&#59151;" ><!--UE70F var theta, Greek -->
-<!ENTITY b.Theta "&#59150;" ><!--UE70E capital theta, Greek -->
-<!ENTITY b.upsi "&#59170;" ><!--UE722 small upsilon, Greek -->
-<!ENTITY b.Upsilon "&#59171;" ><!--UE723 capital upsilon, Greek -->
-<!ENTITY b.xi "&#59159;" ><!--UE717 small xi, Greek -->
-<!ENTITY b.Xi "&#59160;" ><!--UE718 capital xi, Greek -->
-<!ENTITY b.zeta "&#59145;" ><!--UE70B small zeta, Greek -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isolat1.ent b/docs/docbook/xslt/db2latex/mathml/ent/isolat1.ent
deleted file mode 100644
index 849d360aea..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isolat1.ent
+++ /dev/null
@@ -1,89 +0,0 @@
-
-<!--
- File isolat1.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY aacute "&#x000E1;" ><!--=small a, acute accent -->
-<!ENTITY Aacute "&#x000C1;" ><!--=capital A, acute accent -->
-<!ENTITY acirc "&#x000E2;" ><!--=small a, circumflex accent -->
-<!ENTITY Acirc "&#x000C2;" ><!--=capital A, circumflex accent -->
-<!ENTITY aelig "&#x000E6;" ><!--=small ae diphthong (ligature) -->
-<!ENTITY AElig "&#x000C6;" ><!--=capital AE diphthong (ligature) -->
-<!ENTITY agrave "&#x000E0;" ><!--=small a, grave accent -->
-<!ENTITY Agrave "&#x000C0;" ><!--=capital A, grave accent -->
-<!ENTITY aring "&#x000E5;" ><!--=small a, ring -->
-<!ENTITY Aring "&#x000C5;" ><!--=capital A, ring -->
-<!ENTITY atilde "&#x000E3;" ><!--=small a, tilde -->
-<!ENTITY Atilde "&#x000C3;" ><!--=capital A, tilde -->
-<!ENTITY auml "&#x000E4;" ><!--=small a, dieresis or umlaut mark -->
-<!ENTITY Auml "&#x000C4;" ><!--=capital A, dieresis or umlaut mark -->
-<!ENTITY ccedil "&#x000E7;" ><!--=small c, cedilla -->
-<!ENTITY Ccedil "&#x000C7;" ><!--=capital C, cedilla -->
-<!ENTITY eacute "&#x000E9;" ><!--=small e, acute accent -->
-<!ENTITY Eacute "&#x000C9;" ><!--=capital E, acute accent -->
-<!ENTITY ecirc "&#x000EA;" ><!--=small e, circumflex accent -->
-<!ENTITY Ecirc "&#x000CA;" ><!--=capital E, circumflex accent -->
-<!ENTITY egrave "&#x000E8;" ><!--=small e, grave accent -->
-<!ENTITY Egrave "&#x000C8;" ><!--=capital E, grave accent -->
-<!ENTITY eth "&#x000F0;" ><!--=small eth, Icelandic -->
-<!ENTITY ETH "&#x000D0;" ><!--=capital Eth, Icelandic -->
-<!ENTITY euml "&#x000EB;" ><!--=small e, dieresis or umlaut mark -->
-<!ENTITY Euml "&#x000CB;" ><!--=capital E, dieresis or umlaut mark -->
-<!ENTITY iacute "&#x000ED;" ><!--=small i, acute accent -->
-<!ENTITY Iacute "&#x000CD;" ><!--=capital I, acute accent -->
-<!ENTITY icirc "&#x000EE;" ><!--=small i, circumflex accent -->
-<!ENTITY Icirc "&#x000CE;" ><!--=capital I, circumflex accent -->
-<!ENTITY igrave "&#x000EC;" ><!--=small i, grave accent -->
-<!ENTITY Igrave "&#x000CC;" ><!--=capital I, grave accent -->
-<!ENTITY iuml "&#x000EF;" ><!--=small i, dieresis or umlaut mark -->
-<!ENTITY Iuml "&#x000CF;" ><!--=capital I, dieresis or umlaut mark -->
-<!ENTITY ntilde "&#x000F1;" ><!--=small n, tilde -->
-<!ENTITY Ntilde "&#x000D1;" ><!--=capital N, tilde -->
-<!ENTITY oacute "&#x000F3;" ><!--=small o, acute accent -->
-<!ENTITY Oacute "&#x000D3;" ><!--=capital O, acute accent -->
-<!ENTITY ocirc "&#x000F4;" ><!--=small o, circumflex accent -->
-<!ENTITY Ocirc "&#x000D4;" ><!--=capital O, circumflex accent -->
-<!ENTITY ograve "&#x000F2;" ><!--=small o, grave accent -->
-<!ENTITY Ograve "&#x000D2;" ><!--=capital O, grave accent -->
-<!ENTITY oslash "&#x000F8;" ><!--latin small letter o with stroke -->
-<!ENTITY Oslash "&#x000D8;" ><!--=capital O, slash -->
-<!ENTITY otilde "&#x000F5;" ><!--=small o, tilde -->
-<!ENTITY Otilde "&#x000D5;" ><!--=capital O, tilde -->
-<!ENTITY ouml "&#x000F6;" ><!--=small o, dieresis or umlaut mark -->
-<!ENTITY Ouml "&#x000D6;" ><!--=capital O, dieresis or umlaut mark -->
-<!ENTITY szlig "&#x000DF;" ><!--=small sharp s, German (sz ligature) -->
-<!ENTITY thorn "&#x000FE;" ><!--=small thorn, Icelandic -->
-<!ENTITY THORN "&#x000DE;" ><!--=capital THORN, Icelandic -->
-<!ENTITY uacute "&#x000FA;" ><!--=small u, acute accent -->
-<!ENTITY Uacute "&#x000DA;" ><!--=capital U, acute accent -->
-<!ENTITY ucirc "&#x000FB;" ><!--=small u, circumflex accent -->
-<!ENTITY Ucirc "&#x000DB;" ><!--=capital U, circumflex accent -->
-<!ENTITY ugrave "&#x000F9;" ><!--=small u, grave accent -->
-<!ENTITY Ugrave "&#x000D9;" ><!--=capital U, grave accent -->
-<!ENTITY uuml "&#x000FC;" ><!--=small u, dieresis or umlaut mark -->
-<!ENTITY Uuml "&#x000DC;" ><!--=capital U, dieresis or umlaut mark -->
-<!ENTITY yacute "&#x000FD;" ><!--=small y, acute accent -->
-<!ENTITY Yacute "&#x000DD;" ><!--=capital Y, acute accent -->
-<!ENTITY yuml "&#x000FF;" ><!--=small y, dieresis or umlaut mark -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isolat2.ent b/docs/docbook/xslt/db2latex/mathml/ent/isolat2.ent
deleted file mode 100644
index 3049be7f1f..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isolat2.ent
+++ /dev/null
@@ -1,148 +0,0 @@
-
-<!--
- File isolat2.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY abreve "&#x00103;" ><!--=small a, breve -->
-<!ENTITY Abreve "&#x00102;" ><!--=capital A, breve -->
-<!ENTITY amacr "&#x00101;" ><!--=small a, macron -->
-<!ENTITY Amacr "&#x00100;" ><!--=capital A, macron -->
-<!ENTITY aogon "&#x00105;" ><!--=small a, ogonek -->
-<!ENTITY Aogon "&#x00104;" ><!--=capital A, ogonek -->
-<!ENTITY cacute "&#x00107;" ><!--=small c, acute accent -->
-<!ENTITY Cacute "&#x00106;" ><!--=capital C, acute accent -->
-<!ENTITY ccaron "&#x0010D;" ><!--=small c, caron -->
-<!ENTITY Ccaron "&#x0010C;" ><!--=capital C, caron -->
-<!ENTITY ccirc "&#x00109;" ><!--=small c, circumflex accent -->
-<!ENTITY Ccirc "&#x00108;" ><!--=capital C, circumflex accent -->
-<!ENTITY cdot "&#x0010B;" ><!--=small c, dot above -->
-<!ENTITY Cdot "&#x0010A;" ><!--=capital C, dot above -->
-<!ENTITY dcaron "&#x0010F;" ><!--=small d, caron -->
-<!ENTITY Dcaron "&#x0010E;" ><!--=capital D, caron -->
-<!ENTITY dstrok "&#x00111;" ><!--=small d, stroke -->
-<!ENTITY Dstrok "&#x00110;" ><!--=capital D, stroke -->
-<!ENTITY ecaron "&#x0011B;" ><!--=small e, caron -->
-<!ENTITY Ecaron "&#x0011A;" ><!--=capital E, caron -->
-<!ENTITY edot "&#x00117;" ><!--=small e, dot above -->
-<!ENTITY Edot "&#x00116;" ><!--=capital E, dot above -->
-<!ENTITY emacr "&#x00113;" ><!--=small e, macron -->
-<!ENTITY Emacr "&#x00112;" ><!--=capital E, macron -->
-<!ENTITY eng "&#x0014B;" ><!--=small eng, Lapp -->
-<!ENTITY ENG "&#x0014A;" ><!--=capital ENG, Lapp -->
-<!ENTITY eogon "&#x00119;" ><!--=small e, ogonek -->
-<!ENTITY Eogon "&#x00118;" ><!--=capital E, ogonek -->
-<!ENTITY gacute "&#x001F5;" ><!--=small g, acute accent -->
-<!ENTITY gbreve "&#x0011F;" ><!--=small g, breve -->
-<!ENTITY Gbreve "&#x0011E;" ><!--=capital G, breve -->
-<!ENTITY Gcedil "&#x00122;" ><!--=capital G, cedilla -->
-<!ENTITY gcirc "&#x0011D;" ><!--=small g, circumflex accent -->
-<!ENTITY Gcirc "&#x0011C;" ><!--=capital G, circumflex accent -->
-<!ENTITY gdot "&#x00121;" ><!--=small g, dot above -->
-<!ENTITY Gdot "&#x00120;" ><!--=capital G, dot above -->
-<!ENTITY hcirc "&#x00125;" ><!--=small h, circumflex accent -->
-<!ENTITY Hcirc "&#x00124;" ><!--=capital H, circumflex accent -->
-<!ENTITY hstrok "&#x00127;" ><!--=small h, stroke -->
-<!ENTITY Hstrok "&#x00126;" ><!--=capital H, stroke -->
-<!ENTITY Idot "&#x00130;" ><!--=capital I, dot above -->
-<!ENTITY ijlig "&#x00133;" ><!--=small ij ligature -->
-<!ENTITY IJlig "&#x00132;" ><!--=capital IJ ligature -->
-<!ENTITY imacr "&#x0012B;" ><!--=small i, macron -->
-<!ENTITY Imacr "&#x0012A;" ><!--=capital I, macron -->
-<!ENTITY inodot "&#x00131;" ><!--=small i without dot -->
-<!ENTITY iogon "&#x0012F;" ><!--=small i, ogonek -->
-<!ENTITY Iogon "&#x0012E;" ><!--=capital I, ogonek -->
-<!ENTITY itilde "&#x00129;" ><!--=small i, tilde -->
-<!ENTITY Itilde "&#x00128;" ><!--=capital I, tilde -->
-<!ENTITY jcirc "&#x00135;" ><!--=small j, circumflex accent -->
-<!ENTITY Jcirc "&#x00134;" ><!--=capital J, circumflex accent -->
-<!ENTITY kcedil "&#x00137;" ><!--=small k, cedilla -->
-<!ENTITY Kcedil "&#x00136;" ><!--=capital K, cedilla -->
-<!ENTITY kgreen "&#x00138;" ><!--=small k, Greenlandic -->
-<!ENTITY lacute "&#x0013A;" ><!--=small l, acute accent -->
-<!ENTITY Lacute "&#x00139;" ><!--=capital L, acute accent -->
-<!ENTITY lcaron "&#x0013E;" ><!--=small l, caron -->
-<!ENTITY Lcaron "&#x0013D;" ><!--=capital L, caron -->
-<!ENTITY lcedil "&#x0013C;" ><!--=small l, cedilla -->
-<!ENTITY Lcedil "&#x0013B;" ><!--=capital L, cedilla -->
-<!ENTITY lmidot "&#x00140;" ><!--=small l, middle dot -->
-<!ENTITY Lmidot "&#x0013F;" ><!--=capital L, middle dot -->
-<!ENTITY lstrok "&#x00142;" ><!--=small l, stroke -->
-<!ENTITY Lstrok "&#x00141;" ><!--=capital L, stroke -->
-<!ENTITY nacute "&#x00144;" ><!--=small n, acute accent -->
-<!ENTITY Nacute "&#x00143;" ><!--=capital N, acute accent -->
-<!ENTITY napos "&#x00149;" ><!--=small n, apostrophe -->
-<!ENTITY ncaron "&#x00148;" ><!--=small n, caron -->
-<!ENTITY Ncaron "&#x00147;" ><!--=capital N, caron -->
-<!ENTITY ncedil "&#x00146;" ><!--=small n, cedilla -->
-<!ENTITY Ncedil "&#x00145;" ><!--=capital N, cedilla -->
-<!ENTITY odblac "&#x00151;" ><!--=small o, double acute accent -->
-<!ENTITY Odblac "&#x00150;" ><!--=capital O, double acute accent -->
-<!ENTITY oelig "&#x00153;" ><!--=small oe ligature -->
-<!ENTITY OElig "&#x00152;" ><!--=capital OE ligature -->
-<!ENTITY omacr "&#x0014D;" ><!--=small o, macron -->
-<!ENTITY Omacr "&#x0014C;" ><!--=capital O, macron -->
-<!ENTITY racute "&#x00155;" ><!--=small r, acute accent -->
-<!ENTITY Racute "&#x00154;" ><!--=capital R, acute accent -->
-<!ENTITY rcaron "&#x00159;" ><!--=small r, caron -->
-<!ENTITY Rcaron "&#x00158;" ><!--=capital R, caron -->
-<!ENTITY rcedil "&#x00157;" ><!--=small r, cedilla -->
-<!ENTITY Rcedil "&#x00156;" ><!--=capital R, cedilla -->
-<!ENTITY sacute "&#x0015B;" ><!--=small s, acute accent -->
-<!ENTITY Sacute "&#x0015A;" ><!--=capital S, acute accent -->
-<!ENTITY scaron "&#x00161;" ><!--=small s, caron -->
-<!ENTITY Scaron "&#x00160;" ><!--=capital S, caron -->
-<!ENTITY scedil "&#x0015F;" ><!--=small s, cedilla -->
-<!ENTITY Scedil "&#x0015E;" ><!--=capital S, cedilla -->
-<!ENTITY scirc "&#x0015D;" ><!--=small s, circumflex accent -->
-<!ENTITY Scirc "&#x0015C;" ><!--=capital S, circumflex accent -->
-<!ENTITY tcaron "&#x00165;" ><!--=small t, caron -->
-<!ENTITY Tcaron "&#x00164;" ><!--=capital T, caron -->
-<!ENTITY tcedil "&#x00163;" ><!--=small t, cedilla -->
-<!ENTITY Tcedil "&#x00162;" ><!--=capital T, cedilla -->
-<!ENTITY tstrok "&#x00167;" ><!--=small t, stroke -->
-<!ENTITY Tstrok "&#x00166;" ><!--=capital T, stroke -->
-<!ENTITY ubreve "&#x0016D;" ><!--=small u, breve -->
-<!ENTITY Ubreve "&#x0016C;" ><!--=capital U, breve -->
-<!ENTITY udblac "&#x00171;" ><!--=small u, double acute accent -->
-<!ENTITY Udblac "&#x00170;" ><!--=capital U, double acute accent -->
-<!ENTITY umacr "&#x0016B;" ><!--=small u, macron -->
-<!ENTITY Umacr "&#x0016A;" ><!--=capital U, macron -->
-<!ENTITY uogon "&#x00173;" ><!--=small u, ogonek -->
-<!ENTITY Uogon "&#x00172;" ><!--=capital U, ogonek -->
-<!ENTITY uring "&#x0016F;" ><!--=small u, ring -->
-<!ENTITY Uring "&#x0016E;" ><!--=capital U, ring -->
-<!ENTITY utilde "&#x00169;" ><!--=small u, tilde -->
-<!ENTITY Utilde "&#x00168;" ><!--=capital U, tilde -->
-<!ENTITY wcirc "&#x00175;" ><!--=small w, circumflex accent -->
-<!ENTITY Wcirc "&#x00174;" ><!--=capital W, circumflex accent -->
-<!ENTITY ycirc "&#x00177;" ><!--=small y, circumflex accent -->
-<!ENTITY Ycirc "&#x00176;" ><!--=capital Y, circumflex accent -->
-<!ENTITY Yuml "&#x00178;" ><!--=capital Y, dieresis or umlaut mark -->
-<!ENTITY zacute "&#x0017A;" ><!--=small z, acute accent -->
-<!ENTITY Zacute "&#x00179;" ><!--=capital Z, acute accent -->
-<!ENTITY zcaron "&#x0017E;" ><!--=small z, caron -->
-<!ENTITY Zcaron "&#x0017D;" ><!--=capital Z, caron -->
-<!ENTITY zdot "&#x0017C;" ><!--=small z, dot above -->
-<!ENTITY Zdot "&#x0017B;" ><!--=capital Z, dot above -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isomfrk.ent b/docs/docbook/xslt/db2latex/mathml/ent/isomfrk.ent
deleted file mode 100644
index 397212a643..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isomfrk.ent
+++ /dev/null
@@ -1,79 +0,0 @@
-
-<!--
- File isomfrk.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY afr "&#x1D51E;" ><!--/frak a, lower case a -->
-<!ENTITY Afr "&#x1D504;" ><!--/frak A, upper case a -->
-<!ENTITY bfr "&#x1D51F;" ><!--/frak b, lower case b -->
-<!ENTITY Bfr "&#x1D505;" ><!--/frak B, upper case b -->
-<!ENTITY cfr "&#x1D520;" ><!--/frak c, lower case c -->
-<!ENTITY Cfr "&#x1D506;" ><!--/frak C, upper case c -->
-<!ENTITY dfr "&#x1D521;" ><!--/frak d, lower case d -->
-<!ENTITY Dfr "&#x1D507;" ><!--/frak D, upper case d -->
-<!ENTITY efr "&#x1D522;" ><!--/frak e, lower case e -->
-<!ENTITY Efr "&#x1D508;" ><!--/frak E, upper case e -->
-<!ENTITY ffr "&#x1D523;" ><!--/frak f, lower case f -->
-<!ENTITY Ffr "&#x1D509;" ><!--/frak F, upper case f -->
-<!ENTITY gfr "&#x1D524;" ><!--/frak g, lower case g -->
-<!ENTITY Gfr "&#x1D50A;" ><!--/frak G, upper case g -->
-<!ENTITY hfr "&#x1D525;" ><!--/frak h, lower case h -->
-<!ENTITY Hfr "&#x1D50B;" ><!--/frak H, upper case h -->
-<!ENTITY ifr "&#x1D526;" ><!--/frak i, lower case i -->
-<!ENTITY Ifr "&#x1D50C;" ><!--/frak I, upper case i -->
-<!ENTITY jfr "&#x1D527;" ><!--/frak j, lower case j -->
-<!ENTITY Jfr "&#x1D50D;" ><!--/frak J, upper case j -->
-<!ENTITY kfr "&#x1D528;" ><!--/frak k, lower case k -->
-<!ENTITY Kfr "&#x1D50E;" ><!--/frak K, upper case k -->
-<!ENTITY lfr "&#x1D529;" ><!--/frak l, lower case l -->
-<!ENTITY Lfr "&#x1D50F;" ><!--/frak L, upper case l -->
-<!ENTITY mfr "&#x1D52A;" ><!--/frak m, lower case m -->
-<!ENTITY Mfr "&#x1D510;" ><!--/frak M, upper case m -->
-<!ENTITY nfr "&#x1D52B;" ><!--/frak n, lower case n -->
-<!ENTITY Nfr "&#x1D511;" ><!--/frak N, upper case n -->
-<!ENTITY ofr "&#x1D52C;" ><!--/frak o, lower case o -->
-<!ENTITY Ofr "&#x1D512;" ><!--/frak O, upper case o -->
-<!ENTITY pfr "&#x1D52D;" ><!--/frak p, lower case p -->
-<!ENTITY Pfr "&#x1D513;" ><!--/frak P, upper case p -->
-<!ENTITY qfr "&#x1D52E;" ><!--/frak q, lower case q -->
-<!ENTITY Qfr "&#x1D514;" ><!--/frak Q, upper case q -->
-<!ENTITY rfr "&#x1D52F;" ><!--/frak r, lower case r -->
-<!ENTITY Rfr "&#x1D515;" ><!--/frak R, upper case r -->
-<!ENTITY sfr "&#x1D530;" ><!--/frak s, lower case s -->
-<!ENTITY Sfr "&#x1D516;" ><!--/frak S, upper case s -->
-<!ENTITY tfr "&#x1D531;" ><!--/frak t, lower case t -->
-<!ENTITY Tfr "&#x1D517;" ><!--/frak T, upper case t -->
-<!ENTITY ufr "&#x1D532;" ><!--/frak u, lower case u -->
-<!ENTITY Ufr "&#x1D518;" ><!--/frak U, upper case u -->
-<!ENTITY vfr "&#x1D533;" ><!--/frak v, lower case v -->
-<!ENTITY Vfr "&#x1D519;" ><!--/frak V, upper case v -->
-<!ENTITY wfr "&#x1D534;" ><!--/frak w, lower case w -->
-<!ENTITY Wfr "&#x1D51A;" ><!--/frak W, upper case w -->
-<!ENTITY xfr "&#x1D535;" ><!--/frak x, lower case x -->
-<!ENTITY Xfr "&#x1D51B;" ><!--/frak X, upper case x -->
-<!ENTITY yfr "&#x1D536;" ><!--/frak y, lower case y -->
-<!ENTITY Yfr "&#x1D51C;" ><!--/frak Y, upper case y -->
-<!ENTITY zfr "&#x1D537;" ><!--/frak z, lower case z -->
-<!ENTITY Zfr "&#x1D51D;" ><!--/frak Z, upper case z -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isomopf.ent b/docs/docbook/xslt/db2latex/mathml/ent/isomopf.ent
deleted file mode 100644
index 806b2fb4fe..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isomopf.ent
+++ /dev/null
@@ -1,53 +0,0 @@
-
-<!--
- File isomopf.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY Aopf "&#x1D538;" ><!--/Bbb A, open face A -->
-<!ENTITY Bopf "&#x1D539;" ><!--/Bbb B, open face B -->
-<!ENTITY Copf "&#x1D53A;" ><!--/Bbb C, open face C -->
-<!ENTITY Dopf "&#x1D53B;" ><!--/Bbb D, open face D -->
-<!ENTITY Eopf "&#x1D53C;" ><!--/Bbb E, open face E -->
-<!ENTITY Fopf "&#x1D53D;" ><!--/Bbb F, open face F -->
-<!ENTITY Gopf "&#x1D53E;" ><!--/Bbb G, open face G -->
-<!ENTITY Hopf "&#x1D53F;" ><!--/Bbb H, open face H -->
-<!ENTITY Iopf "&#x1D540;" ><!--/Bbb I, open face I -->
-<!ENTITY Jopf "&#x1D541;" ><!--/Bbb J, open face J -->
-<!ENTITY Kopf "&#x1D542;" ><!--/Bbb K, open face K -->
-<!ENTITY Lopf "&#x1D543;" ><!--/Bbb L, open face L -->
-<!ENTITY Mopf "&#x1D544;" ><!--/Bbb M, open face M -->
-<!ENTITY Nopf "&#x1D545;" ><!--/Bbb N, open face N -->
-<!ENTITY Oopf "&#x1D546;" ><!--/Bbb O, open face O -->
-<!ENTITY Popf "&#x1D547;" ><!--/Bbb P, open face P -->
-<!ENTITY Qopf "&#x1D548;" ><!--/Bbb Q, open face Q -->
-<!ENTITY Ropf "&#x1D549;" ><!--/Bbb R, open face R -->
-<!ENTITY Sopf "&#x1D54A;" ><!--/Bbb S, open face S -->
-<!ENTITY Topf "&#x1D54B;" ><!--/Bbb T, open face T -->
-<!ENTITY Uopf "&#x1D54C;" ><!--/Bbb U, open face U -->
-<!ENTITY Vopf "&#x1D54D;" ><!--/Bbb V, open face V -->
-<!ENTITY Wopf "&#x1D54E;" ><!--/Bbb W, open face W -->
-<!ENTITY Xopf "&#x1D54F;" ><!--/Bbb X, open face X -->
-<!ENTITY Yopf "&#x1D550;" ><!--/Bbb Y, open face Y -->
-<!ENTITY Zopf "&#x1D551;" ><!--/Bbb Z, open face Z -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isomscr.ent b/docs/docbook/xslt/db2latex/mathml/ent/isomscr.ent
deleted file mode 100644
index a1bb39c36c..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isomscr.ent
+++ /dev/null
@@ -1,79 +0,0 @@
-
-<!--
- File isomscr.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY ascr "&#x1D4B6;" ><!--/scr a, script letter a -->
-<!ENTITY Ascr "&#x1D49C;" ><!--/scr A, script letter A -->
-<!ENTITY bscr "&#x1D4B7;" ><!--/scr b, script letter b -->
-<!ENTITY Bscr "&#x1D49D;" ><!--/scr B, script letter B -->
-<!ENTITY cscr "&#x1D4B8;" ><!--/scr c, script letter c -->
-<!ENTITY Cscr "&#x1D49E;" ><!--/scr C, script letter C -->
-<!ENTITY dscr "&#x1D4B9;" ><!--/scr d, script letter d -->
-<!ENTITY Dscr "&#x1D49F;" ><!--/scr D, script letter D -->
-<!ENTITY escr "&#x1D4BA;" ><!--/scr e, script letter e -->
-<!ENTITY Escr "&#x1D4A0;" ><!--/scr E, script letter E -->
-<!ENTITY fscr "&#x1D4BB;" ><!--/scr f, script letter f -->
-<!ENTITY Fscr "&#x1D4A1;" ><!--/scr F, script letter F -->
-<!ENTITY gscr "&#x1D4BC;" ><!--/scr g, script letter g -->
-<!ENTITY Gscr "&#x1D4A2;" ><!--/scr G, script letter G -->
-<!ENTITY hscr "&#x1D4BD;" ><!--/scr h, script letter h -->
-<!ENTITY Hscr "&#x1D4A3;" ><!--/scr H, script letter H -->
-<!ENTITY iscr "&#x1D4BE;" ><!--/scr i, script letter i -->
-<!ENTITY Iscr "&#x1D4A4;" ><!--/scr I, script letter I -->
-<!ENTITY jscr "&#x1D4BF;" ><!--/scr j, script letter j -->
-<!ENTITY Jscr "&#x1D4A5;" ><!--/scr J, script letter J -->
-<!ENTITY kscr "&#x1D4C0;" ><!--/scr k, script letter k -->
-<!ENTITY Kscr "&#x1D4A6;" ><!--/scr K, script letter K -->
-<!ENTITY lscr "&#x1D4C1;" ><!--/scr l, script letter l -->
-<!ENTITY Lscr "&#x1D4A7;" ><!--/scr L, script letter L -->
-<!ENTITY mscr "&#x1D4C2;" ><!--/scr m, script letter m -->
-<!ENTITY Mscr "&#x1D4A8;" ><!--/scr M, script letter M -->
-<!ENTITY nscr "&#x1D4C3;" ><!--/scr n, script letter n -->
-<!ENTITY Nscr "&#x1D4A9;" ><!--/scr N, script letter N -->
-<!ENTITY oscr "&#x1D4C4;" ><!--/scr o, script letter o -->
-<!ENTITY Oscr "&#x1D4AA;" ><!--/scr O, script letter O -->
-<!ENTITY pscr "&#x1D4C5;" ><!--/scr p, script letter p -->
-<!ENTITY Pscr "&#x1D4AB;" ><!--/scr P, script letter P -->
-<!ENTITY qscr "&#x1D4C6;" ><!--/scr q, script letter q -->
-<!ENTITY Qscr "&#x1D4AC;" ><!--/scr Q, script letter Q -->
-<!ENTITY rscr "&#x1D4C7;" ><!--/scr r, script letter r -->
-<!ENTITY Rscr "&#x1D4AD;" ><!--/scr R, script letter R -->
-<!ENTITY sscr "&#x1D4C8;" ><!--/scr s, script letter s -->
-<!ENTITY Sscr "&#x1D4AE;" ><!--/scr S, script letter S -->
-<!ENTITY tscr "&#x1D4C9;" ><!--/scr t, script letter t -->
-<!ENTITY Tscr "&#x1D4AF;" ><!--/scr T, script letter T -->
-<!ENTITY uscr "&#x1D4CA;" ><!--/scr u, script letter u -->
-<!ENTITY Uscr "&#x1D4B0;" ><!--/scr U, script letter U -->
-<!ENTITY vscr "&#x1D4CB;" ><!--/scr v, script letter v -->
-<!ENTITY Vscr "&#x1D4B1;" ><!--/scr V, script letter V -->
-<!ENTITY wscr "&#x1D4CC;" ><!--/scr w, script letter w -->
-<!ENTITY Wscr "&#x1D4B2;" ><!--/scr W, script letter W -->
-<!ENTITY xscr "&#x1D4CD;" ><!--/scr x, script letter x -->
-<!ENTITY Xscr "&#x1D4B3;" ><!--/scr X, script letter X -->
-<!ENTITY yscr "&#x1D4CE;" ><!--/scr y, script letter y -->
-<!ENTITY Yscr "&#x1D4B4;" ><!--/scr Y, script letter Y -->
-<!ENTITY zscr "&#x1D4CF;" ><!--/scr z, script letter z -->
-<!ENTITY Zscr "&#x1D4B5;" ><!--/scr Z, script letter Z -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isonum.ent b/docs/docbook/xslt/db2latex/mathml/ent/isonum.ent
deleted file mode 100644
index e5a7002fb4..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isonum.ent
+++ /dev/null
@@ -1,103 +0,0 @@
-
-<!--
- File isonum.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY amp "&#x26;&#x00026;" ><!--=ampersand -->
-<!ENTITY apos "&#x00027;" ><!--=apostrophe -->
-<!ENTITY ast "&#x0002A;" ><!--/ast B: =asterisk -->
-<!ENTITY brvbar "&#x000A6;" ><!--=broken (vertical) bar -->
-<!ENTITY bsol "&#x0005C;" ><!--/backslash =reverse solidus -->
-<!ENTITY cent "&#x000A2;" ><!--=cent sign -->
-<!ENTITY colon "&#x0003A;" ><!--/colon P: -->
-<!ENTITY comma "&#x0002C;" ><!--P: =comma -->
-<!ENTITY commat "&#x00040;" ><!--=commercial at -->
-<!ENTITY copy "&#x000A9;" ><!--=copyright sign -->
-<!ENTITY curren "&#x000A4;" ><!--=general currency sign -->
-<!ENTITY darr "&#x02193;" ><!--/downarrow A: =downward arrow -->
-<!ENTITY deg "&#x000B0;" ><!--=degree sign -->
-<!ENTITY divide "&#x000F7;" ><!--/div B: =divide sign -->
-<!ENTITY dollar "&#x00024;" ><!--=dollar sign -->
-<!ENTITY equals "&#x0003D;" ><!--=equals sign R: -->
-<!ENTITY excl "&#x00021;" ><!--=exclamation mark -->
-<!ENTITY frac12 "&#x000BD;" ><!--=fraction one-half -->
-<!ENTITY frac14 "&#x000BC;" ><!--=fraction one-quarter -->
-<!ENTITY frac18 "&#x0215B;" ><!--=fraction one-eighth -->
-<!ENTITY frac34 "&#x000BE;" ><!--=fraction three-quarters -->
-<!ENTITY frac38 "&#x0215C;" ><!--=fraction three-eighths -->
-<!ENTITY frac58 "&#x0215D;" ><!--=fraction five-eighths -->
-<!ENTITY frac78 "&#x0215E;" ><!--=fraction seven-eighths -->
-<!ENTITY gt "&#x0003E;" ><!--=greater-than sign R: -->
-<!ENTITY half "&#x000BD;" ><!--=fraction one-half -->
-<!ENTITY horbar "&#x02015;" ><!--=horizontal bar -->
-<!ENTITY hyphen "&#x02010;" ><!--=hyphen -->
-<!ENTITY iexcl "&#x000A1;" ><!--=inverted exclamation mark -->
-<!ENTITY iquest "&#x000BF;" ><!--=inverted question mark -->
-<!ENTITY laquo "&#x000AB;" ><!--=angle quotation mark, left -->
-<!ENTITY larr "&#x02190;" ><!--/leftarrow /gets A: =leftward arrow -->
-<!ENTITY lcub "&#x0007B;" ><!--/lbrace O: =left curly bracket -->
-<!ENTITY ldquo "&#x0201C;" ><!--=double quotation mark, left -->
-<!ENTITY lowbar "&#x0005F;" ><!--=low line -->
-<!ENTITY lpar "&#x00028;" ><!--O: =left parenthesis -->
-<!ENTITY lsqb "&#x0005B;" ><!--/lbrack O: =left square bracket -->
-<!ENTITY lsquo "&#x02018;" ><!--=single quotation mark, left -->
-<!ENTITY lt "&#x26;&#x0003C;" ><!--=less-than sign R: -->
-<!ENTITY micro "&#x000B5;" ><!--=micro sign -->
-<!ENTITY middot "&#x000B7;" ><!--/centerdot B: =middle dot -->
-<!ENTITY nbsp "&#x000A0;" ><!--=no break (required) space -->
-<!ENTITY not "&#x000AC;" ><!--/neg /lnot =not sign -->
-<!ENTITY num "&#x00023;" ><!--=number sign -->
-<!ENTITY ohm "&#x02126;" ><!--=ohm sign -->
-<!ENTITY ordf "&#x000AA;" ><!--=ordinal indicator, feminine -->
-<!ENTITY ordm "&#x000BA;" ><!--=ordinal indicator, masculine -->
-<!ENTITY para "&#x000B6;" ><!--=pilcrow (paragraph sign) -->
-<!ENTITY percnt "&#x00025;" ><!--=percent sign -->
-<!ENTITY period "&#x0002E;" ><!--=full stop, period -->
-<!ENTITY plus "&#x0002B;" ><!--=plus sign B: -->
-<!ENTITY plusmn "&#x000B1;" ><!--/pm B: =plus-or-minus sign -->
-<!ENTITY pound "&#x000A3;" ><!--=pound sign -->
-<!ENTITY quest "&#x0003F;" ><!--=question mark -->
-<!ENTITY quot "&#x00022;" ><!--=quotation mark -->
-<!ENTITY raquo "&#x000BB;" ><!--=angle quotation mark, right -->
-<!ENTITY rarr "&#x02192;" ><!--/rightarrow /to A: =rightward arrow -->
-<!ENTITY rcub "&#x0007D;" ><!--/rbrace C: =right curly bracket -->
-<!ENTITY rdquo "&#x0201D;" ><!--=double quotation mark, right -->
-<!ENTITY reg "&#x000AE;" ><!--/circledR =registered sign -->
-<!ENTITY rpar "&#x00029;" ><!--C: =right parenthesis -->
-<!ENTITY rsqb "&#x0005D;" ><!--/rbrack C: =right square bracket -->
-<!ENTITY rsquo "&#x02019;" ><!--=single quotation mark, right -->
-<!ENTITY sect "&#x000A7;" ><!--=section sign -->
-<!ENTITY semi "&#x0003B;" ><!--=semicolon P: -->
-<!ENTITY shy "&#x000AD;" ><!--=soft hyphen -->
-<!ENTITY sol "&#x0002F;" ><!--=solidus -->
-<!ENTITY sung "&#x0266A;" ><!--=music note (sung text sign) -->
-<!ENTITY sup1 "&#x000B9;" ><!--=superscript one -->
-<!ENTITY sup2 "&#x000B2;" ><!--=superscript two -->
-<!ENTITY sup3 "&#x000B3;" ><!--=superscript three -->
-<!ENTITY times "&#x000D7;" ><!--/times B: =multiply sign -->
-<!ENTITY trade "&#x02122;" ><!--=trade mark sign -->
-<!ENTITY uarr "&#x02191;" ><!--/uparrow A: =upward arrow -->
-<!ENTITY verbar "&#x0007C;" ><!--/vert =vertical bar -->
-<!ENTITY yen "&#x000A5;" ><!--/yen =yen sign -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isopub.ent b/docs/docbook/xslt/db2latex/mathml/ent/isopub.ent
deleted file mode 100644
index 5591fc390e..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isopub.ent
+++ /dev/null
@@ -1,111 +0,0 @@
-
-<!--
- File isopub.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY blank "&#x02423;" ><!--=significant blank symbol -->
-<!ENTITY blk12 "&#x02592;" ><!--=50% shaded block -->
-<!ENTITY blk14 "&#x02591;" ><!--=25% shaded block -->
-<!ENTITY blk34 "&#x02593;" ><!--=75% shaded block -->
-<!ENTITY block "&#x02588;" ><!--=full block -->
-<!ENTITY bull "&#x02022;" ><!--/bullet B: =round bullet, filled -->
-<!ENTITY caret "&#x02041;" ><!--=caret (insertion mark) -->
-<!ENTITY check "&#x02713;" ><!--/checkmark =tick, check mark -->
-<!ENTITY cir "&#x025CB;" ><!--/circ B: =circle, open -->
-<!ENTITY clubs "&#x02663;" ><!--/clubsuit =club suit symbol -->
-<!ENTITY copysr "&#x02117;" ><!--=sound recording copyright sign -->
-<!ENTITY cross "&#x02717;" ><!--=ballot cross -->
-<!ENTITY dagger "&#x02020;" ><!--/dagger B: =dagger -->
-<!ENTITY Dagger "&#x02021;" ><!--/ddagger B: =double dagger -->
-<!ENTITY dash "&#x02010;" ><!--=hyphen (true graphic) -->
-<!ENTITY diams "&#x02666;" ><!--/diamondsuit =diamond suit symbol -->
-<!ENTITY dlcrop "&#x0230D;" ><!--downward left crop mark -->
-<!ENTITY drcrop "&#x0230C;" ><!--downward right crop mark -->
-<!ENTITY dtri "&#x025BF;" ><!--/triangledown =down triangle, open -->
-<!ENTITY dtrif "&#x025BE;" ><!--/blacktriangledown =dn tri, filled -->
-<!ENTITY emsp "&#x02003;" ><!--=em space -->
-<!ENTITY emsp13 "&#x02004;" ><!--=1/3-em space -->
-<!ENTITY emsp14 "&#x02005;" ><!--=1/4-em space -->
-<!ENTITY ensp "&#x02002;" ><!--=en space (1/2-em) -->
-<!ENTITY female "&#x02640;" ><!--=female symbol -->
-<!ENTITY ffilig "&#x0FB03;" ><!--small ffi ligature -->
-<!ENTITY fflig "&#x0FB00;" ><!--small ff ligature -->
-<!ENTITY ffllig "&#x0FB04;" ><!--small ffl ligature -->
-<!ENTITY filig "&#x0FB01;" ><!--small fi ligature -->
-<!ENTITY flat "&#x0266D;" ><!--/flat =musical flat -->
-<!ENTITY fllig "&#x0FB02;" ><!--small fl ligature -->
-<!ENTITY frac13 "&#x02153;" ><!--=fraction one-third -->
-<!ENTITY frac15 "&#x02155;" ><!--=fraction one-fifth -->
-<!ENTITY frac16 "&#x02159;" ><!--=fraction one-sixth -->
-<!ENTITY frac23 "&#x02154;" ><!--=fraction two-thirds -->
-<!ENTITY frac25 "&#x02156;" ><!--=fraction two-fifths -->
-<!ENTITY frac35 "&#x02157;" ><!--=fraction three-fifths -->
-<!ENTITY frac45 "&#x02158;" ><!--=fraction four-fifths -->
-<!ENTITY frac56 "&#x0215A;" ><!--=fraction five-sixths -->
-<!ENTITY hairsp "&#x0200A;" ><!--=hair space -->
-<!ENTITY hearts "&#x02661;" ><!--/heartsuit =heart suit symbol -->
-<!ENTITY hellip "&#x02026;" ><!--=ellipsis (horizontal) -->
-<!ENTITY hybull "&#x02043;" ><!--rectangle, filled (hyphen bullet) -->
-<!ENTITY incare "&#x02105;" ><!--=in-care-of symbol -->
-<!ENTITY ldquor "&#x0201E;" ><!--=rising dbl quote, left (low) -->
-<!ENTITY lhblk "&#x02584;" ><!--=lower half block -->
-<!ENTITY loz "&#x025CA;" ><!--/lozenge - lozenge or total mark -->
-<!ENTITY lozf "&#x029EB;" ><!--/blacklozenge - lozenge, filled -->
-<!ENTITY lsquor "&#x0201A;" ><!--=rising single quote, left (low) -->
-<!ENTITY ltri "&#x025C3;" ><!--/triangleleft B: l triangle, open -->
-<!ENTITY ltrif "&#x025C2;" ><!--/blacktriangleleft R: =l tri, filled -->
-<!ENTITY male "&#x02642;" ><!--=male symbol -->
-<!ENTITY malt "&#x02720;" ><!--/maltese =maltese cross -->
-<!ENTITY marker "&#x025AE;" ><!--=histogram marker -->
-<!ENTITY mdash "&#x02014;" ><!--=em dash -->
-<!ENTITY mldr "&#x02026;" ><!--em leader -->
-<!ENTITY natur "&#x0266E;" ><!--/natural - music natural -->
-<!ENTITY ndash "&#x02013;" ><!--=en dash -->
-<!ENTITY nldr "&#x02025;" ><!--=double baseline dot (en leader) -->
-<!ENTITY numsp "&#x02007;" ><!--=digit space (width of a number) -->
-<!ENTITY phone "&#x0260E;" ><!--=telephone symbol -->
-<!ENTITY puncsp "&#x02008;" ><!--=punctuation space (width of comma) -->
-<!ENTITY rdquor "&#x0201D;" ><!--rising dbl quote, right (high) -->
-<!ENTITY rect "&#x025AD;" ><!--=rectangle, open -->
-<!ENTITY rsquor "&#x02019;" ><!--rising single quote, right (high) -->
-<!ENTITY rtri "&#x025B9;" ><!--/triangleright B: r triangle, open -->
-<!ENTITY rtrif "&#x025B8;" ><!--/blacktriangleright R: =r tri, filled -->
-<!ENTITY rx "&#x0211E;" ><!--pharmaceutical prescription (Rx) -->
-<!ENTITY sext "&#x02736;" ><!--sextile (6-pointed star) -->
-<!ENTITY sharp "&#x0266F;" ><!--/sharp =musical sharp -->
-<!ENTITY spades "&#x02660;" ><!--/spadesuit =spades suit symbol -->
-<!ENTITY squ "&#x025A1;" ><!--=square, open -->
-<!ENTITY squf "&#x025AA;" ><!--/blacksquare =sq bullet, filled -->
-<!ENTITY star "&#x022C6;" ><!--=star, open -->
-<!ENTITY starf "&#x02605;" ><!--/bigstar - star, filled -->
-<!ENTITY target "&#x02316;" ><!--register mark or target -->
-<!ENTITY telrec "&#x02315;" ><!--=telephone recorder symbol -->
-<!ENTITY thinsp "&#x02009;" ><!--=thin space (1/6-em) -->
-<!ENTITY uhblk "&#x02580;" ><!--=upper half block -->
-<!ENTITY ulcrop "&#x0230F;" ><!--upward left crop mark -->
-<!ENTITY urcrop "&#x0230E;" ><!--upward right crop mark -->
-<!ENTITY utri "&#x025B5;" ><!--/triangle =up triangle, open -->
-<!ENTITY utrif "&#x025B4;" ><!--/blacktriangle =up tri, filled -->
-<!ENTITY vellip "&#x022EE;" ><!--vertical ellipsis -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isotech.ent b/docs/docbook/xslt/db2latex/mathml/ent/isotech.ent
deleted file mode 100644
index dc1fc01354..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/isotech.ent
+++ /dev/null
@@ -1,183 +0,0 @@
-
-<!--
- File isotech.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
- Entity names in this file are derived from files carrying the
- following notice:
-
- (C) International Organization for Standardization 1991
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
-
--->
-
-<!ENTITY acd "&#x0223F;" ><!--ac current -->
-<!ENTITY aleph "&#x02135;" ><!--/aleph aleph, Hebrew -->
-<!ENTITY and "&#x02227;" ><!--/wedge /land B: logical and -->
-<!ENTITY And "&#x02A53;" ><!--dbl logical and -->
-<!ENTITY andand "&#x02A55;" ><!--two logical and -->
-<!ENTITY andd "&#x02A5C;" ><!--and, horizontal dash -->
-<!ENTITY andslope "&#x02A58;" ><!--sloping large and -->
-<!ENTITY andv "&#x02A5A;" ><!--and with middle stem -->
-<!ENTITY angrt "&#x0221F;" ><!--right (90 degree) angle -->
-<!ENTITY angsph "&#x02222;" ><!--/sphericalangle angle-spherical -->
-<!ENTITY angst "&#x0212B;" ><!--Angstrom capital A, ring -->
-<!ENTITY ap "&#x02248;" ><!--/approx R: approximate -->
-<!ENTITY apacir "&#x02A6F;" ><!--approximate, circumflex accent -->
-<!ENTITY awconint "&#x02233;" ><!--contour integral, anti-clockwise -->
-<!ENTITY awint "&#x02A11;" ><!--anti clock-wise integration -->
-<!ENTITY becaus "&#x02235;" ><!--/because R: because -->
-<!ENTITY bernou "&#x0212C;" ><!--Bernoulli function (script capital B) -->
-<!ENTITY bne "&#x0003D;&#x020E5;" ><!--reverse not equal -->
-<!ENTITY bnequiv "&#x02261;&#x020E5;" ><!--reverse not equivalent -->
-<!ENTITY bnot "&#x02310;" ><!--reverse not -->
-<!ENTITY bNot "&#x02AED;" ><!--reverse not with two horizontal strokes -->
-<!ENTITY bottom "&#x022A5;" ><!--/bot bottom -->
-<!ENTITY cap "&#x02229;" ><!--/cap B: intersection -->
-<!ENTITY Cconint "&#x02230;" ><!--triple contour integral operator -->
-<!ENTITY cirfnint "&#x02A10;" ><!--circulation function -->
-<!ENTITY compfn "&#x02218;" ><!--/circ B: composite function (small circle) -->
-<!ENTITY cong "&#x02245;" ><!--/cong R: congruent with -->
-<!ENTITY conint "&#x0222E;" ><!--/oint L: contour integral operator -->
-<!ENTITY Conint "&#x0222F;" ><!--double contour integral operator -->
-<!ENTITY ctdot "&#x022EF;" ><!--/cdots, three dots, centered -->
-<!ENTITY cup "&#x0222A;" ><!--/cup B: union or logical sum -->
-<!ENTITY cwconint "&#x02232;" ><!--contour integral, clockwise -->
-<!ENTITY cwint "&#x02231;" ><!--clockwise integral -->
-<!ENTITY cylcty "&#x0232D;" ><!--cylindricity -->
-<!ENTITY disin "&#x022F2;" ><!--set membership, long horizontal stroke -->
-<!ENTITY Dot "&#x000A8;" ><!--dieresis or umlaut mark -->
-<!ENTITY DotDot "&#x020DC;" ><!--four dots above -->
-<!ENTITY dsol "&#x02052;" ><!--solidus, bar above -->
-<!ENTITY dtdot "&#x022F1;" ><!--/ddots, three dots, descending -->
-<!ENTITY dwangle "&#x029A6;" ><!--large downward pointing angle -->
-<!ENTITY epar "&#x022D5;" ><!--parallel, equal; equal or parallel -->
-<!ENTITY eparsl "&#x029E3;" ><!--parallel, slanted, equal; homothetically congruent to -->
-<!ENTITY equiv "&#x02261;" ><!--/equiv R: identical with -->
-<!ENTITY eqvparsl "&#x029E5;" ><!--equivalent, equal; congruent and parallel -->
-<!ENTITY exist "&#x02203;" ><!--/exists at least one exists -->
-<!ENTITY fnof "&#x00192;" ><!--function of (italic small f) -->
-<!ENTITY forall "&#x02200;" ><!--/forall for all -->
-<!ENTITY fpartint "&#x02A0D;" ><!--finite part integral -->
-<!ENTITY ge "&#x02265;" ><!--/geq /ge R: greater-than-or-equal -->
-<!ENTITY hamilt "&#x0210B;" ><!--Hamiltonian (script capital H) -->
-<!ENTITY iff "&#x021D4;" ><!--/iff if and only if -->
-<!ENTITY iinfin "&#x029DC;" ><!--infinity sign, incomplete -->
-<!ENTITY imped "&#x1D543;" ><!--impedance -->
-<!ENTITY infin "&#x0221E;" ><!--/infty infinity -->
-<!ENTITY int "&#x0222B;" ><!--/int L: integral operator -->
-<!ENTITY Int "&#x0222C;" ><!--double integral operator -->
-<!ENTITY intlarhk "&#x02A17;" ><!--integral, left arrow with hook -->
-<!ENTITY isin "&#x02208;" ><!--/in R: set membership -->
-<!ENTITY isindot "&#x022F5;" ><!--set membership, dot above -->
-<!ENTITY isinE "&#x022F9;" ><!--set membership, two horizontal strokes -->
-<!ENTITY isins "&#x022F4;" ><!--set membership, vertical bar on horizontal stroke -->
-<!ENTITY isinsv "&#x022F3;" ><!--large set membership, vertical bar on horizontal stroke -->
-<!ENTITY isinv "&#x02208;" ><!--set membership, variant -->
-<!ENTITY lagran "&#x02112;" ><!--Lagrangian (script capital L) -->
-<!ENTITY lang "&#x03008;" ><!--/langle O: left angle bracket -->
-<!ENTITY Lang "&#x0300A;" ><!--left angle bracket, double -->
-<!ENTITY lArr "&#x021D0;" ><!--/Leftarrow A: is implied by -->
-<!ENTITY lbbrk "&#x03014;" ><!--left broken bracket -->
-<!ENTITY le "&#x02264;" ><!--/leq /le R: less-than-or-equal -->
-<!ENTITY loang "&#x03018;" ><!--left open angular bracket -->
-<!ENTITY lobrk "&#x0301A;" ><!--left open bracket -->
-<!ENTITY lopar "&#x02985;" ><!--left open parenthesis -->
-<!ENTITY lowast "&#x02217;" ><!--low asterisk -->
-<!ENTITY minus "&#x02212;" ><!--B: minus sign -->
-<!ENTITY mnplus "&#x02213;" ><!--/mp B: minus-or-plus sign -->
-<!ENTITY nabla "&#x02207;" ><!--/nabla del, Hamilton operator -->
-<!ENTITY ne "&#x02260;" ><!--/ne /neq R: not equal -->
-<!ENTITY nedot "&#x02260;&#x02063;" ><!--not equal, dot -->
-<!ENTITY nhpar "&#x02AF2;" ><!--not, horizontal, parallel -->
-<!ENTITY ni "&#x0220B;" ><!--/ni /owns R: contains -->
-<!ENTITY nis "&#x022FC;" ><!--contains, vertical bar on horizontal stroke -->
-<!ENTITY nisd "&#x022FA;" ><!--contains, long horizontal stroke -->
-<!ENTITY niv "&#x0220B;" ><!--contains, variant -->
-<!ENTITY Not "&#x02AEC;" ><!--not with two horizontal strokes -->
-<!ENTITY notin "&#x02209;" ><!--/notin N: negated set membership -->
-<!ENTITY notindot "&#x022F6;&#x02063;" ><!--negated set membership, dot above -->
-<!ENTITY notinva "&#x02209;&#x00338;" ><!--negated set membership, variant -->
-<!ENTITY notinvb "&#x022F7;" ><!--negated set membership, variant -->
-<!ENTITY notinvc "&#x022F6;" ><!--negated set membership, variant -->
-<!ENTITY notni "&#x0220C;" ><!--negated contains -->
-<!ENTITY notniva "&#x0220C;" ><!--negated contains, variant -->
-<!ENTITY notnivb "&#x022FE;" ><!--contains, variant -->
-<!ENTITY notnivc "&#x022FD;" ><!--contains, variant -->
-<!ENTITY nparsl "&#x02225;&#x02063;&#x020E5;" ><!--not parallel, slanted -->
-<!ENTITY npart "&#x02202;&#x00338;" ><!--not partial differential -->
-<!ENTITY npolint "&#x02A14;" ><!--line integration, not including the pole -->
-<!ENTITY nvinfin "&#x029DE;" ><!--not, vert, infinity -->
-<!ENTITY olcross "&#x029BB;" ><!--circle, cross -->
-<!ENTITY or "&#x02228;" ><!--/vee /lor B: logical or -->
-<!ENTITY Or "&#x02A54;" ><!--dbl logical or -->
-<!ENTITY ord "&#x02A5D;" ><!--or, horizontal dash -->
-<!ENTITY order "&#x02134;" ><!--order of (script small o) -->
-<!ENTITY oror "&#x02A56;" ><!--two logical or -->
-<!ENTITY orslope "&#x02A57;" ><!--sloping large or -->
-<!ENTITY orv "&#x02A5B;" ><!--or with middle stem -->
-<!ENTITY par "&#x02225;" ><!--/parallel R: parallel -->
-<!ENTITY parsl "&#x02225;&#x02063;" ><!--parallel, slanted -->
-<!ENTITY part "&#x02202;" ><!--/partial partial differential -->
-<!ENTITY permil "&#x02030;" ><!--per thousand -->
-<!ENTITY perp "&#x022A5;" ><!--/perp R: perpendicular -->
-<!ENTITY pertenk "&#x02031;" ><!--per 10 thousand -->
-<!ENTITY phmmat "&#x02133;" ><!--physics M-matrix (script capital M) -->
-<!ENTITY pointint "&#x02A15;" ><!--integral around a point operator -->
-<!ENTITY prime "&#x02032;" ><!--/prime prime or minute -->
-<!ENTITY Prime "&#x02033;" ><!--double prime or second -->
-<!ENTITY profalar "&#x0232E;" ><!--all-around profile -->
-<!ENTITY profline "&#x02312;" ><!--profile of a line -->
-<!ENTITY profsurf "&#x02313;" ><!--profile of a surface -->
-<!ENTITY prop "&#x0221D;" ><!--/propto R: is proportional to -->
-<!ENTITY qint "&#x02A0C;" ><!--/iiiint quadruple integral operator -->
-<!ENTITY qprime "&#x02057;" ><!--quadruple prime -->
-<!ENTITY quatint "&#x02A16;" ><!--quaternion integral operator -->
-<!ENTITY radic "&#x0221A;" ><!--/surd radical -->
-<!ENTITY rang "&#x03009;" ><!--/rangle C: right angle bracket -->
-<!ENTITY Rang "&#x0300B;" ><!--right angle bracket, double -->
-<!ENTITY rArr "&#x021D2;" ><!--/Rightarrow A: implies -->
-<!ENTITY rbbrk "&#x03015;" ><!--right broken bracket -->
-<!ENTITY roang "&#x03019;" ><!--right open angular bracket -->
-<!ENTITY robrk "&#x0301B;" ><!--right open bracket -->
-<!ENTITY ropar "&#x02986;" ><!--right open parenthesis -->
-<!ENTITY rppolint "&#x02A12;" ><!--line integration, rectangular path around pole -->
-<!ENTITY scpolint "&#x02A13;" ><!--line integration, semi-circular path around pole -->
-<!ENTITY sim "&#x0223C;" ><!--/sim R: similar -->
-<!ENTITY simdot "&#x02A6A;" ><!--similar, dot -->
-<!ENTITY sime "&#x02243;" ><!--/simeq R: similar, equals -->
-<!ENTITY smeparsl "&#x029E4;" ><!--similar, parallel, slanted, equal -->
-<!ENTITY square "&#x025A1;" ><!--/square, square -->
-<!ENTITY squarf "&#x025AA;" ><!--/blacksquare, square, filled -->
-<!ENTITY sub "&#x02282;" ><!--/subset R: subset or is implied by -->
-<!ENTITY sube "&#x02286;" ><!--/subseteq R: subset, equals -->
-<!ENTITY sup "&#x02283;" ><!--/supset R: superset or implies -->
-<!ENTITY supe "&#x02287;" ><!--/supseteq R: superset, equals -->
-<!ENTITY tdot "&#x020DB;" ><!--three dots above -->
-<!ENTITY there4 "&#x02234;" ><!--/therefore R: therefore -->
-<!ENTITY tint "&#x0222D;" ><!--/iiint triple integral operator -->
-<!ENTITY top "&#x022A4;" ><!--/top top -->
-<!ENTITY topbot "&#x02336;" ><!--top and bottom -->
-<!ENTITY topcir "&#x02AF1;" ><!--top, circle below -->
-<!ENTITY tprime "&#x02034;" ><!--triple prime -->
-<!ENTITY utdot "&#x022F0;" ><!--three dots, ascending -->
-<!ENTITY uwangle "&#x029A7;" ><!--large upward pointing angle -->
-<!ENTITY vangrt "&#x022BE;" ><!--right angle, variant -->
-<!ENTITY veeeq "&#x0225A;" ><!--logical or, equals -->
-<!ENTITY Verbar "&#x02016;" ><!--/Vert dbl vertical bar -->
-<!ENTITY wedgeq "&#x02259;" ><!--/wedgeq R: corresponds to (wedge, equals) -->
-<!ENTITY xnis "&#x022FB;" ><!--large contains, vertical bar on horizontal stroke -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/mmlalias.ent b/docs/docbook/xslt/db2latex/mathml/ent/mmlalias.ent
deleted file mode 100644
index f5901b3846..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/mmlalias.ent
+++ /dev/null
@@ -1,529 +0,0 @@
-
-<!--
- File mmlalias.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
--->
-
-<!ENTITY angle "&#x02220;" ><!--alias ISOAMSO ang -->
-<!ENTITY approx "&#x02248;" ><!--alias ISOTECH ap -->
-<!ENTITY approxeq "&#x0224A;" ><!--alias ISOAMSR ape -->
-<!ENTITY backcong "&#x0224C;" ><!--alias ISOAMSR bcong -->
-<!ENTITY backepsilon "&#x0213C;" ><!--alias ISOAMSR bepsi -->
-<!ENTITY backprime "&#x02035;" ><!--alias ISOAMSO bprime -->
-<!ENTITY backsim "&#x0223D;" ><!--alias ISOAMSR bsim -->
-<!ENTITY backsimeq "&#x022CD;" ><!--alias ISOAMSR bsime -->
-<!ENTITY Backslash "&#x02216;" ><!--alias ISOAMSB setmn -->
-<!ENTITY barwedge "&#x022BC;" ><!--alias ISOAMSB barwed -->
-<!ENTITY because "&#x02235;" ><!--alias ISOTECH becaus -->
-<!ENTITY Because "&#x02235;" ><!--alias ISOTECH becaus -->
-<!ENTITY Bernoullis "&#x0212C;" ><!--alias ISOTECH bernou -->
-<!ENTITY between "&#x0226C;" ><!--alias ISOAMSR twixt -->
-<!ENTITY bigcap "&#x022C2;" ><!--alias ISOAMSB xcap -->
-<!ENTITY bigcirc "&#x025EF;" ><!--alias ISOAMSB xcirc -->
-<!ENTITY bigcup "&#x022C3;" ><!--alias ISOAMSB xcup -->
-<!ENTITY bigodot "&#x02299;" ><!--alias ISOAMSB xodot -->
-<!ENTITY bigoplus "&#x02295;" ><!--alias ISOAMSB xoplus -->
-<!ENTITY bigotimes "&#x02297;" ><!--alias ISOAMSB xotime -->
-<!ENTITY bigsqcup "&#x02294;" ><!--alias ISOAMSB xsqcup -->
-<!ENTITY bigstar "&#x02605;" ><!--ISOPUB starf -->
-<!ENTITY bigtriangledown "&#x025BD;" ><!--alias ISOAMSB xdtri -->
-<!ENTITY bigtriangleup "&#x025B3;" ><!--alias ISOAMSB xutri -->
-<!ENTITY biguplus "&#x0228E;" ><!--alias ISOAMSB xuplus -->
-<!ENTITY bigvee "&#x022C1;" ><!--alias ISOAMSB xvee -->
-<!ENTITY bigwedge "&#x022C0;" ><!--alias ISOAMSB xwedge -->
-<!ENTITY bkarow "&#x0290D;" ><!--alias ISOAMSA rbarr -->
-<!ENTITY blacklozenge "&#x029EB;" ><!--alias ISOPUB lozf -->
-<!ENTITY blacksquare "&#x025AA;" ><!--ISOTECH squarf -->
-<!ENTITY blacktriangle "&#x025B4;" ><!--alias ISOPUB utrif -->
-<!ENTITY blacktriangledown "&#x025BE;" ><!--alias ISOPUB dtrif -->
-<!ENTITY blacktriangleleft "&#x025C2;" ><!--alias ISOPUB ltrif -->
-<!ENTITY blacktriangleright "&#x025B8;" ><!--alias ISOPUB rtrif -->
-<!ENTITY bot "&#x022A5;" ><!--alias ISOTECH bottom -->
-<!ENTITY boxminus "&#x0229F;" ><!--alias ISOAMSB minusb -->
-<!ENTITY boxplus "&#x0229E;" ><!--alias ISOAMSB plusb -->
-<!ENTITY boxtimes "&#x022A0;" ><!--alias ISOAMSB timesb -->
-<!ENTITY Breve "&#x002D8;" ><!--alias ISODIA breve -->
-<!ENTITY bullet "&#x02022;" ><!--alias ISOPUB bull -->
-<!ENTITY bumpeq "&#x0224F;" ><!--alias ISOAMSR bumpe -->
-<!ENTITY Bumpeq "&#x0224E;" ><!--alias ISOAMSR bump -->
-<!ENTITY Cedilla "&#x000B8;" ><!--alias ISODIA cedil -->
-<!ENTITY centerdot "&#x000B7;" ><!--alias ISONUM middot -->
-<!ENTITY CenterDot "&#x000B7;" ><!--alias ISONUM middot -->
-<!ENTITY checkmark "&#x02713;" ><!--alias ISOPUB check -->
-<!ENTITY circeq "&#x02257;" ><!--alias ISOAMSR cire -->
-<!ENTITY circlearrowleft "&#x021BA;" ><!--alias ISOAMSA olarr -->
-<!ENTITY circlearrowright "&#x021BB;" ><!--alias ISOAMSA orarr -->
-<!ENTITY circledast "&#x0229B;" ><!--alias ISOAMSB oast -->
-<!ENTITY circledcirc "&#x0229A;" ><!--alias ISOAMSB ocir -->
-<!ENTITY circleddash "&#x0229D;" ><!--alias ISOAMSB odash -->
-<!ENTITY CircleDot "&#x02299;" ><!--alias ISOAMSB odot -->
-<!ENTITY circledR "&#x000AE;" ><!--alias ISONUM reg -->
-<!ENTITY circledS "&#x024C8;" ><!--alias ISOAMSO oS -->
-<!ENTITY CircleMinus "&#x02296;" ><!--alias ISOAMSB ominus -->
-<!ENTITY CirclePlus "&#x02295;" ><!--alias ISOAMSB oplus -->
-<!ENTITY CircleTimes "&#x02297;" ><!--alias ISOAMSB otimes -->
-<!ENTITY ClockwiseContourIntegral "&#x02232;" ><!--alias ISOTECH cwconint -->
-<!ENTITY CloseCurlyDoubleQuote "&#x0201D;" ><!--alias ISONUM rdquo -->
-<!ENTITY CloseCurlyQuote "&#x02019;" ><!--alias ISONUM rsquo -->
-<!ENTITY clubsuit "&#x02663;" ><!--ISOPUB clubs -->
-<!ENTITY coloneq "&#x02254;" ><!--alias ISOAMSR colone -->
-<!ENTITY complement "&#x02201;" ><!--alias ISOAMSO comp -->
-<!ENTITY Congruent "&#x02261;" ><!--alias ISOTECH equiv -->
-<!ENTITY ContourIntegral "&#x0222E;" ><!--alias ISOTECH conint -->
-<!ENTITY Coproduct "&#x02210;" ><!--alias ISOAMSB coprod -->
-<!ENTITY CounterClockwiseContourIntegral "&#x02233;" ><!--alias ISOTECH awconint -->
-<!ENTITY CupCap "&#x0224D;" ><!--alias ISOAMSR asymp -->
-<!ENTITY curlyeqprec "&#x022DE;" ><!--alias ISOAMSR cuepr -->
-<!ENTITY curlyeqsucc "&#x022DF;" ><!--alias ISOAMSR cuesc -->
-<!ENTITY curlyvee "&#x022CE;" ><!--alias ISOAMSB cuvee -->
-<!ENTITY curlywedge "&#x022CF;" ><!--alias ISOAMSB cuwed -->
-<!ENTITY curvearrowleft "&#x021B6;" ><!--alias ISOAMSA cularr -->
-<!ENTITY curvearrowright "&#x021B7;" ><!--alias ISOAMSA curarr -->
-<!ENTITY dbkarow "&#x0290F;" ><!--alias ISOAMSA rBarr -->
-<!ENTITY ddagger "&#x02021;" ><!--alias ISOPUB Dagger -->
-<!ENTITY ddotseq "&#x02A77;" ><!--alias ISOAMSR eDDot -->
-<!ENTITY Del "&#x02207;" ><!--alias ISOTECH nabla -->
-<!ENTITY DiacriticalAcute "&#x000B4;" ><!--alias ISODIA acute -->
-<!ENTITY DiacriticalDot "&#x002D9;" ><!--alias ISODIA dot -->
-<!ENTITY DiacriticalDoubleAcute "&#x002DD;" ><!--alias ISODIA dblac -->
-<!ENTITY DiacriticalGrave "&#x00060;" ><!--alias ISODIA grave -->
-<!ENTITY DiacriticalTilde "&#x002DC;" ><!--alias ISODIA tilde -->
-<!ENTITY diamond "&#x022C4;" ><!--alias ISOAMSB diam -->
-<!ENTITY Diamond "&#x022C4;" ><!--alias ISOAMSB diam -->
-<!ENTITY diamondsuit "&#x02666;" ><!--ISOPUB diams -->
-<!ENTITY digamma "&#x003DC;" ><!--alias ISOGRK3 gammad -->
-<!ENTITY div "&#x000F7;" ><!--alias ISONUM divide -->
-<!ENTITY divideontimes "&#x022C7;" ><!--alias ISOAMSB divonx -->
-<!ENTITY doteq "&#x02250;" ><!--alias ISOAMSR esdot -->
-<!ENTITY doteqdot "&#x02251;" ><!--alias ISOAMSR eDot -->
-<!ENTITY DotEqual "&#x02250;" ><!--alias ISOAMSR esdot -->
-<!ENTITY dotminus "&#x02238;" ><!--alias ISOAMSB minusd -->
-<!ENTITY dotplus "&#x02214;" ><!--alias ISOAMSB plusdo -->
-<!ENTITY dotsquare "&#x022A1;" ><!--alias ISOAMSB sdotb -->
-<!ENTITY doublebarwedge "&#x02306;" ><!--alias ISOAMSB Barwed -->
-<!ENTITY DoubleContourIntegral "&#x0222F;" ><!--alias ISOTECH Conint -->
-<!ENTITY DoubleDot "&#x000A8;" ><!--alias ISODIA die -->
-<!ENTITY DoubleDownArrow "&#x021D3;" ><!--alias ISOAMSA dArr -->
-<!ENTITY DoubleLeftArrow "&#x021D0;" ><!--alias ISOTECH lArr -->
-<!ENTITY DoubleLeftRightArrow "&#x021D4;" ><!--alias ISOAMSA hArr -->
-<!ENTITY DoubleLeftTee "&#x02AE4;" ><!--alias for &Dashv; -->
-<!ENTITY DoubleLongLeftArrow "&#x021D0;" ><!--alias ISOAMSA xlArr -->
-<!ENTITY DoubleLongLeftRightArrow "&#x021D4;" ><!--alias ISOAMSA xhArr -->
-<!ENTITY DoubleLongRightArrow "&#x021D2;" ><!--alias ISOAMSA xrArr -->
-<!ENTITY DoubleRightArrow "&#x021D2;" ><!--alias ISOTECH rArr -->
-<!ENTITY DoubleRightTee "&#x022A8;" ><!--alias ISOAMSR vDash -->
-<!ENTITY DoubleUpArrow "&#x021D1;" ><!--alias ISOAMSA uArr -->
-<!ENTITY DoubleUpDownArrow "&#x021D5;" ><!--alias ISOAMSA vArr -->
-<!ENTITY DoubleVerticalBar "&#x02225;" ><!--alias ISOTECH par -->
-<!ENTITY downarrow "&#x02193;" ><!--alias ISONUM darr -->
-<!ENTITY Downarrow "&#x021D3;" ><!--alias ISOAMSA dArr -->
-<!ENTITY DownArrow "&#x02193;" ><!--alias ISONUM darr -->
-<!ENTITY DownArrowUpArrow "&#x021F5;" ><!--alias ISOAMSA duarr -->
-<!ENTITY downdownarrows "&#x021CA;" ><!--alias ISOAMSA ddarr -->
-<!ENTITY downharpoonleft "&#x021C3;" ><!--alias ISOAMSA dharl -->
-<!ENTITY downharpoonright "&#x021C2;" ><!--alias ISOAMSA dharr -->
-<!ENTITY DownLeftVector "&#x021BD;" ><!--alias ISOAMSA lhard -->
-<!ENTITY DownRightVector "&#x021C1;" ><!--alias ISOAMSA rhard -->
-<!ENTITY DownTee "&#x022A4;" ><!--alias ISOTECH top -->
-<!ENTITY drbkarow "&#x02910;" ><!--alias ISOAMSA RBarr -->
-<!ENTITY Element "&#x02208;" ><!--alias ISOTECH isinv -->
-<!ENTITY emptyset "&#x02205;&#x02063;" ><!--alias ISOAMSO empty -->
-<!ENTITY eqcirc "&#x02256;" ><!--alias ISOAMSR ecir -->
-<!ENTITY eqcolon "&#x02255;" ><!--alias ISOAMSR ecolon -->
-<!ENTITY eqsim "&#x02242;" ><!--alias ISOAMSR esim -->
-<!ENTITY eqslantgtr "&#x022DD;" ><!--alias ISOAMSR egs -->
-<!ENTITY eqslantless "&#x022DC;" ><!--alias ISOAMSR els -->
-<!ENTITY EqualTilde "&#x02242;" ><!--alias ISOAMSR esim -->
-<!ENTITY Equilibrium "&#x021CC;" ><!--alias ISOAMSA rlhar -->
-<!ENTITY Exists "&#x02203;" ><!--alias ISOTECH exist -->
-<!ENTITY fallingdotseq "&#x02252;" ><!--alias ISOAMSR efDot -->
-<!ENTITY ForAll "&#x02200;" ><!--alias ISOTECH forall -->
-<!ENTITY geq "&#x02265;" ><!--alias ISOTECH ge -->
-<!ENTITY geqq "&#x02267;" ><!--alias ISOAMSR gE -->
-<!ENTITY geqslant "&#x02A7E;" ><!--alias ISOAMSR ges -->
-<!ENTITY gg "&#x0226B;" ><!--alias ISOAMSR Gt -->
-<!ENTITY ggg "&#x022D9;" ><!--alias ISOAMSR Gg -->
-<!ENTITY gnapprox "&#x02A8A;" ><!--alias ISOAMSN gnap -->
-<!ENTITY gneq "&#x02269;" ><!--alias ISOAMSN gne -->
-<!ENTITY gneqq "&#x02269;" ><!--alias ISOAMSN gnE -->
-<!ENTITY GreaterEqual "&#x02265;" ><!--alias ISOTECH ge -->
-<!ENTITY GreaterEqualLess "&#x022DB;" ><!--alias ISOAMSR gel -->
-<!ENTITY GreaterFullEqual "&#x02267;" ><!--alias ISOAMSR gE -->
-<!ENTITY GreaterLess "&#x02277;" ><!--alias ISOAMSR gl -->
-<!ENTITY GreaterSlantEqual "&#x02A7E;" ><!--alias ISOAMSR ges -->
-<!ENTITY GreaterTilde "&#x02273;" ><!--alias ISOAMSR gsim -->
-<!ENTITY gtrapprox "&#x02273;" ><!--alias ISOAMSR gap -->
-<!ENTITY gtrdot "&#x022D7;" ><!--alias ISOAMSR gtdot -->
-<!ENTITY gtreqless "&#x022DB;" ><!--alias ISOAMSR gel -->
-<!ENTITY gtreqqless "&#x022DB;" ><!--alias ISOAMSR gEl -->
-<!ENTITY gtrless "&#x02277;" ><!--alias ISOAMSR gl -->
-<!ENTITY gtrsim "&#x02273;" ><!--alias ISOAMSR gsim -->
-<!ENTITY gvertneqq "&#x02269;&#x00338;" ><!--alias ISOAMSN gvnE -->
-<!ENTITY Hacek "&#x002C7;" ><!--alias ISODIA caron -->
-<!ENTITY Hat "&#x00302;" ><!--circumflex accent (circ in ISODIA) -->
-<!ENTITY hbar "&#x0210F;" ><!--alias ISOAMSO plank -->
-<!ENTITY heartsuit "&#x02661;" ><!--ISOPUB hearts -->
-<!ENTITY hksearow "&#x02925;" ><!--alias ISOAMSA searhk -->
-<!ENTITY hkswarow "&#x02926;" ><!--alias ISOAMSA swarhk -->
-<!ENTITY hookleftarrow "&#x021A9;" ><!--alias ISOAMSA larrhk -->
-<!ENTITY hookrightarrow "&#x021AA;" ><!--alias ISOAMSA rarrhk -->
-<!ENTITY hslash "&#x0210F;" ><!--alias ISOAMSO plankv -->
-<!ENTITY HumpDownHump "&#x0224E;" ><!--alias ISOAMSR bump -->
-<!ENTITY HumpEqual "&#x0224F;" ><!--alias ISOAMSR bumpe -->
-<!ENTITY iiiint "&#x02A0C;" ><!--alias ISOTECH qint -->
-<!ENTITY iiint "&#x0222D;" ><!--alias ISOTECH tint -->
-<!ENTITY Im "&#x02111;" ><!--alias ISOAMSO image -->
-<!ENTITY imagpart "&#x02111;" ><!--alias ISOAMSO image -->
-<!ENTITY Implies "&#x021D2;" ><!--alias ISOTECH rArr -->
-<!ENTITY in "&#x02208;" ><!--ISOTECH isin -->
-<!ENTITY Integral "&#x0222B;" ><!--alias ISOTECH int -->
-<!ENTITY intercal "&#x022BA;" ><!--alias ISOAMSB intcal -->
-<!ENTITY Intersection "&#x022C2;" ><!--alias ISOAMSB xcap -->
-<!ENTITY intprod "&#x02A3C;" ><!--alias ISOAMSB iprod -->
-<!ENTITY langle "&#x03008;" ><!--alias ISOTECH lang -->
-<!ENTITY lbrace "&#x0007B;" ><!--alias ISONUM lcub -->
-<!ENTITY lbrack "&#x0005B;" ><!--alias ISONUM lsqb -->
-<!ENTITY LeftAngleBracket "&#x03008;" ><!--alias ISOTECH lang -->
-<!ENTITY leftarrow "&#x02190;" ><!--alias ISONUM larr -->
-<!ENTITY Leftarrow "&#x021D0;" ><!--alias ISOTECH lArr -->
-<!ENTITY LeftArrow "&#x02190;" ><!--alias ISONUM larr -->
-<!ENTITY LeftArrowRightArrow "&#x021C6;" ><!--alias ISOAMSA lrarr -->
-<!ENTITY leftarrowtail "&#x021A2;" ><!--alias ISOAMSA larrtl -->
-<!ENTITY LeftCeiling "&#x02308;" ><!--alias ISOAMSC lceil -->
-<!ENTITY LeftDoubleBracket "&#x0301A;" ><!--left double bracket delimiter -->
-<!ENTITY LeftDownVector "&#x021C3;" ><!--alias ISOAMSA dharl -->
-<!ENTITY LeftFloor "&#x0230A;" ><!--alias ISOAMSC lfloor -->
-<!ENTITY leftharpoondown "&#x021BD;" ><!--alias ISOAMSA lhard -->
-<!ENTITY leftharpoonup "&#x021BC;" ><!--alias ISOAMSA lharu -->
-<!ENTITY leftleftarrows "&#x021C7;" ><!--alias ISOAMSA llarr -->
-<!ENTITY leftrightarrow "&#x02194;" ><!--alias ISOAMSA harr -->
-<!ENTITY Leftrightarrow "&#x021D4;" ><!--alias ISOAMSA hArr -->
-<!ENTITY LeftRightArrow "&#x02194;" ><!--alias ISOAMSA harr -->
-<!ENTITY leftrightarrows "&#x021C6;" ><!--alias ISOAMSA lrarr -->
-<!ENTITY leftrightharpoons "&#x021CB;" ><!--alias ISOAMSA lrhar -->
-<!ENTITY leftrightsquigarrow "&#x021AD;" ><!--alias ISOAMSA harrw -->
-<!ENTITY LeftTee "&#x022A3;" ><!--alias ISOAMSR dashv -->
-<!ENTITY leftthreetimes "&#x022CB;" ><!--alias ISOAMSB lthree -->
-<!ENTITY LeftTriangle "&#x022B2;" ><!--alias ISOAMSR vltri -->
-<!ENTITY LeftTriangleEqual "&#x022B4;" ><!--alias ISOAMSR ltrie -->
-<!ENTITY LeftUpVector "&#x021BF;" ><!--alias ISOAMSA uharl -->
-<!ENTITY LeftVector "&#x021BC;" ><!--alias ISOAMSA lharu -->
-<!ENTITY leq "&#x02264;" ><!--alias ISOTECH le -->
-<!ENTITY leqq "&#x02266;" ><!--alias ISOAMSR lE -->
-<!ENTITY leqslant "&#x02A7D;" ><!--alias ISOAMSR les -->
-<!ENTITY lessapprox "&#x02272;" ><!--alias ISOAMSR lap -->
-<!ENTITY lessdot "&#x022D6;" ><!--alias ISOAMSR ltdot -->
-<!ENTITY lesseqgtr "&#x022DA;" ><!--alias ISOAMSR leg -->
-<!ENTITY lesseqqgtr "&#x022DA;" ><!--alias ISOAMSR lEg -->
-<!ENTITY LessEqualGreater "&#x022DA;" ><!--alias ISOAMSR leg -->
-<!ENTITY LessFullEqual "&#x02266;" ><!--alias ISOAMSR lE -->
-<!ENTITY LessGreater "&#x02276;" ><!--alias ISOAMSR lg -->
-<!ENTITY lessgtr "&#x02276;" ><!--alias ISOAMSR lg -->
-<!ENTITY lesssim "&#x02272;" ><!--alias ISOAMSR lsim -->
-<!ENTITY LessSlantEqual "&#x02A7D;" ><!--alias ISOAMSR les -->
-<!ENTITY LessTilde "&#x02272;" ><!--alias ISOAMSR lsim -->
-<!ENTITY ll "&#x0226A;" ><!--alias ISOAMSR Lt -->
-<!ENTITY llcorner "&#x0231E;" ><!--alias ISOAMSC dlcorn -->
-<!ENTITY Lleftarrow "&#x021DA;" ><!--alias ISOAMSA lAarr -->
-<!ENTITY lmoustache "&#x02998;" ><!--alias ISOAMSC lmoust -->
-<!ENTITY lnapprox "&#x02A89;" ><!--alias ISOAMSN lnap -->
-<!ENTITY lneq "&#x02268;" ><!--alias ISOAMSN lne -->
-<!ENTITY lneqq "&#x02268;" ><!--alias ISOAMSN lnE -->
-<!ENTITY longleftarrow "&#x02190;" ><!--alias ISOAMSA xlarr -->
-<!ENTITY Longleftarrow "&#x021D0;" ><!--alias ISOAMSA xlArr -->
-<!ENTITY LongLeftArrow "&#x02190;" ><!--alias ISOAMSA xlarr -->
-<!ENTITY longleftrightarrow "&#x02194;" ><!--alias ISOAMSA xharr -->
-<!ENTITY Longleftrightarrow "&#x021D4;" ><!--alias ISOAMSA xhArr -->
-<!ENTITY LongLeftRightArrow "&#x02194;" ><!--alias ISOAMSA xharr -->
-<!ENTITY longmapsto "&#x021A6;" ><!--alias ISOAMSA xmap -->
-<!ENTITY longrightarrow "&#x02192;" ><!--alias ISOAMSA xrarr -->
-<!ENTITY Longrightarrow "&#x021D2;" ><!--alias ISOAMSA xrArr -->
-<!ENTITY LongRightArrow "&#x02192;" ><!--alias ISOAMSA xrarr -->
-<!ENTITY looparrowleft "&#x021AB;" ><!--alias ISOAMSA larrlp -->
-<!ENTITY looparrowright "&#x021AC;" ><!--alias ISOAMSA rarrlp -->
-<!ENTITY LowerLeftArrow "&#x02199;" ><!--alias ISOAMSA swarr -->
-<!ENTITY LowerRightArrow "&#x02198;" ><!--alias ISOAMSA searr -->
-<!ENTITY lozenge "&#x025CA;" ><!--alias ISOPUB loz -->
-<!ENTITY lrcorner "&#x0231F;" ><!--alias ISOAMSC drcorn -->
-<!ENTITY Lsh "&#x021B0;" ><!--alias ISOAMSA lsh -->
-<!ENTITY lvertneqq "&#x02268;&#x00338;" ><!--alias ISOAMSN lvnE -->
-<!ENTITY maltese "&#x02720;" ><!--alias ISOPUB malt -->
-<!ENTITY mapsto "&#x021A6;" ><!--alias ISOAMSA map -->
-<!ENTITY measuredangle "&#x02221;" ><!--alias ISOAMSO angmsd -->
-<!ENTITY MinusPlus "&#x02213;" ><!--alias ISOTECH mnplus -->
-<!ENTITY mp "&#x02213;" ><!--alias ISOTECH mnplus -->
-<!ENTITY multimap "&#x022B8;" ><!--alias ISOAMSA mumap -->
-<!ENTITY napprox "&#x02249;" ><!--alias ISOAMSN nap -->
-<!ENTITY natural "&#x0266E;" ><!--alias ISOPUB natur -->
-<!ENTITY nearrow "&#x02197;" ><!--alias ISOAMSA nearr -->
-<!ENTITY NestedGreaterGreater "&#x0226B;" ><!--alias ISOAMSR Gt -->
-<!ENTITY NestedLessLess "&#x0226A;" ><!--alias ISOAMSR Lt -->
-<!ENTITY nexists "&#x02204;" ><!--alias ISOAMSO nexist -->
-<!ENTITY ngeq "&#x02271;&#x020E5;" ><!--alias ISOAMSN nge -->
-<!ENTITY ngeqq "&#x02271;" ><!--alias ISOAMSN ngE -->
-<!ENTITY ngeqslant "&#x02271;" ><!--alias ISOAMSN nges -->
-<!ENTITY ngtr "&#x0226F;" ><!--alias ISOAMSN ngt -->
-<!ENTITY nleftarrow "&#x0219A;" ><!--alias ISOAMSA nlarr -->
-<!ENTITY nLeftarrow "&#x021CD;" ><!--alias ISOAMSA nlArr -->
-<!ENTITY nleftrightarrow "&#x021AE;" ><!--alias ISOAMSA nharr -->
-<!ENTITY nLeftrightarrow "&#x021CE;" ><!--alias ISOAMSA nhArr -->
-<!ENTITY nleq "&#x02270;&#x020E5;" ><!--alias ISOAMSN nle -->
-<!ENTITY nleqq "&#x02270;" ><!--alias ISOAMSN nlE -->
-<!ENTITY nleqslant "&#x02270;" ><!--alias ISOAMSN nles -->
-<!ENTITY nless "&#x0226E;" ><!--alias ISOAMSN nlt -->
-<!ENTITY NotCongruent "&#x02262;" ><!--alias ISOAMSN nequiv -->
-<!ENTITY NotDoubleVerticalBar "&#x02226;" ><!--alias ISOAMSN npar -->
-<!ENTITY NotElement "&#x02209;" ><!--alias ISOTECH notin -->
-<!ENTITY NotEqual "&#x02260;" ><!--alias ISOTECH ne -->
-<!ENTITY NotExists "&#x02204;" ><!--alias ISOAMSO nexist -->
-<!ENTITY NotGreater "&#x0226F;" ><!--alias ISOAMSN ngt -->
-<!ENTITY NotGreaterEqual "&#x02271;&#x020E5;" ><!--alias ISOAMSN nge -->
-<!ENTITY NotGreaterFullEqual "&#x02270;" ><!--alias ISOAMSN nlE -->
-<!ENTITY NotGreaterGreater "&#x0226B;&#x00338;&#x02063;" ><!--alias ISOAMSN nGtv -->
-<!ENTITY NotGreaterLess "&#x02279;" ><!--alias ISOAMSN ntvgl -->
-<!ENTITY NotGreaterSlantEqual "&#x02271;" ><!--alias ISOAMSN nges -->
-<!ENTITY NotGreaterTilde "&#x02275;" ><!--alias ISOAMSN ngsim -->
-<!ENTITY NotLeftTriangle "&#x022EA;" ><!--alias ISOAMSN nltri -->
-<!ENTITY NotLeftTriangleEqual "&#x022EC;" ><!--alias ISOAMSN nltrie -->
-<!ENTITY NotLess "&#x0226E;" ><!--alias ISOAMSN nlt -->
-<!ENTITY NotLessEqual "&#x02270;&#x020E5;" ><!--alias ISOAMSN nle -->
-<!ENTITY NotLessGreater "&#x02278;" ><!--alias ISOAMSN ntvlg -->
-<!ENTITY NotLessLess "&#x0226A;&#x00338;&#x02063;" ><!--alias ISOAMSN nLtv -->
-<!ENTITY NotLessSlantEqual "&#x02270;" ><!--alias ISOAMSN nles -->
-<!ENTITY NotLessTilde "&#x02274;" ><!--alias ISOAMSN nlsim -->
-<!ENTITY NotPrecedes "&#x02280;" ><!--alias ISOAMSN npr -->
-<!ENTITY NotPrecedesEqual "&#x02AAF;&#x00338;" ><!--alias ISOAMSN npre -->
-<!ENTITY NotPrecedesSlantEqual "&#x022E0;" ><!--alias ISOAMSN nprcue -->
-<!ENTITY NotReverseElement "&#x0220C;" ><!--alias ISOTECH notniva -->
-<!ENTITY NotRightTriangle "&#x022EB;" ><!--alias ISOAMSN nrtri -->
-<!ENTITY NotRightTriangleEqual "&#x022ED;" ><!--alias ISOAMSN nrtrie -->
-<!ENTITY NotSquareSubsetEqual "&#x022E2;" ><!--alias ISOAMSN nsqsube -->
-<!ENTITY NotSquareSupersetEqual "&#x022E3;" ><!--alias ISOAMSN nsqsupe -->
-<!ENTITY NotSubset "&#x02284;" ><!--alias ISOAMSN vnsub -->
-<!ENTITY NotSubsetEqual "&#x02288;" ><!--alias ISOAMSN nsube -->
-<!ENTITY NotSucceeds "&#x02281;" ><!--alias ISOAMSN nsc -->
-<!ENTITY NotSucceedsEqual "&#x02AB0;&#x00338;" ><!--alias ISOAMSN nsce -->
-<!ENTITY NotSucceedsSlantEqual "&#x022E1;" ><!--alias ISOAMSN nsccue -->
-<!ENTITY NotSuperset "&#x02285;" ><!--alias ISOAMSN vnsup -->
-<!ENTITY NotSupersetEqual "&#x02289;" ><!--alias ISOAMSN nsupe -->
-<!ENTITY NotTilde "&#x02241;" ><!--alias ISOAMSN nsim -->
-<!ENTITY NotTildeEqual "&#x02244;" ><!--alias ISOAMSN nsime -->
-<!ENTITY NotTildeFullEqual "&#x02247;" ><!--alias ISOAMSN ncong -->
-<!ENTITY NotTildeTilde "&#x02249;" ><!--alias ISOAMSN nap -->
-<!ENTITY NotVerticalBar "&#x02224;" ><!--alias ISOAMSN nmid -->
-<!ENTITY nparallel "&#x02226;" ><!--alias ISOAMSN npar -->
-<!ENTITY nprec "&#x02280;" ><!--alias ISOAMSN npr -->
-<!ENTITY npreceq "&#x02AAF;&#x00338;" ><!--alias ISOAMSN npre -->
-<!ENTITY nrightarrow "&#x0219B;" ><!--alias ISOAMSA nrarr -->
-<!ENTITY nRightarrow "&#x021CF;" ><!--alias ISOAMSA nrArr -->
-<!ENTITY nshortmid "&#x02224;&#x02063;" ><!--alias ISOAMSN nsmid -->
-<!ENTITY nshortparallel "&#x02226;&#x02063;" ><!--alias ISOAMSN nspar -->
-<!ENTITY nsimeq "&#x02244;" ><!--alias ISOAMSN nsime -->
-<!ENTITY nsubset "&#x02284;" ><!--alias ISOAMSN vnsub -->
-<!ENTITY nsubseteq "&#x02288;" ><!--alias ISOAMSN nsube -->
-<!ENTITY nsubseteqq "&#x02288;" ><!--alias ISOAMSN nsubE -->
-<!ENTITY nsucc "&#x02281;" ><!--alias ISOAMSN nsc -->
-<!ENTITY nsucceq "&#x02AB0;&#x00338;" ><!--alias ISOAMSN nsce -->
-<!ENTITY nsupset "&#x02285;" ><!--alias ISOAMSN vnsup -->
-<!ENTITY nsupseteq "&#x02289;" ><!--alias ISOAMSN nsupe -->
-<!ENTITY nsupseteqq "&#x02289;" ><!--alias ISOAMSN nsupE -->
-<!ENTITY ntriangleleft "&#x022EA;" ><!--alias ISOAMSN nltri -->
-<!ENTITY ntrianglelefteq "&#x022EC;" ><!--alias ISOAMSN nltrie -->
-<!ENTITY ntriangleright "&#x022EB;" ><!--alias ISOAMSN nrtri -->
-<!ENTITY ntrianglerighteq "&#x022ED;" ><!--alias ISOAMSN nrtrie -->
-<!ENTITY nwarrow "&#x02196;" ><!--alias ISOAMSA nwarr -->
-<!ENTITY oint "&#x0222E;" ><!--alias ISOTECH conint -->
-<!ENTITY OpenCurlyDoubleQuote "&#x0201C;" ><!--alias ISONUM ldquo -->
-<!ENTITY OpenCurlyQuote "&#x02018;" ><!--alias ISONUM lsquo -->
-<!ENTITY orderof "&#x02134;" ><!--alias ISOTECH order -->
-<!ENTITY parallel "&#x02225;" ><!--alias ISOTECH par -->
-<!ENTITY PartialD "&#x02202;" ><!--alias ISOTECH part -->
-<!ENTITY pitchfork "&#x022D4;" ><!--alias ISOAMSR fork -->
-<!ENTITY PlusMinus "&#x000B1;" ><!--alias ISONUM plusmn -->
-<!ENTITY pm "&#x000B1;" ><!--alias ISONUM plusmn -->
-<!ENTITY prec "&#x0227A;" ><!--alias ISOAMSR pr -->
-<!ENTITY precapprox "&#x0227E;" ><!--alias ISOAMSR prap -->
-<!ENTITY preccurlyeq "&#x0227C;" ><!--alias ISOAMSR prcue -->
-<!ENTITY Precedes "&#x0227A;" ><!--alias ISOAMSR pr -->
-<!ENTITY PrecedesEqual "&#x02AAF;" ><!--alias ISOAMSR pre -->
-<!ENTITY PrecedesSlantEqual "&#x0227C;" ><!--alias ISOAMSR prcue -->
-<!ENTITY PrecedesTilde "&#x0227E;" ><!--alias ISOAMSR prsim -->
-<!ENTITY preceq "&#x02AAF;" ><!--alias ISOAMSR pre -->
-<!ENTITY precnapprox "&#x022E8;" ><!--alias ISOAMSN prnap -->
-<!ENTITY precneqq "&#x02AB5;" ><!--alias ISOAMSN prnE -->
-<!ENTITY precnsim "&#x022E8;" ><!--alias ISOAMSN prnsim -->
-<!ENTITY precsim "&#x0227E;" ><!--alias ISOAMSR prsim -->
-<!ENTITY Proportion "&#x02237;" ><!--alias ISOAMSR Colon -->
-<!ENTITY Proportional "&#x0221D;" ><!--alias ISOTECH prop -->
-<!ENTITY propto "&#x0221D;" ><!--alias ISOTECH prop -->
-<!ENTITY questeq "&#x0225F;" ><!--alias ISOAMSR equest -->
-<!ENTITY rangle "&#x03009;" ><!--alias ISOTECH rang -->
-<!ENTITY rbrace "&#x0007D;" ><!--alias ISONUM rcub -->
-<!ENTITY rbrack "&#x0005D;" ><!--alias ISONUM rsqb -->
-<!ENTITY Re "&#x0211C;" ><!--alias ISOAMSO real -->
-<!ENTITY realpart "&#x0211C;" ><!--alias ISOAMSO real -->
-<!ENTITY ReverseElement "&#x0220B;" ><!--alias ISOTECH niv -->
-<!ENTITY ReverseEquilibrium "&#x021CB;" ><!--alias ISOAMSA lrhar -->
-<!ENTITY ReverseUpEquilibrium "&#x0296F;" ><!--alias ISOAMSA duhar -->
-<!ENTITY RightAngleBracket "&#x03009;" ><!--alias ISOTECH rang -->
-<!ENTITY rightarrow "&#x02192;" ><!--alias ISONUM rarr -->
-<!ENTITY Rightarrow "&#x021D2;" ><!--alias ISOTECH rArr -->
-<!ENTITY RightArrow "&#x02192;" ><!--alias ISONUM rarr -->
-<!ENTITY RightArrowLeftArrow "&#x021C4;" ><!--alias ISOAMSA rlarr -->
-<!ENTITY rightarrowtail "&#x021A3;" ><!--alias ISOAMSA rarrtl -->
-<!ENTITY RightCeiling "&#x02309;" ><!--alias ISOAMSC rceil -->
-<!ENTITY RightDoubleBracket "&#x0301B;" ><!--right double bracket delimiter -->
-<!ENTITY RightDownVector "&#x021C2;" ><!--alias ISOAMSA dharr -->
-<!ENTITY RightFloor "&#x0230B;" ><!--alias ISOAMSC rfloor -->
-<!ENTITY rightharpoondown "&#x021C1;" ><!--alias ISOAMSA rhard -->
-<!ENTITY rightharpoonup "&#x021C0;" ><!--alias ISOAMSA rharu -->
-<!ENTITY rightleftarrows "&#x021C4;" ><!--alias ISOAMSA rlarr -->
-<!ENTITY rightleftharpoons "&#x021CC;" ><!--alias ISOAMSA rlhar -->
-<!ENTITY rightrightarrows "&#x021C9;" ><!--alias ISOAMSA rrarr -->
-<!ENTITY rightsquigarrow "&#x021DD;" ><!--alias ISOAMSA rarrw -->
-<!ENTITY RightTee "&#x022A2;" ><!--alias ISOAMSR vdash -->
-<!ENTITY RightTeeArrow "&#x021A6;" ><!--alias ISOAMSA map -->
-<!ENTITY rightthreetimes "&#x022CC;" ><!--alias ISOAMSB rthree -->
-<!ENTITY RightTriangle "&#x022B3;" ><!--alias ISOAMSR vrtri -->
-<!ENTITY RightTriangleEqual "&#x022B5;" ><!--alias ISOAMSR rtrie -->
-<!ENTITY RightUpVector "&#x021BE;" ><!--alias ISOAMSA uharr -->
-<!ENTITY RightVector "&#x021C0;" ><!--alias ISOAMSA rharu -->
-<!ENTITY risingdotseq "&#x02253;" ><!--alias ISOAMSR erDot -->
-<!ENTITY rmoustache "&#x02997;" ><!--alias ISOAMSC rmoust -->
-<!ENTITY Rrightarrow "&#x021DB;" ><!--alias ISOAMSA rAarr -->
-<!ENTITY Rsh "&#x021B1;" ><!--alias ISOAMSA rsh -->
-<!ENTITY searrow "&#x02198;" ><!--alias ISOAMSA searr -->
-<!ENTITY setminus "&#x02216;" ><!--alias ISOAMSB setmn -->
-<!ENTITY ShortLeftArrow "&#x02190;&#x02063;" ><!--alias ISOAMSA slarr -->
-<!ENTITY shortmid "&#x02223;&#x02063;" ><!--alias ISOAMSR smid -->
-<!ENTITY shortparallel "&#x02225;&#x02063;" ><!--alias ISOAMSR spar -->
-<!ENTITY ShortRightArrow "&#x02192;&#x02063;" ><!--alias ISOAMSA srarr -->
-<!ENTITY simeq "&#x02243;" ><!--alias ISOTECH sime -->
-<!ENTITY SmallCircle "&#x02218;" ><!--alias ISOTECH compfn -->
-<!ENTITY smallsetminus "&#x02216;" ><!--alias ISOAMSB ssetmn -->
-<!ENTITY spadesuit "&#x02660;" ><!--ISOPUB spades -->
-<!ENTITY Sqrt "&#x0221A;" ><!--alias ISOTECH radic -->
-<!ENTITY sqsubset "&#x0228F;" ><!--alias ISOAMSR sqsub -->
-<!ENTITY sqsubseteq "&#x02291;" ><!--alias ISOAMSR sqsube -->
-<!ENTITY sqsupset "&#x02290;" ><!--alias ISOAMSR sqsup -->
-<!ENTITY sqsupseteq "&#x02292;" ><!--alias ISOAMSR sqsupe -->
-<!ENTITY Square "&#x025A1;" ><!--alias for square -->
-<!ENTITY SquareIntersection "&#x02293;" ><!--alias ISOAMSB sqcap -->
-<!ENTITY SquareSubset "&#x0228F;" ><!--alias ISOAMSR sqsub -->
-<!ENTITY SquareSubsetEqual "&#x02291;" ><!--alias ISOAMSR sqsube -->
-<!ENTITY SquareSuperset "&#x02290;" ><!--alias ISOAMSR sqsup -->
-<!ENTITY SquareSupersetEqual "&#x02292;" ><!--alias ISOAMSR sqsupe -->
-<!ENTITY SquareUnion "&#x02294;" ><!--alias ISOAMSB sqcup -->
-<!ENTITY Star "&#x022C6;" ><!--alias ISOAMSB sstarf -->
-<!ENTITY straightepsilon "&#x003B5;" ><!--alias ISOGRK3 epsi -->
-<!ENTITY straightphi "&#x003C6;" ><!--alias ISOGRK3 phi -->
-<!ENTITY subset "&#x02282;" ><!--alias ISOTECH sub -->
-<!ENTITY Subset "&#x022D0;" ><!--alias ISOAMSR Sub -->
-<!ENTITY subseteq "&#x02286;" ><!--alias ISOTECH sube -->
-<!ENTITY subseteqq "&#x02286;" ><!--alias ISOAMSR subE -->
-<!ENTITY SubsetEqual "&#x02286;" ><!--alias ISOTECH sube -->
-<!ENTITY subsetneq "&#x0228A;" ><!--alias ISOAMSN subne -->
-<!ENTITY subsetneqq "&#x0228A;" ><!--alias ISOAMSN subnE -->
-<!ENTITY succ "&#x0227B;" ><!--alias ISOAMSR sc -->
-<!ENTITY succapprox "&#x0227F;" ><!--alias ISOAMSR scap -->
-<!ENTITY succcurlyeq "&#x0227D;" ><!--alias ISOAMSR sccue -->
-<!ENTITY Succeeds "&#x0227B;" ><!--alias ISOAMSR sc -->
-<!ENTITY SucceedsEqual "&#x0227D;" ><!--alias ISOAMSR sce -->
-<!ENTITY SucceedsSlantEqual "&#x0227D;" ><!--alias ISOAMSR sccue -->
-<!ENTITY SucceedsTilde "&#x0227F;" ><!--alias ISOAMSR scsim -->
-<!ENTITY succeq "&#x0227D;" ><!--alias ISOAMSR sce -->
-<!ENTITY succnapprox "&#x022E9;" ><!--alias ISOAMSN scnap -->
-<!ENTITY succneqq "&#x02AB6;" ><!--alias ISOAMSN scnE -->
-<!ENTITY succnsim "&#x022E9;" ><!--alias ISOAMSN scnsim -->
-<!ENTITY succsim "&#x0227F;" ><!--alias ISOAMSR scsim -->
-<!ENTITY SuchThat "&#x0220B;" ><!--ISOTECH ni -->
-<!ENTITY Sum "&#x02211;" ><!--alias ISOAMSB sum -->
-<!ENTITY Superset "&#x02283;" ><!--alias ISOTECH sup -->
-<!ENTITY SupersetEqual "&#x02287;" ><!--alias ISOTECH supe -->
-<!ENTITY supset "&#x02283;" ><!--alias ISOTECH sup -->
-<!ENTITY Supset "&#x022D1;" ><!--alias ISOAMSR Sup -->
-<!ENTITY supseteq "&#x02287;" ><!--alias ISOTECH supe -->
-<!ENTITY supseteqq "&#x02287;" ><!--alias ISOAMSR supE -->
-<!ENTITY supsetneq "&#x0228B;" ><!--alias ISOAMSN supne -->
-<!ENTITY supsetneqq "&#x0228B;" ><!--alias ISOAMSN supnE -->
-<!ENTITY swarrow "&#x02199;" ><!--alias ISOAMSA swarr -->
-<!ENTITY therefore "&#x02234;" ><!--alias ISOTECH there4 -->
-<!ENTITY Therefore "&#x02234;" ><!--alias ISOTECH there4 -->
-<!ENTITY thickapprox "&#x02248;&#x02063;" ><!--ISOAMSR thkap -->
-<!ENTITY thicksim "&#x0223C;" ><!--ISOAMSR thksim -->
-<!ENTITY ThinSpace "&#x02009;" ><!--space of width 3/18 em alias ISOPUB thinsp -->
-<!ENTITY Tilde "&#x0223C;" ><!--alias ISOTECH sim -->
-<!ENTITY TildeEqual "&#x02243;" ><!--alias ISOTECH sime -->
-<!ENTITY TildeFullEqual "&#x02245;" ><!--alias ISOTECH cong -->
-<!ENTITY TildeTilde "&#x02248;" ><!--alias ISOTECH ap -->
-<!ENTITY toea "&#x02928;" ><!--alias ISOAMSA nesear -->
-<!ENTITY tosa "&#x02929;" ><!--alias ISOAMSA seswar -->
-<!ENTITY triangle "&#x025B5;" ><!--alias ISOPUB utri -->
-<!ENTITY triangledown "&#x025BF;" ><!--alias ISOPUB dtri -->
-<!ENTITY triangleleft "&#x025C3;" ><!--alias ISOPUB ltri -->
-<!ENTITY trianglelefteq "&#x022B4;" ><!--alias ISOAMSR ltrie -->
-<!ENTITY triangleq "&#x0225C;" ><!--alias ISOAMSR trie -->
-<!ENTITY triangleright "&#x025B9;" ><!--alias ISOPUB rtri -->
-<!ENTITY trianglerighteq "&#x022B5;" ><!--alias ISOAMSR rtrie -->
-<!ENTITY TripleDot "&#x020DB;" ><!--alias ISOTECH tdot -->
-<!ENTITY twoheadleftarrow "&#x0219E;" ><!--alias ISOAMSA Larr -->
-<!ENTITY twoheadrightarrow "&#x021A0;" ><!--alias ISOAMSA Rarr -->
-<!ENTITY ulcorner "&#x0231C;" ><!--alias ISOAMSC ulcorn -->
-<!ENTITY Union "&#x022C3;" ><!--alias ISOAMSB xcup -->
-<!ENTITY UnionPlus "&#x0228E;" ><!--alias ISOAMSB uplus -->
-<!ENTITY uparrow "&#x02191;" ><!--alias ISONUM uarr -->
-<!ENTITY Uparrow "&#x021D1;" ><!--alias ISOAMSA uArr -->
-<!ENTITY UpArrow "&#x02191;" ><!--alias ISONUM uarr -->
-<!ENTITY UpArrowDownArrow "&#x021C5;" ><!--alias ISOAMSA udarr -->
-<!ENTITY updownarrow "&#x02195;" ><!--alias ISOAMSA varr -->
-<!ENTITY Updownarrow "&#x021D5;" ><!--alias ISOAMSA vArr -->
-<!ENTITY UpDownArrow "&#x02195;" ><!--alias ISOAMSA varr -->
-<!ENTITY UpEquilibrium "&#x0296E;" ><!--alias ISOAMSA udhar -->
-<!ENTITY upharpoonleft "&#x021BF;" ><!--alias ISOAMSA uharl -->
-<!ENTITY upharpoonright "&#x021BE;" ><!--alias ISOAMSA uharr -->
-<!ENTITY UpperLeftArrow "&#x02196;" ><!--alias ISOAMSA nwarr -->
-<!ENTITY UpperRightArrow "&#x02197;" ><!--alias ISOAMSA nearr -->
-<!ENTITY upsilon "&#x003C5;" ><!--alias ISOGRK3 upsi -->
-<!ENTITY Upsilon "&#x003D2;" ><!--alias ISOGRK3 Upsi -->
-<!ENTITY UpTee "&#x022A5;" ><!--alias ISOTECH perp -->
-<!ENTITY upuparrows "&#x021C8;" ><!--alias ISOAMSA uuarr -->
-<!ENTITY urcorner "&#x0231D;" ><!--alias ISOAMSC urcorn -->
-<!ENTITY varepsilon "&#x0025B;" ><!--alias ISOGRK3 epsiv -->
-<!ENTITY varkappa "&#x003F0;" ><!--alias ISOGRK3 kappav -->
-<!ENTITY varnothing "&#x02205;" ><!--alias ISOAMSO emptyv -->
-<!ENTITY varphi "&#x003D5;" ><!--alias ISOGRK3 phiv -->
-<!ENTITY varpi "&#x003D6;" ><!--alias ISOGRK3 piv -->
-<!ENTITY varpropto "&#x0221D;" ><!--alias ISOAMSR vprop -->
-<!ENTITY varrho "&#x003F1;" ><!--alias ISOGRK3 rhov -->
-<!ENTITY varsigma "&#x003C2;" ><!--alias ISOGRK3 sigmav -->
-<!ENTITY varsubsetneq "&#x0228A;&#x02063;" ><!--alias ISOAMSN vsubne -->
-<!ENTITY varsubsetneqq "&#x0228A;&#x02063;" ><!--alias ISOAMSN vsubnE -->
-<!ENTITY varsupsetneq "&#x0228B;&#x02063;" ><!--alias ISOAMSN vsupne -->
-<!ENTITY varsupsetneqq "&#x0228B;&#x02063;" ><!--alias ISOAMSN vsupnE -->
-<!ENTITY vartheta "&#x003D1;" ><!--alias ISOGRK3 thetav -->
-<!ENTITY vartriangleleft "&#x022B2;" ><!--alias ISOAMSR vltri -->
-<!ENTITY vartriangleright "&#x022B3;" ><!--alias ISOAMSR vrtri -->
-<!ENTITY vee "&#x02228;" ><!--alias ISOTECH or -->
-<!ENTITY Vee "&#x022C1;" ><!--alias ISOAMSB xvee -->
-<!ENTITY vert "&#x0007C;" ><!--alias ISONUM verbar -->
-<!ENTITY Vert "&#x02016;" ><!--alias ISOTECH Verbar -->
-<!ENTITY VerticalBar "&#x02223;" ><!--alias ISOAMSR mid -->
-<!ENTITY VerticalTilde "&#x02240;" ><!--alias ISOAMSB wreath -->
-<!ENTITY VeryThinSpace "&#x0200A;" ><!--space of width 1/18 em alias ISOPUB hairsp -->
-<!ENTITY wedge "&#x02227;" ><!--alias ISOTECH and -->
-<!ENTITY Wedge "&#x022C0;" ><!--alias ISOAMSB xwedge -->
-<!ENTITY wp "&#x02118;" ><!--alias ISOAMSO weierp -->
-<!ENTITY wr "&#x02240;" ><!--alias ISOAMSB wreath -->
diff --git a/docs/docbook/xslt/db2latex/mathml/ent/mmlextra.ent b/docs/docbook/xslt/db2latex/mathml/ent/mmlextra.ent
deleted file mode 100644
index e76de448cc..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/ent/mmlextra.ent
+++ /dev/null
@@ -1,134 +0,0 @@
-
-<!--
- File mmlextra.ent produced by the XSL script mmldtd.xsl
- from input data in unicode.xml.
-
- Please report any errors to
- David Carlisle <davidc@nag.co.uk>.
-
- The numeric character values assigned to each entity
- (should) match either official Unicode assignments
- or assignments provisionally allocated by the
- Unicode Consortium based on the characters in the `STIX'
- propsal for mathematics. Note that these assignments
- have not been ratified by the corresponding ISO
- committee and thus should be considered liable to
- change.
-
--->
-
-<!ENTITY af "&#x02061;" ><!--short form of &ApplyFunction; -->
-<!ENTITY ApplyFunction "&#x02061;" ><!--character showing function application in presentation tagging -->
-<!ENTITY Assign "&#x02254;" ><!--assignment operator -->
-<!ENTITY CapitalDifferentialD "&#x02145;" ><!--D for use in differentials, e.g., within integrals -->
-<!ENTITY Cayleys "&#x0212D;" ><!--the non-associative ring of octonions or Cayley numbers -->
-<!ENTITY complexes "&#x02102;" ><!--the field of complex numbers -->
-<!ENTITY Cross "&#x02A2F;" ><!--cross or vector product -->
-<!ENTITY dd "&#x02146;" ><!--short form of &DifferentialD; -->
-<!ENTITY DD "&#x02145;" ><!--short form of CapitalDifferentialD -->
-<!ENTITY DifferentialD "&#x02146;" ><!--d for use in differentials, e.g., within integrals -->
-<!ENTITY DownArrowBar "&#x02913;" ><!--down arrow to bar -->
-<!ENTITY DownBreve "&#x00311;" ><!--breve, inverted (non-spacing) -->
-<!ENTITY DownLeftRightVector "&#x02950;" ><!--left-down-right-down harpoon -->
-<!ENTITY DownLeftTeeVector "&#x0295E;" ><!--left-down harpoon from bar -->
-<!ENTITY DownLeftVectorBar "&#x02956;" ><!--left-down harpoon to bar -->
-<!ENTITY DownRightTeeVector "&#x0295F;" ><!--right-down harpoon from bar -->
-<!ENTITY DownRightVectorBar "&#x02957;" ><!--right-down harpoon to bar -->
-<!ENTITY DownTeeArrow "&#x021A7;" ><!--alias for mapstodown -->
-<!ENTITY ee "&#x02147;" ><!--short form of &ExponentialE; -->
-<!ENTITY EmptySmallSquare "&#x025FD;" ><!--empty small square -->
-<!ENTITY EmptyVerySmallSquare "&#x025FD;" ><!--empty small square -->
-<!ENTITY Equal "&#x02A75;" ><!--two consecutive equal signs -->
-<!ENTITY expectation "&#x02130;" ><!--expectation (operator) -->
-<!ENTITY exponentiale "&#x0212F;" ><!--base of the Napierian logarithms -->
-<!ENTITY ExponentialE "&#x02147;" ><!--e use for the exponential base of the natural logarithms -->
-<!ENTITY FilledSmallSquare "&#x025FE;" ><!--filled small square -->
-<!ENTITY FilledVerySmallSquare "&#x025FE;" ><!--filled very small square -->
-<!ENTITY Fouriertrf "&#x02131;" ><!--Fourier transform -->
-<!ENTITY GreaterGreater "&#x02AA2;" ><!--alias for GT -->
-<!ENTITY HilbertSpace "&#x0210B;" ><!--Hilbert space -->
-<!ENTITY HorizontalLine "&#x02500;" ><!--short horizontal line -->
-<!ENTITY ic "&#x0200B;" ><!--short form of &InvisibleComma; -->
-<!ENTITY ii "&#x02148;" ><!--short form of &ImaginaryI; -->
-<!ENTITY ImaginaryI "&#x02148;" ><!--i for use as a square root of -1 -->
-<!ENTITY imagline "&#x02110;" ><!--the geometric imaginary line -->
-<!ENTITY integers "&#x02124;" ><!--the ring of integers -->
-<!ENTITY InvisibleComma "&#x0200B;" ><!--used as a separator, e.g., in indices -->
-<!ENTITY InvisibleTimes "&#x02062;" ><!--marks multiplication when it is understood without a mark -->
-<!ENTITY it "&#x02062;" ><!--short form of &InvisibleTimes; -->
-<!ENTITY Laplacetrf "&#x02112;" ><!--Laplace transform -->
-<!ENTITY larrb "&#x021E4;" ><!--leftwards arrow to bar -->
-<!ENTITY LeftArrowBar "&#x021E4;" ><!--alias for larrb -->
-<!ENTITY LeftDownTeeVector "&#x02961;" ><!--down-left harpoon from bar -->
-<!ENTITY LeftDownVectorBar "&#x02959;" ><!--down-left harpoon to bar -->
-<!ENTITY LeftRightVector "&#x0294E;" ><!--left-up-right-up harpoon -->
-<!ENTITY LeftTeeArrow "&#x021A4;" ><!--alias for mapstoleft -->
-<!ENTITY LeftTeeVector "&#x0295A;" ><!--left-up harpoon from bar -->
-<!ENTITY LeftTriangleBar "&#x029CF;" ><!--not left triangle, vertical bar -->
-<!ENTITY LeftUpDownVector "&#x02951;" ><!--up-left-down-left harpoon -->
-<!ENTITY LeftUpTeeVector "&#x02960;" ><!--up-left harpoon from bar -->
-<!ENTITY LeftUpVectorBar "&#x02958;" ><!--up-left harpoon to bar -->
-<!ENTITY LeftVectorBar "&#x02952;" ><!--left-up harpoon to bar -->
-<!ENTITY LessLess "&#x02AA1;" ><!--alias for Lt -->
-<!ENTITY mapstodown "&#x021A7;" ><!--downwards arrow from bar -->
-<!ENTITY mapstoleft "&#x021A4;" ><!--leftwards arrow from bar -->
-<!ENTITY mapstoup "&#x021A5;" ><!--upwards arrow from bar -->
-<!ENTITY Mellintrf "&#x02133;" ><!--Mellin transform -->
-<!ENTITY naturals "&#x02115;" ><!--the semi-ring of natural numbers -->
-<!ENTITY nbump "&#x0224E;&#x00338;" ><!--not bumpy equals -->
-<!ENTITY nbumpe "&#x0224F;&#x00338;" ><!--not bumpy single equals -->
-<!ENTITY NegativeMediumSpace "&#x0205F;&#x02063;" ><!--space of width -4/18 em -->
-<!ENTITY NegativeThickSpace "&#x02005;&#x02063;" ><!--space of width -5/18 em -->
-<!ENTITY NegativeThinSpace "&#x02009;&#x02063;" ><!--space of width -3/18 em -->
-<!ENTITY NegativeVeryThinSpace "&#x0200A;&#x02063;" ><!--space of width -1/18 em -->
-<!ENTITY nesim "&#x02242;&#x00338;" ><!--not equal or similar -->
-<!ENTITY NewLine "&#x0000A;" ><!--force a line break; line feed -->
-<!ENTITY NoBreak "&#x0FEFF;" ><!--never break line here -->
-<!ENTITY NotCupCap "&#x0226D;" ><!--alias for &nasymp; -->
-<!ENTITY NotEqualTilde "&#x02242;&#x00338;" ><!--alias for &nesim; -->
-<!ENTITY NotHumpDownHump "&#x0224E;&#x00338;" ><!--alias for &nbump; -->
-<!ENTITY NotHumpEqual "&#x0224F;&#x00338;" ><!--alias for &nbumpe; -->
-<!ENTITY NotLeftTriangleBar "&#x029CF;&#x00338;" ><!--not left triangle, vertical bar -->
-<!ENTITY NotNestedGreaterGreater "&#x024A2;&#x00338;" ><!--not double greater-than sign -->
-<!ENTITY NotNestedLessLess "&#x024A1;&#x00338;" ><!--not double less-than sign -->
-<!ENTITY NotRightTriangleBar "&#x029D0;&#x00338;" ><!--not vertical bar, right triangle -->
-<!ENTITY NotSquareSubset "&#x0228F;&#x00338;" ><!--square not subset -->
-<!ENTITY NotSquareSuperset "&#x02290;&#x00338;" ><!--negated set-like partial order operator -->
-<!ENTITY NotSucceedsTilde "&#x0227F;&#x00338;" ><!--not succeeds or similar -->
-<!ENTITY OverBar "&#x000AF;" ><!--over bar -->
-<!ENTITY OverBrace "&#x0FE37;" ><!--over brace -->
-<!ENTITY OverBracket "&#x023B4;" ><!--over bracket -->
-<!ENTITY OverParenthesis "&#x0FE35;" ><!--over parenthesis -->
-<!ENTITY planckh "&#x0210E;" ><!--the ring (skew field) of quaternions -->
-<!ENTITY Poincareplane "&#x0210C;" ><!--the Poincare upper half-plane -->
-<!ENTITY primes "&#x02119;" ><!--the prime natural numbers -->
-<!ENTITY Product "&#x0220F;" ><!--alias for &prod -->
-<!ENTITY quaternions "&#x0210D;" ><!--the ring (skew field) of quaternions -->
-<!ENTITY rarrb "&#x021E5;" ><!--leftwards arrow to bar -->
-<!ENTITY rationals "&#x0211A;" ><!--the field of rational numbers -->
-<!ENTITY realine "&#x0211B;" ><!--the geometric real line -->
-<!ENTITY reals "&#x0211D;" ><!--the field of real numbers -->
-<!ENTITY RightArrowBar "&#x021E5;" ><!--alias for rarrb -->
-<!ENTITY RightDownTeeVector "&#x0295D;" ><!--down-right harpoon from bar -->
-<!ENTITY RightDownVectorBar "&#x02955;" ><!--down-right harpoon to bar -->
-<!ENTITY RightTeeVector "&#x0295B;" ><!--right-up harpoon from bar -->
-<!ENTITY RightTriangleBar "&#x029D0;" ><!--vertical bar, right triangle -->
-<!ENTITY RightUpDownVector "&#x0294F;" ><!--up-right-down-right harpoon -->
-<!ENTITY RightUpTeeVector "&#x0295C;" ><!--up-right harpoon from bar -->
-<!ENTITY RightUpVectorBar "&#x02954;" ><!--up-right harpoon to bar -->
-<!ENTITY RightVectorBar "&#x02953;" ><!--up-right harpoon to bar -->
-<!ENTITY RoundImplies "&#x02970;" ><!--round implies -->
-<!ENTITY RuleDelayed "&#x029F4;" ><!--rule-delayed (colon right arrow) -->
-<!ENTITY ShortDownArrow "&#x02304;&#x02063;" ><!--short down arrow -->
-<!ENTITY ShortUpArrow "&#x02303;&#x02063;" ><!--short up arrow -->
-<!ENTITY Tab "&#x00009;" ><!--tabulator stop; horizontal tabulation -->
-<!ENTITY ThickSpace "&#x02005;" ><!--space of width 5/18 em -->
-<!ENTITY UnderBar "&#x00332;" ><!--combining low line -->
-<!ENTITY UnderBrace "&#x0FE38;" ><!--under brace -->
-<!ENTITY UnderBracket "&#x023B5;" ><!--under bracket -->
-<!ENTITY UpArrowBar "&#x02912;" ><!--up arrow to bar -->
-<!ENTITY UpTeeArrow "&#x021A5;" ><!--Alias mapstoup -->
-<!ENTITY VerticalLine "&#x02758;" ><!--short vertical line -->
-<!ENTITY VerticalSeparator "&#x02758;" ><!--vertical separating operator -->
-<!ENTITY zeetrf "&#x02128;" ><!--zee transform -->
-<!ENTITY ZeroWidthSpace "&#x0200B;" ><!--zero width space -->
diff --git a/docs/docbook/xslt/db2latex/mathml/latex.entities.dtd b/docs/docbook/xslt/db2latex/mathml/latex.entities.dtd
deleted file mode 100644
index 7ec703e2c7..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/latex.entities.dtd
+++ /dev/null
@@ -1,7 +0,0 @@
-<!ELEMENT character (#PCDATA)>
-
-<!ATTLIST character
-entity CDATA #REQUIRED
-arguments CDATA #IMPLIED
->
-
diff --git a/docs/docbook/xslt/db2latex/mathml/latex.entities.xml b/docs/docbook/xslt/db2latex/mathml/latex.entities.xml
deleted file mode 100644
index e5290aba10..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/latex.entities.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE latex SYSTEM "latex.entities.dtd" []>
-
-<latex>
- <character entity="&#948;">\delta</character>
- <character entity="&#954;">\kappa</character>
- <character entity="&#960;">\pi</character>
- <character entity="&#x02212;">-</character>
- <character entity="&#x003B2;">\beta</character>
- <character entity="&#x00302;">\sphat</character><!-- superscript=""-->
- <character entity="&#x00302;" arguments="1">\hat</character>
-</latex>
diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.content.constsymb.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.content.constsymb.mod.xsl
deleted file mode 100644
index d9079b50da..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/mathml.content.constsymb.mod.xsl
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE xsl:stylesheet
-[
- <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
- <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
-]>
-<!--#############################################################################
- | $Id: mathml.content.constsymb.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE: MathML content markup, constants and symbols, 4.4.12.
- | MathML namespace used -> mml
- + ############################################################################## -->
-
-<xsl:stylesheet version='1.0'
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
-
-<!-- integer numbers -->
-<xsl:template match="mml:integers">
- <xsl:text>\bbold Z </xsl:text>
-</xsl:template>
-
-<!-- real numbers -->
-<xsl:template match="mml:reals">
- <xsl:text>\bbold R </xsl:text>
-</xsl:template>
-
-<!-- rational numbers -->
-<xsl:template match="mml:rationals">
- <xsl:text>\bbold Q </xsl:text>
-</xsl:template>
-
-<!-- natural numbers -->
-<xsl:template match="mml:naturalnumbers">
- <xsl:text>\bbold N </xsl:text>
-</xsl:template>
-
-<!-- complex numbers -->
-<xsl:template match="mml:complexes">
- <xsl:text>\bbold C </xsl:text>
-</xsl:template>
-
-<!-- prime numbers -->
-<xsl:template match="mml:primes">
- <xsl:text>\bbold P </xsl:text>
- <mi><xsl:text disable-output-escaping='yes'>&amp;#x1D547;</xsl:text></mi> <!-- open face P --> <!-- UNICODE char does not work -->
-</xsl:template>
-
-
-
-
-
-
-
-<!-- exponential base -->
-<xsl:template match="mml:exponentiale">
- <xsl:text>\textrm{e} </xsl:text>
-</xsl:template>
-
-<!-- square root of -1 -->
-<xsl:template match="mml:imaginaryi">
- <xsl:text>\textrm{i} </xsl:text>
-</xsl:template>
-
-<xsl:template match="mml:notanumber">
- <xsl:text>\NaN </xsl:text>
-</xsl:template>
-
-<!-- logical constant for truth -->
-<xsl:template match="mml:true">
- <xsl:text>true</xsl:text>
-</xsl:template>
-
-<!-- logical constant for falsehood -->
-<xsl:template match="mml:false">
- <xsl:text>false</xsl:text>
-</xsl:template>
-
-<!-- empty set -->
-<xsl:template match="mml:emptyset">
- <xsl:text>\empty</xsl:text>
-</xsl:template>
-
-<!-- ratio of a circle's circumference to its diameter -->
-<xsl:template match="mml:pi">
- <xsl:text>\pi</xsl:text>
-</xsl:template>
-
-<!-- Euler's constant -->
-<xsl:template match="mml:eulergamma">
- <xsl:text>\Gamma</xsl:text>
-</xsl:template>
-
-<!-- Infinity -->
-<xsl:template match="mml:infinity">
- <xsl:text>\infty</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.content.functions.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.content.functions.mod.xsl
deleted file mode 100644
index 2ae5cc7ccb..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/mathml.content.functions.mod.xsl
+++ /dev/null
@@ -1,725 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE xsl:stylesheet
-[
- <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
- <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
-]>
-<!--#############################################################################
- | $Id: mathml.content.functions.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE: MathML content markup.
- | Note: these elements are not part of the DocBook DTD. I have extended
- | the docbook DTD in order to support this tags, so that's why I have these
- | templates here.
- |
- | MathML namespace used -> mml
- + ############################################################################## -->
-
-<xsl:stylesheet version='1.0'
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
-
-<xsl:template match="mml:fn">
-</xsl:template>
-
-<!--
-<xsl:template match="mml:apply/lowlimit">
-<xsl:variable name="first" select="../child::*[1]"/>
-</xsl:template>
-
-<xsl:template match="mml:apply/uplimit">
-<xsl:variable name="first" select="../child::*[1]"/>
-</xsl:template>
-
-<xsl:template match="mml:apply/degree">
-<xsl:variable name="first" select="../child::*[1]"/>
-</xsl:template>
--->
-
-
-<!-- conditions -->
-<!-- no support for deprecated reln-->
-<xsl:template match="mml:condition">
- <xsl:text>{</xsl:text><xsl:apply-templates/><xsl:text>}</xsl:text>
-</xsl:template>
-
-
-
-
-
-
-<!--UNARY
- unary arithmetic exp, factorial, minus, abs, conjugate, arg, real, imaginary
- unary logical not
- unary functional inverse, ident
- unary elementary classical
- functions sin, cos, tan, sec, csc, cot, sinh, cosh, tanh, sech, csch, coth, arcsin,
- arccos, arctan, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsinh,
- arctanh, exp, ln, log
- unary linear algebra determinant, transpose
- unary calculus and vector calculus
- divergence, grad, curl, laplacian
- unary set-theoretic card
--->
-
-<!-- BINARY
- binary arithmetic quotient, divide, minus, power, rem
- binary logical implies, equivalent, approx
- binary set operators setdiff
- binary linear algebra vectorproduct, scalarproduct, outerproduct
--->
-
-<!-- N-ARY and OTHER
- n-ary statistical mean, sdev, variance, median, mode
- n-ary logical and, or, xor
- n-ary linear algebra selector
- n-ary set operator union, intersect
- n-ary functional fn, compose
- integral, sum, product operators int, sum, product
- differential operator diff, partialdiff
- quantifier forall, exists
--->
-<!-- Get the first child (operator), and check if its name is a fn , or operator-->
-<!-- Is the operator taking qualifiers? -->
-<!-- Operators : int, sum, product, root, diff, partialdiff, limit, log, moment, min, max, forall, exists -->
-<!-- Qualifiers : lowlimit, uplimit, bvar, degree, logbase, interval, condition -->
-
-
-<!-- apply/apply -->
-<xsl:template match="mml:apply[mml:apply]"> <!-- when the function itself is defined by other functions: (F+G)(x) -->
- <xsl:choose>
- <xsl:when test="count(child::*)>=2">
- <xsl:text>{</xsl:text><xsl:apply-templates select="child::*[position()=1]"/><xsl:text>}</xsl:text>
- <xsl:text>{</xsl:text><xsl:apply-templates select="child::*[position()!=1]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise> <!-- apply only contains apply, no operand-->
- <xsl:text>{</xsl:text><xsl:apply-templates select="child::*"/><xsl:text>}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-
-<!-- force function or operator MathML 1.0 deprecated-->
-<!-- partial support for func/operators defined using presentation markup-->
-<xsl:template match="mml:apply[mml:fn]">
-<mrow>
-<xsl:choose>
-<xsl:when test="*[position()=1 and self::mml:fn]/mml:mo/mml:mchar/@name='PlusMinus'">
- <!--if operator is infix (we assume this to be the default when we have mchars(for instance PlusMinus); perhaps we should test further the name attribute)-->
- <xsl:choose>
- <xsl:when test="count(child::*)>=3">
- <mrow>
- <xsl:for-each select="child::*[position()!=last() and position()!=1]">
- <xsl:apply-templates select="."/><xsl:copy-of select="preceding-sibling::mml:fn/*"/>
- </xsl:for-each>
- <xsl:apply-templates select="child::*[position()!=1 and position()=last()]"/>
- </mrow>
- </xsl:when>
- <xsl:when test="count(child::*)=2">
- <mrow><xsl:copy-of select="child::mml:fn[position()=1]/*"/><xsl:apply-templates select="child::*[position()=2]"/></mrow>
- </xsl:when>
- <xsl:otherwise> <!-- apply only contains fn, no operand-->
- <mrow><xsl:apply-templates select="child::mml:fn/*"/></mrow>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:when>
-<xsl:otherwise> <!-- if operator is prefix (common case)-->
- <xsl:choose>
- <xsl:when test="name(mml:fn/*[position()=1])='apply'"> <!-- fn definition is complex, surround with brackets, but only one child-->
- <mfenced separators=""><mrow><xsl:apply-templates select="mml:fn/*"/></mrow></mfenced>
- </xsl:when>
- <xsl:otherwise>
- <mi><xsl:apply-templates select="mml:fn/*"/></mi>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="count(*)>1"> <!-- if no operands, don't put empty parentheses-->
- <mo><mchar name="ApplyFunction"/></mo>
- <mfenced>
- <xsl:apply-templates select="*[position()!=1]"/>
- </mfenced>
- </xsl:if>
-</xsl:otherwise>
-</xsl:choose>
-</mrow>
-</xsl:template>
-
-
-
-
-<!-- quotient -->
-<xsl:template match="mml:apply[mml:quotient]">
- <mrow> <!-- the third notation uses UNICODE chars x0230A and x0230B -->
- <mo>integer part of</mo>
- <mrow>
- <xsl:choose> <!-- surround with brackets if operands are composed-->
- <xsl:when test="child::*[position()=2] and name()='mml:apply'">
- <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[position()=2]"/>
- </xsl:otherwise>
- </xsl:choose>
- <mo>/</mo>
- <xsl:choose>
- <xsl:when test="child::*[position()=3] and name()='mml:apply'">
- <mfenced separators=""><xsl:apply-templates select="*[position()=3]"/></mfenced>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[position()=3]"/>
- </xsl:otherwise>
- </xsl:choose>
- </mrow>
- </mrow>
-</xsl:template>
-
-
-<!-- factorial -->
-<xsl:template match="mml:apply[mml:factorial]">
- <xsl:text>{</xsl:text>
- <xsl:choose>
- <xsl:when test="name(*[position()=2])='mml:apply'">
- <xsl:text>{</xsl:text><xsl:apply-templates select="*[position()=2]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[position()=2]"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>!(fact)</xsl:text>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-
-<!-- divide -->
-<xsl:template match="mml:apply[mml:divide]">
- <xsl:text>{ \frac</xsl:text>
- <xsl:text>{ </xsl:text>
- <xsl:apply-templates select="child::*[position()=2]"/>
- <xsl:text>}</xsl:text>
- <xsl:text>{ </xsl:text>
- <xsl:apply-templates select="child::*[position()=3]"/>
- <xsl:text>}</xsl:text>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-
-<!-- APPLY CONTAINING MAX -->
-<xsl:template match="mml:apply/mml:max"/>
-<xsl:template match="mml:apply[mml:max]">
- <xsl:text>{</xsl:text>
- <xsl:choose>
- <xsl:when test="mml:bvar"> <!-- if there are bvars-->
- <xsl:text>\max_{</xsl:text>
- <!-- Select every bvar except the last one (position() only counts bvars, not the other siblings)-->
- <xsl:for-each select="mml:bvar[position()!=last()]">
- <xsl:apply-templates select="."/><xsl:text>,</xsl:text>
- </xsl:for-each>
- <xsl:apply-templates select="mml:bvar[position()=last()]"/>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise> <!-- No bvars, no underscore... -->
- <xsl:text>\max</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>\left\{</xsl:text>
- <xsl:for-each select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:max' and position()!=last()]">
- <xsl:apply-templates select="."/><xsl:text>,</xsl:text>
- <xsl:message>RCAS: MathML mml:apply[mml:min] Applying templates to <xsl:copy-of select="name(.)"/></xsl:message>
- </xsl:for-each>
- <xsl:apply-templates select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:max' and position()=last()]"/>
- <!-- If there is a condition, do not close... -->
- <xsl:if test="mml:condition">
- <xsl:text>|</xsl:text><xsl:apply-templates select="mml:condition"/>
- </xsl:if>
- <xsl:text>\right\}</xsl:text>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-
-<!-- APPLY CONTAINING MIN -->
-<xsl:template match="mml:apply/mml:min"/>
-<xsl:template match="mml:apply[mml:min]">
- <xsl:text>{</xsl:text>
- <xsl:choose>
- <xsl:when test="mml:bvar"> <!-- if there are bvars-->
- <xsl:text>\min_{</xsl:text>
- <!-- Select every bvar except the last one (position() only counts bvars, not the other siblings)-->
- <xsl:for-each select="mml:bvar[position()!=last()]">
- <xsl:apply-templates select="."/><xsl:text>,</xsl:text>
- </xsl:for-each>
- <xsl:apply-templates select="mml:bvar[position()=last()]"/>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise> <!-- No bvars, no underscore... -->
- <xsl:text>\min</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>\left\{</xsl:text>
- <xsl:for-each select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:min' and position()!=last()]">
- <xsl:message>RCAS: MathML mml:apply[mml:min] Applying templates to <xsl:copy-of select="name(.)"/></xsl:message>
- <xsl:apply-templates select="."/>
- <xsl:text>,</xsl:text>
- </xsl:for-each>
- <xsl:apply-templates select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:min' and position()=last()]"/>
- <!-- If there is a condition, do not close... -->
- <xsl:if test="mml:condition">
- <xsl:text>|</xsl:text><xsl:apply-templates select="mml:condition"/>
- </xsl:if>
- <xsl:text>\right\}</xsl:text>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-
-
-
-
-
-
-
-<!-- APPLY CONTAINING substraction(minus) -->
-<!-- unary or binary operator -->
-<xsl:template match="mml:apply[mml:minus]">
-<xsl:text>{</xsl:text>
-<xsl:choose> <!-- binary -->
- <xsl:when test="count(child::*)=3">
- <xsl:apply-templates select="child::*[position()=2]"/>
- <xsl:text>-</xsl:text>
- <xsl:choose>
- <xsl:when test="((name(*[position()=3])='mml:ci' or name(*[position()=3])='mml:cn') and contains(*[position()=3]/text(),'-')) or (name(*[position()=3])='mml:apply')">
- <xsl:text>\left(</xsl:text> <xsl:apply-templates select="*[position()=3]"/><xsl:text>\right)</xsl:text>
- <!-- surround negative or complex things with brackets -->
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[position()=3]"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise> <!-- unary -->
- <xsl:text>-</xsl:text>
- <xsl:choose>
- <xsl:when test=
- "((name(*[position()=2])='mml:ci' or name(*[position()=2])='mml:cn') and contains(*[position()=2]/text(),'-')) or (name(*[position()=2])='mml:apply')">
- <xsl:text>\left(</xsl:text>
- <xsl:apply-templates select="child::*[position()=last()]"/>
- <xsl:text>\right)</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="child::*[position()=last()]"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
-</xsl:choose>
-<xsl:text>}</xsl:text>
-</xsl:template>
-
-
-<!-- addition -->
-<xsl:template match="mml:apply[mml:plus]">
- <xsl:choose>
- <xsl:when test="count(child::*)>=3">
- <mrow>
- <xsl:choose>
- <xsl:when test="((name(*[position()=2])='mml:ci' or name(*[position()=2])='mml:cn') and contains(*[position()=2]/text(),'-')) or (*[position()=2 and self::mml:apply and child::mml:minus])">
- <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced> <!-- surround negative things with brackets -->
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[position()=2]"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:for-each select="child::*[position()!=1 and position()!=2]">
- <xsl:choose>
- <xsl:when test="((name(.)='mml:ci' or name(.)='mml:cn') and contains(./text(),'-')) or (self::mml:apply and child::mml:minus)"> <!-- surround negative things with brackets -->
- <mo>+</mo><mfenced separators=""><xsl:apply-templates select="."/></mfenced>
- </xsl:when>
- <xsl:otherwise>
- <mo>+</mo><xsl:apply-templates select="."/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </mrow>
- </xsl:when>
- <xsl:when test="count(child::*)=2">
- <mrow>
- <mo>+</mo><xsl:apply-templates select="child::*[position()=2]"/>
- </mrow>
- </xsl:when>
- <xsl:otherwise>
- <mo>+</mo>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- power -->
-<xsl:template match="mml:apply[mml:power]">
- <xsl:text> {</xsl:text>
- <xsl:choose>
- <xsl:when test="name(*[position()=2])='mml:apply'">
- <xsl:text>\left(</xsl:text>
- <xsl:apply-templates select="child::*[position()=2]"/>
- <xsl:text>\rigth)</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="child::*[position()=2]"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}^{</xsl:text>
- <xsl:apply-templates select="child::*[position()=3]"/>
- <xsl:text>} </xsl:text>
-</xsl:template>
-
-<!-- remainder -->
-<xsl:template match="mml:apply[mml:rem]">
- <mrow>
- <xsl:choose> <!-- surround with brackets if operands are composed-->
- <xsl:when test="name(*[position()=2])='mml:apply'">
- <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[position()=2]"/>
- </xsl:otherwise>
- </xsl:choose>
- <mo>mod</mo>
- <xsl:choose>
- <xsl:when test="name(*[position()=3])='mml:apply'">
- <mfenced separators=""><xsl:apply-templates select="*[position()=3]"/></mfenced>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[position()=3]"/>
- </xsl:otherwise>
- </xsl:choose>
- </mrow>
-</xsl:template>
-
-<!-- multiplication -->
-<xsl:template match="mml:apply[mml:times]">
-<xsl:choose>
-<xsl:when test="count(child::*)>=3">
- <mrow>
- <xsl:for-each select="child::*[position()!=last() and position()!=1]">
- <xsl:choose>
- <xsl:when test="mml:plus"> <!--add brackets around + children for priority purpose-->
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="InvisibleTimes"/></mo>
- </xsl:when>
- <xsl:when test="mml:minus"> <!--add brackets around - children for priority purpose-->
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="InvisibleTimes"/></mo>
- </xsl:when>
- <xsl:when test="(name(.)='mml:ci' or name(.)='mml:cn') and contains(text(),'-')"> <!-- have to do it using contains because starts-with doesn't seem to work well in XT-->
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="InvisibleTimes"/></mo>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="."/><mo><mchar name="InvisibleTimes"/></mo>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:for-each select="child::*[position()=last()]">
- <xsl:choose>
- <xsl:when test="mml:plus">
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
- </xsl:when>
- <xsl:when test="mml:minus">
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
- </xsl:when>
- <xsl:when test="(name(.)='mml:ci' or name(.)='mml:cn') and contains(text(),'-')"> <!-- have to do it using contains because starts-with doesn't seem to work well in XT-->
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="."/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </mrow>
-</xsl:when>
-<xsl:when test="count(child::*)=2"> <!-- unary -->
- <mrow>
- <mo><mchar name="InvisibleTimes"/></mo>
- <xsl:choose>
- <xsl:when test="mml:plus">
- <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
- </xsl:when>
- <xsl:when test="mml:minus">
- <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
- </xsl:when>
- <xsl:when test="(*[position()=2 and self::mml:ci] or *[position()=2 and self::mml:cn]) and contains(*[position()=2]/text(),'-')">
- <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[position()=2]"/>
- </xsl:otherwise>
- </xsl:choose>
- </mrow>
-</xsl:when>
-<xsl:otherwise> <!-- no operand -->
- <mo><mchar name="InvisibleTimes"/></mo>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<!-- root -->
-<xsl:template match="mml:apply[mml:root]">
- <xsl:choose>
- <xsl:when test="mml:degree">
- <xsl:choose>
- <xsl:when test="mml:degree/mml:cn/text()='2'"> <!--if degree=2 display a standard square root-->
- <msqrt>
- <xsl:apply-templates select="child::*[position()=3]"/>
- </msqrt>
- </xsl:when>
- <xsl:otherwise>
- <mroot>
- <xsl:apply-templates select="child::*[position()=3]"/>
- <mrow><xsl:apply-templates select="mml:degree/*"/></mrow>
- </mroot>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise> <!-- no degree specified-->
- <msqrt>
- <xsl:apply-templates select="child::*[position()=2]"/>
- </msqrt>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- greatest common divisor -->
-<xsl:template match="mml:apply[mml:gcd]">
- <mrow>
- <mi>gcd</mi><mo><mchar name="ApplyFunction"/></mo>
- <mfenced>
- <xsl:apply-templates select="child::*[position()!=1]"/>
- </mfenced>
- </mrow>
-</xsl:template>
-
-<!-- AND -->
-<xsl:template match="mml:apply[mml:and]">
-<mrow>
- <xsl:choose>
- <xsl:when test="count(*)>=3"> <!-- at least two operands (common case)-->
- <xsl:for-each select="child::*[position()!=last() and position()!=1]">
- <xsl:choose>
- <xsl:when test="mml:or"> <!--add brackets around OR children for priority purpose-->
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="And"/></mo>
- </xsl:when>
- <xsl:when test="mml:xor"> <!--add brackets around XOR children for priority purpose-->
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="And"/></mo>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="."/><mo><mchar name="And"/></mo>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:for-each select="child::*[position()=last()]">
- <xsl:choose>
- <xsl:when test="mml:or">
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
- </xsl:when>
- <xsl:when test="mml:xor">
- <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="."/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </xsl:when>
- <xsl:when test="count(*)=2">
- <mo><mchar name="And"/></mo><xsl:apply-templates select="*[position()=last()]"/>
- </xsl:when>
- <xsl:otherwise>
- <mo><mchar name="And"/></mo>
- </xsl:otherwise>
- </xsl:choose>
-</mrow>
-</xsl:template>
-
-<!-- OR -->
-<xsl:template match="mml:apply[mml:or]">
-<mrow>
- <xsl:choose>
- <xsl:when test="count(*)>=3">
- <xsl:for-each select="child::*[position()!=last() and position()!=1]">
- <xsl:apply-templates select="."/><mo><mchar name="Or"/></mo>
- </xsl:for-each>
- <xsl:apply-templates select="child::*[position()=last()]"/>
- </xsl:when>
- <xsl:when test="count(*)=2">
- <mo><mchar name="Or"/></mo><xsl:apply-templates select="*[position()=last()]"/>
- </xsl:when>
- <xsl:otherwise>
- <mo><mchar name="Or"/></mo>
- </xsl:otherwise>
- </xsl:choose>
-</mrow>
-</xsl:template>
-
-<!-- XOR -->
-<xsl:template match="mml:apply[mml:xor]">
-<mrow>
- <xsl:choose>
- <xsl:when test="count(*)>=3">
- <xsl:for-each select="child::*[position()!=last() and position()!=1]">
- <xsl:apply-templates select="."/><mo>xor</mo>
- </xsl:for-each>
- <xsl:apply-templates select="child::*[position()=last()]"/>
- </xsl:when>
- <xsl:when test="count(*)=2">
- <mo>xor</mo><xsl:apply-templates select="*[position()=last()]"/>
- </xsl:when>
- <xsl:otherwise>
- <mo>xor</mo>
- </xsl:otherwise>
- </xsl:choose>
-</mrow>
-</xsl:template>
-
-<!-- NOT -->
-<xsl:template match="mml:apply[mml:not]">
- <mrow>
- <mo><mchar name="Not"/></mo>
- <xsl:choose>
- <xsl:when test="child::mml:apply"><!--add brackets around OR,AND,XOR children for priority purpose-->
- <mfenced separators="">
- <xsl:apply-templates select="child::*[position()=2]"/>
- </mfenced>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="child::*[position()=2]"/>
- </xsl:otherwise>
- </xsl:choose>
- </mrow>
-</xsl:template>
-
-<!-- implies -->
-<xsl:template match="mml:apply[mml:implies]">
- <mrow>
- <xsl:apply-templates select="child::*[position()=2]"/>
- <mo><mchar name="DoubleRightArrow"/></mo>
- <xsl:apply-templates select="child::*[position()=3]"/>
- </mrow>
-</xsl:template>
-
-<xsl:template match="mml:reln[mml:implies]">
- <mrow>
- <xsl:apply-templates select="child::*[position()=2]"/>
- <mo><mchar name="DoubleRightArrow"/></mo>
- <xsl:apply-templates select="child::*[position()=3]"/>
- </mrow>
-</xsl:template>
-
-<!-- for all-->
-<xsl:template match="mml:apply[mml:forall]">
- <mrow>
- <mo><mchar name="ForAll"/></mo>
- <mrow>
- <xsl:for-each select="mml:bvar[position()!=last()]">
- <xsl:apply-templates select="."/><mo>,</mo>
- </xsl:for-each>
- <xsl:apply-templates select="mml:bvar[position()=last()]"/>
- </mrow>
- <xsl:if test="mml:condition">
- <mrow><mo>,</mo><xsl:apply-templates select="mml:condition"/></mrow>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="mml:apply">
- <mo>:</mo><xsl:apply-templates select="mml:apply"/>
- </xsl:when>
- <xsl:when test="mml:reln">
- <mo>:</mo><xsl:apply-templates select="mml:reln"/>
- </xsl:when>
- </xsl:choose>
- </mrow>
-</xsl:template>
-
-<!-- in -->
-<xsl:template match="mml:apply[mml:in]">
- <xsl:text>{</xsl:text>
- <xsl:apply-templates select="child::*[position()=2]"/>
- <xsl:text>\in</xsl:text>
- <xsl:apply-templates select="child::*[position()=3]"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<!-- notin -->
-<xsl:template match="mml:apply[mml:notin]">
- <xsl:text>{</xsl:text>
- <xsl:apply-templates select="child::*[position()=2]"/>
- <xsl:text>\notin</xsl:text>
- <xsl:apply-templates select="child::*[position()=3]"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<!-- exist-->
-<xsl:template match="mml:apply[mml:exists]">
- <mrow>
- <mo><mchar name="Exists"/></mo>
- <mrow>
- <xsl:for-each select="mml:bvar[position()!=last()]">
- <xsl:apply-templates select="."/><mo>,</mo>
- </xsl:for-each>
- <xsl:apply-templates select="mml:bvar[position()=last()]"/>
- </mrow>
- <xsl:if test="mml:condition">
- <mrow><mo>,</mo><xsl:apply-templates select="mml:condition"/></mrow>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="mml:apply">
- <mo>:</mo><xsl:apply-templates select="mml:apply"/>
- </xsl:when>
- <xsl:when test="mml:reln">
- <mo>:</mo><xsl:apply-templates select="mml:reln"/>
- </xsl:when>
- </xsl:choose>
- </mrow>
-</xsl:template>
-
-<!-- absolute value -->
-<xsl:template match="mml:apply[mml:abs]">
- <mrow><mo>|</mo><xsl:apply-templates select="child::*[position()=last()]"/><mo>|</mo></mrow>
-</xsl:template>
-
-<!-- conjugate -->
-<xsl:template match="mml:apply[mml:conjugate]">
- <mover>
- <xsl:apply-templates select="child::*[position()=2]"/>
- <mo><mchar name="ovbar"/></mo> <!-- does not work, UNICODE x0233D or perhaps OverBar-->
- </mover>
-</xsl:template>
-
-<!-- argument of complex number -->
-<xsl:template match="mml:apply[mml:arg]">
- <mrow>
- <mi>arg</mi><mo><mchar name="ApplyFunction"/></mo><mfenced separators=""><xsl:apply-templates select="child::*[position()=2]"/></mfenced>
- </mrow>
-</xsl:template>
-
-<!-- real part of complex number -->
-<xsl:template match="mml:apply[mml:real]">
- <mrow>
- <mi><xsl:text disable-output-escaping='yes'>&amp;#x0211C;</xsl:text><!-- mchar Re or realpart should work--></mi>
- <mo><mchar name="ApplyFunction"/></mo>
- <mfenced separators=""><xsl:apply-templates select="child::*[position()=2]"/></mfenced>
- </mrow>
-</xsl:template>
-
-<!-- imaginary part of complex number -->
-<xsl:template match="mml:apply[mml:imaginary]">
- <mrow>
- <mi><xsl:text disable-output-escaping='yes'>&amp;#x02111;</xsl:text><!-- mchar Im or impart should work--></mi>
- <mo><mchar name="ApplyFunction"/></mo>
- <mfenced separators=""><xsl:apply-templates select="child::*[position()=2]"/></mfenced>
- </mrow>
-</xsl:template>
-
-<!-- lowest common multiple -->
-<xsl:template match="mml:apply[mml:lcm]">
- <mrow>
- <mi>lcm</mi><mo><mchar name="ApplyFunction"/></mo>
- <mfenced>
- <xsl:apply-templates select="child::*[position()!=1]"/>
- </mfenced>
- </mrow>
-</xsl:template>
-
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.content.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.content.mod.xsl
deleted file mode 100644
index acdf329e71..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/mathml.content.mod.xsl
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE xsl:stylesheet
-[
- <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
- <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
-]>
-<!--#############################################################################
- | $Id: mathml.content.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE: MathML content markup.
- | Note: these elements are not part of the DocBook DTD. I have extended
- | the docbook DTD in order to support this tags, so that's why I have these
- | templates here.
- |
- | MathML namespace used -> mml
- + ############################################################################## -->
-
-<xsl:stylesheet version='1.0'
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
-
-<xsl:template match="mml:semantics">
-</xsl:template>
-
-
-<xsl:template match="mml:set|mml:list">
-</xsl:template>
-
-
-<xsl:template match="mml:matrix">
-</xsl:template>
-
-<xsl:template match="mml:reln">
-</xsl:template>
-
-<xsl:template match="mml:lambda">
-</xsl:template>
-
-
-
-
-
-
-<!-- Interval -->
-<!-- att. closure : open, closed, open-closed, or closed-open, with a default value of closed. -->
-<xsl:template match="mml:interval">
-<xsl:choose>
- <xsl:when test="@closure = 'open'">
- <xsl:call-template name="interval.render">
- <xsl:with-param name="node" select="."/>
- <xsl:with-param name="fst">\left( </xsl:with-param>
- <xsl:with-param name="scd">\right) </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="@closure = 'open-closed'">
- <xsl:call-template name="interval.render">
- <xsl:with-param name="node" select="."/>
- <xsl:with-param name="fst">\left( </xsl:with-param>
- <xsl:with-param name="scd">\right] </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="@closure = 'closed-open'">
- <xsl:call-template name="interval.render">
- <xsl:with-param name="node" select="."/>
- <xsl:with-param name="fst">\left[ </xsl:with-param>
- <xsl:with-param name="scd">\right) </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="interval.render">
- <xsl:with-param name="node" select="."/>
- <xsl:with-param name="fst">\left[ </xsl:with-param>
- <xsl:with-param name="scd">\right] </xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template name="interval.render">
-<xsl:param name="node"/>
-<xsl:param name="fst"/>
-<xsl:param name="scd"/>
-<xsl:choose>
- <!-- Two real numbers define the interval -->
- <xsl:when test="count(child::*) = 2">
- <xsl:value-of select="$fst"/>
- <xsl:apply-templates select="$node/child::*[1]"/>
- <xsl:text> , </xsl:text>
- <xsl:apply-templates select="$node/child::*[2]"/>
- <xsl:value-of select="$scd"/>
- </xsl:when>
- <!-- A condition defines the interval -->
- <xsl:otherwise> </xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.content.token.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.content.token.mod.xsl
deleted file mode 100644
index fd9dfdeaa6..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/mathml.content.token.mod.xsl
+++ /dev/null
@@ -1,232 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE xsl:stylesheet
-[
- <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
- <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
-]>
-<!--#############################################################################
- | $Id: mathml.content.token.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE: MathML Content Markup, tokens (ci, cn, csymbol)
- | MathML namespace used -> mml
- + ############################################################################## -->
-
-<xsl:stylesheet version='1.0'
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
-
-<xsl:strip-space elements="mml:math mml:mrow"/>
-
-
-<!-- Content Number -->
-<!-- support for bases and types-->
-<xsl:template match="mml:cn">
- <xsl:text>{</xsl:text>
- <xsl:text>{</xsl:text>
- <xsl:choose>
- <xsl:when test="./@type='complex-cartesian' or ./@type='complex'">
- <mn><xsl:value-of select="text()[position()=1]"/></mn>
- <xsl:choose>
- <xsl:when test="contains(text()[position()=2],'-')">
- <xsl:text>-</xsl:text><xsl:value-of select="substring-after(text()[position()=2],'-')"/>
- <!-- substring-after does not seem to work well in XT :
- if imaginary part is expressed with at least one space char
- before the minus sign, then it does not work (we end up with
- two minus sign since the one in the text is kept)-->
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>+</xsl:text> <xsl:value-of select="text()[position()=2]"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>\dot\textrm{i}</xsl:text>
- </xsl:when>
- <xsl:when test="./@type='complex-polar'">
- <xsl:text>\textrm{Polar}(</xsl:text><xsl:value-of select="text()[position()=1]"/><xsl:text>,</xsl:text>
- <xsl:value-of select="text()[position()=2]"/>
- <xsl:text>)</xsl:text>
- </xsl:when>
- <xsl:when test="./@type='rational'">
- <xsl:text>\frac{</xsl:text><xsl:value-of select="text()[position()=1]"/><xsl:text>}{</xsl:text>
- <xsl:value-of select="text()[position()=2]"/>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="."/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}</xsl:text>
- <xsl:if test="@base and @base!=10"> <!-- base specified and different from 10 ; if base = 10 we do not display it -->
- <xsl:text>_{</xsl:text><xsl:value-of select="@base"/><xsl:text>}</xsl:text>
- </xsl:if>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-
-
-<!-- Content Identifier -->
-<!-- identifier -->
-<!--support for presentation markup-->
-<xsl:template match="mml:ci">
-<xsl:choose>
-<xsl:when test="./@type='complex-cartesian' or ./@type='complex'">
- <xsl:choose>
- <xsl:when test="count(*)>0"> <!--if identifier is composed of real+imag parts-->
- <xsl:text>{</xsl:text>
- <xsl:choose>
- <xsl:when test="*[self::mml:mchar and position()=1]"> <!-- if real part is an mchar -->
- <xsl:text>\textrm{</xsl:text><xsl:copy-of select="*[position()=1]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise> <!-- if real part is simple text -->
- <xsl:text>\textrm{</xsl:text><xsl:copy-of select="*[position()=1]"/><xsl:text>}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose> <!-- im part is negative-->
- <xsl:when test="contains(text()[preceding-sibling::*[position()=1 and self::mml:sep]],'-')">
- <xsl:text>-\textrm{</xsl:text>
- <xsl:choose>
- <xsl:when test="mml:mchar[preceding-sibling::*[self::mml:sep]]"><!-- if im part is an mchar -->
- <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/>
- </xsl:when>
- <xsl:otherwise><!-- if im part is simple text -->
- <xsl:value-of select="substring-after(text()[preceding-sibling::*[position()=1 and self::mml:sep]],'-')"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}</xsl:text>
- <xsl:text>\dot\textrm{i}</xsl:text>
- </xsl:when>
- <xsl:otherwise> <!-- im part is not negative-->
- <xsl:text>+\textrm{</xsl:text>
- <xsl:choose><!-- if im part is an mchar -->
- <xsl:when test="mml:mchar[preceding-sibling::*[self::mml:sep]]">
- <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/>
- </xsl:when>
- <xsl:otherwise><!-- if im part is simple text -->
- <xsl:value-of select="text()[preceding-sibling::*[position()=1 and self::mml:sep]]"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}</xsl:text>
- <xsl:text>\dot\textrm{i}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise> <!-- if identifier is composed only of one text child-->
- <xsl:text>\dot\textrm{</xsl:text><xsl:value-of select="."/><xsl:text>}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:when>
-<xsl:when test="./@type='complex-polar'">
- <xsl:choose>
- <xsl:when test="count(*)>0"> <!--if identifier is composed of real+imag parts-->
- <xsl:text>{</xsl:text>
- <mi>Polar</mi>
- <mfenced><mi>
- <xsl:value-of select="text()[following-sibling::*[self::mml:sep]]"/>
- <xsl:if test="mml:mchar[following-sibling::*[self::mml:sep]]">
- <xsl:copy-of select="mml:mchar[following-sibling::*[self::mml:sep]]"/>
- </xsl:if>
- </mi>
- <mi>
- <xsl:value-of select="text()[preceding-sibling::*[self::mml:sep]]"/>
- <xsl:if test="mml:mchar[preceding-sibling::*[self::mml:sep]]">
- <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/>
- </xsl:if>
- </mi></mfenced>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise> <!-- if identifier is composed only of one text child-->
- <mi><xsl:value-of select="."/></mi>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:when>
-<xsl:when test="./@type='rational'">
- <xsl:choose>
- <xsl:when test="count(*)>0"> <!--if identifier is composed of two parts-->
- <xsl:text>{</xsl:text><mi>
- <xsl:value-of select="text()[following-sibling::*[self::mml:sep]]"/>
- <xsl:if test="mml:mchar[following-sibling::*[self::mml:sep]]">
- <xsl:copy-of select="mml:mchar[following-sibling::*[self::mml:sep]]"/>
- </xsl:if>
- </mi>
- <mo>/</mo>
- <mi>
- <xsl:value-of select="text()[preceding-sibling::*[self::mml:sep]]"/>
- <xsl:if test="mml:mchar[preceding-sibling::*[self::mml:sep]]">
- <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/>
- </xsl:if>
- </mi><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise> <!-- if identifier is composed only of one text child-->
- <mi><xsl:value-of select="."/></mi>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:when test="./@type='vector'">
- <mi fontweight="bold">
- <xsl:value-of select="text()"/>
- <xsl:if test="mml:mchar">
- <xsl:copy-of select="mml:mchar"/>
- </xsl:if>
- </mi>
-</xsl:when>
- <!-- type 'set' seems to be deprecated (use 4.4.12 instead); besides, there is no easy way to translate set identifiers to chars in ISOMOPF -->
-<xsl:otherwise> <!-- no type attribute provided -->
- <xsl:choose>
- <xsl:when test="mml:mchar"> <!-- test if identifier is expressed using mchar nodes -->
- <mi><xsl:value-of select="text()"/><xsl:copy-of select="mml:mchar"/></mi>
- </xsl:when>
- <xsl:when test="count(node()) != count(text())">
- <!--test if children are not all text nodes, meaning there is markup assumed
- to be presentation markup (the case where there are mchar nodes has been tested just before)-->
- <xsl:text>{</xsl:text><xsl:copy-of select="child::*"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise> <!-- common case -->
- <mi><xsl:value-of select="."/></mi>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-
-
-
-
-
-<!-- externally defined symbols-->
-<xsl:template match="mml:apply[mml:csymbol]">
- <xsl:text>{</xsl:text>
- <xsl:apply-templates select="mml:csymbol[position()=1]"/>
- <xsl:text>\left(</xsl:text>
- <xsl:for-each select="child::*[position()!=1]">
- <xsl:apply-templates select="."/>
- </xsl:for-each>
- <xsl:text>\right)</xsl:text>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-
-<xsl:template match="mml:csymbol">
-<xsl:choose>
- <!--test if children are not all text nodes, meaning there is markup assumed to be presentation markup-->
- <!--perhaps it would be sufficient to test if there is more than one node or text node-->
- <xsl:when test="count(node()) != count(text())">
- <xsl:text>{</xsl:text> <xsl:copy-of select="child::*"/> <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\textrm{</xsl:text> <xsl:copy-of select="."/> <xsl:text>}</xsl:text>
- </xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="mml:mchar">
- <xsl:copy-of select="."/>
-</xsl:template>
-<!--
-<xsl:template match="mml:mtext">
- <xsl:copy-of select="."/>
-</xsl:template>
--->
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.mod.xsl
deleted file mode 100644
index 37619eb499..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/mathml.mod.xsl
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE xsl:stylesheet
-[
- <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
- <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
-]>
-<!--#############################################################################
- | $Id: mathml.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE: MathML presentation and content markup.
- | Note: these elements are not part of the DocBook DTD. I have extended
- | the docbook DTD in order to support this tags, so that's why I have these
- | templates here.
- |
- | MathML namespace used -> mml
- + ############################################################################## -->
-
-<xsl:stylesheet version='1.0'
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
-
-<xsl:strip-space elements="mml:math mml:mrow"/>
-
-
-<xsl:template match="mml:math">
- <xsl:text> \begin{displaymath} </xsl:text>
- <xsl:apply-templates/>
- <xsl:text> \end{displaymath} </xsl:text>
-</xsl:template>
-
-<xsl:template match="mml:math[@mode='inline']">
- <xsl:text> \begin{math} </xsl:text>
- <xsl:apply-templates/>
- <xsl:text> \end{math} </xsl:text>
-</xsl:template>
-
-<xsl:template match="mml:math[@mode='display']">
- <xsl:text> \begin{displaymath} </xsl:text>
- <xsl:apply-templates/>
- <xsl:text> \end{displaymath} </xsl:text>
-</xsl:template>
-
-
-<xsl:template match="p">
- <xsl:text>\section{</xsl:text> <xsl:value-of select="normalize-space(.)"/> <xsl:text>} </xsl:text>
-</xsl:template>
-
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.presentation.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.presentation.mod.xsl
deleted file mode 100644
index 62f317d344..0000000000
--- a/docs/docbook/xslt/db2latex/mathml/mathml.presentation.mod.xsl
+++ /dev/null
@@ -1,398 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE xsl:stylesheet
-[
- <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
- <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
-]>
-<!--#############################################################################
- | $Id: mathml.presentation.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE: MathML presentation markup.
- | Note: these elements are not part of the DocBook DTD. I have extended
- | the docbook DTD in order to support this tags, so that's why I have these
- | templates here.
- |
- | MathML namespace used -> mml
- + ############################################################################## -->
-
-<xsl:stylesheet version='1.0'
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
-
-<xsl:template match="mml:mrow">
- <xsl:text>{</xsl:text> <xsl:apply-templates/> <xsl:text>}</xsl:text>
-</xsl:template>
-
-
-<!-- TOKENS -->
-<!-- Math Identifier -->
-<xsl:template match="mml:mi">
- <xsl:variable name="fontstyle" select="@fontstyle"/>
- <xsl:variable name="identifier" select="normalize-space(.)"/>
- <xsl:choose>
- <xsl:when test="$identifier='&ExponentialE;'">
- <xsl:text>\textrm{e}</xsl:text>
- </xsl:when>
- <xsl:when test="$identifier='&ImaginaryI;'">
- <xsl:text>\textrm{i}</xsl:text>
- </xsl:when>
- <xsl:when test="$identifier='&#x0221E;'"><!--/infty infinity -->
- <xsl:text>\infty</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\textrm{</xsl:text> <xsl:copy-of select="$identifier"/> <xsl:text>}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- Math Number -->
-<xsl:template match="mml:mn">
- <xsl:copy-of select="normalize-space(.)"/>
-</xsl:template>
-
-<!-- Math Phantom -->
-<xsl:template match="mml:mphantom">
- <xsl:apply-templates/>
-</xsl:template>
-
-<!-- Math Operator -->
-<xsl:template match="mml:mo">
- <xsl:variable name="operator" select="normalize-space(.)"/>
- <xsl:choose>
- <xsl:when test="$operator='&ApplyFunction;'">
- <xsl:text></xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&InvisibleComma;'">
- <xsl:text>\thinspace</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&InvisibleTimes;'">
- <xsl:text>\thinspace</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&Integral;'">
- <xsl:text>\int</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&Product;'">
- <xsl:text>\prod</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&Sum;'">
- <xsl:text>\sum</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&Hat;'">
- <xsl:text>\sphat</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&RightArrow;'">
- <xsl:text>\longrightarrow</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&Element;'">
- <xsl:text>\in</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&VerticalBar;'">
- <xsl:text>|</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='&DifferentialD;'">
- <xsl:text>\textrm{d}</xsl:text>
- </xsl:when>
- <xsl:when test="$operator='('">
- <xsl:text> {\left( </xsl:text>
- </xsl:when>
- <xsl:when test="$operator=')'">
- <xsl:text> \right)} </xsl:text>
- </xsl:when>
- <xsl:when test="$operator='{'">
- <xsl:text> {\left\{ </xsl:text>
- </xsl:when>
- <xsl:when test="$operator='}'">
- <xsl:text> \right\}} </xsl:text>
- </xsl:when>
- <xsl:when test="$operator='['">
- <xsl:text> {\left[ </xsl:text>
- </xsl:when>
- <xsl:when test="$operator=']'">
- <xsl:text> \right]} </xsl:text>
- </xsl:when>
- <xsl:when test="$operator='max'">
- <xsl:text> \max </xsl:text>
- </xsl:when>
- <xsl:when test="$operator='min'">
- <xsl:text> \min </xsl:text>
- </xsl:when>
- <xsl:when test="$operator='+' or $operator='-' or $operator='/' or $operator='*'">
- <xsl:value-of select="$operator"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\operatorname{</xsl:text>
- <xsl:value-of select="$operator" />
- <xsl:text>}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- Math String -->
-<xsl:template match="mml:ms">
- <xsl:text>\textrm{</xsl:text>
- <xsl:copy-of select="normalize-space(.)" />
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<!-- Math Text -->
-<xsl:template match="mml:mtext">
- <xsl:message>RCAS mtext, <xsl:copy-of select="."/> </xsl:message>
- <xsl:text>\textrm{</xsl:text>
- <xsl:copy-of select="." />
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<!-- Math Space -->
-<xsl:template match="mml:mspace">
-</xsl:template>
-
-
-
-
-
-<xsl:template match="mml:msup">
- <xsl:apply-templates select="*[1]"/>
- <xsl:text>^{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="mml:msub">
- <xsl:apply-templates select="*[1]"/>
- <xsl:text>_{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="mml:msubsup">
-<xsl:choose>
- <xsl:when test="name(*[1])='mo'">
- <xsl:apply-templates select="*[1]"/>
- <!-- sub -->
- <xsl:text>_{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text>
- <!-- super -->
- <xsl:text>^{</xsl:text><xsl:apply-templates select="*[3]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <!-- base -->
- <xsl:text>{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
- <!-- sub -->
- <xsl:text>_{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text>
- <!-- super -->
- <xsl:text>^{</xsl:text><xsl:apply-templates select="*[3]"/><xsl:text>}</xsl:text>
- </xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="mml:mmultiscripts">
-</xsl:template>
-
-<!--
-<xsl:template match="mml:munder">
-<xsl:choose>
- <xsl:when test="*[2] = &#818;">
- <xsl:text>\underline{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:when test="normalize-space(*[2]) = &#65080;">
- <xsl:text>\underbrace{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:when test="normalize-space(*[2]) = &#9141;">
- <xsl:text>\underbrace{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\underset{</xsl:text>
- <xsl:apply-templates select="*[2]"/>
- <xsl:text>}{</xsl:text>
- <xsl:apply-templates select="*[1]"/>
- <xsl:text>}</xsl:text>
- </xsl:otherwise>
-</xsl:choose>
-</xsl:template>
--->
-<xsl:template match="mml:mover">
-<!--<xsl:choose>
- <xsl:when test="normalize-space(*[2]) = &#175;">
- <xsl:text>\overline{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:when test="normalize-space(*[2]) = &#65079;">
- <xsl:text>\overbrace{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:when test="normalize-space(*[2]) = &#65077;">
- <xsl:text>\widehat{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:when test="normalize-space(*[2]) = &#9140;">
- <xsl:text>\widehat{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>-->
- <xsl:text>\overset{</xsl:text>
- <xsl:apply-templates select="*[2]"/>
- <xsl:text>}{</xsl:text>
- <xsl:apply-templates select="*[1]"/>
- <xsl:text>}</xsl:text>
-<!-- </xsl:otherwise>
-</xsl:choose>-->
-</xsl:template>
-
-
-
-<!-- Math UnderOver -->
-<xsl:template match="mml:munderover">
- <xsl:text>\overset{</xsl:text>
- <xsl:apply-templates select="*[3]"/>
- <xsl:text>}{\underset{</xsl:text>
- <xsl:apply-templates select="*[2]"/>
- <xsl:text>}{</xsl:text>
- <xsl:apply-templates select="*[1]"/>
- <xsl:text>}}</xsl:text>
-</xsl:template>
-
-
-
-<!-- Math Fenced -->
-<xsl:template match="mml:mfenced">
-<!-- get open,close, separators att -->
- <xsl:choose>
- <xsl:when test="@open='('">
- <xsl:text> {\left( </xsl:text>
- </xsl:when>
- <xsl:when test="@open='{'">
- <xsl:text> {\left\{ </xsl:text>
- </xsl:when>
- <xsl:when test="@open='['">
- <xsl:text> {\left[ </xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text> {\left( </xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:apply-templates select="*[1]"/>
- <xsl:choose>
- <xsl:when test="@close=')'">
- <xsl:text> \right)} </xsl:text>
- </xsl:when>
- <xsl:when test="@close='}'">
- <xsl:text> \right\}} </xsl:text>
- </xsl:when>
- <xsl:when test="@close=']'">
- <xsl:text> \right]} </xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text> \right)} </xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-
-
-<!-- Math frac -->
-<xsl:template match="mml:mfrac">
-<xsl:choose>
-<xsl:when test="@linethickness">
- <xsl:choose>
- <xsl:when test="@linethickness='thin'">
- <xsl:text> \frac[1pt]{ </xsl:text>
- </xsl:when>
- <xsl:when test="@linethickness='medium'">
- <xsl:text> \frac[1.1pt]{ </xsl:text>
- </xsl:when>
- <xsl:when test="@linethickness='thick'">
- <xsl:text> \frac[1.2pt]{ </xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text> \frac[</xsl:text><xsl:value-of select="@linethickness"/><xsl:text>]{ </xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:when>
-<xsl:otherwise>
- <xsl:text> \frac{ </xsl:text>
-</xsl:otherwise>
-</xsl:choose>
-<!-- <xsl:value-of select="*[1]"/> -->
-<xsl:apply-templates select="*[1]"/>
-<xsl:text> }{ </xsl:text>
-<!-- <xsl:value-of select="*[2]"/> -->
-<xsl:apply-templates select="*[2]"/>
-<xsl:text> }</xsl:text>
-</xsl:template>
-
-
-<!-- Math msqrt -->
-<xsl:template match="mml:msqrt">
- <xsl:text> \sqrt{ </xsl:text>
- <xsl:apply-templates/>
- <xsl:text> }</xsl:text>
-</xsl:template>
-
-
-<!-- Math mroot -->
-<xsl:template match="mml:mroot">
- <xsl:text> \sqrt[</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>]{</xsl:text>
- <xsl:apply-templates select="*[2]"/><xsl:text> }</xsl:text>
-</xsl:template>
-
-
-
-<xsl:template name="mtable.format.tabular">
- <xsl:param name="cols" select="1"/>
- <xsl:param name="i" select="1"/>
- <xsl:choose>
- <!-- Out of the recursive iteration -->
- <xsl:when test="$i > $cols"></xsl:when>
- <!-- There are still columns to count -->
- <xsl:otherwise>
- <xsl:text>c</xsl:text>
- <!-- Recursive for next column -->
- <xsl:call-template name="mtable.format.tabular">
- <xsl:with-param name="i" select="$i+1"/>
- <xsl:with-param name="cols" select="$cols"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-
-<xsl:template match="mml:mtable">
-<xsl:variable name="rows" select="mml:mtr"/>
-\begin{array}{<xsl:text></xsl:text>
-<xsl:call-template name="mtable.format.tabular"><xsl:with-param name="cols" select="count($rows)"/></xsl:call-template>
-<xsl:text>}\hline&#10;</xsl:text>
- <xsl:apply-templates/>
-\end{array}&#10;
-</xsl:template>
-
-<xsl:template match="mml:mtr">
-<!-- Row starts here -->
-<xsl:apply-templates/>
-<!-- End Row here -->
-</xsl:template>
-
-<xsl:template match="mml:mtd">
- <xsl:apply-templates/><xsl:text> &amp; </xsl:text>
-</xsl:template>
-
-<xsl:template match="mml:mtd[position()=last()]">
- <xsl:apply-templates/>\\ \hline
-</xsl:template>
-
-<xsl:template match="mml:mtd[position()=last()]">
- <xsl:apply-templates/>\\ \hline
-</xsl:template>
-
-<xsl:template match="mml:mphantom">
- <xsl:apply-templates mode="phantom"/>
-</xsl:template>
-
-<xsl:template match="mml:mi" mode="phantom">
- <xsl:variable name="fontstyle" select="@fontstyle"/>
- <xsl:variable name="identifier" select="normalize-space(.)"/>
- <xsl:choose>
- <xsl:when test="$identifier='&ExponentialE;'">
- <xsl:text>\textrm{e}</xsl:text>
- </xsl:when>
- <xsl:when test="$identifier='&ImaginaryI;'">
- <xsl:text>\textrm{i}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\textrm{</xsl:text> <xsl:copy-of select="$identifier"/> <xsl:text>}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/mediaobject.mod.xsl b/docs/docbook/xslt/db2latex/mediaobject.mod.xsl
deleted file mode 100644
index 5c996c2d9b..0000000000
--- a/docs/docbook/xslt/db2latex/mediaobject.mod.xsl
+++ /dev/null
@@ -1,215 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: mediaobject.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: Manage Imageobject related tags.
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="mediaobject" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: mediaobject.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>MediaObjects <filename>mediaobject.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
- <xsl:template match="videoobject">
- <xsl:apply-templates select="videodata"/>
- </xsl:template>
- <xsl:template match="audioobject">
- <xsl:apply-templates select="audiodata"/>
- </xsl:template>
- <xsl:template match="textobject">
- <!-- TODO if mixed in with imageobjects, use subfigure (if appropriate) -->
- <xsl:apply-templates/>
- </xsl:template>
-
-
- <xsl:template match="mediaobject|inlinemediaobject">
- <xsl:if test="local-name(.)='mediaobject' and position()=1">
- <xsl:text>&#10;</xsl:text>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="count(imageobject)&lt;1">
- <xsl:apply-templates select="textobject[1]"/>
- </xsl:when>
- <xsl:when test="$use.role.for.mediaobject='1' and $preferred.mediaobject.role!='' and count(imageobject/imagedata[@role='latex'])!=0">
- <xsl:apply-templates select="imageobject/imagedata[@role=$preferred.mediaobject.role]"/>
- </xsl:when>
- <xsl:when test="$use.role.for.mediaobject='1' and count(imageobject/imagedata[@role='latex'])!=0">
- <xsl:apply-templates select="imageobject/imagedata[@role='latex']"/>
- </xsl:when>
- <xsl:when test="$use.role.for.mediaobject='1' and count(imageobject/imagedata[@role='tex'])!=0">
- <xsl:apply-templates select="imageobject/imagedata[@role='tex']"/>
- </xsl:when>
- <xsl:when test="$latex.graphics.formats!='' and count(imageobject/imagedata[@format!=''])!=0">
- <!-- this is not really the right method: formats to the left of $latex.graphics.formats
- should be given higher 'priority' than those to the right in a command-separated list -->
- <xsl:variable name="formats" select="concat(',',$latex.graphics.formats,',')"/>
- <xsl:variable name="candidates" select="imageobject/imagedata[contains($formats,concat(',',@format,','))]"/>
- <xsl:choose>
- <xsl:when test="count($candidates)!=0">
- <xsl:apply-templates select="$candidates[1]"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="fallbacks" select="imageobject/imagedata[@format='']"/>
- <xsl:choose>
- <xsl:when test="count($fallbacks)!=0">
- <xsl:apply-templates select="$fallbacks[1]"/>
- </xsl:when>
- <xsl:when test="count(textobject)!=0">
- <xsl:apply-templates select="textobject[1]"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="imageobject[1]"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="imageobject[1]"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="imageobject">
- <xsl:apply-templates select="imagedata"/>
- </xsl:template>
-
-
-
-
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="imagedata" xmlns="">
- <refpurpose>XSL template for images.</refpurpose>
- <refdescription>
- <para></para>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- <listitem><para>If both <literal>@width</literal> and <literal>@scale</literal> are given but <literal>@scalefit='0'</literal>, whitespace is added to the left and right in order to match the specified width.</para></listitem>
- <listitem><para>If <literal>@width</literal> is given and either <literal>@scalefit=1</literal> or no <literal>@scale</literal> is given, then the image is scale to <literal>@width</literal>. Otherwise, <literal>@scale</literal> is used, if it is present.</para></listitem>
- <listitem><para>If this is not the only <literal>imagedata</literal> within the figure, this will be rendered as a 'subfigure', including the <literal>caption</literal> of its enclosing <literal>mediaobject</literal>.</para></listitem>
- </itemizedlist>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
- <xsl:template match="imagedata">
- <xsl:variable name="filename" select="@fileref"/>
- <xsl:variable name="ext">
- <xsl:call-template name="filename-extension">
- <xsl:with-param name="filename" select="$filename"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="imageobjectscnt" select="count(../../..//imageobject)"/>
- <xsl:variable name="width">
- <xsl:choose>
- <xsl:when test="contains(@width, '%') and substring-after(@width, '%')=''">
- <xsl:value-of select="number(substring-before(@width, '%')) div 100"/>
- <xsl:text>\textwidth</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@width"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:if test="$width!='' and (@scalefit='0' or count(@scale)&gt;0)">
- <xsl:text>\makebox[</xsl:text><xsl:value-of select='$width' /><xsl:text>]</xsl:text>
- </xsl:if>
- <xsl:text>{</xsl:text>
- <!-- TODO this logic actually needs to make decisions based on the ALLOWED imagedata,
- not all the imagedata present in the source file. -->
- <xsl:if test="$imageobjectscnt &gt; 1 and $latex.use.subfigure='1' and count(ancestor::figure) &gt; 0">
- <xsl:text>\subfigure[</xsl:text>
- <xsl:if test="count(../../..//caption)&gt;1">
- <xsl:value-of select="../../caption"/>
- </xsl:if>
- <xsl:text>]</xsl:text>
- </xsl:if>
- <xsl:text>{\includegraphics[</xsl:text>
- <xsl:choose>
- <xsl:when test="$width!='' and (@scalefit='1' or count(@scale)&lt;1)">
- <xsl:text>width=</xsl:text><xsl:value-of select="normalize-space($width)"/>
- </xsl:when>
- <xsl:when test="@scale">
- <xsl:text>scale=.</xsl:text><xsl:value-of select="normalize-space(@scale)"/>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="@format = 'PRN'"><xsl:text>,angle=270</xsl:text></xsl:when>
- </xsl:choose>
- <xsl:text>]{</xsl:text>
- <xsl:choose><!-- package graphicx and DeclareGraphicExtensions will take care of this -->
- <xsl:when test="$ext != ''">
- <xsl:value-of select="$filename"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$filename"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}}}&#10;</xsl:text>
- <!-- xsl:text>}}}\quad&#10;</xsl:text -->
- </xsl:template>
-
-
-
- <xsl:template match="videodata">
- <xsl:variable name="filename">
- <xsl:call-template name="mediaobject.filename"><xsl:with-param name="object" select=".."/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="alt">
- <xsl:apply-templates select="(../../textobject/phrase)[1]"/>
- </xsl:variable>
- </xsl:template>
-
- <xsl:template match="audiodata">
- <xsl:variable name="filename">
- <xsl:call-template name="mediaobject.filename"><xsl:with-param name="object" select=".."/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="alt">
- <xsl:apply-templates select="(../../textobject/phrase)[1]"/>
- </xsl:variable>
- </xsl:template>
-
-
- <xsl:template match="caption">
- <xsl:apply-templates/>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/msgset.mod.xsl b/docs/docbook/xslt/db2latex/msgset.mod.xsl
deleted file mode 100644
index a72074e9f5..0000000000
--- a/docs/docbook/xslt/db2latex/msgset.mod.xsl
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version='1.0'?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
- <!--#############################################################################
- | $Id: msgset.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE:
- + ############################################################################## -->
-
-
- <xsl:template match="msgset">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="msgentry">
- <xsl:call-template name="block.object"/>
- </xsl:template>
-
- <xsl:template match="simplemsgentry">
- <xsl:call-template name="block.object"/>
- </xsl:template>
-
- <xsl:template match="msg">
- <xsl:call-template name="block.object"/>
- </xsl:template>
-
- <xsl:template match="msgmain">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="msgmain/title">
- <b><xsl:apply-templates/></b>
- </xsl:template>
-
- <xsl:template match="msgsub">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="msgsub/title">
- <b><xsl:apply-templates/></b>
- </xsl:template>
-
- <xsl:template match="msgrel">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="msgrel/title">
- <b><xsl:apply-templates/></b>
- </xsl:template>
-
- <xsl:template match="msgtext">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="msginfo">
- <xsl:call-template name="block.object"/>
- </xsl:template>
-
- <xsl:template match="msglevel|msgorig|msgaud">
- <p>
- <b>
- <xsl:call-template name="gentext.element.name"/>
- <xsl:text>: </xsl:text>
- </b>
- <xsl:apply-templates/>
- </p>
- </xsl:template>
-
- <xsl:template match="msgexplan">
- <xsl:call-template name="block.object"/>
- </xsl:template>
-
- <xsl:template match="msgexplan/title">
- <xsl:apply-templates/>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/normalize-scape.mod.xsl b/docs/docbook/xslt/db2latex/normalize-scape.mod.xsl
deleted file mode 100644
index 0ad0f76865..0000000000
--- a/docs/docbook/xslt/db2latex/normalize-scape.mod.xsl
+++ /dev/null
@@ -1,240 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: normalize-scape.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-| Escape LaTeX and normalize-space templates.
-| < > # $ % & ~ _ ^ \ { }
-+ ############################################################################## -->
-
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="normalize-scape" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: normalize-scape.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright><year>2000</year><year>2001</year><year>2002</year><year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Normalize and Scape strings.</title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template name="normalize-scape" xmlns="">
- <refpurpose> Abstract XSL template. </refpurpose>
- <refdescription>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="text()">
- <xsl:call-template name="scape">
- <xsl:with-param name="string" select="."/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="text()" mode="xref.text">
- <xsl:call-template name="scape">
- <xsl:with-param name="string" select="."/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="text()" mode="xref-to">
- <xsl:call-template name="scape">
- <xsl:with-param name="string" select="."/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="text()" mode="latex.verbatim">
- <xsl:value-of select="."/>
- </xsl:template>
-
- <!-- this template is noly used by xref.mod.xsl and only when
- $latex.hyphenation.tttricks != 1. -->
- <xsl:template match="text()" mode="slash.hyphen">
- <xsl:call-template name="scape.slash.hyphen">
- <xsl:with-param name="string" select="." />
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template name="scape.slash.hyphen">
- <xsl:param name="string" />
- <xsl:choose>
- <xsl:when test="contains($string,'://')">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">/\-</xsl:with-param>
- <xsl:with-param name="from">/</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:value-of select="substring-before($string,'://')"/>
- <xsl:value-of select="'://'"/>
- <xsl:call-template name="scape">
- <xsl:with-param name="string" select="substring-after($string,'://')"/>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">/\-</xsl:with-param>
- <xsl:with-param name="from">/</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="scape">
- <xsl:with-param name="string" select="$string"/>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="normalize-scape" >
- <xsl:param name="string"/>
- <xsl:variable name="result">
- <xsl:call-template name="scape"><xsl:with-param name="string" select="$string"/></xsl:call-template>
- </xsl:variable>
- <xsl:value-of select="normalize-space($result)"/>
- </xsl:template>
-
-
- <xsl:template name="scape" >
- <xsl:param name="string"/>
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\textless{}</xsl:with-param>
- <xsl:with-param name="from">&lt;</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\textgreater{}</xsl:with-param>
- <xsl:with-param name="from">&gt;</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\{</xsl:with-param>
- <xsl:with-param name="from">{</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\}</xsl:with-param>
- <xsl:with-param name="from">}</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\&amp;</xsl:with-param>
- <xsl:with-param name="from">&amp;</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\#</xsl:with-param>
- <xsl:with-param name="from">#</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\_</xsl:with-param>
- <xsl:with-param name="from">_</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\$</xsl:with-param>
- <xsl:with-param name="from">$</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\%</xsl:with-param>
- <xsl:with-param name="from">%</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\^</xsl:with-param>
- <xsl:with-param name="from">^</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\textasciitilde{}</xsl:with-param>
- <xsl:with-param name="from">~</xsl:with-param>
- <xsl:with-param name="string">
- <xsl:call-template name="string-replace">
- <xsl:with-param name="to">\textbackslash{}</xsl:with-param>
- <xsl:with-param name="from">\</xsl:with-param>
- <xsl:with-param name="string" select="$string"></xsl:with-param>
- </xsl:call-template>
- </xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template></xsl:with-param>
- </xsl:call-template>
- </xsl:template>
-
-
-
-
- <xsl:template name="string-replace">
- <xsl:param name="string"/>
- <xsl:param name="from"/>
- <xsl:param name="to"/>
-
- <xsl:choose>
- <xsl:when test="contains($string, $from)">
-
- <xsl:variable name="before" select="substring-before($string, $from)"/>
- <xsl:variable name="after" select="substring-after($string, $from)"/>
- <xsl:variable name="prefix" select="concat($before, $to)"/>
-
- <xsl:value-of select="$before"/>
- <xsl:value-of select="$to"/>
- <xsl:call-template name="string-replace">
- <xsl:with-param name="string" select="$after"/>
- <xsl:with-param name="from" select="$from"/>
- <xsl:with-param name="to" select="$to"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$string"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
- <!--
- (c) David Carlisle
- replace all occurences of the character(s) `from'
- by the string `to' in the string `string'.
- <xsl:template name="string-replace" >
- <xsl:param name="string"/>
- <xsl:param name="from"/>
- <xsl:param name="to"/>
- <xsl:choose>
- <xsl:when test="contains($string,$from)">
- <xsl:value-of select="substring-before($string,$from)"/>
- <xsl:value-of select="$to"/>
- <xsl:call-template name="string-replace">
- <xsl:with-param name="string" select="substring-after($string,$from)"/>
- <xsl:with-param name="from" select="$from"/>
- <xsl:with-param name="to" select="$to"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$string"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- -->
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/para.mod.xsl b/docs/docbook/xslt/db2latex/para.mod.xsl
deleted file mode 100644
index 8a02fa5eb3..0000000000
--- a/docs/docbook/xslt/db2latex/para.mod.xsl
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: para.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="para" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: para.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Paragraphs <filename>para.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <xsl:template match="para">
- <xsl:text>&#10;</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="simpara">
- <xsl:text>&#10;</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="formalpara">
- <xsl:text>&#10;\textbf{</xsl:text>
- <xsl:call-template name="normalize-scape"><xsl:with-param name="string" select="title"/></xsl:call-template>
- <xsl:text>} </xsl:text>
- <xsl:apply-templates/>
- <xsl:text>&#10;</xsl:text>
- <xsl:text>&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="formalpara/title"/>
-
- <!--==========================================================================
- | Especial Cases Do not add Linefeed
- +============================================================================-->
-
- <xsl:template match="textobject/para"> <xsl:apply-templates/> </xsl:template>
- <xsl:template match="step/para"> <xsl:apply-templates/> </xsl:template>
- <xsl:template match="entry/para"> <xsl:apply-templates/> </xsl:template>
- <xsl:template match="question/para"> <xsl:apply-templates/> </xsl:template>
- <xsl:template match="answer/para"> <xsl:apply-templates/> </xsl:template>
-
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/part-chap-app.mod.xsl b/docs/docbook/xslt/db2latex/part-chap-app.mod.xsl
deleted file mode 100644
index a0994226b9..0000000000
--- a/docs/docbook/xslt/db2latex/part-chap-app.mod.xsl
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: part-chap-app.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: Part
-+ ############################################################################## -->
-
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="part-chap-app" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: part-chap-app.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Parts, Chapters and Appendixes <filename>part-chap-app.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
-
-
- <xsl:template match="part">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="part/docinfo"/>
- <xsl:template match="part/title"/>
- <xsl:template match="part/subtitle"/>
- <xsl:template match="partintro"/>
- <xsl:template match="partintro/title"/>
- <xsl:template match="partintro/subtitle"/>
- <xsl:template match="partintro/titleabbrev"/>
-
-
- <!--#############################################################################
- | $Id: part-chap-app.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE: Chapter
- + ############################################################################## -->
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="chapter" xmlns="">
- <refpurpose> XSL template for Chapters.</refpurpose>
- <refdescription>
- <para> This is the main entry point for a <sgmltag class="start">chapter</sgmltag> subtree.
- This template processes any chapter. Outputs <literal>\chapter{title}</literal>, calls
- templates and apply-templates. Since chapters only apply in books,
- some assumptions could be done in order to optimize the stylesheet behaviour.</para>
-
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- <listitem><para>
- EMPTY templates: chapter/title,
- chapter/titleabbrev,
- chapter/subtitle,
- chapter/docinfo|chapterinfo.</para></listitem>
- </itemizedlist>
- </formalpara>
-
- <formalpara><title>Affected by</title> map.
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="chapter">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- <xsl:call-template name="map.end"/>
- </xsl:template>
-
- <xsl:template match="chapter/title"/>
- <xsl:template match="chapter/titleabbrev"/>
- <xsl:template match="chapter/subtitle"/>
- <xsl:template match="chapter/docinfo|chapterinfo"/>
-
-
- <!--#############################################################################
- | $Id: part-chap-app.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE:
- + ############################################################################## -->
-
- <xsl:template match="appendix">
- <xsl:if test="not (preceding-sibling::appendix)">
- <xsl:text>&#10;</xsl:text>
- <xsl:choose>
- <xsl:when test="local-name(..)='book' or local-name(..)='part'">
- <xsl:text>\newcommand{\dbappendix}[1]{\chapter{#1}}%&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\newcommand{\dbappendix}[1]{\section{#1}}%&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword">appendixes</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- <xsl:call-template name="map.end"/>
- </xsl:template>
-
-
- <xsl:template match="appendix/title"/>
- <xsl:template match="appendix/titleabbrev"/>
- <xsl:template match="appendix/subtitle"/>
- <xsl:template match="appendix/docinfo|appendixinfo"/>
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/pi.mod.xsl b/docs/docbook/xslt/db2latex/pi.mod.xsl
deleted file mode 100644
index 4ebf58b786..0000000000
--- a/docs/docbook/xslt/db2latex/pi.mod.xsl
+++ /dev/null
@@ -1,184 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: pi.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="abstract" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: pi.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year><year>2002</year><year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Processing Instructions</title>
-
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
- <doc:template match="processing-instruction()" xmlns="">
- <refpurpose> Processing Instruction XSL template. </refpurpose>
- <refdescription>
- </refdescription>
- </doc:template>
-
-
- <xsl:template match="processing-instruction()">
- </xsl:template>
-
- <xsl:template match="processing-instruction('rcas')">
- <xsl:processing-instruction name="dbhtml">
- <xsl:value-of select="."/>
- </xsl:processing-instruction>
- </xsl:template>
-
- <xsl:template match="processing-instruction('db2latex')">
- </xsl:template>
-
-
-
-
- <xsl:template name="process.cmdsynopsis.list">
- <xsl:param name="cmdsynopses"/><!-- empty node list by default -->
- <xsl:param name="count" select="1"/>
-
- <xsl:choose>
- <xsl:when test="$count>count($cmdsynopses)"></xsl:when>
- <xsl:otherwise>
- <xsl:variable name="cmdsyn" select="$cmdsynopses[$count]"/>
-
- <dt>
- <a>
- <xsl:attribute name="href">
- <xsl:call-template name="label.id">
- <xsl:with-param name="object" select="$cmdsyn"/>
- </xsl:call-template>
- </xsl:attribute>
-
- <xsl:choose>
- <xsl:when test="$cmdsyn/@xreflabel">
- <xsl:call-template name="xref.xreflabel">
- <xsl:with-param name="target" select="$cmdsyn"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <!-- RCAS Fixme
- <xsl:call-template name="xref.cmdsynopsis">
- <xsl:with-param name="target" select="$cmdsyn"/>
- </xsl:call-template>-->
- </xsl:otherwise>
- </xsl:choose>
- </a>
- </dt>
-
- <xsl:call-template name="process.cmdsynopsis.list">
- <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
- <xsl:with-param name="count" select="$count+1"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="processing-instruction('dbcmdlist')">
- <xsl:variable name="cmdsynopses" select="..//cmdsynopsis"/>
-
- <xsl:if test="count($cmdsynopses)&lt;1">
- <xsl:message><xsl:text>No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep?</xsl:text>
- </xsl:message>
- </xsl:if>
-
- <dl>
- <xsl:call-template name="process.cmdsynopsis.list">
- <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
- </xsl:call-template>
- </dl>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
- <xsl:template name="process.funcsynopsis.list">
- <xsl:param name="funcsynopses"/><!-- empty node list by default -->
- <xsl:param name="count" select="1"/>
-
- <xsl:choose>
- <xsl:when test="$count>count($funcsynopses)"></xsl:when>
- <xsl:otherwise>
- <xsl:variable name="cmdsyn" select="$funcsynopses[$count]"/>
-
- <dt>
- <a>
- <xsl:attribute name="href">
- <xsl:call-template name="label.id">
- <xsl:with-param name="object" select="$cmdsyn"/>
- </xsl:call-template>
- </xsl:attribute>
-
- <xsl:choose>
- <xsl:when test="$cmdsyn/@xreflabel">
- <xsl:call-template name="xref.xreflabel">
- <xsl:with-param name="target" select="$cmdsyn"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <!-- RCAS Fixme
- <xsl:call-template name="xref.funcsynopsis">
- <xsl:with-param name="target" select="$cmdsyn"/>
- </xsl:call-template>
- -->
- </xsl:otherwise>
- </xsl:choose>
- </a>
- </dt>
-
- <xsl:call-template name="process.funcsynopsis.list">
- <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
- <xsl:with-param name="count" select="$count+1"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="processing-instruction('dbfunclist')">
- <xsl:variable name="funcsynopses" select="..//funcsynopsis"/>
-
- <xsl:if test="count($funcsynopses)&lt;1">
- <xsl:message><xsl:text>No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep?</xsl:text>
- </xsl:message>
- </xsl:if>
-
- <dl>
- <xsl:call-template name="process.funcsynopsis.list">
- <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
- </xsl:call-template>
- </dl>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/preamble.mod.xsl b/docs/docbook/xslt/db2latex/preamble.mod.xsl
deleted file mode 100644
index 140f929471..0000000000
--- a/docs/docbook/xslt/db2latex/preamble.mod.xsl
+++ /dev/null
@@ -1,758 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: preamble.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: Variables and templates to manage LaTeX preamble.
-+ ############################################################################## -->
-
-<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'>
-
-
- <doc:reference id="preamble" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: preamble.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright><year>2000</year><year>2001</year><year>2002</year><year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Variables and Templates used in LaTeX Preamble Generation</title>
-
- <partintro>
- <section><title>Introduction</title>
- <para> This section described the variables and templates that are used in the generation of
- the outtput LaTeX preamble. Basically, the LaTeX preamble depends on the XML document, that is,
- on whether it is an article or a book.</para>
- </section>
-
- <section><title>Flow</title>
- <section><title>Articles</title>
- <para></para>
- </section>
- <section><title>Books</title>
- <para></para>
- </section>
- </section>
- </partintro>
- </doc:reference>
-
-
-
- <!--#############################################################################
- | generate.latex.article.preamble and generate.latex.book.preamble
- |- #############################################################################
- | Top-level named templates.
- | LaTeX Preamble.
- |
- + ############################################################################## -->
-
- <!-- DOCUMENTATION -->
- <doc:template name="generate.latex.article.preamble" xmlns="">
- <refpurpose> Top level template, called by article template,
- responsible of generating the LaTeX preamble according to user
- XSL variables and templates.
- </refpurpose>
- <refdescription>
- <formalpara><title>Overview</title>
- If the xsl:variable <literal>latex.override</literal>
- is empty, the template outputs <literal>latex.article.preamblestart</literal>
- and calls <literal>generate.latex.common.preamble</literal>. Otherwise,
- it outputs the value of <literal>latex.override</literal> and
- exists.
- </formalpara>
- </refdescription>
- <refauthor>Ramon Casellas <email>casellas@aist.enst.fr</email></refauthor>
- </doc:template>
-
- <!-- TEMPLATE -->
- <xsl:template name="generate.latex.article.preamble">
- <xsl:choose>
- <xsl:when test="$latex.override = ''">
- <xsl:value-of select="$latex.article.preamblestart"/>
- <xsl:value-of select="$latex.article.preamble.pre"/>
- <xsl:call-template name="label.id"/>
- <xsl:call-template name="generate.latex.common.preamble"/>
- <xsl:value-of select="$latex.article.preamble.post"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$latex.override"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <!-- DOCUMENTATION -->
- <doc:template name="generate.latex.book.preamble" xmlns="">
- <refpurpose> Top level template, called by book template,
- responsible of generating the LaTeX preamble according to user
- XSL variables and templates.
- </refpurpose>
- <refdescription>
- <formalpara><title>Overview</title>
- If the xsl:variable <literal>latex.override</literal>
- is empty, the template outputs <literal>latex.book.preamblestart</literal>
- and calls <literal>generate.latex.common.preamble</literal>. Otherwise,
- it outputs the value of <literal>latex.override</literal> and
- exists.
- </formalpara>
- </refdescription>
- <refauthor>Ramon Casellas <email>casellas@aist.enst.fr</email></refauthor>
- </doc:template>
-
- <!-- TEMPLATE -->
- <xsl:template name="generate.latex.book.preamble">
- <xsl:choose>
- <xsl:when test="$latex.override = ''">
- <xsl:value-of select="$latex.book.preamblestart"/>
- <xsl:value-of select="$latex.book.preamble.pre"/>
- <xsl:call-template name="label.id"/>
- <xsl:call-template name="generate.latex.common.preamble"/>
- <xsl:value-of select="$latex.book.preamble.post"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$latex.override"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
-
-
- <!--#############################################################################
- | latex.article.preamblestart and latex.book.preamblestart
- |- #############################################################################
- |
- + ############################################################################## -->
-
- <doc:variable name="latex.article.preamblestart" xmlns="">
- <refpurpose> Generated Document class for articles. </refpurpose>
- <refdescription>
- </refdescription>
- <refreturn>
- <screen>
- % --------------------------------------------
- % Autogenerated LaTeX file for articles
- % --------------------------------------------
- \ifx\pdfoutput\undefined
- \documentclass[spanish,french,english,a4paper,10pt,twoside,twocolumn]{article}
- \else
- \documentclass[pdftex,spanish,french,english,a4paper,10pt,twoside,twocolumn]{article}
- \fi
- </screen>
- </refreturn>
- </doc:variable>
-
- <xsl:variable name="latex.article.preamblestart">
- <xsl:text>% -------------------------------------------- &#10;</xsl:text>
- <xsl:text>% Autogenerated LaTeX file for articles &#10;</xsl:text>
- <xsl:text>% -------------------------------------------- &#10;</xsl:text>
- <xsl:text>\ifx\pdfoutput\undefined&#10;</xsl:text>
- <xsl:text>\documentclass[</xsl:text>
- <xsl:value-of select='$latex.documentclass.common' />
- <xsl:text>,</xsl:text>
- <xsl:value-of select='$latex.documentclass.article' />
- <xsl:text>,</xsl:text>
- <xsl:value-of select='$latex.documentclass.pdftex' />
- <xsl:text>]{</xsl:text>
- <xsl:choose>
- <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when>
- <xsl:otherwise><xsl:text>article</xsl:text></xsl:otherwise>
- </xsl:choose>
- <xsl:text>}&#10;</xsl:text>
- <xsl:text>\else&#10;</xsl:text>
- <xsl:text>\documentclass[pdftex,</xsl:text>
- <xsl:value-of select='$latex.documentclass.common' />
- <xsl:text>,</xsl:text>
- <xsl:value-of select='$latex.documentclass.article' />
- <xsl:text>,</xsl:text>
- <xsl:value-of select='$latex.documentclass.dvips' />
- <xsl:text>]{</xsl:text>
- <xsl:choose>
- <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when>
- <xsl:otherwise><xsl:text>article</xsl:text></xsl:otherwise>
- </xsl:choose>
- <xsl:text>}&#10;</xsl:text>
- <xsl:text>\fi&#10;</xsl:text>
- </xsl:variable>
-
- <doc:variable name="latex.book.preamblestart" xmlns="">
- <refpurpose>Generated Document class for books. </refpurpose>
- <refdescription>
- </refdescription>
- <refreturn>
- <screen>
- % ------------------------------------------------------------
- % Autogenerated LaTeX file for books
- % ------------------------------------------------------------
- \ifx\pdfoutput\undefined
- \documentclass[spanish,french,english,a4paper,twoside,openright,10pt,final]{report}
- \else
- \documentclass[pdftex,spanish,french,english,a4paper,twoside,openright,10pt,final]{report}
- \fi
- </screen>
- </refreturn>
- </doc:variable>
-
- <xsl:variable name="latex.book.preamblestart">
- <xsl:text>% ------------------------------------------------------------ &#10;</xsl:text>
- <xsl:text>% Autogenerated LaTeX file for books &#10;</xsl:text>
- <xsl:text>% ------------------------------------------------------------ &#10;</xsl:text>
- <xsl:text>\ifx\pdfoutput\undefined&#10;</xsl:text>
- <xsl:text>\documentclass[</xsl:text>
- <xsl:value-of select='$latex.documentclass.common' />
- <xsl:text>,</xsl:text>
- <xsl:value-of select='$latex.documentclass.book' />
- <xsl:text>,</xsl:text>
- <xsl:value-of select='$latex.documentclass.pdftex' />
- <xsl:text>]{</xsl:text>
- <xsl:choose>
- <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when>
- <xsl:otherwise><xsl:text>report</xsl:text></xsl:otherwise>
- </xsl:choose>
- <xsl:text>}&#10;</xsl:text>
- <xsl:text>\else&#10;</xsl:text>
- <xsl:text>\documentclass[pdftex,</xsl:text>
- <xsl:value-of select='$latex.documentclass.common' />
- <xsl:text>,</xsl:text>
- <xsl:value-of select='$latex.documentclass.book' />
- <xsl:text>,</xsl:text>
- <xsl:value-of select='$latex.documentclass.dvips' />
- <xsl:text>]{</xsl:text>
- <xsl:choose>
- <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when>
- <xsl:otherwise><xsl:text>report</xsl:text></xsl:otherwise>
- </xsl:choose>
- <xsl:text>}&#10;</xsl:text>
- <xsl:text>\fi&#10;</xsl:text>
- </xsl:variable>
-
- <!--#############################################################################
- | generate.latex.common.preamble
- |- #############################################################################
- |
- + ############################################################################## -->
-
- <doc:variable name="generate.latex.common.preamble" xmlns="">
- <refpurpose> Common LaTeX preamble shared by articles and books, and other
- document classes. Most of the packages and package options are managed here </refpurpose>
- <refdescription>
- </refdescription>
- <refreturn>
- The LaTeX preamble, after the document class and before the <literal>\begin{document}</literal>
- command.
- </refreturn>
- </doc:variable>
-
-
-
- <xsl:template name="generate.latex.common.preamble">
- <xsl:choose>
- <xsl:when test="$latex.pdf.support=1"><xsl:value-of select="$latex.pdf.preamble"/></xsl:when>
- <xsl:otherwise><xsl:text>\usepackage{graphicx}&#10;</xsl:text></xsl:otherwise>
- </xsl:choose>
- <xsl:if test="local-name(.)='article'">
- <xsl:value-of select="$latex.article.varsets"/>
- </xsl:if>
- <xsl:if test="local-name(.)='book'">
- <xsl:value-of select="$latex.book.varsets"/>
- </xsl:if>
- <xsl:if test="$latex.use.fancyhdr=1">
- <xsl:text>\usepackage{fancyhdr}&#10;</xsl:text>
- <xsl:call-template name="generate.latex.pagestyle"/>
- <!--
- Add dollar...
- <xsl:if test="latex.fancyhdr.lh !=''"><xsl:text>\lhead{</xsl:text><xsl:value-of select="$latex.fancyhdr.lh"/><xsl:text>}&#10;</xsl:text></xsl:if>
- <xsl:if test="latex.fancyhdr.ch !=''"><xsl:text>\chead{</xsl:text><xsl:value-of select="$latex.fancyhdr.ch"/><xsl:text>}&#10;</xsl:text></xsl:if>
- <xsl:if test="latex.fancyhdr.rh !=''"><xsl:text>\rhead{</xsl:text><xsl:value-of select="$latex.fancyhdr.rh"/><xsl:text>}&#10;</xsl:text></xsl:if>
- <xsl:if test="latex.fancyhdr.lf !=''"><xsl:text>\lfoot{</xsl:text><xsl:value-of select="$latex.fancyhdr.lf"/><xsl:text>}&#10;</xsl:text></xsl:if>
- <xsl:if test="latex.fancyhdr.cf !=''"><xsl:text>\cfoot{</xsl:text><xsl:value-of select="$latex.fancyhdr.cf"/><xsl:text>}&#10;</xsl:text></xsl:if>
- <xsl:if test="latex.fancyhdr.rf !=''"><xsl:text>\rfoot{</xsl:text><xsl:value-of select="$latex.fancyhdr.rf"/><xsl:text>}&#10;</xsl:text></xsl:if>
- -->
-
- <xsl:text>\renewcommand{\headrulewidth}{0.4pt}&#10;</xsl:text>
- <xsl:text>\renewcommand{\footrulewidth}{0.4pt}&#10;</xsl:text>
- </xsl:if>
-
- <xsl:text>% ---------------------- &#10;</xsl:text>
- <xsl:text>% Most Common Packages &#10;</xsl:text>
- <xsl:text>% ---------------------- &#10;</xsl:text>
- <xsl:if test="$latex.use.makeidx=1"><xsl:text>\usepackage{makeidx} &#10;</xsl:text></xsl:if>
- <xsl:text>\usepackage{varioref} &#10;</xsl:text>
- <xsl:text>\usepackage{latexsym} &#10;</xsl:text>
- <xsl:text>\usepackage{enumerate} &#10;</xsl:text>
- <xsl:if test="$latex.use.fancybox=1">
- <xsl:text>\usepackage{fancybox} &#10;</xsl:text>
- </xsl:if>
- <xsl:text>\usepackage{float} &#10;</xsl:text>
- <xsl:text>\usepackage{ragged2e} &#10;</xsl:text>
- <xsl:if test="$latex.babel.language!=''">
- <xsl:text>\usepackage[</xsl:text><xsl:value-of select="$latex.babel.language" /><xsl:text>]{babel} &#10;</xsl:text>
- </xsl:if>
- <xsl:if test="$latex.use.fancyvrb=1">
- <xsl:text>\usepackage{fancyvrb} &#10;</xsl:text>
- <xsl:text>\makeatletter\@namedef{FV@fontfamily@default}{\def\FV@FontScanPrep{}\def\FV@FontFamily{}}\makeatother&#10;</xsl:text>
- <xsl:if test="$latex.fancyvrb.tabsize!=''">
- <xsl:text>\fvset{obeytabs=true,tabsize=</xsl:text>
- <xsl:value-of select="$latex.fancyvrb.tabsize"/>
- <xsl:text>}&#10;</xsl:text>
- </xsl:if>
- </xsl:if>
- <xsl:if test="$latex.use.isolatin1=1"><xsl:text>\usepackage{isolatin1} &#10;</xsl:text></xsl:if>
- <xsl:if test="$latex.use.parskip=1"><xsl:text>\usepackage{parskip} &#10;</xsl:text></xsl:if>
- <xsl:if test="$latex.use.rotating=1"><xsl:text>\usepackage{rotating} &#10;</xsl:text></xsl:if>
- <xsl:if test="$latex.use.subfigure=1"><xsl:text>\usepackage{subfigure} &#10;</xsl:text></xsl:if>
- <xsl:if test="$latex.use.tabularx=1"><xsl:text>\usepackage{tabularx} &#10;</xsl:text></xsl:if>
- <xsl:if test="$latex.use.umoline=1"><xsl:text>\usepackage{umoline} &#10;</xsl:text></xsl:if>
- <xsl:if test="$latex.use.url=1"><xsl:text>\usepackage{url} &#10;</xsl:text></xsl:if>
-
- <!-- Configure document font. -->
- <xsl:if test="$latex.document.font != 'default'">
- <xsl:text>% ---------------&#10;</xsl:text>
- <xsl:text>% Document Font &#10;</xsl:text>
- <xsl:text>% ---------------&#10;</xsl:text>
- <xsl:text>\usepackage{</xsl:text><xsl:value-of select="$latex.document.font"/><xsl:text>}&#10;</xsl:text>
- </xsl:if>
- <!-- Support for keywords. -->
- <xsl:text> \def\keywords{\vspace{-.3em}&#10;</xsl:text>
- <xsl:text> \if@twocolumn&#10;</xsl:text>
- <xsl:text> \small{\itshape &#10;</xsl:text>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">keywords</xsl:with-param>
- </xsl:call-template>
- <xsl:text> }\/\bfseries---$\!$%&#10;</xsl:text>
- <xsl:text> \else&#10;</xsl:text>
- <xsl:text> \begin{center}\small\bfseries &#10;</xsl:text>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">keywords</xsl:with-param>
- </xsl:call-template>
- <xsl:text> \end{center}\quotation\small&#10;</xsl:text>
- <xsl:text> \fi}&#10;</xsl:text>
- <xsl:text> \def\endkeywords{\vspace{0.6em}\par\if@twocolumn\else\endquotation\fi&#10;</xsl:text>
- <xsl:text> \normalsize\rmfamily}&#10;</xsl:text>
-
- <xsl:if test="$latex.math.support=1"><xsl:value-of select="$latex.math.preamble"/></xsl:if>
- <xsl:choose>
- <xsl:when test="$latex.use.hyperref=1">
- <xsl:call-template name="latex.hyperref.preamble"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\newcommand{\href}[1]{{}}&#10;</xsl:text>
- <xsl:text>\newcommand{\hyperlink}[1]{{}}&#10;</xsl:text>
- <xsl:text>\newcommand{\hypertarget}[2]{#2}&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="$latex.admonition.environment"/>
- <xsl:call-template name="latex.float.preamble"/>
- <xsl:call-template name="latex.graphicext"/>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% A way to honour &lt;footnoteref&gt;s&#10;</xsl:text>
- <xsl:text>% Blame j-devenish (at) users.sourceforge.net&#10;</xsl:text>
- <xsl:text><![CDATA[% In any other LaTeX context, this would probably go into a style file.
-\makeatletter
-\newcommand{\docbooktolatexusefootnoteref}[1]{\@ifundefined{@fn@label@#1}%
- {\hbox{\@textsuperscript{\normalfont ?}}%
- \@latex@warning{Footnote label `#1' was not defined}}%
- {\@nameuse{@fn@label@#1}}}
-\newcommand{\docbooktolatexmakefootnoteref}[1]{%
- \protected@write\@auxout{}%
- {\global\string\@namedef{@fn@label@#1}{\@makefnmark}}%
- \@namedef{@fn@label@#1}{\hbox{\@textsuperscript{\normalfont ?}}}%
- }
-\makeatother]]></xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% Hacks for honouring row/entry/@align&#10;</xsl:text>
- <xsl:text>% (\hspace not effective when in paragraph mode)&#10;</xsl:text>
- <xsl:text>% Naming convention for these macros is:&#10;</xsl:text>
- <xsl:text>% 'docbooktolatex' 'align' {alignment-type} {position-within-entry}&#10;</xsl:text>
- <xsl:text>% where r = right, l = left, c = centre&#10;</xsl:text>
- <xsl:text>\newcommand{\docbooktolatexalignrl}{\protect\ifvmode\raggedleft\else\hfill\fi}&#10;</xsl:text>
- <xsl:text>\newcommand{\docbooktolatexalignrr}{\protect}&#10;</xsl:text>
- <xsl:text>\newcommand{\docbooktolatexalignll}{\protect\ifvmode\raggedright\else\fi}&#10;</xsl:text>
- <xsl:text>\newcommand{\docbooktolatexalignlr}{\protect\ifvmode\else\hspace*\fill\fi}&#10;</xsl:text>
- <xsl:text>\newcommand{\docbooktolatexaligncl}{\protect\ifvmode\centering\else\hfill\fi}&#10;</xsl:text>
- <xsl:text>\newcommand{\docbooktolatexaligncr}{\protect\ifvmode\else\hspace*\fill\fi}&#10;</xsl:text>
- <xsl:choose>
- <xsl:when test='$latex.caption.swapskip=1'>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% $latex.caption.swapskip enabled for $formal.title.placement support&#10;</xsl:text>
- <xsl:text>\newlength{\docbooktolatextempskip}&#10;</xsl:text>
- <xsl:text>\newcommand{\captionswapskip}{\setlength{\docbooktolatextempskip}{\abovecaptionskip}</xsl:text>
- <xsl:text>\setlength{\abovecaptionskip}{\belowcaptionskip}</xsl:text>
- <xsl:text>\setlength{\belowcaptionskip}{\docbooktolatextempskip}}&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\newcommand{\captionswapskip}{}&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test='$latex.hyphenation.tttricks=1'>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% Better linebreaks&#10;</xsl:text>
- <xsl:text>\newcommand{\docbookhyphenatedot}[1]{{\hyphenchar\font=`\.\relax #1\hyphenchar\font=`\-}}&#10;</xsl:text>
- <xsl:text>\newcommand{\docbookhyphenatefilename}[1]{{\hyphenchar\font=`\.\relax #1\hyphenchar\font=`\-}}&#10;</xsl:text>
- <xsl:text>\newcommand{\docbookhyphenateurl}[1]{{\hyphenchar\font=`\/\relax #1\hyphenchar\font=`\-}}&#10;</xsl:text>
- </xsl:if>
- </xsl:template>
-
-
-
- <!--#############################################################################
- | Auxiliary templates and variables
- |- #############################################################################
- |
- + ############################################################################## -->
-
- <doc:template name="latex.float.preamble" xmlns="">
- <refpurpose>
- </refpurpose>
- <refdescription>
- </refdescription>
- </doc:template>
- <xsl:template name="latex.float.preamble">
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% Commands to manage/style/create floats &#10;</xsl:text>
- <xsl:text>% figures, tables, algorithms, examples, eqn &#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
- <xsl:text> \restylefloat{figure}&#10;</xsl:text>
- <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
- <xsl:text> \restylefloat{table}&#10;</xsl:text>
- <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
- <xsl:text> \newfloat{program}{ht}{lop}[section]&#10;</xsl:text>
- <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
- <xsl:text> \newfloat{example}{ht}{loe}[section]&#10;</xsl:text>
- <xsl:text> \floatname{example}{</xsl:text>
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">example</xsl:with-param>
- </xsl:call-template>
- <xsl:text>}&#10;</xsl:text>
- <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
- <xsl:text> \newfloat{dbequation}{ht}{loe}[section]&#10;</xsl:text>
- <xsl:text> \floatname{dbequation}{</xsl:text>
- <xsl:call-template name="gentext.element.name">
- <xsl:with-param name="element.name">equation</xsl:with-param>
- </xsl:call-template>
- <xsl:text>}&#10;</xsl:text>
- <xsl:text> \floatstyle{boxed}&#10;</xsl:text>
- <xsl:text> \newfloat{algorithm}{ht}{loa}[section]&#10;</xsl:text>
- <xsl:text> \floatname{algorithm}{Algorithm}&#10;</xsl:text>
- </xsl:template>
-
-
-
-
- <!-- DOCUMENTATION -->
- <doc:variable name="latex.pdf.preamble" xmlns="">
- <refpurpose>
- </refpurpose>
- <refdescription>
- <formalpara><title>Default Value:</title>
- <screen>
- \usepackage{ifthen}
- % --------------------------------------------
- % Check for PDFLaTeX/LaTeX
- % --------------------------------------------
- \newif\ifpdf
- \ifx\pdfoutput\undefined
- \pdffalse % we are not running PDFLaTeX
- \else
- \pdfoutput=1 % we are running PDFLaTeX
- \pdftrue
- \fi
- % --------------------------------------------
- % Load graphicx package with pdf if needed
- % --------------------------------------------
- \ifpdf
- \usepackage[pdftex]{graphicx}
- \pdfcompresslevel=9
- \else
- \usepackage{graphicx}
- \fi
- </screen>
- </formalpara>
- </refdescription>
- <refauthor>Ramon Casellas <email>casellas@aist.enst.fr</email></refauthor>
- </doc:variable>
-
- <!-- VARIABLE -->
- <xsl:variable name="latex.pdf.preamble">
- <xsl:text>\usepackage{ifthen}&#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% Check for PDFLaTeX/LaTeX &#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>\newif\ifpdf&#10;</xsl:text>
- <xsl:text>\ifx\pdfoutput\undefined&#10;</xsl:text>
- <xsl:text>\pdffalse % we are not running PDFLaTeX&#10;</xsl:text>
- <xsl:text>\else&#10;</xsl:text>
- <xsl:text>\pdfoutput=1 % we are running PDFLaTeX&#10;</xsl:text>
- <xsl:text>\pdftrue&#10;</xsl:text>
- <xsl:text>\fi&#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% Load graphicx package with pdf if needed &#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>\ifpdf&#10;</xsl:text>
- <xsl:text>\usepackage[pdftex]{graphicx}&#10;</xsl:text>
- <xsl:text>\pdfcompresslevel=9&#10;</xsl:text>
- <xsl:text>\else&#10;</xsl:text>
- <xsl:text>\usepackage{graphicx}&#10;</xsl:text>
- <xsl:text>\fi&#10;</xsl:text>
- </xsl:variable>
-
-
-
- <!-- DOCUMENTATION -->
- <doc:template name="latex.hyperref.preamble" xmlns="">
- <refpurpose> Manage the part of the preamble that handles the hyperref package.</refpurpose>
- <refdescription>
- <para> This template outputs the LaTeX code <literal>\usepackage[...]{hyperref}</literal>
- in order to use hyperlinks, backrefs and other goodies. If PDF support is activated,
- outputs laTeX code to detect whether the document is being compiled with
- <filename>pdflatex</filename> or <filename>latex</filename> to supply the
- right parameters (pdftex, dvips, etc). </para>
- <formalpara><title>To Do</title> The package options should be optained
- from XSL variables.</formalpara>
- <formalpara><title>Default Value with PDF support</title>
- <screen>
- % --------------------------------------------
- % Load hyperref package with pdf if needed
- % --------------------------------------------
- \ifpdf
- \usepackage[pdftex,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage]{hyperref}
- \else
- \usepackage[dvips,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage]{hyperref}
- \fi
- % --------------------------------------------
- </screen>
- </formalpara>
- <formalpara><title>Default Value without PDF support</title>
- <screen>
- % --------------------------------------------
- % Load hyperref package
- % --------------------------------------------
- \usepackage[dvips,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage]{hyperref}
- </screen>
- </formalpara>
- </refdescription>
- </doc:template>
- <!-- TEMPLATE -->
- <xsl:template name="latex.hyperref.preamble">
- <xsl:choose>
- <xsl:when test="$latex.pdf.support=1">
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% Load hyperref package with pdf if needed &#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>\ifpdf&#10;</xsl:text>
- <xsl:text>\usepackage[pdftex,</xsl:text>
- <xsl:value-of select="$latex.hyperref.param.common" />
- <xsl:text>,</xsl:text>
- <xsl:value-of select="$latex.hyperref.param.pdftex" />
- <xsl:text>]{hyperref}&#10;</xsl:text>
- <xsl:text>\else&#10;</xsl:text>
- <xsl:text>\usepackage[dvips,</xsl:text>
- <xsl:value-of select="$latex.hyperref.param.common" />
- <xsl:text>,</xsl:text>
- <xsl:value-of select="$latex.hyperref.param.dvips" />
- <xsl:text>]{hyperref}&#10;</xsl:text>
- <xsl:text>\fi&#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% Load hyperref package &#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>\usepackage[dvips,</xsl:text>
- <xsl:value-of select="$latex.hyperref.param.common" />
- <xsl:text>,</xsl:text>
- <xsl:value-of select="$latex.hyperref.param.dvips" />
- <xsl:text>]{hyperref}&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <!--#############################################################################
- | latex.math.preamble
- |- #############################################################################
- | This "preamble chunk" declares usage of most common AMS packages.
- | Defines new useful commands.
- + ############################################################################## -->
-
- <!-- DOCUMENTATION -->
- <doc:variable name="latex.math.preamble" xmlns="">
- <refpurpose> Manage the math related preamble</refpurpose>
- <refdescription>
- </refdescription>
- </doc:variable>
-
- <!-- VARIABLE -->
- <xsl:variable name="latex.math.preamble">
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% Math support &#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra,amsopn}&#10;</xsl:text>
- <xsl:text>%\newtheorem{thm}{Theorem}[section]&#10;</xsl:text>
- <xsl:text>%\newtheorem{cor}[section]{Corollary}&#10;</xsl:text>
- <xsl:text>%\newtheorem{lem}[section]{Lemma}&#10;</xsl:text>
- <xsl:text>%\newtheorem{defn}[section]{Definition}&#10;</xsl:text>
- <xsl:text>%\newtheorem{prop}[section]{Proposition}&#10;</xsl:text>
- <xsl:text>%\newtheorem{ax}{Axiom}&#10;</xsl:text>
- <xsl:text>%\newtheorem{theorem}[section]{Theorem}&#10;</xsl:text>
- <xsl:text>%\newtheorem{corollary}{Corollary}&#10;</xsl:text>
- <xsl:text>%\newtheorem{lemma}{Lemma}&#10;</xsl:text>
- <xsl:text>%\newtheorem{proposition}{Proposition}&#10;</xsl:text>
- <xsl:text>%\theoremstyle{definition}&#10;</xsl:text>
- <xsl:text>%\newtheorem{definition}{Definition}&#10;</xsl:text>
- <xsl:text>%\theoremstyle{remark}&#10;</xsl:text>
- <xsl:text>%\newtheorem{rem}{Remark}&#10;</xsl:text>
- <xsl:text>%\newtheorem*{notation}{Notation}&#10;</xsl:text>
- <xsl:text>%\newcommand{\ntt}{\normalfont\ttfamily}&#10;</xsl:text>
- <xsl:text>%\newcommand{\thmref}[1]{Theorem~\ref{#1}}&#10;</xsl:text>
- <xsl:text>%\newcommand{\secref}[1]{\S\ref{#1}}&#10;</xsl:text>
- <xsl:text>%\newcommand{\lemref}[1]{Lemma~\ref{#1}}&#10;</xsl:text>
- <xsl:text> \newcommand{\bysame}{\mbox{\rule{3em}{.4pt}}\,}&#10;</xsl:text>
- <xsl:text> \newcommand{\A}{\mathcal{A}}&#10;</xsl:text>
- <xsl:text> \newcommand{\B}{\mathcal{B}}&#10;</xsl:text>
- <xsl:text> \newcommand{\XcY}{{(X,Y)}}&#10;</xsl:text>
- <xsl:text> \newcommand{\SX}{{S_X}}&#10;</xsl:text>
- <xsl:text> \newcommand{\SY}{{S_Y}}&#10;</xsl:text>
- <xsl:text> \newcommand{\SXY}{{S_{X,Y}}}&#10;</xsl:text>
- <xsl:text> \newcommand{\SXgYy}{{S_{X|Y}(y)}}&#10;</xsl:text>
- <xsl:text> \newcommand{\Cw}[1]{{\hat C_#1(X|Y)}}&#10;</xsl:text>
- <xsl:text> \newcommand{\G}{{G(X|Y)}}&#10;</xsl:text>
- <xsl:text> \newcommand{\PY}{{P_{\mathcal{Y}}}}&#10;</xsl:text>
- <xsl:text> \newcommand{\X}{\mathcal{X}}&#10;</xsl:text>
- <xsl:text> \newcommand{\wt}{\widetilde}&#10;</xsl:text>
- <xsl:text> \newcommand{\wh}{\widehat}&#10;</xsl:text>
- <xsl:text> % --------------------------------------------&#10;</xsl:text>
- <xsl:text> %\DeclareMathOperator{\per}{per}&#10;</xsl:text>
- <xsl:text> \DeclareMathOperator{\cov}{cov}&#10;</xsl:text>
- <xsl:text> \DeclareMathOperator{\non}{non}&#10;</xsl:text>
- <xsl:text> \DeclareMathOperator{\cf}{cf}&#10;</xsl:text>
- <xsl:text> \DeclareMathOperator{\add}{add}&#10;</xsl:text>
- <xsl:text> \DeclareMathOperator{\Cham}{Cham}&#10;</xsl:text>
- <xsl:text> \DeclareMathOperator{\IM}{Im}&#10;</xsl:text>
- <xsl:text> \DeclareMathOperator{\esssup}{ess\,sup}&#10;</xsl:text>
- <xsl:text> \DeclareMathOperator{\meas}{meas}&#10;</xsl:text>
- <xsl:text> \DeclareMathOperator{\seg}{seg}&#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- </xsl:variable>
-
-
-
-
-<!--#############################################################################
-| latex.graphicext
-|- #############################################################################
-|
-+ ############################################################################## -->
-
-<doc:template name="latex.graphicext" xmlns="">
-<refpurpose> Declared graphic extensions </refpurpose>
-<refdescription>
-This template checks whether the user has overriden <command>grafic.default.extension</command>
-Otherwise, declares .pdf, .png, .jpg if using pdflatex and .eps if using latex.
-<programlisting><![CDATA[
-<xsl:template name="latex.graphicext">
-<xsl:choose>
-<xsl:when test="$graphic.default.extension !=''">
- <xsl:text>\DeclareGraphicsExtensions{</xsl:text>
- <xsl:if test="not(contains($graphic.default.extension,'.'))">
- <xsl:text>.</xsl:text>
- </xsl:if>
- <xsl:value-of select="$graphic.default.extension"/>
- <xsl:text>}&#10;</xsl:text>
-</xsl:when>
-<xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$latex.pdf.support=1">
- <xsl:text>\ifpdf&#10;</xsl:text>
- <xsl:text>\DeclareGraphicsExtensions{.pdf,.png,.jpg}&#10;</xsl:text>
- <xsl:text>\else&#10;</xsl:text>
- <xsl:text>\DeclareGraphicsExtensions{.eps}&#10;</xsl:text>
- <xsl:text>\fi&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\DeclareGraphicsExtensions{.eps}&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-
-]]></programlisting>
-</refdescription>
-<refreturn>
-</refreturn>
-</doc:template>
-
-<xsl:template name="latex.graphicext">
-<xsl:choose>
-<xsl:when test="$graphic.default.extension !=''">
- <xsl:text>\DeclareGraphicsExtensions{</xsl:text>
- <xsl:if test="not(contains($graphic.default.extension,'.'))">
- <xsl:text>.</xsl:text>
- </xsl:if>
- <xsl:value-of select="$graphic.default.extension"/>
- <xsl:text>}&#10;</xsl:text>
-</xsl:when>
-<xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$latex.pdf.support=1">
- <xsl:text>\ifpdf&#10;</xsl:text>
- <xsl:text>\DeclareGraphicsExtensions{.pdf,.png,.jpg}&#10;</xsl:text>
- <xsl:text>\else&#10;</xsl:text>
- <xsl:text>\DeclareGraphicsExtensions{.eps}&#10;</xsl:text>
- <xsl:text>\fi&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\DeclareGraphicsExtensions{.eps}&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
- <doc:template name="generate.latex.pagestyle" xmlns="">
- <refpurpose> Choose the preferred page style for document body </refpurpose>
- <refdescription>
- <formalpara><title>Pertinent Variables</title>
- <itemizedlist>
- <listitem><simpara><xref linkend="param.pagestyle"/></simpara></listitem>
- <listitem><simpara><xref linkend="param.use.fancyhdr"/></simpara></listitem>
- </itemizedlist>
- </formalpara>
- </refdescription>
- </doc:template>
- <xsl:template name="generate.latex.pagestyle">
- <xsl:text>\pagestyle{</xsl:text>
- <xsl:choose>
- <xsl:when test="$latex.pagestyle!=''"><xsl:value-of select="$latex.pagestyle"/></xsl:when>
- <xsl:when test="$latex.use.fancyhdr=1"><xsl:text>fancy</xsl:text></xsl:when>
- <xsl:otherwise><xsl:text>plain</xsl:text></xsl:otherwise>
- </xsl:choose>
- <xsl:text>}</xsl:text>
- </xsl:template>
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/preface.mod.xsl b/docs/docbook/xslt/db2latex/preface.mod.xsl
deleted file mode 100644
index d56c0ec5cb..0000000000
--- a/docs/docbook/xslt/db2latex/preface.mod.xsl
+++ /dev/null
@@ -1,109 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-|- #############################################################################
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="preface" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Preface <filename>preface.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-<!--#############################################################################
- | Preface
- +- ############################################################################# -->
-<xsl:template match="preface">
-<xsl:text>\newpage&#10;</xsl:text>
-<xsl:text>% -------------------------------------------------------------&#10;</xsl:text>
-<xsl:text>% Preface &#10;</xsl:text>
-<xsl:text>% -------------------------------------------------------------&#10;</xsl:text>
-<xsl:text>\chapter*{</xsl:text>
-<!-- Output preface title or generic text -->
-<xsl:choose>
- <xsl:when test="title">
- <xsl:apply-templates select="title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">preface</xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
-</xsl:choose>
-<xsl:text>}&#10;</xsl:text>
-<!-- done with title. Tag it. -->
-<xsl:call-template name="label.id"/>
-<!-- except title, titleabbrev and subtitle -->
-<xsl:apply-templates select="*[name(.) != 'title' and name(.) != 'subtitle' and name(.) != 'titleabbrev']"/>
-</xsl:template>
-
-
-<!--#############################################################################
- | Preface Title
- +- ############################################################################# -->
-<xsl:template match="preface/title">
-<xsl:apply-templates/>
-</xsl:template>
-
-
-<!--#############################################################################
- | Other Preface Elements
- +- ############################################################################# -->
-<xsl:template match="preface/titleabbrev"/>
-<xsl:template match="preface/subtitle"/>
-<xsl:template match="preface/docinfo|prefaceinfo"/>
-
-
-<xsl:template match="preface/sect1|preface/simplesect">
-<xsl:text>&#10;\section*{</xsl:text>
-<xsl:apply-templates select="title"/>
-<xsl:text>}&#10;</xsl:text>
-<xsl:apply-templates select="*[name(.) != 'title']"/>
-</xsl:template>
-
-
-<xsl:template match="preface/sect1/sect2">
-<xsl:text>&#10;\subsection*{</xsl:text>
-<xsl:apply-templates select="title"/>
-<xsl:text>}&#10;</xsl:text>
-<xsl:apply-templates select="*[name(.) != 'title']"/>
-</xsl:template>
-
-
-<xsl:template match="preface/sect1/sect2/sect3">
-<xsl:text>&#10;\subsubsection*{</xsl:text>
-<xsl:apply-templates select="title"/>
-<xsl:text>}&#10;</xsl:text>
-<xsl:apply-templates select="*[name(.) != 'title']"/>
-</xsl:template>
-
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/procedure.mod.xsl b/docs/docbook/xslt/db2latex/procedure.mod.xsl
deleted file mode 100644
index e151f7c85c..0000000000
--- a/docs/docbook/xslt/db2latex/procedure.mod.xsl
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: procedure.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="procedure" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: procedure.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Procedures <filename>procedure.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
-
-<!--############################################################################# -->
-<doc:template match="step" xmlns="">
-<refpurpose>Procedure XSL Template.</refpurpose>
-<refdescription>
-<para></para>
-<programlisting><![CDATA[
-]]></programlisting>
-</refdescription>
-</doc:template>
-<!--############################################################################# -->
-
-<xsl:template match="procedure">
- <xsl:variable name="placement">
- <xsl:call-template name="generate.formal.title.placement">
- <xsl:with-param name="object" select="local-name(.)" />
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$placement='before' or $placement=''">
- <xsl:apply-templates select="title" mode="procedure.title"/>
- <xsl:text>\begin{enumerate}&#10;</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>\end{enumerate}&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\begin{enumerate}&#10;</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>\end{enumerate}&#10;</xsl:text>
- <xsl:apply-templates select="title" mode="procedure.title"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-
-<xsl:template match="procedure/title">
-</xsl:template>
-
-<xsl:template match="procedure/title" mode="procedure.title">
- <xsl:text>{</xsl:text>
- <xsl:value-of select="$latex.procedure.title.style"/>
- <xsl:text>{</xsl:text>
- <xsl:choose>
- <xsl:when test="$latex.apply.title.templates=1">
- <xsl:apply-templates/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="."/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}}&#10;</xsl:text>
-</xsl:template>
-
-
-
-
-<!--############################################################################# -->
-<doc:template match="step" xmlns="">
-<refpurpose>Step XSL Template.</refpurpose>
-<refdescription>
-<para></para>
-<programlisting><![CDATA[
-]]></programlisting>
-</refdescription>
-</doc:template>
-<!--############################################################################# -->
-
- <xsl:template match="step">
- <xsl:choose>
- <xsl:when test="title">
- <xsl:text>\item{{</xsl:text>
- <xsl:value-of select="$latex.step.title.style"/>
- <xsl:text>{</xsl:text>
- <xsl:apply-templates select="title"/><xsl:text>} &#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\item{{</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:apply-templates/>
- <xsl:text>}}&#10;</xsl:text>
- </xsl:template>
-<!-- Empty step/title ########################################################## -->
- <xsl:template match="step/title"> </xsl:template>
-
-
-
-
-
-
-
-
-
-<!--############################################################################# -->
-<doc:template match="substeps" xmlns="">
-<refpurpose>SubSteps XSL Template.</refpurpose>
-<refdescription>
-<para></para>
-<programlisting><![CDATA[
-<xsl:template match="substeps">
- <xsl:text>\begin{enumerate}&#10;</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>\end{enumerate}&#10;</xsl:text>
-</xsl:template>
-]]></programlisting>
-</refdescription>
-</doc:template>
-<!--############################################################################# -->
-
-<xsl:template match="substeps">
- <xsl:text>\begin{enumerate}&#10;</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>\end{enumerate}&#10;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/qandaset.mod.xsl b/docs/docbook/xslt/db2latex/qandaset.mod.xsl
deleted file mode 100644
index b4cdc80b69..0000000000
--- a/docs/docbook/xslt/db2latex/qandaset.mod.xsl
+++ /dev/null
@@ -1,413 +0,0 @@
-<?xml version="1.0"?>
-<!--#############################################################################
-| $Id: qandaset.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-| Portions (c) Norman Walsh, official DocBook XSL stylesheets.
-| See docbook.sf.net
-+ ############################################################################## -->
-
-<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">
-
-
-<!--############################################################################# -->
-<!-- DOCUMENTATION -->
- <doc:reference xmlns="" id="qandaset">
- <referenceinfo>
- <releaseinfo role="meta"> $Id: qandaset.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $ </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>QandaSet <filename>qandaset.mod.xsl</filename></title>
- <partintro>
- <section>
- <title>Introduction</title>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
-<!--#############################################################################
-| qandaset
-|- #############################################################################
-|
-+ ############################################################################# -->
-
-<xsl:template match="qandaset">
- <!-- get all children that are not the following -->
- <xsl:variable name="preamble" select="*[name(.) != 'title'
- and name(.) != 'titleabbrev'
- and name(.) != 'qandadiv'
- and name(.) != 'qandaentry']"/>
- <xsl:variable name="label-width"/>
- <xsl:variable name="table-summary"/>
- <xsl:variable name="cellpadding"/>
- <xsl:variable name="cellspacing"/>
- <xsl:variable name="toc"/>
- <xsl:variable name="toc.params"/>
- <xsl:variable name="qalevel">
- <xsl:call-template name="qanda.section.level"/>
- </xsl:variable>
- <xsl:text>% -------------------------------------------------------------&#10;</xsl:text>
- <xsl:text>% QandASet &#10;</xsl:text>
- <xsl:text>% -------------------------------------------------------------&#10;</xsl:text>
- <xsl:choose>
- <xsl:when test="ancestor::sect2">
- <xsl:text>\subsubsection*{</xsl:text>
- </xsl:when>
- <xsl:when test="ancestor::sect1">
- <xsl:text>\subsection*{</xsl:text>
- </xsl:when>
- <xsl:when test="ancestor::article | ancestor::appendix">
- <xsl:text>\section*{</xsl:text>
- </xsl:when>
- <xsl:when test="ancestor::book">
- <xsl:text>\chapter*{</xsl:text>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="title">
- <xsl:apply-templates select="title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>F.A.Q.</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}&#10;</xsl:text>
- <xsl:call-template name="label.id"/>
- <xsl:text>&#10;</xsl:text>
-
- <!-- process toc -->
- <xsl:if test="contains($toc.params, 'toc') and $toc != '0'">
- <xsl:call-template name="process.qanda.toc"/>
- </xsl:if>
- <!-- process preamble -->
- <xsl:apply-templates select="$preamble"/>
- <!-- process divs and entries -->
- <xsl:apply-templates select="qandaentry|qandadiv"/>
-</xsl:template>
-
-
-<xsl:template match="qandaset/title">
-<xsl:apply-templates/>
-</xsl:template>
-
-
-
-
-<!--#############################################################################
-| qandadiv
-|- #############################################################################
-|
-+ ############################################################################# -->
-
-
-<xsl:template match="qandadiv">
- <!-- get the preamble -->
- <xsl:variable name="preamble" select="*[name(.) != 'title'
- and name(.) != 'titleabbrev'
- and name(.) != 'qandadiv'
- and name(.) != 'qandaentry']"/>
- <xsl:variable name="qalevel">
- <xsl:call-template name="qandadiv.section.level"/>
- </xsl:variable>
- <!-- process the title if it exists -->
- <xsl:text>% -----------&#10;</xsl:text>
- <xsl:text>% QandADiv &#10;</xsl:text>
- <xsl:text>% -----------&#10;</xsl:text>
- <xsl:choose>
- <xsl:when test="ancestor::sect2">
- <xsl:text>\paragraph*{</xsl:text>
- </xsl:when>
- <xsl:when test="ancestor::sect1">
- <xsl:text>\subsubsection*{</xsl:text>
- </xsl:when>
- <xsl:when test="ancestor::article | ancestor::appendix">
- <xsl:text>\subsection*{</xsl:text>
- </xsl:when>
- <xsl:when test="ancestor::book">
- <xsl:text>\section*{</xsl:text>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="title">
- <xsl:apply-templates select="title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>F.A.Q. Part</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>}&#10;</xsl:text>
- <xsl:call-template name="label.id"/>
- <xsl:text>&#10;</xsl:text>
-
-<!--
- <xsl:variable name="toc.params">
- </xsl:variable>
- <xsl:if test="contains($toc.params, 'toc')">
- <xsl:call-template name="process.qanda.toc"/>
- </xsl:if>
- <xsl:if test="$preamble">
- <xsl:apply-templates select="$preamble"/>
- </xsl:if>
--->
-<!--
- <xsl:text>\begin{toc}&#10;</xsl:text>
- <xsl:for-each select="qandaentry">
- <xsl:text>\tocref{</xsl:text>
- <xsl:value-of select="@id"/>
- <xsl:text>}&#10;</xsl:text>
- </xsl:for-each>
- <xsl:text>\end{toc}&#10;</xsl:text>
--->
-
-<!-- pseudo table of contents -->
- <xsl:text>\floatstyle{ruled}&#10;</xsl:text>
- <xsl:text>\newfloat{qandadivtoc}{H}{qdtoc}&#10;</xsl:text>
- <!-- Either this one : -->
- <xsl:text>\floatname{qandadivtoc}{</xsl:text>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">TableofContents</xsl:with-param>
- </xsl:call-template>
- <xsl:text>}&#10;</xsl:text>
- <!-- or this one :
- <xsl:text>\floatname{qandadivtoc}{}&#10;</xsl:text>
- -->
- <xsl:text>\begin{qandadivtoc}&#10;</xsl:text>
- <xsl:choose>
- <xsl:when test="title">
- <xsl:text>\caption{</xsl:text>
- <xsl:apply-templates select="title"/>
- <xsl:text>}&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\caption{</xsl:text>
- <xsl:text>F.A.Q. Part</xsl:text>
- <xsl:text>}&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:for-each select="qandaentry">
- <xsl:text>\noindent</xsl:text>
- <xsl:value-of select="position()"/>
- <xsl:text>.~</xsl:text>
- <xsl:apply-templates select="question"/>
- </xsl:for-each>
- <xsl:text>\end{qandadivtoc}&#10;</xsl:text>
- <xsl:text>\vspace{0.25cm}&#10;</xsl:text>
-
- <xsl:for-each select="qandaentry">
- <xsl:text>\noindent</xsl:text>
- <xsl:value-of select="position()"/>
- <xsl:text>.~</xsl:text>
- <xsl:apply-templates select="question|answer"/>
- </xsl:for-each>
-<!-- <xsl:apply-templates select="qandadiv|qandaentry"/> -->
-<!-- <xsl:apply-templates/> -->
-</xsl:template>
-
-
-
-
-
-
-
-
-<!--#############################################################################
-| qandadiv/title
-|- #############################################################################
-|
-+ ############################################################################# -->
-
-<xsl:template match="qandadiv/title">
- <!-- <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/> -->
- <xsl:apply-templates/>
-</xsl:template>
-
-
-
-
-<!--#############################################################################
-| question
-|- #############################################################################
-|
-+ ############################################################################# -->
-
-<xsl:template match="question">
-<!-- get the default label -->
-<xsl:variable name="deflabel">
- <xsl:choose>
- <xsl:when test="ancestor-or-self::*[@defaultlabel]">
- <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]/@defaultlabel"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="latex.qanda.defaultlabel"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:variable>
-<!-- process the question itself
-<xsl:apply-templates select="." mode="label.markup"/>
-<xsl:choose>
- <xsl:when test="$deflabel = 'none' and not(label)">
- <xsl:apply-templates select="*[name(.) != 'label']"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[name(.) != 'label']"/>
- </xsl:otherwise>
-</xsl:choose>
--->
-<xsl:text>{\textbf {Q : }}{\em </xsl:text>
-<xsl:apply-templates/>
-<xsl:text>} \newline&#10;</xsl:text>
-</xsl:template>
-
-
-
-
-
-
-
-
-<!--#############################################################################
-| answer
-|- #############################################################################
-|
-+ ############################################################################# -->
-
-<xsl:template match="answer">
-<xsl:text>\noindent{\textbf{A :}}</xsl:text>
-<xsl:apply-templates/>
-<xsl:text>\newline&#10;</xsl:text>
-<xsl:text>\vspace{0.25cm}&#10;</xsl:text>
-<xsl:text>&#10;&#10;</xsl:text>
-</xsl:template>
-
-
-
-
-
-
-
-<!--#############################################################################
-| label
-|- #############################################################################
-|
-+ ############################################################################# -->
-
-<xsl:template match="label">
- <xsl:apply-templates/>
-</xsl:template>
-
-
-<xsl:template name="process.qanda.toc">
- <xsl:apply-templates select="qandadiv" mode="qandatoc.mode"/>
- <xsl:apply-templates select="qandaentry" mode="qandatoc.mode"/>
-</xsl:template>
-
-<xsl:template match="qandadiv" mode="qandatoc.mode">
- <xsl:apply-templates select="title" mode="qandatoc.mode"/>
- <xsl:call-template name="process.qanda.toc"/>
-</xsl:template>
-
-
-
-
-
-
-<xsl:template match="qandadiv/title" mode="qandatoc.mode">
-<xsl:variable name="qalevel">
- <xsl:call-template name="qandadiv.section.level"/>
-</xsl:variable>
-<xsl:call-template name="label.id">
- <xsl:with-param name="object" select="parent::*"/>
-</xsl:call-template>
-<xsl:apply-templates select="parent::qandadiv" mode="label.markup"/>
-<xsl:value-of select="$autotoc.label.separator"/>
-<xsl:apply-templates/>
-</xsl:template>
-
-
-
-<xsl:template match="qandaentry" mode="qandatoc.mode">
- <xsl:apply-templates mode="qandatoc.mode"/>
-</xsl:template>
-
-
-
-<xsl:template match="question" mode="qandatoc.mode">
- <xsl:variable name="firstch" select="(*[name(.)!='label'])[1]"/>
- <xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
-</xsl:template>
-
-
-<xsl:template match="answer|revhistory" mode="qandatoc.mode">
- <!-- nop -->
-</xsl:template>
-
-
-
-
-<xsl:template name="question.answer.label">
- <!-- variable: deflabel -->
- <xsl:variable name="deflabel">
- <!-- chck whether someone has a defaultlabel attribute -->
- <xsl:choose>
- <xsl:when test="ancestor-or-self::*[@defaultlabel]">
- <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]/@defaultlabel"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="latex.qanda.defaultlabel"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
-
- <xsl:variable name="label" select="@label"/>
- <xsl:choose>
- <xsl:when test="$deflabel = 'qanda'">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">
- <xsl:choose>
- <xsl:when test="local-name(.) = 'question'">question</xsl:when>
- <xsl:when test="local-name(.) = 'answer'">answer</xsl:when>
- <xsl:when test="local-name(.) = 'qandadiv'">qandadiv</xsl:when>
- <xsl:otherwise>qandaset</xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$deflabel = 'label'">
- <xsl:value-of select="$label"/>
- </xsl:when>
- <xsl:when test="$deflabel = 'number' and local-name(.) = 'question'">
- <xsl:apply-templates select="ancestor::qandaset[1]" mode="number"/>
- <xsl:choose>
- <xsl:when test="ancestor::qandadiv">
- <xsl:apply-templates select="ancestor::qandadiv[1]" mode="number"/>
- <xsl:apply-templates select="ancestor::qandaentry" mode="number"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="ancestor::qandaentry" mode="number"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <!-- nothing -->
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/refentry.mod.xsl b/docs/docbook/xslt/db2latex/refentry.mod.xsl
deleted file mode 100644
index b8e1251513..0000000000
--- a/docs/docbook/xslt/db2latex/refentry.mod.xsl
+++ /dev/null
@@ -1,187 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: refentry.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="refentry" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: refentry.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authogroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authogroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>References and Entries <filename>refentry.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
- <!--#############################################################################
- | REFERENCE
- |- #############################################################################
- |
- + ############################################################################## -->
- <xsl:template match="reference">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates select="partintro"/>
- <xsl:apply-templates select="*[local-name(.) != 'partintro']"/>
- </xsl:template>
-
- <xsl:template match="reference" mode="division.number">
- <xsl:number from="book" count="reference" format="I."/>
- </xsl:template>
-
- <xsl:template match="reference/docinfo"/>
- <xsl:template match="reference/title"/>
- <xsl:template match="reference/subtitle"/>
-
-
-
- <!--#############################################################################
- | REFENTRY
- |- #############################################################################
- |
- + ############################################################################## -->
- <xsl:template match="refentry">
- <xsl:variable name="refmeta" select=".//refmeta"/>
- <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/>
- <xsl:variable name="refnamediv" select=".//refnamediv"/>
- <xsl:variable name="refname" select="$refnamediv//refname"/>
- <xsl:variable name="title">
- <xsl:choose>
- <xsl:when test="$refentrytitle">
- <xsl:apply-templates select="$refentrytitle[1]" mode="title"/>
- </xsl:when>
- <xsl:when test="$refname">
- <xsl:apply-templates select="$refname[1]" mode="title"/>
- </xsl:when>
- <xsl:otherwise></xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="string" select="$title"/>
- </xsl:call-template>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="refentrytitle|refname" mode="title">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="refentry/docinfo|refentry/refentryinfo"/>
- <xsl:template match="refmeta"/>
-
- <xsl:template match="manvolnum">
- <xsl:if test="$refentry.xref.manvolnum != 0">
- <xsl:text>(</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="refmiscinfo"/>
-
- <xsl:template match="refentrytitle">
- <xsl:call-template name="inline.charseq"/>
- </xsl:template>
-
- <xsl:template match="refnamediv">
- <xsl:call-template name="block.object"/>
- </xsl:template>
-
- <xsl:template match="refname">
- <xsl:apply-templates/>
- <xsl:if test="not (preceding-sibling::refname)">
- <xsl:text>&#10;\subsection*{</xsl:text>
- <xsl:if test="$refentry.generate.name != 0">
- <xsl:call-template name="gentext.element.name"/>
- </xsl:if>
- <xsl:text>}&#10;</xsl:text>
- </xsl:if>
- <xsl:apply-templates/>
- <xsl:if test="following-sibling::refname">
- <xsl:text>, </xsl:text>
- </xsl:if>
- </xsl:template>
-
-
- <xsl:template match="refpurpose">
- <xsl:text> $-$ </xsl:text>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="refdescriptor">
- <!-- todo: finish this -->
- </xsl:template>
-
- <xsl:template match="refclass">
- <xsl:if test="@role">
- <xsl:value-of select="@role"/>
- <xsl:text>: </xsl:text>
- </xsl:if>
- <xsl:apply-templates/>
- </xsl:template>
-
-
-
- <!--#############################################################################
- | REFSYNOPSIS
- |- #############################################################################
- |
- + ############################################################################## -->
-
- <xsl:template match="refsynopsisdiv">
- <xsl:call-template name="label.id"/>
- <xsl:text>&#10;\subsection*{Synopsis}&#10;</xsl:text>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="refsynopsisdivinfo"></xsl:template>
- <xsl:template match="refsynopsisdiv/title"></xsl:template>
-
-
- <!--#############################################################################
- | REFSECTS
- |- #############################################################################
- |
- + ############################################################################## -->
-
- <xsl:template match="refsect1|refsect2|refsect3">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="refsect1/title"/>
- <xsl:template match="refsect2/title"/>
- <xsl:template match="refsect3/title"/>
- <xsl:template match="refsect1info"/>
- <xsl:template match="refsect2info"/>
- <xsl:template match="refsect3info"/>
-
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/revision.mod.xsl b/docs/docbook/xslt/db2latex/revision.mod.xsl
deleted file mode 100644
index 40a7400a5a..0000000000
--- a/docs/docbook/xslt/db2latex/revision.mod.xsl
+++ /dev/null
@@ -1,218 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: revision.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="revision" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: revision.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Revision Management <filename>revision.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para>
- This file defines the DB2LaTeX XSL templates for <sgmltag>revision</sgmltag>
- and its children. The basic mapping is to output a LaTeX table and a table
- row for each revision.
- </para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="revhistory" xmlns="">
- <refpurpose> revhistory XSL template </refpurpose>
- <refdescription>
- <formalpara><title>User variables</title>
- <itemizedlist>
- <listitem><para><literal>latex.output.revhistory</literal></para></listitem>
- </itemizedlist>
- </formalpara>
- <para>This XSL template depends on the value of <literal>latex.output.revhistory</literal>.
- If this variable is "1", the XSL template calls <command>map.begin</command>, then
- applies templates and finally calls <command>map.end</command></para>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="revhistory">
- <xsl:message>RCAS: Processing Revision History </xsl:message>
- <xsl:if test="$latex.output.revhistory=1">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- <xsl:call-template name="map.end"/>
- </xsl:if>
- </xsl:template>
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="revhistory/revision" xmlns="">
- <refpurpose> revhistory/revision XSL template </refpurpose>
- <refdescription>
- <para>Each revhistory/revision corresponds to a LaTeX table row (see revhistory)
- containing the revision number, the date, author initials and the description/
- remarks of the revision.</para>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="revhistory/revision">
- <xsl:variable name="revnumber" select=".//revnumber"/>
- <xsl:variable name="revdate" select=".//date"/>
- <xsl:variable name="revauthor" select=".//authorinitials"/>
- <xsl:variable name="revremark" select=".//revremark|../revdescription"/>
- <!-- Row starts here -->
- <xsl:if test="$revnumber">
- <xsl:call-template name="gentext.element.name"/>
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="$revnumber"/>
- </xsl:if>
- <xsl:text> &amp; </xsl:text>
- <xsl:apply-templates select="$revdate"/>
- <xsl:text> &amp; </xsl:text>
- <xsl:choose>
- <xsl:when test="count($revauthor)=0">
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">nbsp</xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="$revauthor"/>
- </xsl:otherwise>
- </xsl:choose>
- <!-- End Row here -->
- <xsl:text> \\ \hline&#10;</xsl:text>
- <!-- Add Remark Row if exists-->
- <xsl:if test="$revremark">
- <xsl:text>\multicolumn{3}{l}{</xsl:text>
- <xsl:apply-templates select="$revremark"/>
- <!-- End Row here -->
- <xsl:text>} \\ \hline&#10;</xsl:text>
- </xsl:if>
- </xsl:template>
-
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="revision/authorinitials" xmlns="">
- <refpurpose> revision/authorinitials XSL template </refpurpose>
- <refdescription>
- <para>Applies templates and outputs a "comma" if the node position is not
- last()</para>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="revision/authorinitials">
- <xsl:apply-templates/>
- <xsl:if test="position()!=last()">
- <xsl:text>, </xsl:text>
- </xsl:if>
- </xsl:template>
-
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="revision/revnumber" xmlns="">
- <refpurpose> revision/revnumber XSL template </refpurpose>
- <refdescription>
- <para>Applies templates.</para>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="revision/revnumber">
- <xsl:apply-templates/>
- </xsl:template>
-
-
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="revision/date" xmlns="">
- <refpurpose> revision/date XSL template </refpurpose>
- <refdescription>
- <para>Applies templates.</para>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="revision/date">
- <xsl:apply-templates/>
- </xsl:template>
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="revision/revremark" xmlns="">
- <refpurpose> revision/revremark XSL template </refpurpose>
- <refdescription>
- <para>Applies templates.</para>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="revision/revremark">
- <xsl:apply-templates/>
- </xsl:template>
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="revision/revdescription" xmlns="">
- <refpurpose> revision/revdescription XSL template </refpurpose>
- <refdescription>
- <para>Applies templates.</para>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="revision/revdescription">
- <xsl:apply-templates/>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/sections.mod.xsl b/docs/docbook/xslt/db2latex/sections.mod.xsl
deleted file mode 100644
index db2bd5c6f9..0000000000
--- a/docs/docbook/xslt/db2latex/sections.mod.xsl
+++ /dev/null
@@ -1,150 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: sections.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: sections.
-| PENDING:
-| - Nested section|simplesect > 3 mapped to subsubsection*
-| - No sectinfo (!)
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="sections" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: sections.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authogroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authogroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Sections <filename>sections.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
-
- <xsl:template match="sect1|sect2|sect3|sect4|sect5">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="sect1/title"/>
- <xsl:template match="sect2/title"/>
- <xsl:template match="sect3/title"/>
- <xsl:template match="sect4/title"/>
- <xsl:template match="sect5/title"/>
-
-
- <xsl:template match="section">
- <xsl:text>&#10;</xsl:text>
- <xsl:variable name="level" select="count(ancestor::section)+1"/>
- <xsl:choose>
- <xsl:when test='$level=1'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect1'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test='$level=2'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect2'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test='$level=3'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect3'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test='$level=4'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect4'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test='$level=5'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect5'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message>DB2LaTeX: recursive section|simplesect &gt; 5 Not well Supported</xsl:message>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect6'"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:apply-templates/>
- </xsl:template>
-
-
- <xsl:template match="simplesect">
- <xsl:text>&#10;</xsl:text>
- <xsl:variable name="level" select="count(ancestor::section) + 1"/>
- <xsl:choose>
- <xsl:when test='$level=1'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect1'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test='$level=2'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect2'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test='$level=3'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect3'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test='$level=4'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect4'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test='$level=5'>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect5'"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message>DB2LaTeX: recursive section|simplesect &gt; 5 Not well Supported</xsl:message>
- <xsl:call-template name="map.begin">
- <xsl:with-param name="keyword" select="'sect6'"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="section/title"/>
- <xsl:template match="simplesect/title"/>
-
- <xsl:template match="sectioninfo"/>
- <xsl:template match="sect1info"/>
- <xsl:template match="sect2info"/>
- <xsl:template match="sect3info"/>
- <xsl:template match="sect4info"/>
- <xsl:template match="sect5info"/>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/set.mod.xsl b/docs/docbook/xslt/db2latex/set.mod.xsl
deleted file mode 100644
index 6729bf4aef..0000000000
--- a/docs/docbook/xslt/db2latex/set.mod.xsl
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: set.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="set" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: set.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Sets <filename>set.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
- <xsl:template match="set">
- <xsl:call-template name="label.id"/>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="set/setinfo"></xsl:template>
- <xsl:template match="set/title"></xsl:template>
- <xsl:template match="set/subtitle"></xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/sgmltag.mod.xsl b/docs/docbook/xslt/db2latex/sgmltag.mod.xsl
deleted file mode 100644
index 9af9878497..0000000000
--- a/docs/docbook/xslt/db2latex/sgmltag.mod.xsl
+++ /dev/null
@@ -1,157 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: sgmltag.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="sgmltag" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: sgmltag.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authogroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authogroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>SGML Tags <filename>sgmltag.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <xsl:template match="sgmltag">
- <xsl:call-template name="format.sgmltag"/>
- </xsl:template>
-
- <xsl:template name="format.sgmltag">
- <xsl:param name="class">
- <xsl:choose>
- <xsl:when test="@class">
- <xsl:value-of select="normalize-space(@class)"/>
- </xsl:when>
- <xsl:otherwise>element</xsl:otherwise>
- </xsl:choose>
- </xsl:param>
-
- <xsl:choose>
- <xsl:when test="$class='attribute'">
- <xsl:call-template name="inline.charseq"/>
- </xsl:when>
- <xsl:when test="$class='attvalue'">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:when>
- <xsl:when test="$class='element'">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:when>
- <xsl:when test="$class='endtag'">
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:text>\textless{}/</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>\textgreater{}</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$class='genentity'">
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:text>\&amp;</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>;</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$class='numcharref'">
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:text>\&amp;\#</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>;</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$class='paramentity'">
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:text>\%</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>;</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$class='pi'">
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:text>\textless{}?</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>?\textgreater{}</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$class='xmlpi'">
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:text>\textless{}?</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>?\textgreater{}</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$class='starttag'">
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:text>\textless{}</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>\textgreater{}</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$class='emptytag'">
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:text>\textless{}</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>/\textgreater{}</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$class='sgmlcomment'">
- <xsl:call-template name="inline.monoseq">
- <xsl:with-param name="content">
- <xsl:text>$&lt;$!$--$</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>$--&gt;$</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="inline.charseq"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/synop-oop.mod.xsl b/docs/docbook/xslt/db2latex/synop-oop.mod.xsl
deleted file mode 100644
index 936ba78115..0000000000
--- a/docs/docbook/xslt/db2latex/synop-oop.mod.xsl
+++ /dev/null
@@ -1,691 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE xsl:stylesheet [ <!ENTITY RE "&#10;"> ]>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
- <!--#############################################################################
- | $Id: synop-oop.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE:
- + ############################################################################## -->
-
-
-
- <xsl:template match="classsynopsis">
- <!-- PARAM language : -->
- <xsl:param name="language">
- <xsl:choose>
- <xsl:when test="@language">
- <xsl:value-of select="@language"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$default-classsynopsis-language"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:param>
-
- <xsl:choose>
- <xsl:when test="$language='java'"> <xsl:apply-templates select="." mode="java"/> </xsl:when>
- <xsl:when test="$language='perl'"> <xsl:apply-templates select="." mode="perl"/> </xsl:when>
- <xsl:when test="$language='idl'"> <xsl:apply-templates select="." mode="idl"/> </xsl:when>
- <xsl:when test="$language='cpp'"> <xsl:apply-templates select="." mode="cpp"/> </xsl:when>
- <xsl:otherwise>
- <xsl:message>Unrecognized language on classsynopsis: <xsl:value-of select="$language"/> </xsl:message>
- <xsl:apply-templates select=".">
- <xsl:with-param name="language" select="$default-classsynopsis-language"/>
- </xsl:apply-templates>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
-
- <!-- ===== Java ======================================================== -->
-
- <xsl:template match="classsynopsis" mode="java">
- <pre class="{name(.)}">
- <xsl:apply-templates select="ooclass[1]" mode="java"/>
- <xsl:if test="ooclass[position() &gt; 1]">
- <xsl:text> extends</xsl:text>
- <xsl:apply-templates select="ooclass[position() &gt; 1]" mode="java"/>
- <xsl:if test="oointerface|ooexception">
- <xsl:text>&RE; </xsl:text>
- </xsl:if>
- </xsl:if>
- <xsl:if test="oointerface">
- <xsl:text>implements</xsl:text>
- <xsl:apply-templates select="oointerface" mode="java"/>
- <xsl:if test="ooexception">
- <xsl:text>&RE; </xsl:text>
- </xsl:if>
- </xsl:if>
- <xsl:if test="ooexception">
- <xsl:text>throws</xsl:text>
- <xsl:apply-templates select="ooexception" mode="java"/>
- </xsl:if>
- <xsl:text> {&RE;&RE;</xsl:text>
- <xsl:apply-templates select="constructorsynopsis
- |destructorsynopsis
- |fieldsynopsis
- |methodsynopsis
- |classsynopsisinfo" mode="java"/>
- <xsl:text>}</xsl:text>
- </pre>
- </xsl:template>
-
- <xsl:template match="classsynopsisinfo" mode="java">
- <xsl:apply-templates mode="java"/>
- </xsl:template>
-
- <xsl:template match="ooclass|oointerface|ooexception" mode="java">
- <xsl:choose>
- <xsl:when test="position() &gt; 1">
- <xsl:text>, </xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text> </xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:apply-templates mode="java"/>
-
- </xsl:template>
-
- <xsl:template match="modifier" mode="java">
-
- <xsl:apply-templates mode="java"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="classname" mode="java">
- <xsl:if test="name(preceding-sibling::*[1]) = 'classname'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="java"/>
-
- </xsl:template>
-
- <xsl:template match="interfacename" mode="java">
- <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="java"/>
-
- </xsl:template>
-
- <xsl:template match="exceptionname" mode="java">
- <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="java"/>
-
- </xsl:template>
-
- <xsl:template match="fieldsynopsis" mode="java">
-
- <xsl:text> </xsl:text>
- <xsl:apply-templates mode="java"/>
- <xsl:text>;</xsl:text>
-
- </xsl:template>
-
- <xsl:template match="type" mode="java">
-
- <xsl:apply-templates mode="java"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="varname" mode="java">
-
- <xsl:apply-templates mode="java"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="initializer" mode="java">
-
- <xsl:text>= </xsl:text>
- <xsl:apply-templates mode="java"/>
-
- </xsl:template>
-
- <xsl:template match="void" mode="java">
-
- <xsl:text>void </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="methodname" mode="java">
-
- <xsl:apply-templates mode="java"/>
- </xsl:template>
-
-
-
-
- <xsl:template match="methodparam" mode="java">
- <!-- PARAM: indent := 0 -->
- <xsl:param name="indent">0</xsl:param>
- <xsl:if test="position() &gt; 1">
- <xsl:text>,&RE;</xsl:text>
- <xsl:if test="$indent &gt; 0">
- <!-- RCAS FIXME: copy-string does not exist
- <xsl:call-template name="copy-string">
- <xsl:with-param name="string"> </xsl:with-param>
- <xsl:with-param name="count" select="$indent + 1"/>
- </xsl:call-template>
- -->
- </xsl:if>
- </xsl:if>
- <xsl:apply-templates mode="java"/>
- </xsl:template>
-
-
-
- <xsl:template match="parameter" mode="java">
- <xsl:apply-templates mode="java"/>
- </xsl:template>
-
- <xsl:template mode="java"
- match="constructorsynopsis|destructorsynopsis|methodsynopsis">
- <xsl:variable name="modifiers" select="modifier"/>
- <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/>
- <xsl:variable name="decl">
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="$modifiers" mode="java"/>
-
- <!-- type -->
- <xsl:if test="name($notmod[1]) != 'methodname'">
- <xsl:apply-templates select="$notmod[1]" mode="java"/>
- </xsl:if>
-
- <xsl:apply-templates select="methodname" mode="java"/>
- </xsl:variable>
-
-
- <xsl:copy-of select="$decl"/>
- <xsl:text>(</xsl:text>
- <xsl:apply-templates select="methodparam" mode="java">
- <xsl:with-param name="indent" select="string-length($decl)"/>
- </xsl:apply-templates>
- <xsl:text>)</xsl:text>
- <xsl:if test="exceptionname">
- <xsl:text>&RE; throws </xsl:text>
- <xsl:apply-templates select="exceptionname" mode="java"/>
- </xsl:if>
- <xsl:text>;</xsl:text>
-
- </xsl:template>
-
- <!-- ===== C++ ========================================================= -->
-
- <xsl:template match="classsynopsis" mode="cpp">
- <pre class="{name(.)}">
- <xsl:apply-templates select="ooclass[1]" mode="cpp"/>
- <xsl:if test="ooclass[position() &gt; 1]">
- <xsl:text>: </xsl:text>
- <xsl:apply-templates select="ooclass[position() &gt; 1]" mode="cpp"/>
- <xsl:if test="oointerface|ooexception">
- <xsl:text>&RE; </xsl:text>
- </xsl:if>
- </xsl:if>
- <xsl:if test="oointerface">
- <xsl:text> implements</xsl:text>
- <xsl:apply-templates select="oointerface" mode="cpp"/>
- <xsl:if test="ooexception">
- <xsl:text>&RE; </xsl:text>
- </xsl:if>
- </xsl:if>
- <xsl:if test="ooexception">
- <xsl:text> throws</xsl:text>
- <xsl:apply-templates select="ooexception" mode="cpp"/>
- </xsl:if>
- <xsl:text> {&RE;&RE;</xsl:text>
- <xsl:apply-templates select="constructorsynopsis
- |destructorsynopsis
- |fieldsynopsis
- |methodsynopsis
- |classsynopsisinfo" mode="cpp"/>
- <xsl:text>}</xsl:text>
- </pre>
- </xsl:template>
-
- <xsl:template match="classsynopsisinfo" mode="cpp">
- <xsl:apply-templates mode="cpp"/>
- </xsl:template>
-
- <xsl:template match="ooclass|oointerface|ooexception" mode="cpp">
- <xsl:if test="position() &gt; 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="cpp"/>
-
- </xsl:template>
-
- <xsl:template match="modifier" mode="cpp">
-
- <xsl:apply-templates mode="cpp"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="classname" mode="cpp">
- <xsl:if test="name(preceding-sibling::*[1]) = 'classname'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="cpp"/>
-
- </xsl:template>
-
- <xsl:template match="interfacename" mode="cpp">
- <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="cpp"/>
-
- </xsl:template>
-
- <xsl:template match="exceptionname" mode="cpp">
- <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="cpp"/>
-
- </xsl:template>
-
- <xsl:template match="fieldsynopsis" mode="cpp">
-
- <xsl:text> </xsl:text>
- <xsl:apply-templates mode="cpp"/>
- <xsl:text>;</xsl:text>
-
- </xsl:template>
-
- <xsl:template match="type" mode="cpp">
-
- <xsl:apply-templates mode="cpp"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="varname" mode="cpp">
-
- <xsl:apply-templates mode="cpp"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="initializer" mode="cpp">
-
- <xsl:text>= </xsl:text>
- <xsl:apply-templates mode="cpp"/>
-
- </xsl:template>
-
- <xsl:template match="void" mode="cpp">
-
- <xsl:text>void </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="methodname" mode="cpp">
-
- <xsl:apply-templates mode="cpp"/>
-
- </xsl:template>
-
- <xsl:template match="methodparam" mode="cpp">
- <xsl:if test="position() &gt; 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="cpp"/>
-
- </xsl:template>
-
- <xsl:template match="parameter" mode="cpp">
-
- <xsl:apply-templates mode="cpp"/>
-
- </xsl:template>
-
- <xsl:template mode="cpp"
- match="constructorsynopsis|destructorsynopsis|methodsynopsis">
- <xsl:variable name="modifiers" select="modifier"/>
- <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/>
- <xsl:variable name="type">
- </xsl:variable>
-
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="$modifiers" mode="cpp"/>
-
- <!-- type -->
- <xsl:if test="name($notmod[1]) != 'methodname'">
- <xsl:apply-templates select="$notmod[1]" mode="cpp"/>
- </xsl:if>
-
- <xsl:apply-templates select="methodname" mode="cpp"/>
- <xsl:text>(</xsl:text>
- <xsl:apply-templates select="methodparam" mode="cpp"/>
- <xsl:text>)</xsl:text>
- <xsl:if test="exceptionname">
- <xsl:text>&RE; throws </xsl:text>
- <xsl:apply-templates select="exceptionname" mode="cpp"/>
- </xsl:if>
- <xsl:text>;</xsl:text>
-
- </xsl:template>
-
- <!-- ===== IDL ========================================================= -->
-
- <xsl:template match="classsynopsis" mode="idl">
- <pre class="{name(.)}">
- <xsl:text>interface </xsl:text>
- <xsl:apply-templates select="ooclass[1]" mode="idl"/>
- <xsl:if test="ooclass[position() &gt; 1]">
- <xsl:text>: </xsl:text>
- <xsl:apply-templates select="ooclass[position() &gt; 1]" mode="idl"/>
- <xsl:if test="oointerface|ooexception">
- <xsl:text>&RE; </xsl:text>
- </xsl:if>
- </xsl:if>
- <xsl:if test="oointerface">
- <xsl:text> implements</xsl:text>
- <xsl:apply-templates select="oointerface" mode="idl"/>
- <xsl:if test="ooexception">
- <xsl:text>&RE; </xsl:text>
- </xsl:if>
- </xsl:if>
- <xsl:if test="ooexception">
- <xsl:text> throws</xsl:text>
- <xsl:apply-templates select="ooexception" mode="idl"/>
- </xsl:if>
- <xsl:text> {&RE;&RE;</xsl:text>
- <xsl:apply-templates select="constructorsynopsis
- |destructorsynopsis
- |fieldsynopsis
- |methodsynopsis
- |classsynopsisinfo" mode="idl"/>
- <xsl:text>}</xsl:text>
- </pre>
- </xsl:template>
-
- <xsl:template match="classsynopsisinfo" mode="idl">
- <xsl:apply-templates mode="idl"/>
- </xsl:template>
-
- <xsl:template match="ooclass|oointerface|ooexception" mode="idl">
- <xsl:if test="position() &gt; 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="idl"/>
-
- </xsl:template>
-
- <xsl:template match="modifier" mode="idl">
-
- <xsl:apply-templates mode="idl"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="classname" mode="idl">
- <xsl:if test="name(preceding-sibling::*[1]) = 'classname'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="idl"/>
-
- </xsl:template>
-
- <xsl:template match="interfacename" mode="idl">
- <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="idl"/>
-
- </xsl:template>
-
- <xsl:template match="exceptionname" mode="idl">
- <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="idl"/>
-
- </xsl:template>
-
- <xsl:template match="fieldsynopsis" mode="idl">
-
- <xsl:text> </xsl:text>
- <xsl:apply-templates mode="idl"/>
- <xsl:text>;</xsl:text>
-
- </xsl:template>
-
- <xsl:template match="type" mode="idl">
-
- <xsl:apply-templates mode="idl"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="varname" mode="idl">
-
- <xsl:apply-templates mode="idl"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="initializer" mode="idl">
-
- <xsl:text>= </xsl:text>
- <xsl:apply-templates mode="idl"/>
-
- </xsl:template>
-
- <xsl:template match="void" mode="idl">
-
- <xsl:text>void </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="methodname" mode="idl">
-
- <xsl:apply-templates mode="idl"/>
-
- </xsl:template>
-
- <xsl:template match="methodparam" mode="idl">
- <xsl:if test="position() &gt; 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="idl"/>
-
- </xsl:template>
-
- <xsl:template match="parameter" mode="idl">
-
- <xsl:apply-templates mode="idl"/>
-
- </xsl:template>
-
- <xsl:template mode="idl"
- match="constructorsynopsis|destructorsynopsis|methodsynopsis">
- <xsl:variable name="modifiers" select="modifier"/>
- <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/>
- <xsl:variable name="type">
- </xsl:variable>
-
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="$modifiers" mode="idl"/>
-
- <!-- type -->
- <xsl:if test="name($notmod[1]) != 'methodname'">
- <xsl:apply-templates select="$notmod[1]" mode="idl"/>
- </xsl:if>
-
- <xsl:apply-templates select="methodname" mode="idl"/>
- <xsl:text>(</xsl:text>
- <xsl:apply-templates select="methodparam" mode="idl"/>
- <xsl:text>)</xsl:text>
- <xsl:if test="exceptionname">
- <xsl:text>&RE; raises(</xsl:text>
- <xsl:apply-templates select="exceptionname" mode="idl"/>
- <xsl:text>)</xsl:text>
- </xsl:if>
- <xsl:text>;</xsl:text>
-
- </xsl:template>
-
-
-
-
-
- <!-- ===== Perl ======================================================== -->
-
- <xsl:template match="classsynopsis" mode="perl">
- <pre class="{name(.)}">
- <xsl:text>package </xsl:text>
- <xsl:apply-templates select="ooclass[1]" mode="perl"/>
- <xsl:text>;&RE;</xsl:text>
-
- <xsl:if test="ooclass[position() &gt; 1]">
- <xsl:text>@ISA = (</xsl:text>
- <xsl:apply-templates select="ooclass[position() &gt; 1]" mode="perl"/>
- <xsl:text>);&RE;</xsl:text>
- </xsl:if>
-
- <xsl:apply-templates select="constructorsynopsis
- |destructorsynopsis
- |fieldsynopsis
- |methodsynopsis
- |classsynopsisinfo" mode="perl"/>
- </pre>
- </xsl:template>
-
- <xsl:template match="classsynopsisinfo" mode="perl">
- <xsl:apply-templates mode="perl"/>
- </xsl:template>
-
- <xsl:template match="ooclass|oointerface|ooexception" mode="perl">
- <xsl:if test="position() &gt; 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="perl"/>
-
- </xsl:template>
-
- <xsl:template match="modifier" mode="perl">
-
- <xsl:apply-templates mode="perl"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="classname" mode="perl">
- <xsl:if test="name(preceding-sibling::*[1]) = 'classname'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="perl"/>
-
- </xsl:template>
-
- <xsl:template match="interfacename" mode="perl">
- <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="perl"/>
-
- </xsl:template>
-
- <xsl:template match="exceptionname" mode="perl">
- <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'">
- <xsl:text>, </xsl:text>
- </xsl:if>
-
- <xsl:apply-templates mode="perl"/>
-
- </xsl:template>
-
- <xsl:template match="fieldsynopsis" mode="perl">
-
- <xsl:text> </xsl:text>
- <xsl:apply-templates mode="perl"/>
- <xsl:text>;</xsl:text>
-
- </xsl:template>
-
- <xsl:template match="type" mode="perl">
-
- <xsl:apply-templates mode="perl"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="varname" mode="perl">
-
- <xsl:apply-templates mode="perl"/>
- <xsl:text> </xsl:text>
-
- </xsl:template>
-
- <xsl:template match="initializer" mode="perl">
-
- <xsl:text>= </xsl:text>
- <xsl:apply-templates mode="perl"/>
-
- </xsl:template>
-
- <xsl:template match="void" mode="perl">
-
- <xsl:text>void </xsl:text>
-
- </xsl:template>
-
-
-
- <xsl:template match="methodname" mode="perl">
- <xsl:apply-templates mode="perl"/>
- </xsl:template>
-
- <xsl:template match="methodparam" mode="perl">
- <xsl:if test="position() &gt; 1"> <xsl:text>, </xsl:text> </xsl:if>
- <xsl:apply-templates mode="perl"/>
- </xsl:template>
-
-
- <xsl:template match="parameter" mode="perl">
- <xsl:apply-templates mode="perl"/>
- </xsl:template>
-
-
- <xsl:template mode="perl" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
- <xsl:variable name="modifiers" select="modifier"/>
- <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/>
- <xsl:variable name="type"> </xsl:variable>
-
- <xsl:text>sub </xsl:text>
-
- <xsl:apply-templates select="methodname" mode="perl"/>
- <xsl:text> { ... };</xsl:text>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/synop-struct.mod.xsl b/docs/docbook/xslt/db2latex/synop-struct.mod.xsl
deleted file mode 100644
index 52516118bd..0000000000
--- a/docs/docbook/xslt/db2latex/synop-struct.mod.xsl
+++ /dev/null
@@ -1,248 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: synop-struct.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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:template match="synopsis">
- <xsl:call-template name="label.id"/>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="cmdsynopsis">
- <xsl:call-template name="label.id"/>
- <xsl:text>&#10;\begin{list}{}{\setlength{\itemindent}{-\leftmargin}\setlength{\parsep}{0mm}}&#10;</xsl:text>
- <xsl:if test="@label!=''">
- <xsl:text>\item\textbf{</xsl:text>
- <xsl:call-template name="normalize-scape"><xsl:with-param name="string" select="@label"/></xsl:call-template>
- <xsl:text>}&#10;</xsl:text>
- </xsl:if>
- <xsl:text>\item\raggedright\texttt{</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>}&#10;</xsl:text>
- <xsl:text>\end{list}&#10;</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="cmdsynopsis/command">
- <xsl:apply-templates />
- </xsl:template>
-
-
- <xsl:template match="cmdsynopsis//replaceable" priority="2">
- <xsl:text>{\itshape </xsl:text>
- <xsl:apply-templates />
- <xsl:text>}</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="group|arg">
- <xsl:variable name="choice" select="@choice"/>
- <xsl:variable name="rep" select="@rep"/>
- <xsl:variable name="sepchar">
- <xsl:choose>
- <xsl:when test="ancestor-or-self::*/@sepchar">
- <xsl:value-of select="ancestor-or-self::*/@sepchar"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text> </xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:if test="position()>1"><xsl:value-of select="$sepchar"/></xsl:if>
- <xsl:choose>
- <xsl:when test="$choice='plain'">
- <xsl:value-of select="$arg.choice.plain.open.str"/>
- </xsl:when>
- <xsl:when test="$choice='req'">
- <xsl:value-of select="$arg.choice.req.open.str"/>
- </xsl:when>
- <xsl:when test="$choice='opt'">
- <xsl:value-of select="$arg.choice.opt.open.str"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$arg.choice.def.open.str"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:apply-templates/>
- <xsl:choose>
- <xsl:when test="$rep='repeat'">
- <xsl:value-of select="$arg.rep.repeat.str"/>
- </xsl:when>
- <xsl:when test="$rep='norepeat'">
- <xsl:value-of select="$arg.rep.norepeat.str"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$arg.rep.def.str"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="$choice='plain'">
- <xsl:value-of select="$arg.choice.plain.close.str"/>
- </xsl:when>
- <xsl:when test="$choice='req'">
- <xsl:value-of select="$arg.choice.req.close.str"/>
- </xsl:when>
- <xsl:when test="$choice='opt'">
- <xsl:value-of select="$arg.choice.opt.close.str"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$arg.choice.def.close.str"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="group/arg">
- <xsl:variable name="choice" select="@choice"/>
- <xsl:variable name="rep" select="@rep"/>
- <xsl:if test="position()>1"><xsl:value-of select="$arg.or.sep"/></xsl:if>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="sbr">
- <xsl:text>&#10;</xsl:text>
- </xsl:template>
-
- <!-- ==================================================================== -->
-
- <xsl:template match="synopfragmentref">
- <!-- VAR target : -->
- <xsl:variable name="target" select="id(@linkend)"/>
- <!-- VAR snum : -->
- <xsl:variable name="snum">
- <xsl:apply-templates select="$target" mode="synopfragment.number"/>
- </xsl:variable>
-
- <xsl:text> {\em (</xsl:text> <xsl:value-of select="$snum"/> <xsl:text>) }</xsl:text>
- </xsl:template>
-
- <xsl:template match="synopfragment" mode="synopfragment.number">
- <xsl:number format="1"/>
- </xsl:template>
-
- <xsl:template match="synopfragment">
- <xsl:variable name="snum">
- <xsl:apply-templates select="." mode="synopfragment.number"/>
- </xsl:variable>
- <p>
- <a name="#{@id}">
- <xsl:text>(</xsl:text>
- <xsl:value-of select="$snum"/>
- <xsl:text>)</xsl:text>
- </a>
- <xsl:text> </xsl:text>
- <xsl:apply-templates/>
- </p>
- </xsl:template>
-
-
- <xsl:template match="funcsynopsis">
- <xsl:call-template name="informal.object"/>
- </xsl:template>
-
-
- <xsl:template match="funcsynopsisinfo">
- <xsl:call-template name="verbatim.apply.templates"/>
- </xsl:template>
-
-
- <xsl:template match="funcprototype">
- <xsl:apply-templates/>
- <xsl:if test="$funcsynopsis.style='kr'">
- <xsl:apply-templates select="./paramdef" mode="kr-funcsynopsis-mode"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="funcdef">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="funcdef/function">
- <xsl:choose>
- <xsl:when test="$funcsynopsis.decoration != 0">
- <xsl:text>\textbf{ </xsl:text><xsl:apply-templates/><xsl:text> } </xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
- <xsl:template match="void">
- <xsl:choose>
- <xsl:when test="$funcsynopsis.style='ansi'">
- <xsl:text>(void);</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>();</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="varargs">
- <xsl:text>( ... );</xsl:text>
- </xsl:template>
-
- <xsl:template match="paramdef">
- <!-- VAR paramnum -->
- <xsl:variable name="paramnum"> <xsl:number count="paramdef" format="1"/> </xsl:variable>
-
- <xsl:if test="$paramnum=1">(</xsl:if>
- <xsl:choose>
- <xsl:when test="$funcsynopsis.style='ansi'">
- <xsl:apply-templates/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="./parameter"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="following-sibling::paramdef">
- <xsl:text>, </xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>);</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
- <xsl:template match="paramdef/parameter">
- <xsl:choose>
- <xsl:when test="$funcsynopsis.decoration != 0">
- <xsl:apply-templates/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="following-sibling::parameter">
- <xsl:text>, </xsl:text>
- </xsl:if>
- </xsl:template>
-
-
-
- <xsl:template match="paramdef" mode="kr-funcsynopsis-mode">
- \newline
- <xsl:apply-templates/>
- <xsl:text>;</xsl:text>
- </xsl:template>
-
- <xsl:template match="funcparams">
- <xsl:text>(</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>)</xsl:text>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/table.mod.xsl b/docs/docbook/xslt/db2latex/table.mod.xsl
deleted file mode 100644
index f1ef85b85c..0000000000
--- a/docs/docbook/xslt/db2latex/table.mod.xsl
+++ /dev/null
@@ -1,653 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: table.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="table" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: table.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <firstname>Ramon</firstname> <surname>Casellas</surname>
- <firstname>James</firstname> <surname>Devenish</surname>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>Tables <filename>table.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="table|informaltable" xmlns="">
- <refpurpose>XSL template for docbook tables. </refpurpose>
- <refdescription>
- <para></para>
- <formalpara><title>Remarks and Bugs</title>
- <itemizedlist>
- </itemizedlist>
- </formalpara>
- <formalpara><title>Default Behaviour</title>
- <screen></screen>
- </formalpara>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="table">
- <xsl:variable name="placement">
- <xsl:call-template name="generate.formal.title.placement">
- <xsl:with-param name="object" select="local-name(.)" />
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="caption">
- <xsl:text>\caption{</xsl:text>
- <xsl:apply-templates select="title" mode="caption.mode"/>
- <xsl:text>}&#10;</xsl:text>
- </xsl:variable>
- <xsl:call-template name="map.begin"/>
- <xsl:if test="$placement='before'">
- <xsl:text>\captionswapskip{}</xsl:text>
- <xsl:value-of select="$caption" />
- <xsl:text>\captionswapskip{}</xsl:text>
- </xsl:if>
- <xsl:apply-templates/>
- <xsl:if test="$placement!='before'"><xsl:value-of select="$caption" /></xsl:if>
- <xsl:call-template name="map.end"/>
- </xsl:template>
-
- <xsl:template match="table/title"/>
- <xsl:template match="table/title" mode="caption.mode"><xsl:apply-templates /></xsl:template>
-
- <xsl:template match="informaltable">
- <xsl:call-template name="map.begin"/>
- <xsl:apply-templates/>
- <xsl:call-template name="map.end"/>
- </xsl:template>
-
-
- <xsl:template name="table.format.tabularx">
- <xsl:param name="cols" select="1"/>
- <xsl:param name="i" select="1"/>
- <xsl:param name="colsep" select="1"/>
- <!-- sum of numeric portions in 1*-like colwidths -->
- <xsl:param name="starfactor" select="0"/>
- <xsl:choose>
- <!-- Out of the recursive iteration -->
- <xsl:when test="$i > $cols"></xsl:when>
- <!-- There are still columns to count -->
- <xsl:otherwise>
- <xsl:variable name="width" select="colspec[@colnum=$i]/@colwidth"/>
- <!-- Try to take heed of colspecs -->
- <xsl:choose>
- <xsl:when test="$width!=''">
- <xsl:text>&gt;{</xsl:text>
- <xsl:if test="contains($width,'*')">
- <!-- see tabularx documentation -->
- <xsl:text>\hsize=</xsl:text>
- <xsl:value-of select="substring-before($width,'*') * $starfactor" />
- <xsl:text>\hsize</xsl:text>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="colspec[@colnum=$i]/@align='left'"><xsl:text>\RaggedRight</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='right'"><xsl:text>\RaggedLeft</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='center'"><xsl:text>\Centering</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='char'"><xsl:message>Table column char alignment is not supported.</xsl:message></xsl:when>
- </xsl:choose>
- <xsl:text>}</xsl:text>
- <xsl:choose>
- <xsl:when test="contains($width,'*')">
- <xsl:text>X</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>p{</xsl:text><xsl:value-of select="$width" /><xsl:text>}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="$i&lt;$cols and $colsep='1'">
- <xsl:text>|</xsl:text>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="colspec[@colnum=$i]/@align='left'"><xsl:text>l</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='right'"><xsl:text>r</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='center'"><xsl:text>c</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='justify'"><xsl:text>X</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='char'"><xsl:text>c</xsl:text><xsl:message>Table column char alignment is not supported.</xsl:message></xsl:when>
- <xsl:otherwise><xsl:text>c</xsl:text></xsl:otherwise>
- </xsl:choose>
- <xsl:if test="$i&lt;$cols and $colsep='1'">
- <xsl:text>|</xsl:text>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- <!-- Recursive for next column -->
- <xsl:call-template name="table.format.tabularx">
- <xsl:with-param name="i" select="$i+1"/>
- <xsl:with-param name="cols" select="$cols"/>
- <xsl:with-param name="starfactor" select="$starfactor"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
- <!-- FIX THIS -->
- <xsl:template name="table.format.tabular">
- <xsl:param name="cols" select="1"/>
- <xsl:param name="i" select="1"/>
- <xsl:param name="colsep" select="1"/>
- <xsl:choose>
- <!-- Out of the recursive iteration -->
- <xsl:when test="$i > $cols"></xsl:when>
- <!-- There are still columns to count -->
- <xsl:otherwise>
- <!-- Try to take heed of colspecs -->
- <xsl:choose>
- <!-- RC 2003/03/19 : Added first 'test' : colspec[@colnum=$i] for xsltproc
- Before this patch, parsing the doc with xsltproc the xsl:when clause
- was evaluated to 'true' even if there was no colspec for the column
- -->
- <xsl:when test="colspec[@colnum=$i] and colspec[@colnum=$i]/@colwidth!='' and not(contains(colspec[@colnum=$i]/@colwidth,'*'))">
- <xsl:choose>
- <xsl:when test="colspec[@colnum=$i]/@align='left'"><xsl:text>&gt;{\RaggedRight}</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='right'"><xsl:text>&gt;{\RaggedLeft}</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='center'"><xsl:text>&gt;{\Centering}</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='char'"><xsl:message>Table column char alignment is not supported.</xsl:message></xsl:when>
- </xsl:choose>
- <xsl:text>p{</xsl:text><xsl:value-of select="colspec[@colnum=$i]/@colwidth" /><xsl:text>}</xsl:text>
- <xsl:if test="$i&lt;$cols and $colsep='1'">
- <xsl:text>|</xsl:text>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="colspec[@colnum=$i]/@align='left'"><xsl:text>l</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='right'"><xsl:text>r</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='center'"><xsl:text>c</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='justify'"><xsl:text>l</xsl:text></xsl:when>
- <xsl:when test="colspec[@colnum=$i]/@align='char'"><xsl:text>c</xsl:text><xsl:message>Table column char alignment is not supported.</xsl:message></xsl:when>
- <xsl:otherwise><xsl:text>c</xsl:text></xsl:otherwise>
- </xsl:choose>
- <xsl:if test="$i&lt;$cols and $colsep='1'">
- <xsl:text>|</xsl:text>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- <!-- Recursive for next column -->
- <xsl:call-template name="table.format.tabular">
- <xsl:with-param name="i" select="$i+1"/>
- <xsl:with-param name="cols" select="$cols"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
- <!-- See tabularx documentation. -->
- <!-- For example, if we have a 1* column and a 3* column, then the
- the hsizes for each column are (1/(1+3)*2) and (3/(1+3)*2).
- The ratio of these to the star values (star values being 1 and 3)
- is 2/(1+3).
- -->
- <xsl:template name="generate.starfactor">
- <xsl:param name="i" select="1"/>
- <xsl:param name="sum" select="0"/>
- <xsl:param name="nodes" select="colspec[contains(@colwidth,'*')]"/>
- <xsl:choose>
- <xsl:when test="$i&lt;=count($nodes)">
- <xsl:call-template name="generate.starfactor">
- <xsl:with-param name="i" select="$i+1"/>
- <xsl:with-param name="sum" select="$sum+substring-before($nodes[$i]/@colwidth,'*')"/>
- <xsl:with-param name="nodes" select="$nodes"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="count($nodes) div $sum"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
- <xsl:template match="tgroup">
- <xsl:variable name="align" select="@align"/>
- <xsl:variable name="frame">
- <xsl:choose>
- <xsl:when test="string-length(../@frame)&lt;1">all</xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="../@frame"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="colspecs" select="./colspec"/>
- <xsl:variable name="usex">
- <xsl:choose>
- <!-- if there are instances of 1*-style colwidths, we need tabularx -->
- <xsl:when test="$latex.use.tabularx=1 and contains(colspec/@colwidth,'*')">
- <xsl:text>1</xsl:text>
- </xsl:when>
- <!-- if there are colspecs with 'justify' alignment and no explicit width, we need tabularx -->
- <xsl:when test="$latex.use.tabularx=1 and count(colspec[@align='justify'])&gt;0">
- <xsl:text>1</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>0</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="useminipage">
- <!-- Hack to get around LaTeX issue with tabular (not necessary with tabularx).
- This is NOT a good solution, and has problems of its own, but at least the footnotes
- do not actually disappear (which is what would otherwise happen). -->
- <xsl:if test="count(.//footnote)!=0">1</xsl:if>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$usex='1'">
- <xsl:text>\begin{tabularx}{\columnwidth}{</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:if test="$useminipage='1'"><xsl:text>\begin{minipage}{\linewidth}&#10;</xsl:text></xsl:if>
- <xsl:text>\begin{tabular}{</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="$frame='all' or $frame='sides'">
- <xsl:text>|</xsl:text>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="$usex=1">
- <xsl:call-template name="table.format.tabularx">
- <xsl:with-param name="cols" select="@cols"/>
- <xsl:with-param name="starfactor"><xsl:call-template name="generate.starfactor"/></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="table.format.tabular">
- <xsl:with-param name="cols" select="@cols"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="$frame='all' or $frame='sides'">
- <xsl:text>|</xsl:text>
- </xsl:if>
- <xsl:text>}&#10;</xsl:text>
- <xsl:if test="$frame!='sides' and $frame!='none' and $frame!='bottom'">
- <xsl:text>\hline &#10;</xsl:text>
- </xsl:if>
- <!-- APPLY TEMPLATES -->
- <xsl:apply-templates/>
- <!-- -->
- <xsl:if test="$frame!='sides' and $frame!='none' and $frame!='top'">
- <xsl:text>\hline &#10;</xsl:text>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="$usex=1">
- <xsl:text>\end{tabularx}&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\end{tabular}&#10;</xsl:text>
- <xsl:if test="$useminipage='1'"><xsl:text>\end{minipage}&#10;</xsl:text></xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
- <!--
- <xsl:template name="generate.col">
- <xsl:param name="countcol">1</xsl:param>
- </xsl:template>
- -->
-
- <xsl:template match="colspec"></xsl:template>
- <xsl:template match="spanspec"></xsl:template>
-
-
-
-
- <xsl:template match="thead|tfoot">
- <xsl:if test="@align">
- <xsl:attribute name="align">
- <xsl:value-of select="@align"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@char">
- <xsl:attribute name="char">
- <xsl:value-of select="@char"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@charoff">
- <xsl:attribute name="charoff">
- <xsl:value-of select="@charoff"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@valign">
- <xsl:attribute name="valign">
- <xsl:value-of select="@valign"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="thead/row/entry|tfoot/row/entry">
- <xsl:call-template name="latex.entry.prealign"/>
- <xsl:call-template name="latex.thead.row.entry"/>
- <xsl:call-template name="latex.entry.postalign"/>
- <xsl:choose>
- <xsl:when test="position()=last()"><xsl:text> \tabularnewline&#10;</xsl:text></xsl:when>
- <xsl:otherwise><xsl:text> &amp; </xsl:text></xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="tbody">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="row">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="tbody/row|thead/row|tfoot/row">
- <xsl:apply-templates/>
- <!-- The rule below the last row in the table is controlled by the
- Frame attribute of the enclosing Table or InformalTable and the RowSep
- of the last row is ignored. If unspecified, this attribute is
- inherited from enclosing elements, rowsep=1 by default. -->
- <xsl:variable name="parent_position" select="count(../preceding-sibling::node())+1"/>
- <xsl:variable name="grandparent_children" select="count(../../child::node())"/>
- <xsl:if test="(count(@rowsep)=0 or @rowsep='1') and (position() != last() or $parent_position &lt; $grandparent_children)">
- <xsl:text> \hline &#10;</xsl:text>
- </xsl:if>
- </xsl:template>
-
-
- <xsl:template match="tbody/row/entry">
- <xsl:call-template name="latex.entry.prealign"/>
- <xsl:apply-templates/>
- <xsl:call-template name="latex.entry.postalign"/>
- <xsl:choose>
- <xsl:when test="position()=last()"><xsl:text> \tabularnewline&#10;</xsl:text></xsl:when>
- <xsl:otherwise><xsl:text> &amp; </xsl:text></xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
- <xsl:template name="latex.entry.prealign">
- <!-- this is used when the entry's align spec wants to override the column default -->
- <xsl:choose>
- <xsl:when test="@align='left'"><xsl:text>\docbooktolatexalignll </xsl:text></xsl:when>
- <xsl:when test="@align='right'"><xsl:text>\docbooktolatexalignrl </xsl:text></xsl:when>
- <xsl:when test="@align='center'"><xsl:text>\docbooktolatexaligncl </xsl:text></xsl:when>
- <xsl:when test="@align='char'"><xsl:message>Table entry char alignment is not supported.</xsl:message></xsl:when>
- </xsl:choose>
- <!-- use this as a hook for some general warnings -->
- <xsl:if test="@morerows!=''"><xsl:message>The morerows attribute is not supported.</xsl:message></xsl:if>
- <xsl:if test="@spanname!=''"><xsl:message>The spanname attribute is not supported.</xsl:message></xsl:if>
- <xsl:if test="@namest!=''"><xsl:message>The namest and nameend attributes are not supported.</xsl:message></xsl:if>
- </xsl:template>
-
- <xsl:template name="latex.entry.postalign">
- <!-- this is used when the entry's align spec wants to override the column default -->
- <xsl:choose>
- <xsl:when test="@align='left'"><xsl:text>\docbooktolatexalignlr </xsl:text></xsl:when>
- <xsl:when test="@align='right'"><xsl:text>\docbooktolatexalignrr </xsl:text></xsl:when>
- <xsl:when test="@align='center'"><xsl:text>\docbooktolatexaligncr </xsl:text></xsl:when>
- </xsl:choose>
- </xsl:template>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <xsl:template name="process.cell">
- <xsl:param name="cellgi">td</xsl:param>
- <xsl:variable name="empty.cell" select="count(node()) = 0"/>
-
- <xsl:element name="{$cellgi}">
- <xsl:if test="@morerows">
- <xsl:attribute name="rowspan">
- <xsl:value-of select="@morerows+1"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@namest">
- <xsl:attribute name="colspan">
- <xsl:call-template name="calculate.colspan"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@align">
- <xsl:attribute name="align">
- <xsl:value-of select="@align"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@char">
- <xsl:attribute name="char">
- <xsl:value-of select="@char"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@charoff">
- <xsl:attribute name="charoff">
- <xsl:value-of select="@charoff"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@valign">
- <xsl:attribute name="valign">
- <xsl:value-of select="@valign"/>
- </xsl:attribute>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="$empty.cell">
- <xsl:text>&#160;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:element>
- </xsl:template>
-
- <xsl:template name="generate.colgroup">
- <xsl:param name="cols" select="1"/>
- <xsl:param name="count" select="1"/>
- <xsl:choose>
- <xsl:when test="$count>$cols"></xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="generate.col">
- <xsl:with-param name="countcol" select="$count"/>
- </xsl:call-template>
- <xsl:call-template name="generate.colgroup">
- <xsl:with-param name="cols" select="$cols"/>
- <xsl:with-param name="count" select="$count+1"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="generate.col">
- <xsl:param name="countcol">1</xsl:param>
- <xsl:param name="colspecs" select="./colspec"/>
- <xsl:param name="count">1</xsl:param>
- <xsl:param name="colnum">1</xsl:param>
-
- <xsl:choose>
- <xsl:when test="$count>count($colspecs)">
- <col/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
- <xsl:variable name="colspec.colnum">
- <xsl:choose>
- <xsl:when test="$colspec/@colnum">
- <xsl:value-of select="$colspec/@colnum"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$colnum"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$colspec.colnum=$countcol">
- <col>
- <xsl:if test="$colspec/@align">
- <xsl:attribute name="align">
- <xsl:value-of select="$colspec/@align"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$colspec/@char">
- <xsl:attribute name="char">
- <xsl:value-of select="$colspec/@char"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$colspec/@charoff">
- <xsl:attribute name="charoff">
- <xsl:value-of select="$colspec/@charoff"/>
- </xsl:attribute>
- </xsl:if>
- </col>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="generate.col">
- <xsl:with-param name="countcol" select="$countcol"/>
- <xsl:with-param name="colspecs" select="$colspecs"/>
- <xsl:with-param name="count" select="$count+1"/>
- <xsl:with-param name="colnum">
- <xsl:choose>
- <xsl:when test="$colspec/@colnum">
- <xsl:value-of select="$colspec/@colnum + 1"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$colnum + 1"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
-
- </xsl:template>
-
- <xsl:template name="colspec.colnum">
- <!-- when this macro is called, the current context must be an entry -->
- <xsl:param name="colname"></xsl:param>
- <!-- .. = row, ../.. = thead|tbody, ../../.. = tgroup -->
- <xsl:param name="colspecs" select="../../../../tgroup/colspec"/>
- <xsl:param name="count">1</xsl:param>
- <xsl:param name="colnum">1</xsl:param>
- <xsl:choose>
- <xsl:when test="$count>count($colspecs)"></xsl:when>
- <xsl:otherwise>
- <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
- <!--
- <xsl:value-of select="$count"/>:
- <xsl:value-of select="$colspec/@colname"/>=
- <xsl:value-of select="$colnum"/>
- -->
- <xsl:choose>
- <xsl:when test="$colspec/@colname=$colname">
- <xsl:choose>
- <xsl:when test="$colspec/@colnum">
- <xsl:value-of select="$colspec/@colnum"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$colnum"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="colspec.colnum">
- <xsl:with-param name="colname" select="$colname"/>
- <xsl:with-param name="colspecs" select="$colspecs"/>
- <xsl:with-param name="count" select="$count+1"/>
- <xsl:with-param name="colnum">
- <xsl:choose>
- <xsl:when test="$colspec/@colnum">
- <xsl:value-of select="$colspec/@colnum + 1"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$colnum + 1"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="colspec.colwidth">
- <!-- when this macro is called, the current context must be an entry -->
- <xsl:param name="colname"></xsl:param>
- <!-- .. = row, ../.. = thead|tbody, ../../.. = tgroup -->
- <xsl:param name="colspecs" select="../../../../tgroup/colspec"/>
- <xsl:param name="count">1</xsl:param>
- <xsl:choose>
- <xsl:when test="$count>count($colspecs)"></xsl:when>
- <xsl:otherwise>
- <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
- <xsl:choose>
- <xsl:when test="$colspec/@colname=$colname">
- <xsl:value-of select="$colspec/@colwidth"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="colspec.colwidth">
- <xsl:with-param name="colname" select="$colname"/>
- <xsl:with-param name="colspecs" select="$colspecs"/>
- <xsl:with-param name="count" select="$count+1"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="calculate.colspan">
- <xsl:variable name="scol">
- <xsl:call-template name="colspec.colnum">
- <xsl:with-param name="colname" select="@namest"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="ecol">
- <xsl:call-template name="colspec.colnum">
- <xsl:with-param name="colname" select="@nameend"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:value-of select="$ecol - $scol + 1"/>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/texmath.mod.xsl b/docs/docbook/xslt/db2latex/texmath.mod.xsl
deleted file mode 100644
index e3020664c3..0000000000
--- a/docs/docbook/xslt/db2latex/texmath.mod.xsl
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: texmath.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-
-<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'>
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="texmath" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: texmath.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>LaTeX Only Commands <filename>texmath.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
-
-
- <xsl:template match="alt[@role='tex' or @role='latex']">
- <xsl:choose>
- <xsl:when test="ancestor::inlineequation|ancestor::equation|ancestor::informalequation">
- <xsl:text>\ensuremath{</xsl:text>
- <xsl:value-of select="."/>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="."/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="alt">
- </xsl:template>
-
- <xsl:template match="latex|tex">
- <xsl:value-of select="."/>
- </xsl:template>
-
- <xsl:template match="latex[@fileref]">
- <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>}&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="tex[@fileref]">
- <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>}&#10;</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="tm[@fileref]">
- <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>}&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="tm[@tex]">
- <xsl:value-of select="@tex"/>
- </xsl:template>
-
- <xsl:template match="inlinetm[@fileref]">
- <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>}&#10;</xsl:text>
- </xsl:template>
-
- <xsl:template match="inlinetm[@tex]">
- <xsl:value-of select="@tex"/>
- </xsl:template>
-
-
- <xsl:template match="inlineequation">
- <xsl:variable name="tex" select="alt[@role='tex' or @role='latex']|inlinemediaobject/textobject[@role='tex' or @role='latex']|inlinemediaobject/textobject/phrase[@role='tex' or @role='latex']" />
- <xsl:choose>
- <xsl:when test="$tex">
- <xsl:apply-templates select="$tex"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="*[not(self::graphic)]"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/vars.mod.xsl b/docs/docbook/xslt/db2latex/vars.mod.xsl
deleted file mode 100644
index 3e7f3a8acf..0000000000
--- a/docs/docbook/xslt/db2latex/vars.mod.xsl
+++ /dev/null
@@ -1,880 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: vars.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: User and stylesheets XSL variables
-+ ############################################################################## -->
-
-<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'>
-
-
- <doc:reference id="vars" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: vars.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author><surname>Casellas</surname><firstname>Ramon</firstname></author>
- <author><surname>Devenish</surname><firstname>James</firstname></author>
- </authorgroup>
- <copyright>
- <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
-
- <title>XSL Variables and Parameters</title>
-
- <partintro>
- <section><title>Introduction</title>
-
- <para>This is technical reference documentation for the DocBook XSL
- Stylesheets. It documents (some of) the parameters, templates, and
- other elements of the stylesheets.</para>
- </section>
- </partintro>
- </doc:reference>
-
-
- <!--#############################################################################
- | COMMON VARIABLES
- |- #############################################################################
- | $Author: jelmer $
- |
- + ############################################################################## -->
- <xsl:variable name="default-classsynopsis-language">java</xsl:variable>
-
- <xsl:variable name="author.othername.in.middle" select="1"/>
- <xsl:variable name="refentry.xref.manvolnum" select="1"/>
- <xsl:variable name="funcsynopsis.style">kr</xsl:variable>
- <xsl:variable name="funcsynopsis.decoration" select="1"/>
- <xsl:variable name="function.parens">0</xsl:variable>
- <xsl:variable name="refentry.generate.name" select="1"/>
-
- <doc:param name="show.comments" xmlns="">
- <refpurpose> Display <sgmltag class="element">comment</sgmltag> elements? </refpurpose>
- <refdescription>
- <para>Control the display of <sgmltag class="element">comment</sgmltag>s and <sgmltag class="element">remark</sgmltag>s.</para>
- </refdescription>
- </doc:param>
- <xsl:param name="show.comments" select="1"/>
-
- <xsl:variable name="section.autolabel" select="1"/>
- <xsl:variable name="section.label.includes.component.label" select="0"/>
- <xsl:variable name="chapter.autolabel" select="1"/>
- <xsl:variable name="preface.autolabel" select="0"/>
- <xsl:variable name="part.autolabel" select="1"/>
- <xsl:variable name="qandadiv.autolabel" select="1"/>
- <xsl:variable name="autotoc.label.separator" select="'. '"/>
- <xsl:variable name="qanda.inherit.numeration" select="1"/>
- <xsl:variable name="qanda.defaultlabel">number</xsl:variable>
- <xsl:param name="biblioentry.item.separator">, </xsl:param>
- <doc:param name="toc.section.depth" xmlns="">
- <refpurpose> Cull table-of-contents entries that are deeply nested </refpurpose>
- <refdescription>
- <para>Specifies the maximum depth before sections are omitted from the table of contents.</para>
- </refdescription>
- </doc:param>
- <xsl:param name="toc.section.depth">4</xsl:param>
-
- <doc:param name="section.depth" xmlns="">
- <refpurpose> Control the automatic numbering of section, parts, and chapters </refpurpose>
- <refdescription>
- <para>
- Specifies the maximum depth before sections cease to be uniquely numbered.
- This is passed to LaTeX using the <literal>secnumdepth</literal> counter.
- Therefore, it is possible to use a value of <quote>0</quote> (zero) to disable section numbering.
- A value of <quote>-1</quote> will disable the numbering of parts and chapters, too.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="section.depth">4</xsl:param>
- <xsl:variable name="graphic.default.extension"></xsl:variable>
- <xsl:variable name="check.idref">1</xsl:variable>
- <!--
- <xsl:variable name="link.mailto.url"></xsl:variable>
- <xsl:variable name="toc.list.type">dl</xsl:variable>
- -->
-
- <doc:param name="use.role.for.mediaobject" xmlns="">
- <refpurpose> Control <sgmltag class="element">mediaobject</sgmltag> selection methods </refpurpose>
- <refdescription>
- <para>This controls how DB2LaTeX behaves when a <sgmltag class="element">figure</sgmltag> contains
- multiple <sgmltag class="element">mediaobject</sgmltag>s. When enabled, DB2LaTeX will choose
- the mediaobject with the "LaTeX" or "TeX" role, if present. Otherwise, the first mediaobject
- is chosen.</para>
- </refdescription>
- </doc:param>
- <xsl:param name="use.role.for.mediaobject">1</xsl:param>
-
- <doc:param name="preferred.mediaobject.role" xmlns="">
- <refpurpose> Control <sgmltag class="element">mediaobject</sgmltag> selection methods </refpurpose>
- <refdescription>
- <para>When <xref linkend="param.use.role.for.mediaobject"/> is enabled, this variable
- can be used to specify the mediaobject role that your document uses for LaTeX output.
- DB2LaTeX will try to use this role before using the "LaTeX" or "TeX" roles.
- For example, some authors may choose to set this to "PDF".</para>
- </refdescription>
- </doc:param>
- <xsl:param name="preferred.mediaobject.role"></xsl:param>
-
- <doc:param name="formal.title.placement" xmlns="">
- <refpurpose> Specifies where formal object titles should occur </refpurpose>
- <refdescription>
- <para>
- Titles for the formal object types (figure, example, quation, table, and procedure)
- can be placed before or after those objects. The keyword <quote>before</quote>
- is recognised. All other strings qualify as <quote>after</quote>.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="formal.title.placement">
- figure not_before
- example before
- equation not_before
- table before
- procedure before
- </xsl:param>
-
- <doc:param name="insert.xref.page.number" xmlns="">
- <refpurpose> Control the appearance of page numbers in cross references </refpurpose>
- <refdescription>
- <para>
- When enabled, <sgmltag class="element">xref</sgmltag>s will include page
- numbers after their generated cross-reference text.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="insert.xref.page.number">0</xsl:param>
-
- <doc:param name="ulink.show" xmlns="">
- <refpurpose> Control the display of URLs after ulinks </refpurpose>
- <refdescription>
- <para>
- When this option is enabled, and a ulink has a URL that is different
- from the displayed content, the URL will be typeset after the content.
- If the URL and content are identical, only one of them will appear.
- Otherwise, the URL is hyperlinked and the content is not.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="ulink.show">0</xsl:param>
-
- <doc:param name="ulink.footnotes" xmlns="">
- <refpurpose> Control the generation of footnotes for ulinks </refpurpose>
- <refdescription>
- <para>
- When this option is enabled, a ulink that has content different to its
- URL will have an associated footnote. The contents of the footnote
- will be the URL. If the ulink is within a footnote, the URL is shown
- after the content.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="ulink.footnotes">0</xsl:param>
-
- <!--#############################################################################
- | LaTeX VARIABLES
- |- #############################################################################
- | $Author: jelmer $
- |
- | PURPOSE: User and stylesheets XSL variables
- + ############################################################################## -->
-
- <doc:param name="latex.override" xmlns="">
- <refpurpose> Override DB2LaTeX's preamble with a custom preamble. </refpurpose>
- <refdescription>
- <para>
- When this variable is set, the entire DB2LaTeX premable will be superseded.
- <emphasis>You should not normally need or want to use this.</emphasis>
- It may cause LaTeX typesetting problems. This is a last resort or
- <quote>expert</quote> feature.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.override"></xsl:param>
-
- <!--
- <doc:variable name="latex.figure.position" xmlns="">
- <refpurpose> How to place floats. </refpurpose>
- <refdescription>
- <para>
- This variable is used as the positioning argument for floats.
- In future, this may be replaced by a dynamic mechanism that can
- honour DocBook placement attributes.
- </para>
- </refdescription>
- </doc:variable>
- <xsl:variable name="latex.figure.position">[hbt]</xsl:variable>
- -->
-
- <doc:param name="latex.apply.title.templates" xmlns="">
- <refpurpose> Whether to apply templates for section titles. </refpurpose>
- <refdescription>
- <para>
- Controls whether section titles will be generated by
- applying templates or by conversion to string values.
- When enabled, templates will be applied. This enables template
- expression in titles but may have problematic side-effects such
- as nested links.
- </para>
- <note>
- <para>
- This variable does not influence all <sgmltag class="element">title</sgmltag>
- elements. Some may have their own variables or not be configurable.
- </para>
- </note>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.apply.title.templates">1</xsl:param>
-
-
-
-
-
- <doc:param name="latex.apply.title.templates.admonitions" xmlns="">
- <refpurpose> Whether to apply templates for admonition titles. </refpurpose>
- <refdescription>
- <para>
- Controls whether admonition titles will be generated by
- applying templates or by conversion to string values.
- When enabled, templates will be applied.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.apply.title.templates.admonitions">1</xsl:param>
-
-
-
-
-
-
- <doc:param name="latex.graphics.formats" xmlns="">
- <refpurpose> Control <sgmltag class="element">imagedata</sgmltag> selection. </refpurpose>
- <refdescription>
- <para>This controls how DB2LaTeX behaves when a <sgmltag class="element">mediaobject</sgmltag> contains
- multiple <sgmltag class="element">imagedata</sgmltag>. When non-empty, DB2LaTeX will exclude
- imagedata that have a format no listed within this variable.</para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.graphics.formats"></xsl:param>
-
-
-
-
-
-
- <doc:param name="latex.caption.swapskip" xmlns="">
- <refpurpose> Improved typesetting of captions </refpurpose>
- <refdescription>
- <para>
- DB2LaTeX supports <link linkend="param.formal.title.placement">$formal.title.placement</link>
- as a mechanism for choosing whether captions will appear above or below the objects they describe.
- <!--
- ($formal.title.placement is described in the <ulink
- url="http://docbook.sourceforge.net/release/xsl/current/doc/html/formal.title.placement.html">DocBook
- XSL Stylesheet HTML Parameter Reference</ulink>.)
- -->
- However, LaTeX will often produce an ugly result when captions occur
- above their corresponding content. This usually arises because of
- unsuitable \abovecaptionskip and \belowcaptionskip.
- </para>
- <para>
- This variable, when set to '1', authorises DB2LaTeX to swap the caption
- 'skip' lengths when a caption is placed <emphasis>above</emphasis> its
- corresponding content. This is enabled by default.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.caption.swapskip">1</xsl:param>
-
-
-
-
-
- <doc:param name="latex.titlepage.file" xmlns="">
- <refpurpose> DB2LaTeX allows using an (externally generated) cover page </refpurpose>
- <refdescription>
- <para>
- You may supply a LaTeX file that will supersede DB2LaTeX's default
- cover page or title. If the value of this variable is non-empty, the
- generated LaTeX code includes \input{filename}. Otherwise, it uses the
- \maketitle command.
- </para>
- <warning><para>
- Bear in mind that using an external cover page breaks the
- "encapsulation" of DocBook. Further revisions of these stylesheets
- will add chunking support, and the automation of the cover file
- generation.
- </para></warning>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.titlepage.file">title</xsl:param>
-
-
-
-
- <doc:param name="latex.documentclass" xmlns="">
- <refpurpose> DB2LaTeX document class </refpurpose>
- <refdescription>
- <para>
- This variable is normally empty and the stylesheets will determine
- the correct document class according to whether the document is a
- book or an article. If you wish to use your own document class,
- put its non-empty value in this variable. It will apply for both
- books and articles.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.documentclass"></xsl:param>
-
- <doc:param name="latex.documentclass.common" xmlns="">
- <refpurpose> DB2LaTeX document class options </refpurpose>
- <refdescription>
- <para>
- These are the first options to be passed to <literal>\documentclass</literal>
- The common options are set to <literal>french,english</literal> by default.
- They will be augmented or superseded by article/book options (see $latex.documentclass.article and $latex.documentclass.book) and pdftex/dvips options (see $latex.documentclass.pdftex and $latex.documentclass.dvips).
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.documentclass.common">french,english</xsl:param>
-
- <doc:param name="latex.documentclass.article" xmlns="">
- <refpurpose> DB2LaTeX document class options for articles</refpurpose>
- <refdescription>
- <para>
- The article options are set to <literal>a4paper,10pt,twoside,twocolumn</literal> by default.
- These are the intermediate options to be passed to <literal>\documentclass</literal>,
- between the common options and the pdftex/dvips options.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.documentclass.article">a4paper,10pt,twoside,twocolumn</xsl:param>
-
- <doc:param name="latex.documentclass.book" xmlns="">
- <refpurpose> DB2LaTeX document class options for books</refpurpose>
- <refdescription>
- <para>
- The book options are set to <literal>a4paper,10pt,twoside,openright</literal> by default.
- These are the intermediate options to be passed to <literal>\documentclass</literal>,
- between the common options and the pdftex/dvips options.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.documentclass.book">a4paper,10pt,twoside,openright</xsl:param>
-
- <doc:param name="latex.documentclass.pdftex" xmlns="">
- <refpurpose> DB2LaTeX document class options for pdfTeX output</refpurpose>
- <refdescription>
- <para>
- The pdfTeX options are empty by default.
- These are the last options to be passed to <literal>\documentclass</literal>
- and override the common/article/book options.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.documentclass.pdftex"></xsl:param>
-
- <doc:param name="latex.documentclass.dvips" xmlns="">
- <refpurpose> DB2LaTeX document class options for dvips output</refpurpose>
- <refdescription>
- <para>
- The dvips options are empty by default.
- These are the last options to be passed to <literal>\documentclass</literal>
- and override the common/article/book options.
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.documentclass.dvips"></xsl:param>
-
- <doc:param name="latex.admonition.path" xmlns="">
- <refpurpose> LaTeX location for admonition graphics </refpurpose>
- <refdescription>
- <para>The file path that will be passed to LaTeX in order to find admonition graphics.</para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.admonition.path">figures</xsl:param>
-
-
- <doc:param name="latex.admonition.imagesize" xmlns="">
- <refpurpose> DB2LaTeX graphics admonitions size</refpurpose>
- <refdescription>
- <para>
- Is passed as an optional parameter for <literal>\includegraphics</literal> and
- can take on any such legal values (or be empty).
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.admonition.imagesize">width=1cm</xsl:param>
-
-
- <!--
- <xsl:param name="latex.chapter.label">1</xsl:param>
-
- <doc:param name="latex.chapter.hypertarget" xmlns="">
- <refpurpose> Hypertarget Chapters </refpurpose>
- <refdescription>
- <para>
- </para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.chapter.hypertarget">1</xsl:param>
- -->
-
-
- <doc:param name="latex.biblio.output" xmlns="">
- <refpurpose> Control which references are cited in the bibliography </refpurpose>
- <refdescription>
- <para>
- The DB2LaTeX generated bibliography (bibitems) may either
- include all biblioentries found in the document, or only thee ones explicitly
- cited with <sgmltag class="element">citation</sgmltag>.
- </para>
- <para>Two values are possible: <quote>all</quote> or <quote>cited</quote>.</para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.biblio.output">all</xsl:param>
-
-
- <doc:param name="latex.bibfiles" xmlns="">
- <refpurpose>
- Control the output of the \bibliography{.bib}.
- </refpurpose>
- <refdescription>
- <para>The value of this parameter is output.</para>
- <para>An example is <quote><filename>citations.bib</filename></quote>,
- if your BibTeX file has that name.</para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.bibfiles"></xsl:param>
-
-
- <doc:param name="latex.bibwidelabel" xmlns="">
- <refpurpose> Adjust bibliography formatting </refpurpose>
- <refdescription>
- <para>The environment bibliography accepts a parameter that indicates
- the widest label, which is used to correctly format the bibliography
- output. The value of this parameter is output inside the
- <literal>\begin{thebibliography[]}</literal> LaTeX command.</para>
- </refdescription>
- </doc:param>
- <xsl:param name="latex.bibwidelabel">WIDELABEL</xsl:param>
-
- <!--
- <xsl:variable name="latex.dont.label">0</xsl:variable>
- <xsl:variable name="latex.dont.hypertarget">0</xsl:variable>
- -->
-
- <doc:param name="latex.babel.language" xmlns="">
- <refpurpose>Select the optional parameter for the <productname>babel</productname> LaTeX package</refpurpose>
- <refdescription><para>See the <productname>babel</productname> documentation for details.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.babel.language">french</xsl:param>
-
- <doc:param name="latex.use.isolatin1" xmlns="">
- <refpurpose>Toggle the use of the <productname>isolatin1</productname> LaTeX package</refpurpose>
- </doc:param>
- <xsl:variable name="latex.use.isolatin1">1</xsl:variable>
-
- <doc:param name="latex.use.hyperref" xmlns="">
- <refpurpose>Toggle the use of the <productname>hyperref</productname> LaTeX package</refpurpose>
- <refdescription><para>This is used extensively for hyperlinking within documents.</para></refdescription>
- </doc:param>
- <xsl:variable name="latex.use.hyperref">1</xsl:variable>
-
- <doc:param name="latex.use.fancybox" xmlns="">
- <refpurpose>Toggle the use of the <productname>fancybox</productname> LaTeX package</refpurpose>
- <refdescription><para>This is essential for admonitions.</para></refdescription>
- </doc:param>
- <xsl:variable name="latex.use.fancybox">1</xsl:variable>
-
- <doc:param name="latex.use.fancyvrb" xmlns="">
- <refpurpose>Toggle the use of the <productname>fancyvrb</productname> LaTeX package</refpurpose>
- <refdescription><para>Provides support for tabbed whitespace in verbatim environments.
- See also <xref linkend="param.latex.fancyvrb.tabsize"/>.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.use.fancyvrb">1</xsl:param>
-
- <doc:param name="latex.fancyvrb.tabsize" xmlns="">
- <refpurpose>Choose indentation for tabs in verbatim environments</refpurpose>
- <refdescription><para>When <xref linkend="param.latex.use.fancyvrb"/> is enabled,
- this variable sets the width of a tab in terms of an equivalent number of spaces.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.fancyvrb.tabsize">3</xsl:param>
-
- <doc:param name="latex.use.fancyhdr" xmlns="">
- <refpurpose>Toggle the use of the <productname>fancyhdr</productname> LaTeX package</refpurpose>
- <refdescription><para>Provides page headers and footers. Disabling support for
- this package will make headers and footer go away.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.use.fancyhdr">1</xsl:param>
-
- <doc:param name="latex.use.parskip" xmlns="">
- <refpurpose>Toggle the use of the <productname>parskip</productname> LaTeX package</refpurpose>
- <refdescription><para>Support a <quote>block</quote> paragraph style as opposed to
- <quote>indented</quote>.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.use.parskip">0</xsl:param>
-
- <doc:param name="latex.use.subfigure" xmlns="">
- <refpurpose>Toggle the use of the <productname>subfigure</productname> LaTeX package</refpurpose>
- <refdescription><para>Used to provide nice layout of multiple mediaobjects in figures.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.use.subfigure">1</xsl:param>
-
- <doc:param name="latex.use.rotating" xmlns="">
- <refpurpose>Toggle the use of the <productname>rotating</productname> LaTeX package</refpurpose>
- </doc:param>
- <xsl:param name="latex.use.rotating">1</xsl:param>
-
- <doc:param name="latex.use.tabularx" xmlns="">
- <refpurpose>Toggle the use of the <productname>tabularx</productname> LaTeX package</refpurpose>
- <refdescription><para>Used to provide certain table features. Has some incompatabilities
- with packages, but also solves some conflicts that the regular tabular
- environment has.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.use.tabularx">1</xsl:param>
-
- <doc:param name="latex.use.umoline" xmlns="">
- <refpurpose>Toggle the use of the <productname>umoline</productname> LaTeX package</refpurpose>
- <refdescription><para>Provide underlining.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.use.umoline">0</xsl:param>
-
- <doc:param name="latex.use.url" xmlns="">
- <refpurpose>Toggle the use of the <productname>url</productname> LaTeX package</refpurpose>
- <refdescription><para>Provide partial support for hyperlinks.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.use.url">1</xsl:param>
-
- <doc:param name="latex.use.makeidx" xmlns="">
- <refpurpose>Toggle the use of the <productname>makeidx</productname> LaTeX package</refpurpose>
- <refdescription><para>Support index generation.</para></refdescription>
- </doc:param>
- <xsl:param name="latex.use.makeidx">1</xsl:param>
-
- <doc:param name="latex.hyphenation.tttricks" xmlns="">
- <refpurpose> DB2LaTeX hyphenation linebreak tricks </refpurpose>
- <refdescription>
- <para>
- Usually, LaTeX does not perform hyphenation in <quote>teletype</quote> (monospace)
- text. This can lead to formatting problems. But certain monospace texts, such as
- URLs and filenames, have <quote>natural</quote> breakpoints such as full stops
- and slashes. DB2LaTeX's <quote>tttricks</quote> exploit a hyphenation trick in
- order to provide line wrapping in the middle of monospace text. Set this to '1'
- to enable these tricks (they are not enabled by default). See also the FAQ.
- </para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.hyphenation.tttricks">0</xsl:variable>
-
- <doc:param name="latex.hyperref.param.common" xmlns="">
- <refpurpose> DB2LaTeX hyperref options</refpurpose>
- <refdescription>
- <para>
- The hyperref options are set to <literal>bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage</literal> by default.
- You may wish to specify additional options using <literal>latex.hyperref.param.pdftex</literal>
- or <literal>latex.hyperref.param.dvips</literal>.
- </para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.hyperref.param.common">bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage</xsl:variable>
-
- <doc:param name="latex.hyperref.param.pdftex" xmlns="">
- <refpurpose> DB2LaTeX hyperref options for pdfTeX output</refpurpose>
- <refdescription>
- <para>
- This variable is empty by default. See the hyperref documentation for further information.
- </para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.hyperref.param.pdftex"></xsl:variable>
-
- <doc:param name="latex.hyperref.param.dvips" xmlns="">
- <refpurpose> DB2LaTeX hyperref options for dvips output</refpurpose>
- <refdescription>
- <para>
- This variable is empty by default. See the hyperref documentation for further information.
- </para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.hyperref.param.dvips"></xsl:variable>
-
- <xsl:variable name="latex.fancyhdr.lh">Left Header</xsl:variable>
- <xsl:variable name="latex.fancyhdr.ch">Center Header</xsl:variable>
- <xsl:variable name="latex.fancyhdr.rh">Right Header</xsl:variable>
- <xsl:variable name="latex.fancyhdr.lf">Left Footer</xsl:variable>
- <xsl:variable name="latex.fancyhdr.cf">Center Footer</xsl:variable>
- <xsl:variable name="latex.fancyhdr.rf">Right Footer</xsl:variable>
-
- <doc:param name="latex.step.title.style" xmlns="">
- <refpurpose> Control the style of step titles </refpurpose>
- <refdescription>
- <para>Step titles are typeset in small caps but if
- this option is set to a LaTeX command, such as <literal>\itshape{}</literal>, then
- that command will precede the title and it will be typeset accordingly.</para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.step.title.style">\sc</xsl:variable>
-
- <doc:param name="latex.pagestyle" xmlns="">
- <refpurpose> Override DB2LaTeX's choice of LaTeX page numbering style </refpurpose>
- <refdescription>
- <para>By default, DB2LaTeX will choose the 'plain' or 'fancy' page styles,
- depending on <xref linkend="param.latex.use.fancyhdr"/>. If non-empty, this
- variable overrides the automatic selection. An example would be the literal
- string 'empty', to eliminate headers and page numbers.</para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.pagestyle"></xsl:variable>
-
- <doc:param name="latex.procedure.title.style" xmlns="">
- <refpurpose> Control the style of procedure titles </refpurpose>
- <refdescription>
- <para>Procedure titles are typeset in small caps but if
- this option is set to a LaTeX command, such as <literal>\itshape{}</literal>, then
- that command will precede the title and it will be typeset accordingly.</para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.procedure.title.style">\sc</xsl:variable>
-
- <doc:param name="latex.figure.title.style" xmlns="">
- <refpurpose> Control the style of figure titles </refpurpose>
- <refdescription>
- <para>Figure titles are typeset in the default typeface (usually 'roman') but if
- this option is set to a LaTeX command, such as <literal>\itshape{}</literal>, then
- that command will precede the title and it will be typeset accordingly.</para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.figure.title.style"></xsl:variable>
-
- <doc:param name="latex.pdf.support" xmlns="">
- <refpurpose> Controls the output of LaTeX commands to support the generation
- of PDF files.</refpurpose>
- <refdescription>
- <para>If this parameter is set to 1, the stylesheets generate code to
- detect if it is either <literal>latex</literal> or <literal>pdflatex</literal>
- the shell command that is being used to compile the LaTeX text file. Some
- packages (<literal>graphicx</literal>, <literal>hyperref</literal>) are used
- with the right parameters. Finally, the graphic extensions declared, to use in
- <literal>\includegraphics</literal> commands depends also on which command is
- being used. If this parameter is set to zero, such code is not generated (which
- does not mean that the file cannot compile with pdflatex, but some strange issues
- may appear). <emphasis>DEFAULT: 1</emphasis> Only more code is generated.
- </para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.pdf.support">1</xsl:variable>
-
-
-
- <doc:param name="latex.thead.row.entry" xmlns="">
- <refpurpose> Format the output of tabular headings. </refpurpose>
- <refdescription>
- </refdescription>
- </doc:param>
- <xsl:template name="latex.thead.row.entry">
- <xsl:apply-templates/>
- </xsl:template>
-
-
-
- <doc:param name="latex.math.support" xmlns="">
- <refpurpose> Controls the output of LaTeX packages and commands to support
- documents with math commands and environments..</refpurpose>
- <refdescription>
- <para>If this parameter is set to 1, the stylesheets generate code to
- <emphasis>DEFAULT: 1</emphasis> Only more code is generated.
- </para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.math.support">1</xsl:variable>
-
-
-
- <doc:param name="latex.output.revhistory" xmlns="">
- <refpurpose> Controls if the revision history table is generated as the first document
- table.
- </refpurpose>
- <refdescription>
- <para>If this parameter is set to 1, the stylesheets generate code to
- <emphasis>DEFAULT: 1</emphasis> Only more code is generated.
- </para>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.output.revhistory">1</xsl:variable>
-
-
-
-
- <xsl:variable name="latex.book.preamble.pre">
- </xsl:variable>
-
- <xsl:variable name="latex.book.preamble.post">
- </xsl:variable>
-
- <doc:param name="latex.book.varsets" xmlns="">
- <refpurpose>
- All purpose commands to change text width, height, counters, etc.
- Defaults to a two-sided margin layout.
- </refpurpose>
- <refdescription>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.book.varsets">
- <xsl:text>\usepackage{anysize}&#10;</xsl:text>
- <xsl:text>\marginsize{3cm}{2cm}{1.25cm}{1.25cm}&#10;</xsl:text>
- </xsl:variable>
-
- <doc:param name="latex.book.begindocument" xmlns="">
- <refpurpose>
- Begin document command
- </refpurpose>
- <refdescription>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.book.begindocument">
- <xsl:text>\begin{document}&#10;</xsl:text>
- </xsl:variable>
-
-
-
-
-
- <doc:param name="latex.book.afterauthor" xmlns="">
- <refpurpose>
- LaTeX code that is output after the author (e.g.
- <literal>\makeindex, \makeglossary</literal>
- </refpurpose>
- <refdescription>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.book.afterauthor">
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>\makeindex&#10;</xsl:text>
- <xsl:text>\makeglossary&#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- </xsl:variable>
-
-
-
-
- <doc:param name="latex.book.end" xmlns="">
- <refpurpose>
- LaTeX code that is output at the end of the document
- <literal>\end{document}</literal>
- </refpurpose>
- <refdescription>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.book.end">
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% End of document&#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>\end{document}&#10;</xsl:text>
- </xsl:variable>
-
-
-
- <!--#############################################################################
- | XSL VARIABLES FOR ARTICLES
- |- #############################################################################
- | $Author: jelmer $
- |
- + ############################################################################## -->
-
-
-
- <xsl:variable name="latex.article.preamble.pre">
- </xsl:variable>
-
- <xsl:variable name="latex.article.preamble.post">
- </xsl:variable>
-
- <doc:param name="latex.article.begindocument" xmlns="">
- <refpurpose> The begin document </refpurpose>
- <refdescription>The value of this variable is output from the article template
- <xref linkend="template.article"/> after the author command. The default value
- (shown below) is just the begin document command. Users of the XSL LaTeX
- stylesheet may override this parameter in order to output what they want.
- </refdescription>
- <refreturn><literal>\begin{document}</literal></refreturn>
- </doc:param>
- <xsl:variable name="latex.article.begindocument">
- <xsl:text>\begin{document}&#10;</xsl:text>
- </xsl:variable>
-
-
- <doc:param name="latex.article.varsets" xmlns="">
- <refpurpose> Controls what is output after the LaTeX preamble. Basically the <literal>\maketitle</literal>
- </refpurpose>
- <refdescription>
- <para>Default Values</para>
- <screen><![CDATA[
- \setlength{\textwidth}{16.5cm}
- \setlength{\textheight}{22.2cm}
- \setlength{\hoffset}{-2cm}
- \setlength{\voffset}{-.9in}
- \renewcommand\floatpagefraction{.9}
- \renewcommand\topfraction{.9}
- \renewcommand\bottomfraction{.9}
- \renewcommand\textfraction{.1}
- ]]></screen>
- </refdescription>
- </doc:param>
-
- <xsl:variable name="latex.article.varsets">
- <xsl:text>
- \setlength{\textwidth}{16.5cm}
- \setlength{\textheight}{22.2cm}
- \setlength{\hoffset}{-2cm}
- \setlength{\voffset}{-.9in}
- \renewcommand\floatpagefraction{.9}
- \renewcommand\topfraction{.9}
- \renewcommand\bottomfraction{.9}
- \renewcommand\textfraction{.1}
- </xsl:text>
- </xsl:variable>
-
-
-
-
- <doc:param name="latex.article.maketitle" xmlns="">
- <refpurpose> Controls what is output after the LaTeX preamble. Basically the <literal>\maketitle</literal>
- </refpurpose>
- <refdescription>
- <para>Default Values</para>
- <screen><![CDATA[
- \maketitle
- ]]></screen>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.article.maketitle">
- <xsl:text>&#10;</xsl:text>
- <xsl:text>\maketitle&#10;</xsl:text>
- </xsl:variable>
-
-
- <doc:param name="latex.article.end" xmlns="">
- <refpurpose> Controls what is output at the end of the article. Basically the <literal>\end{document}</literal>
- command, with some markup comments. </refpurpose>
- <refdescription>
- </refdescription>
- </doc:param>
- <xsl:variable name="latex.article.end">
- <xsl:text>&#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>% End of document&#10;</xsl:text>
- <xsl:text>% --------------------------------------------&#10;</xsl:text>
- <xsl:text>\end{document}&#10;</xsl:text>
- </xsl:variable>
-
-
-
-</xsl:stylesheet>
-
diff --git a/docs/docbook/xslt/db2latex/verbatim.mod.xsl b/docs/docbook/xslt/db2latex/verbatim.mod.xsl
deleted file mode 100644
index 06f48b04ba..0000000000
--- a/docs/docbook/xslt/db2latex/verbatim.mod.xsl
+++ /dev/null
@@ -1,141 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: verbatim.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE:
-+ ############################################################################## -->
-
-<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'>
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:reference id="verbatim" xmlns="">
- <referenceinfo>
- <releaseinfo role="meta">
- $Id: verbatim.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
- </releaseinfo>
- <authorgroup>
- <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
- <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
- </authorgroup>
- <copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
- </copyright>
- </referenceinfo>
- <title>Verbatim <filename>verbatim.mod.xsl</filename></title>
- <partintro>
- <section><title>Introduction</title>
- <para></para>
- </section>
- </partintro>
- </doc:reference>
- <!--############################################################################# -->
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template match="literal" xmlns="">
- <refpurpose>Template for <sgmltag>literal</sgmltag></refpurpose>
- <refdescription>
- Template for literal template
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template match="literal" mode="latex.verbatim">
- <xsl:text>{\verb </xsl:text>
- <xsl:apply-templates mode="latex.verbatim"/>
- <xsl:text>}</xsl:text>
- </xsl:template>
-
-
-
-
-
- <!--############################################################################# -->
- <!-- DOCUMENTATION -->
- <doc:template name="verbatim.apply.templates" xmlns="">
- <refpurpose> Auxiliary template to output verbatim LaTeX code (in verbatim mode)
- that takes into account whether the user is using fancyverb or not. It allows
- veratim line numbering and other fancy stuff. </refpurpose>
- <refdescription>
- <programlisting><![CDATA[
- <xsl:template name="verbatim.apply.templates">
- <xsl:choose>
- <xsl:when test="$latex.use.fancyvrb='1'">
- <xsl:text>&#10;\begin{Verbatim}[</xsl:text>
- <xsl:if test="@linenumbering='numbered'">
- <xsl:text>,numbers=left</xsl:text>
- </xsl:if>
- <xsl:if test="local-name(.)='literallayout' and @format!='monospaced'">
- <xsl:text>,fontfamily=default</xsl:text>
- </xsl:if>
- <xsl:text>]&#10;</xsl:text>
- <xsl:apply-templates mode="latex.verbatim"/>
- <xsl:text>&#10;\end{Verbatim}&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>&#10;\begin{verbatim}&#10;</xsl:text>
- <!-- RCAS: Experimental code
- <xsl:apply-templates/>-->
- <xsl:apply-templates mode="latex.verbatim"/>
- <xsl:text>&#10;\end{verbatim}&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- ]]></programlisting>
- </refdescription>
- </doc:template>
- <!--############################################################################# -->
-
- <xsl:template name="verbatim.apply.templates">
- <xsl:choose>
- <xsl:when test="$latex.use.fancyvrb='1'">
- <xsl:text>&#10;\begin{Verbatim}[</xsl:text>
- <xsl:if test="@linenumbering='numbered'">
- <xsl:text>,numbers=left</xsl:text>
- </xsl:if>
- <xsl:if test="local-name(.)='literallayout' and @format!='monospaced'">
- <xsl:text>,fontfamily=default</xsl:text>
- </xsl:if>
- <xsl:text>]&#10;</xsl:text>
- <xsl:apply-templates mode="latex.verbatim"/>
- <xsl:text>&#10;\end{Verbatim}&#10;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>&#10;\begin{verbatim}&#10;</xsl:text>
- <!-- RCAS: Experimental code
- <xsl:apply-templates/>-->
- <xsl:apply-templates mode="latex.verbatim"/>
- <xsl:text>&#10;\end{verbatim}&#10;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
- <xsl:template match="address">
- <xsl:call-template name="verbatim.apply.templates"/>
- </xsl:template>
-
- <doc:template name="verbatim" match="screen|programlisting|literallayout" xmlns="">
- <refpurpose>Environments in which whitespace is significant</refpurpose>
- <refdescription>
- <itemizedlist>
- <title>Known Bugs</title>
- <listitem><simpara>Templates are not applied within programlistings.</simpara></listitem>
- </itemizedlist>
- </refdescription>
- </doc:template>
- <xsl:template match="screen|programlisting|literallayout">
- <xsl:call-template name="verbatim.apply.templates"/>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/docbook/xslt/db2latex/xref.mod.xsl b/docs/docbook/xslt/db2latex/xref.mod.xsl
deleted file mode 100644
index 6a7d3204a7..0000000000
--- a/docs/docbook/xslt/db2latex/xref.mod.xsl
+++ /dev/null
@@ -1,630 +0,0 @@
-<?xml version='1.0'?>
-<!--#############################################################################
-| $Id: xref.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-|- #############################################################################
-| $Author: jelmer $
-|
-| PURPOSE: Manage XREFs
-+ ############################################################################## -->
-
-<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'>
-
-
-
-<!--############################################################################# -->
-<!-- DOCUMENTATION -->
-<doc:reference id="xref" xmlns="">
-<referenceinfo>
-<releaseinfo role="meta">
-$Id: xref.mod.xsl,v 1.1.2.3 2003/08/12 18:22:39 jelmer Exp $
-</releaseinfo>
-<authorgroup>
-<author> <surname>Casellas</surname><firstname>Ramon</firstname> </author>
-<author> <surname>James</surname><firstname>Devenish</firstname> </author>
-</authorgroup>
-<copyright>
- <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
- <holder>Ramon Casellas</holder>
-</copyright>
-</referenceinfo>
-
-<title>Xref, Cross References <filename>xref.mod.xsl</filename></title>
-<partintro>
-<section><title>Introduction</title>
-<para></para>
-</section>
-</partintro>
-</doc:reference>
-
-
-
-
-<!--############################################################################# -->
-<doc:template match="anchor" xmlns="">
- <refpurpose>Anchor XSL template</refpurpose>
- <refdescription>
- <para>The <sgmltag>anchor</sgmltag> element
- The DB2LaTeX processing of the element is quite straightforward :
- Map to a <literal>\label</literal>.</para>
- </refdescription>
-</doc:template>
-<!--############################################################################# -->
-
- <xsl:template match="anchor">
- <xsl:text>\hypertarget{</xsl:text>
- <xsl:value-of select="@id"/>
- <xsl:text>}{}</xsl:text>
- </xsl:template>
-
-
-
-
-
-<!--############################################################################# -->
-<doc:template name="id.is.xrefed" xmlns="">
- <refpurpose>Auxiliary named template</refpurpose>
- <refdescription>
- <para>This template returns 1 if there exists somewhere an xref
- whose linkend is the target's id.</para>
- </refdescription>
-</doc:template>
-<!--############################################################################# -->
-
- <xsl:template name="id.is.xrefed">
- <xsl:param name="i" select="1"/>
- <xsl:param name="target" select="."/>
- <xsl:param name="xrefs" select="//xref"/>
- <xsl:choose>
- <xsl:when test="xrefs[i]/@linkend = 'target/@id'">
- <xsl:value-of select="1"/>
- </xsl:when>
- <xsl:when test="i = count(xrefs)">
- <xsl:value-of select="0"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="id.is.xrefed">
- <xsl:with-param name="i" select="i+1"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
-
-<!--############################################################################# -->
-<doc:template name="xref.xreflabel" xmlns="">
- <refpurpose>Auxiliary named template</refpurpose>
- <refdescription>
- <para> Called to process an xreflabel...you might use this to make
- xreflabels come out in the right font for different targets,
- for example.</para>
- </refdescription>
-</doc:template>
-<!--############################################################################# -->
-
- <xsl:template name="xref.xreflabel">
- <xsl:param name="target" select="."/>
- <xsl:value-of select="$target/@xreflabel"/>
- </xsl:template>
-
-
-
-
-
-
-<!--############################################################################# -->
-<doc:template match="xref|link" xmlns="">
- <refpurpose>Xref and Link XSL Template</refpurpose>
- <refdescription>
- </refdescription>
-</doc:template>
-<!--############################################################################# -->
-
- <xsl:template match="xref|link">
- <xsl:variable name="targets" select="id(@linkend)"/>
- <xsl:variable name="target" select="$targets[1]"/>
- <xsl:variable name="refelem" select="local-name($target)"/>
- <xsl:call-template name="check.id.unique"><xsl:with-param name="linkend" select="@linkend"/></xsl:call-template>
- <xsl:choose>
- <xsl:when test="$refelem=''">
- <xsl:message><xsl:text>XRef to nonexistent id: </xsl:text><xsl:value-of select="@linkend"/></xsl:message>
- <xsl:text>XrefId[?</xsl:text>
- <xsl:if test="local-name(.)='link'"><xsl:apply-templates/></xsl:if>
- <xsl:text>?]</xsl:text>
- </xsl:when>
-
- <!-- This is a link with content ... -->
- <xsl:when test="local-name(.)='link' and .!=''">
- <xsl:choose>
- <xsl:when test="$latex.use.hyperref=1">
- <xsl:text>\hyperlink{</xsl:text><xsl:value-of select="$target/@id"/><xsl:text>}{</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
-
- <!-- If an xreflabel has been specified for the target ... -->
- <xsl:when test="local-name(.)='xref' and $target/@xreflabel">
- <xsl:if test="$latex.use.hyperref=1">
- <xsl:text>\hyperlink{</xsl:text><xsl:value-of select="$target/@id"/><xsl:text>}</xsl:text>
- </xsl:if>
- <xsl:text>{[</xsl:text>
- <xsl:call-template name="xref.xreflabel">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- <xsl:text>]}</xsl:text>
- </xsl:when>
-
- <!-- If an xreflabel has not been specified for the target ... -->
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="@endterm">
- <xsl:variable name="etargets" select="id(@endterm)"/>
- <xsl:variable name="etarget" select="$etargets[1]"/>
- <xsl:choose>
- <xsl:when test="count($etarget) = 0">
- <xsl:message>
- <xsl:value-of select="count($etargets)"/>
- <xsl:text>Endterm points to nonexistent ID: </xsl:text>
- <xsl:value-of select="@endterm"/>
- </xsl:message>
- <xsl:text>[NONEXISTENT ID]</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$latex.use.hyperref=1">
- <xsl:text>\hyperlink{</xsl:text><xsl:value-of select="$target/@id"/><xsl:text>}</xsl:text>
- <xsl:text>{</xsl:text> <xsl:apply-templates select="$etarget" mode="xref.text"/><xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="$etarget" mode="xref.text"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$latex.use.hyperref=1">
- <xsl:text>\hyperlink{</xsl:text><xsl:value-of select="$target/@id"/><xsl:text>}{</xsl:text>
- <xsl:apply-templates select="$target" mode="xref-to"/>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="$target" mode="xref-to"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="$insert.xref.page.number=1 and $refelem!='' and local-name(.)='xref'">
- <xsl:call-template name="xref.p.subst">
- <xsl:with-param name="string">
- <xsl:call-template name="gentext.xref.text">
- <xsl:with-param name="element.name" select="'page.citation'"/>
- <xsl:with-param name="default"> [%p]</xsl:with-param>
- </xsl:call-template>
- </xsl:with-param>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
-
- <doc:template name="xref.p.subst" xmlns="">
- <refpurpose>Insert page number into xrefs</refpurpose>
- <refdescription><para></para></refdescription>
- </doc:template>
- <xsl:template name="xref.p.subst">
- <xsl:param name="string"></xsl:param>
- <xsl:param name="target" select="."/>
- <xsl:variable name="subst">%p</xsl:variable>
- <xsl:choose>
- <xsl:when test="contains($string, $subst)">
- <xsl:value-of select="substring-before($string, $subst)"/>
- <xsl:text>\pageref*{</xsl:text>
- <xsl:value-of select="$target/@id"/>
- <xsl:text>}</xsl:text>
- <xsl:value-of select="substring-after($string, $subst)"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$string"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
-
-
-
-<!--############################################################################# -->
-<doc:template name="number.xref" xmlns="">
- <refpurpose>Numbering template</refpurpose>
- <refdescription>
- <para>
- Let LaTeX manage the numbering. Otherwise sty files that
- do specify another numberic (e.g I,II) get messed
- </para>
- </refdescription>
-</doc:template>
-<!--############################################################################# -->
-
- <xsl:template name="number.xref">
- <xsl:text>{\ref*{</xsl:text><xsl:value-of select="@id"/><xsl:text>}}</xsl:text>
- </xsl:template>
-
-
-
-
-
-
-
-
-<!--############################################################################# -->
-<doc:template name="cross-reference" xmlns="">
- <refpurpose>FIXME</refpurpose>
- <refdescription>
- <para>
- FIXME
- </para>
- </refdescription>
-</doc:template>
-<!--############################################################################# -->
-
- <xsl:template name="cross-reference">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:param name="xref.text">
- <xsl:call-template name="gentext.xref.text">
- <xsl:with-param name="element.name" select="$refelem"/>
- <xsl:with-param name="default">%g %n</xsl:with-param>
- </xsl:call-template>
- </xsl:param>
- <xsl:call-template name="subst.xref.text">
- <xsl:with-param name="xref.text" select="$xref.text"/>
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:template>
-
-
-
-
-
- <xsl:template match="*" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:message>
- <xsl:text>[Don't know what gentext to create for xref to: "</xsl:text>
- <xsl:value-of select="$refelem"/>
- <xsl:text>"]</xsl:text>
- </xsl:message>
- <xsl:text>UNKGENTEXT</xsl:text><xsl:value-of select="$refelem"/>
- </xsl:template>
-
-
-
-
-
- <xsl:template match="formalpara" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:call-template name="cross-reference">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:template>
-
-
- <xsl:template match="figure|example|table|equation" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:call-template name="cross-reference">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:template>
-
-
- <xsl:template match="dedication|preface|part|chapter|appendix" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:call-template name="cross-reference">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="cmdsynopsis" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:variable name="command" select="($target//command)[1]"/>
- <xsl:apply-templates select="$command" mode="xref"/>
- </xsl:template>
-
- <xsl:template match="funcsynopsis" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:variable name="func" select="($target//function)[1]"/>
- <xsl:apply-templates select="$func" mode="xref"/>
- </xsl:template>
-
-
- <xsl:template match="biblioentry" mode="xref-to">
- <!-- handles both biblioentry and bibliomixed -->
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:text>[</xsl:text>
- <xsl:choose>
- <xsl:when test="local-name($target/*[1]) = 'abbrev'">
- <xsl:apply-templates select="$target/*[1]"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@id"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>]</xsl:text>
- </xsl:template>
-
-
-
- <xsl:template match="bibliography|glossary|index" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:call-template name="cross-reference">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:template>
-
-
- <xsl:template match="section|simplesect
- |sect1|sect2|sect3|sect4|sect5
- |refsect1|refsect2|refsect3" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:call-template name="cross-reference">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="question|answer" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:call-template name="cross-reference">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="reference" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:call-template name="cross-reference">
- <xsl:with-param name="target" select="$target"/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="co" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:apply-templates select="$target" mode="callout-bug"/>
- </xsl:template>
-
- <xsl:template match="co" mode="conumber">
- <xsl:number from="literallayout|programlisting|screen|synopsis"
- level="single"
- format="1"/>
- </xsl:template>
-
-
- <xsl:template match="book" mode="xref-to">
- <xsl:param name="target" select="."/>
- <xsl:param name="refelem" select="local-name($target)"/>
- <xsl:variable name="title">
- <xsl:choose>
- <xsl:when test="$target/title">
- <xsl:apply-templates select="$target/title" mode="xref"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="$target/bookinfo/title" mode="xref"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:text>{\em </xsl:text> <xsl:copy-of select="$title"/> <xsl:text>}</xsl:text>
- </xsl:template>
-
-
- <xsl:template match="command" mode="xref">
- <xsl:call-template name="inline.boldseq"/>
- </xsl:template>
-
- <xsl:template match="function" mode="xref">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
-
-
-
-<!--############################################################################# -->
-<doc:template match="ulink" xmlns="">
- <refpurpose>A link that addresses its target by means of a URL (Uniform Resource Locator)</refpurpose>
- <refdescription>
- <formalpara>
- <title>Pertinent Variables</title>
- <itemizedlist>
- <listitem><simpara><xref linkend="param.ulink.show"/></simpara></listitem>
- <listitem><simpara><xref linkend="param.ulink.footnotes"/></simpara></listitem>
- <listitem><simpara><xref linkend="latex.hyphenation.tttricks"/></simpara></listitem>
- </itemizedlist>
- </formalpara>
- </refdescription>
-</doc:template>
-<!--############################################################################# -->
-
-
- <xsl:template match="ulink" name="ulink">
- <xsl:param name="hyphenation">\docbookhyphenateurl</xsl:param>
- <xsl:param name="url" select="@url"/>
- <xsl:choose>
- <xsl:when test=". = '' or . = $url">
- <xsl:call-template name="generate.typeset.url">
- <xsl:with-param name="hyphenation" select="$hyphenation"/>
- <xsl:with-param name="url" select="$url"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$latex.use.tabularx=1 and count(ancestor::table)&gt;0">
- <xsl:apply-templates/>
- <xsl:text> </xsl:text>
- <xsl:call-template name="generate.typeset.url">
- <xsl:with-param name="hyphenation" select="$hyphenation"/>
- <xsl:with-param name="url" select="$url"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$ulink.footnotes='1' or $ulink.show='1'">
- <xsl:apply-templates/>
- <xsl:if test="$ulink.footnotes='1' and count(ancestor::footnote)=0">
- <xsl:call-template name="footnote">
- <xsl:with-param name="hyphenation" select="$hyphenation"/>
- <xsl:with-param name="url" select="$url"/>
- </xsl:call-template>
- </xsl:if>
- <xsl:if test="$ulink.show='1' or ($ulink.footnotes='1' and ancestor::footnote)">
- <xsl:text> </xsl:text>
- <xsl:call-template name="generate.typeset.url">
- <xsl:with-param name="hyphenation" select="$hyphenation"/>
- <xsl:with-param name="url" select="$url"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\href{</xsl:text>
- <!-- Unparsed URL. No char is escaped. -->
- <xsl:value-of select="$url"/>
- <xsl:text>}</xsl:text>
- <xsl:text>{</xsl:text>
- <xsl:apply-templates/>
- <xsl:text>}</xsl:text><!-- End Of second argument of \href -->
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
-<!--############################################################################# -->
-<doc:template match="olink" xmlns="">
- <refpurpose>OLink XSL template</refpurpose>
- <refdescription>
- <para></para>
- </refdescription>
-</doc:template>
-<!--############################################################################# -->
-
- <xsl:template match="olink">
- <xsl:apply-templates/>
- </xsl:template>
-
-
-
-
-
-
-
-<!--############################################################################# -->
- <xsl:template name="title.xref">
- <xsl:param name="target" select="."/>
- <xsl:choose>
- <xsl:when test="name($target) = 'figure'
- or name($target) = 'example'
- or name($target) = 'equation'
- or name($target) = 'table'
- or name($target) = 'dedication'
- or name($target) = 'preface'
- or name($target) = 'bibliography'
- or name($target) = 'glossary'
- or name($target) = 'index'
- or name($target) = 'setindex'
- or name($target) = 'colophon'">
- <xsl:call-template name="gentext.startquote"/>
- <xsl:apply-templates select="$target" mode="title.content"/>
- <xsl:call-template name="gentext.endquote"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>{\em </xsl:text><xsl:apply-templates select="$target" mode="title.content"/><xsl:text>}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-<!--############################################################################# -->
- <xsl:template match="title" mode="xref">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="command" mode="xref">
- <xsl:call-template name="inline.boldseq"/>
- </xsl:template>
-
- <xsl:template match="function" mode="xref">
- <xsl:call-template name="inline.monoseq"/>
- </xsl:template>
-
- <xsl:template name="generate.typeset.url">
- <xsl:param name="hyphenation"/>
- <xsl:param name="url" select="@url"/>
- <xsl:choose>
- <xsl:when test="$latex.use.url='1'">
- <xsl:text>\url{</xsl:text>
- <xsl:value-of select="$url"/>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>\href{</xsl:text>
- <xsl:value-of select="$url"/>
- <xsl:text>}{\texttt{</xsl:text>
- <xsl:call-template name="generate.string.url">
- <xsl:with-param name="hyphenation" select="$hyphenation"/>
- <xsl:with-param name="string" select="$url"/>
- </xsl:call-template>
- <xsl:text>}}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-<!--############################################################################# -->
- <doc:template name="generate.string.url" xmlns="">
- <refpurpose>Escape and hyphenate a string as a teletype URL.</refpurpose>
- <refdescription>
- <para>
- This template typsets teletype text using slash.hyphen if
- $latex.hyphenation.tttricks is disabled.
- Has two parameters: 'hyphenation' and 'string'.
- </para>
- </refdescription>
- </doc:template>
-<!--############################################################################# -->
- <xsl:template name="generate.string.url">
- <xsl:param name="hyphenation" />
- <xsl:param name="string" />
- <xsl:param name="url" select="$string"/>
- <xsl:choose>
- <xsl:when test="$latex.hyphenation.tttricks=1">
- <xsl:value-of select="$hyphenation" />
- <xsl:text>{</xsl:text>
- <xsl:call-template name="normalize-scape"><xsl:with-param name="string" select="$string"/></xsl:call-template>
- <xsl:text>}</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <!-- LaTeX chars are scaped. Each / except the :// is mapped to a /\- -->
- <xsl:call-template name="scape.slash.hyphen"><xsl:with-param name="string" select="$url"/></xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-</xsl:stylesheet>