summaryrefslogtreecommitdiff
path: root/docs/docbook/xslt/db2latex/common
diff options
context:
space:
mode:
authorcvs2svn Import User <samba-bugs@samba.org>2003-05-01 11:47:49 +0000
committercvs2svn Import User <samba-bugs@samba.org>2003-05-01 11:47:49 +0000
commit67ce764d69b13203d9bd73e055e22f71dfebdba6 (patch)
tree6d54dcff5cb7ebd51c63b2dde77ea52a090afe5f /docs/docbook/xslt/db2latex/common
parentbac83636a5993dbcd1c0beefd628044771603523 (diff)
parent75cace04fdcb672cc6c3c3ec8403206f2b222c50 (diff)
downloadsamba-67ce764d69b13203d9bd73e055e22f71dfebdba6.tar.gz
samba-67ce764d69b13203d9bd73e055e22f71dfebdba6.tar.bz2
samba-67ce764d69b13203d9bd73e055e22f71dfebdba6.zip
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit a1ffe2a29c0e6be54af09d6647b7f54369d75a1e)
Diffstat (limited to 'docs/docbook/xslt/db2latex/common')
-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.xml102
-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
31 files changed, 5009 insertions, 0 deletions
diff --git a/docs/docbook/xslt/db2latex/common/ca.xml b/docs/docbook/xslt/db2latex/common/ca.xml
new file mode 100644
index 0000000000..fec3efff1a
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/ca.xml
@@ -0,0 +1,100 @@
+<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
new file mode 100644
index 0000000000..2f0883a7f3
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/common.xsl
@@ -0,0 +1,1929 @@
+<?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 2003/04/30 21:39:49 ab 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 2003/04/30 21:39:49 ab 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
new file mode 100644
index 0000000000..81c9c5a9cb
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/cs.xml
@@ -0,0 +1,110 @@
+<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
new file mode 100644
index 0000000000..959050230f
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/da.xml
@@ -0,0 +1,98 @@
+<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
new file mode 100644
index 0000000000..8c458b0f5e
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/de.xml
@@ -0,0 +1,102 @@
+<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="keyword" text="Stichwort"/>
+<gentext key="keywords" text="Stichw&#x00F6;rter"/>
+<gentext key="keywordset" text="Stichw&#x00F6;rter"/>
+<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
new file mode 100644
index 0000000000..ad93032047
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/el.xml
@@ -0,0 +1,104 @@
+<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
new file mode 100644
index 0000000000..2e8500135f
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/en.xml
@@ -0,0 +1,107 @@
+<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
new file mode 100644
index 0000000000..78483dfb65
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/es.xml
@@ -0,0 +1,98 @@
+<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
new file mode 100644
index 0000000000..4c63adbe7a
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/et.xml
@@ -0,0 +1,104 @@
+<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
new file mode 100644
index 0000000000..5d25725512
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/fi.xml
@@ -0,0 +1,98 @@
+<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
new file mode 100644
index 0000000000..bf53bc57d6
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/fr.xml
@@ -0,0 +1,114 @@
+<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
new file mode 100644
index 0000000000..d37e06ff8a
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/hu.xml
@@ -0,0 +1,94 @@
+<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
new file mode 100644
index 0000000000..f85b02154b
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/id.xml
@@ -0,0 +1,104 @@
+<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
new file mode 100644
index 0000000000..a7e1063ef4
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/it.xml
@@ -0,0 +1,103 @@
+<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
new file mode 100644
index 0000000000..9180e8e186
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/ja.xml
@@ -0,0 +1,104 @@
+<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
new file mode 100644
index 0000000000..06dd7cb217
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/ko.xml
@@ -0,0 +1,96 @@
+<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
new file mode 100644
index 0000000000..0336baf208
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/l10n.dtd
@@ -0,0 +1,25 @@
+<!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
new file mode 100644
index 0000000000..a7ef90e905
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/l10n.xml
@@ -0,0 +1,59 @@
+<?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
new file mode 100644
index 0000000000..df07f4efe8
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/l10n.xsl
@@ -0,0 +1,249 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'>
+
+<!-- ********************************************************************
+ $Id: l10n.xsl,v 1.1 2003/04/30 21:39:49 ab 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
new file mode 100644
index 0000000000..56ead54d30
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/nl.xml
@@ -0,0 +1,105 @@
+<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
new file mode 100644
index 0000000000..b3aba44fde
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/no.xml
@@ -0,0 +1,97 @@
+<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
new file mode 100644
index 0000000000..8582bbebe8
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/pl.xml
@@ -0,0 +1,96 @@
+<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
new file mode 100644
index 0000000000..af0c22f4b4
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/pt.xml
@@ -0,0 +1,98 @@
+<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
new file mode 100644
index 0000000000..cf63d1ebf2
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/pt_br.xml
@@ -0,0 +1,98 @@
+<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
new file mode 100644
index 0000000000..a59ffd8217
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/ro.xml
@@ -0,0 +1,104 @@
+<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
new file mode 100644
index 0000000000..a097cd419b
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/ru.xml
@@ -0,0 +1,113 @@
+<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
new file mode 100644
index 0000000000..0c2fbc85fb
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/sk.xml
@@ -0,0 +1,104 @@
+<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
new file mode 100644
index 0000000000..fca0f5e348
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/sl.xml
@@ -0,0 +1,104 @@
+<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
new file mode 100644
index 0000000000..27b45cce15
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/sv.xml
@@ -0,0 +1,99 @@
+<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
new file mode 100644
index 0000000000..ef373b4a33
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/zh_cn.xml
@@ -0,0 +1,95 @@
+<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
new file mode 100644
index 0000000000..7168114f49
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/common/zh_tw.xml
@@ -0,0 +1,98 @@
+<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>