summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2007-11-27 15:47:55 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:40 -0500
commit0a6fea6796e0da0d5c8690c851f2723e4b385ba7 (patch)
tree18a0bf743f818490dbbce188b06796d4f1d3eec4 /docs
parent754a2e1494f14fd5d0f157b0f0eada0d13fb80c0 (diff)
downloadsamba-0a6fea6796e0da0d5c8690c851f2723e4b385ba7.tar.gz
samba-0a6fea6796e0da0d5c8690c851f2723e4b385ba7.tar.bz2
samba-0a6fea6796e0da0d5c8690c851f2723e4b385ba7.zip
Embed db2latex as interim solution before migration to dblatex
(This used to be commit 166c61077bc5c6ca238865f71687369ad7c35a07)
Diffstat (limited to 'docs')
-rw-r--r--docs/xslt/db2latex-xsl/AUTHOR15
-rw-r--r--docs/xslt/db2latex-xsl/CHANGES2
-rw-r--r--docs/xslt/db2latex-xsl/COPYING339
-rw-r--r--docs/xslt/db2latex-xsl/COPYRIGHT104
-rw-r--r--docs/xslt/db2latex-xsl/DOCBOOK.RFE8
-rw-r--r--docs/xslt/db2latex-xsl/README39
-rw-r--r--docs/xslt/db2latex-xsl/THANKS82
-rw-r--r--docs/xslt/db2latex-xsl/TODO77
-rw-r--r--docs/xslt/db2latex-xsl/VERSION1
-rw-r--r--docs/xslt/db2latex-xsl/xsl/VERSION.xml24
-rw-r--r--docs/xslt/db2latex-xsl/xsl/abstract.mod.xsl87
-rw-r--r--docs/xslt/db2latex-xsl/xsl/admonition.mod.xsl283
-rw-r--r--docs/xslt/db2latex-xsl/xsl/authorgroup.mod.xsl218
-rw-r--r--docs/xslt/db2latex-xsl/xsl/biblio.mod.xsl1069
-rw-r--r--docs/xslt/db2latex-xsl/xsl/block.mod.xsl396
-rw-r--r--docs/xslt/db2latex-xsl/xsl/book-article.mod.xsl854
-rw-r--r--docs/xslt/db2latex-xsl/xsl/bridgehead.mod.xsl120
-rw-r--r--docs/xslt/db2latex-xsl/xsl/callout.mod.xsl884
-rw-r--r--docs/xslt/db2latex-xsl/xsl/citation.mod.xsl132
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/af.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/ar.xml492
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/bg.xml445
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/bn.xml504
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/ca.xml445
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/common.xsl1573
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/cs.xml491
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/da.xml492
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/de.xml538
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/el.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/en.xml551
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/es.xml482
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/et.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/eu.xml444
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/fi.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/fr.xml543
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/gentext.xsl716
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/he.xml444
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/hr.xml495
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/hu.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/id.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/it.xml444
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/ja.xml445
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/ko.xml441
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/l10n.dtd63
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/l10n.xml89
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/l10n.xsl467
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/la.xml492
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/lt.xml442
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/nl.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/nn.xml449
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/no.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/pl.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/pt.xml445
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/pt_br.xml442
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/ro.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/ru.xml517
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/sk.xml488
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/sl.xml444
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/sr.xml510
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/sr_Latn.xml443
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/subtitles.xsl140
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/sv.xml487
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/th.xml444
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/titles.xsl595
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/tr.xml510
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/uk.xml473
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/vi.xml442
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/xh.xml441
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/zh_cn.xml438
-rw-r--r--docs/xslt/db2latex-xsl/xsl/common/zh_tw.xml439
-rw-r--r--docs/xslt/db2latex-xsl/xsl/component.mod.xsl93
-rw-r--r--docs/xslt/db2latex-xsl/xsl/dingbat.mod.xsl85
-rw-r--r--docs/xslt/db2latex-xsl/xsl/docbook.xsl232
-rw-r--r--docs/xslt/db2latex-xsl/xsl/email.mod.xsl77
-rw-r--r--docs/xslt/db2latex-xsl/xsl/example.mod.xsl119
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figure.mod.xsl259
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/caution.eps1348
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/caution.pdfbin0 -> 1126 bytes
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/important.eps1348
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/important.pdfbin0 -> 1126 bytes
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/note.eps1387
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/note.pdfbin0 -> 1814 bytes
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/tip.eps1503
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/tip.pdfbin0 -> 3699 bytes
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/warning.eps1348
-rw-r--r--docs/xslt/db2latex-xsl/xsl/figures/warning.pdfbin0 -> 1126 bytes
-rw-r--r--docs/xslt/db2latex-xsl/xsl/footnote.mod.xsl174
-rw-r--r--docs/xslt/db2latex-xsl/xsl/formal.mod.xsl344
-rw-r--r--docs/xslt/db2latex-xsl/xsl/glossary.mod.xsl392
-rw-r--r--docs/xslt/db2latex-xsl/xsl/graphic.mod.xsl117
-rw-r--r--docs/xslt/db2latex-xsl/xsl/index.mod.xsl470
-rw-r--r--docs/xslt/db2latex-xsl/xsl/inline.mod.xsl1602
-rw-r--r--docs/xslt/db2latex-xsl/xsl/keywords.mod.xsl140
-rw-r--r--docs/xslt/db2latex-xsl/xsl/labelid.mod.xsl503
-rw-r--r--docs/xslt/db2latex-xsl/xsl/latex.mapping.dtd13
-rw-r--r--docs/xslt/db2latex-xsl/xsl/latex.mapping.xml498
-rw-r--r--docs/xslt/db2latex-xsl/xsl/latex.mapping.xsl282
-rw-r--r--docs/xslt/db2latex-xsl/xsl/lists.mod.xsl783
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathelem.mod.xsl297
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsa.ent173
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsb.ent146
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsc.ent49
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsn.ent117
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamso.ent77
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsr.ent205
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isobox.ent67
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isocyr1.ent94
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isocyr2.ent53
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isodia.ent41
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk1.ent75
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk2.ent46
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk3.ent70
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk4.ent69
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isolat1.ent89
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isolat2.ent148
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isomfrk.ent79
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isomopf.ent53
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isomscr.ent79
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isonum.ent103
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isopub.ent111
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/isotech.ent183
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/mmlalias.ent529
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/ent/mmlextra.ent134
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/latex.entities.dtd7
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/latex.entities.xml12
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.constsymb.mod.xsl101
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.functions.mod.xsl750
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.mod.xsl99
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.token.mod.xsl232
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/mathml.mod.xsl48
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mathml/mathml.presentation.mod.xsl493
-rw-r--r--docs/xslt/db2latex-xsl/xsl/mediaobject.mod.xsl350
-rw-r--r--docs/xslt/db2latex-xsl/xsl/msgset.mod.xsl237
-rw-r--r--docs/xslt/db2latex-xsl/xsl/normalize-scape.mod.xsl615
-rw-r--r--docs/xslt/db2latex-xsl/xsl/para.mod.xsl221
-rw-r--r--docs/xslt/db2latex-xsl/xsl/param-common.mod.xsl381
-rw-r--r--docs/xslt/db2latex-xsl/xsl/param-direct.mod.xsl589
-rw-r--r--docs/xslt/db2latex-xsl/xsl/param-switch.mod.xsl698
-rw-r--r--docs/xslt/db2latex-xsl/xsl/part-chap-app.mod.xsl167
-rw-r--r--docs/xslt/db2latex-xsl/xsl/pi.mod.xsl231
-rw-r--r--docs/xslt/db2latex-xsl/xsl/preamble.mod.xsl1131
-rw-r--r--docs/xslt/db2latex-xsl/xsl/procedure.mod.xsl421
-rw-r--r--docs/xslt/db2latex-xsl/xsl/qandaset.mod.xsl415
-rw-r--r--docs/xslt/db2latex-xsl/xsl/refentry.mod.xsl343
-rw-r--r--docs/xslt/db2latex-xsl/xsl/revision.mod.xsl247
-rw-r--r--docs/xslt/db2latex-xsl/xsl/scape.mod.xsl629
-rw-r--r--docs/xslt/db2latex-xsl/xsl/sections.mod.xsl209
-rw-r--r--docs/xslt/db2latex-xsl/xsl/sgmltag.mod.xsl170
-rw-r--r--docs/xslt/db2latex-xsl/xsl/slides/foil.mod.xsl52
-rwxr-xr-xdocs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/caution.pdfbin0 -> 1126 bytes
-rwxr-xr-xdocs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/important.pdfbin0 -> 1126 bytes
-rwxr-xr-xdocs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/note.pdfbin0 -> 1814 bytes
-rwxr-xr-xdocs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/tip.pdfbin0 -> 3699 bytes
-rwxr-xr-xdocs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/warning.pdfbin0 -> 1126 bytes
-rw-r--r--docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.pdfbin0 -> 34650 bytes
-rw-r--r--docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.tex420
-rw-r--r--docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.xml251
-rw-r--r--docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.xsl158
-rw-r--r--docs/xslt/db2latex-xsl/xsl/slides/slides.xsl96
-rw-r--r--docs/xslt/db2latex-xsl/xsl/slides/slidesinfo.mod.xsl61
-rw-r--r--docs/xslt/db2latex-xsl/xsl/slides/slidestoc.mod.xsl34
-rw-r--r--docs/xslt/db2latex-xsl/xsl/synop-oop.mod.xsl691
-rw-r--r--docs/xslt/db2latex-xsl/xsl/synop-struct.mod.xsl248
-rw-r--r--docs/xslt/db2latex-xsl/xsl/table.mod.xsl1414
-rw-r--r--docs/xslt/db2latex-xsl/xsl/texmath.mod.xsl259
-rw-r--r--docs/xslt/db2latex-xsl/xsl/verbatim.mod.xsl189
-rw-r--r--docs/xslt/db2latex-xsl/xsl/xref.mod.xsl1208
-rw-r--r--docs/xslt/db2latex-xsl/xsl/xsldoc.ent55
168 files changed, 58985 insertions, 0 deletions
diff --git a/docs/xslt/db2latex-xsl/AUTHOR b/docs/xslt/db2latex-xsl/AUTHOR
new file mode 100644
index 0000000000..6d5543d6fc
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/AUTHOR
@@ -0,0 +1,15 @@
+<!--#############################################################################
+ | $Id: AUTHOR,v 1.1.1.1 2003/03/14 10:42:51 rcasellas Exp $
+ |- #############################################################################
+ | $Author: rcasellas $
+ |
+ | PURPOSE:
+ + ############################################################################## -->
+
+Ramon Casellas <casellas@aist.enst.fr>, <casellas@infres.enst.fr>
+ * Project manager and Developer.
+ * with the help of many other people <xref linkend="thanks"/> :)
+
+James Devenish <j-devenish@users.sourceforge.net>
+ * Project manager and Developer.
+ * Patches and improvements.
diff --git a/docs/xslt/db2latex-xsl/CHANGES b/docs/xslt/db2latex-xsl/CHANGES
new file mode 100644
index 0000000000..b5edb15e88
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/CHANGES
@@ -0,0 +1,2 @@
+A ChangeLog is not available for 0.8pre1 but will be present
+in the final 0.8 release.
diff --git a/docs/xslt/db2latex-xsl/COPYING b/docs/xslt/db2latex-xsl/COPYING
new file mode 100644
index 0000000000..a43ea2126f
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/COPYING
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/docs/xslt/db2latex-xsl/COPYRIGHT b/docs/xslt/db2latex-xsl/COPYRIGHT
new file mode 100644
index 0000000000..31f9b6f32c
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/COPYRIGHT
@@ -0,0 +1,104 @@
+<!--#############################################################################
+ | $Id: COPYRIGHT,v 1.3 2004/01/25 01:45:16 j-devenish Exp $
+ |- #############################################################################
+ | $Author: j-devenish $
+ |
+ | PURPOSE:
+ | DB2LaTeX is distributed according to the GPL v2 license.
+ + ############################################################################## -->
+
+<warning><para>
+IMPORTANT: These stylesheets ARE NOT the official DocBook XSL stylesheets. These stylesheets ARE NOT
+maintained by Norman Walsh. Please, DO NOT e-mail Norman about any question regarding these stylesheets
+</para></warning>
+
+**********************************************************************
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+**********************************************************************
+
+
+DocBook to LaTeX XSL Transformation Stylesheets
+(c) 2000-2004 Ramon Casellas
+
+
+--------------------------------------------------------------------------------
+
+
+FROM THE OFFICIAL XSL Docbook Stylesheets
+____________________________________________
+Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the ``Software''), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Except as contained in this notice, the names of individuals
+credited with contribution to this software shall not be used in
+advertising or otherwise to promote the sale, use or other
+dealings in this Software without prior written authorization
+from the individuals in question.
+
+Any stylesheet derived from this Software that is publically
+distributed will be identified with a different name and the
+version strings in any derived Software will be changed so that
+no possibility of confusion between the derived package and this
+Software will exist.
+
+Warranty
+--------
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER
+CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+ORIGINAL DOCBOOK XSL STYLESHEETS
+* Norman Walsh XSL Stylesheets http://www.nwalsh.com
+
+DOCBOOK DTD
+* Arbortex, Oasis, etc
+* See Docbook copyrigth
+
+MATHML PORTIONS
+--------------------------------------------------------------
+ Unlimited use, reproduction, and distribution of this software is
+ permitted. Any copy of this software must include both the above
+ copyright notice of Xerox Corporation and this paragraph. Any
+ distribution of this software must comply with all applicable United
+ States export control laws. This software is made available AS IS,
+ and XEROX CORPORATION DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
+ INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE, AND NOTWITHSTANDING ANY OTHER
+ PROVISION CONTAINED HEREIN, ANY LIABILITY FOR DAMAGES RESULTING FROM
+ THE SOFTWARE OR ITS USE IS EXPRESSLY DISCLAIMED, WHETHER ARISING IN
+ CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, EVEN IF
+ XEROX CORPORATION IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ emmanuel.pietriga@xrce.xerox.com
+ This work is done for the OPERA project (INRIA) during a thesis work under a
+ CIFRE contract.
+-----------------------------------------------------------------
+
+* string-replace by David Carlisle http://www.jclark.com
+
+* xt by James Clarck http://www.jclark.com
+
+
+BUGS and MISSING FEATURES :)
+* Ramon Casellas
+casellas@aist.enst.fr
+http://www.enst.fr/~casellas
diff --git a/docs/xslt/db2latex-xsl/DOCBOOK.RFE b/docs/xslt/db2latex-xsl/DOCBOOK.RFE
new file mode 100644
index 0000000000..c749ac99ed
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/DOCBOOK.RFE
@@ -0,0 +1,8 @@
+<!--#############################################################################
+ | $Id: DOCBOOK.RFE,v 1.1.1.1 2003/03/14 10:42:51 rcasellas Exp $
+ |- #############################################################################
+ | $Author: rcasellas $
+ |
+ | PURPOSE:
+ + ############################################################################## -->
+
diff --git a/docs/xslt/db2latex-xsl/README b/docs/xslt/db2latex-xsl/README
new file mode 100644
index 0000000000..cf76210f09
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/README
@@ -0,0 +1,39 @@
+<!--#############################################################################
+ | $Id: README,v 1.2 2004/01/31 12:53:35 j-devenish Exp $
+ |- #############################################################################
+ | $Author: j-devenish $
+ |
+ | PURPOSE:
+ + ############################################################################## -->
+
+Note
+=====================
+This file is obsolete. Please see the instructions available at the DB2LaTeX
+project website <http://db2latex.sourceforge.net/> -- a local HTML copy
+accompanies this distribution.
+
+Disclaimer
+=====================
+Documentation is *needed* and obviously very important, but bear
+in mind that it is also very boring. WYSIWID: What you see is
+what it's done...
+
+Installation
+=====================
+DB2LaTeX is now a standalone product, the main driver stylesheet is docbook.xsl.
+Process your document with your favourite (and I hope supported) XSLT engine.
+See the sample directory.
+
+Extending the stylesheets
+=========================
+XSL variables that are supposed to affect the output of the XSLT are in vars.mod.xsl
+Cfr. Norman Walsh documentation on how to extend (add a customization layer).
+
+Thanks
+=====================
+See the THANKS file
+
+Authors
+=====================
+Ramon Casellas casellas@infres.enst.fr
+James Devenish j-devenish@users.sourceforge.net
diff --git a/docs/xslt/db2latex-xsl/THANKS b/docs/xslt/db2latex-xsl/THANKS
new file mode 100644
index 0000000000..18acd0731e
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/THANKS
@@ -0,0 +1,82 @@
+Without this people, DB2LaTeX would not exist:
+---------------------------------------------------
+* Norman Walsh and OASIS comitee:
+* Docbook/DSSSL/XSL/Mailing Lists contributors
+* Open Source Developers
+* David Carlisle
+* James Clark
+
+
+
+DB2LaTeX
+------------------
+The following people have contributed by sending sending patches, bug reports, suggestions or simply interesting comments.
+Thank you.
+R.
+
+* Michel Goosens
+* James Devenish
+* Michael Wiedmann
+* Steve Fisher
+* Camille Begnis
+* Andrea Giuliano.
+* Frederic Schwebel
+* Emmanuel Pietriga
+* Benoit G/Nicolas Marsgui
+* Sebastien Blondeel
+* Olivier Dameron
+* Sebastien Schneider
+* Marco Kuhlmann
+* Raphael Goubet
+* Indrek Pehk
+* Balazs Scheider
+* Jakob VoB
+* David Nelson
+* Jirka Kosek
+* Steinar Bang
+* Vitaly Ostanin
+* Brian McGurk
+
+* Roman Kennkee roman(at)cognition(dot)uni-freiburg(dot)de 24 Feb 2003 11:50:13 +0100
+ - Patches for MathML
+
+* Ralph Meijer rmeijer(at)users(dot)sourceforge(dot)net 12 Mar 2003 12:01:30 +0100
+ - Bug report : mediaobject is not processed according to DocBook guidelines.
+ - Submitted patch for mediaobject.mod.xsl
+
+* Stephane Bortzmeyer 13 Mar 2003
+ - Bug reports
+ - Patch for qanda.mod.xsl
+
+* Jan Pavlovic 02 Avr 2003
+ - Bug reports and Suggestions
+ - Suggested the use of textbackslash
+ - Suggested a new processing for lot. Now you can use the @label to output only tables, figures or both
+ - graphic.default.extension is now honoured.
+ - added support for child::editor and others in biblio.
+ - Index terms are now scaped.
+ - updated keywordset so now it uses latex.mapping
+ - added xsl template for keyword
+ - added xsl template for inlineequation
+ - keywords are now processed in bookinfo
+
+* Thomas Schraitle (tom_schr) 14 Avr 2003
+ - Submitted patch for indexterm.
+
+* Michael Wiedmann <mw(at)miwie(dot)in-berlin(dot)de> 14 Avr 2003 and beyond
+ - Bug Reports concerning authorgroup/author articleinfo and incorrect title in preface processing.
+ - Useful comments.
+ - Patches.
+ - 'Contrib' templates.
+ - Gentext localisation strings.
+
+* Florence HENRY <Florence(dot)Henry(at)obspm(dot)fr> 7 Oct 2003
+ - Several LaTeX suggestions.
+ - Help with colsep.
+
+* LEGUEDOIS, Frederic <F.LEGUEDOIS(at)OBERTHURCS(dot)com>
+ - Bug report in xsl/common/common.xsl regarding count() and has.ext with saxon.
+
+* Cesar A. R. Crusius <cesarcrusius(at)earthlink(dot)net> 3 Nov 2003
+ - Some new MathML templates.
+
diff --git a/docs/xslt/db2latex-xsl/TODO b/docs/xslt/db2latex-xsl/TODO
new file mode 100644
index 0000000000..0c5327780c
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/TODO
@@ -0,0 +1,77 @@
+<!--#############################################################################
+ | $Id: TODO,v 1.11 2003/06/29 08:31:10 j-devenish Exp $
+ |- #############################################################################
+ | $Author: j-devenish $
+ |
+ | PURPOSE:
+ + ############################################################################## -->
+
+SHORT
+
+20030418 - JD
+ * Hyperlinks in QandA
+ * Support for regular typeface characterset within verbatim (for literallayout
+ support -- see test_article).
+ * Fix \maketitle to reduce space waste in articles.
+
+20030418 - RCAS
+ * Refactor code regarding authors and authorgroups in a single named tempalte.
+ * Test articles in books -> book/article and the author/authorgroup prcessing
+ * Start support por partinfos/chapterinfos and to be able to output a ToC per
+ part / chapter ...
+
+200303XX - JD
+ * There also needs to be some way of handling character entities like
+ &mdash; (or their Unicode equivalents). It is a pity that XPath
+ doesn't have functions for regular expression substitution.
+
+ * Tables, tables, tables, always tables... Anyone?
+ * Bibliography
+ * bibliomixed is not supported
+ * Manage .bst files ?
+
+ * Qanda is not supported at all (but patch supplied by S.B. 13 Mar 2003)
+ RCAS: Added basic support.
+ A QandASet has several QandADivs that have several QandAEntries.
+ See xsl/sample/test_qanda
+
+ * Math
+ * Improve support for MathElems tags (customized DTD)
+ * Improve support for tm and inlinetm (embedded LaTeX Math)
+ * Start MathML support
+ * Lists
+ * Ordered lists are mapped to enumerate, regardless of 'continues'
+
+ * Index : basic support. Only ONE index per LaTeX Document.
+ Support for several see/seealso
+
+ * Footnote: if possible, improve upon the existing \catcode kludge
+ for \urls within \footnotes.
+
+ * Tables/figures: look into whether page-spanning floats are possible
+ when using two-column <article>s. Add Q&A about this.
+
+LONG
+ * Update localisation.
+
+ * Overhaul handling of titles.
+
+ * Index support.
+
+ * Add chunking, so each chapter/part/etc... is created on a separate .tex file
+ and manage the \input. (Also: automation of cover file generation.)
+
+ RCAS: Done. See xsl/sample/chunking
+ Depends on Norman Walsh chunker.xsl.
+
+ * Document latex.* variables (see vars.mod.xsl).
+
+ * Better support of everything :)
+
+ * Package.. rpm/deb/tgz
+ RCAS: rpm & tar.gz ok.
+ RCAS: .deb pending (check debian mailing lists for a mantainer.)
+
+ * Add autoconf/automake
+ * Detect jdk if required.
+ * Detect xslt processors.
diff --git a/docs/xslt/db2latex-xsl/VERSION b/docs/xslt/db2latex-xsl/VERSION
new file mode 100644
index 0000000000..ecc00bbb6f
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/VERSION
@@ -0,0 +1 @@
+0.8pre1
diff --git a/docs/xslt/db2latex-xsl/xsl/VERSION.xml b/docs/xslt/db2latex-xsl/xsl/VERSION.xml
new file mode 100644
index 0000000000..2e71a6b968
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/VERSION.xml
@@ -0,0 +1,24 @@
+<?xml version='1.0'?>
+<!--#############################################################################
+ | $Id: VERSION.xml,v 1.6 2004/01/31 12:47:11 j-devenish Exp $
+ |- #############################################################################
+ | $Author: j-devenish $
+ |
+ | PURPOSE:
+ + ############################################################################## -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+<xsl:variable name="VERSION">0.8pre1</xsl:variable>
+<xsl:variable name="LASTRELEASE">0.7</xsl:variable>
+<xsl:variable name="TAG">
+ <xsl:variable name="RCSTAG" select="substring-before(substring-after('$Name: DB2LATEX_0_8PRE1 $',concat('$','Name: ')),'$')"/>
+ <xsl:choose>
+ <xsl:when test="normalize-space($RCSTAG)=''">HEAD</xsl:when>
+ <xsl:otherwise><xsl:value-of select="$RCSTAG" /></xsl:otherwise>
+ </xsl:choose>
+</xsl:variable>
+<xsl:variable name="CVSVERSION">$Id: VERSION.xml,v 1.6 2004/01/31 12:47:11 j-devenish Exp $</xsl:variable>
+
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/abstract.mod.xsl b/docs/xslt/db2latex-xsl/xsl/abstract.mod.xsl
new file mode 100644
index 0000000000..995930d1b9
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/abstract.mod.xsl
@@ -0,0 +1,87 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: abstract.mod.xsl,v 1.12 2003/12/30 13:38:04 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="abstract" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: abstract.mod.xsl,v 1.12 2003/12/30 13:38:04 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.6">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Abstracts <filename>abstract.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>abstract.mod.xsl</filename> contains the
+ XSL template for <doc:db>abstract</doc:db>.</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template basename="abstract" match="abstract" xmlns="">
+ <refpurpose>Process <doc:db>abstract</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Uses the &latex; <function condition='env'>abstract</function> environment
+ to format <quote>abstracts</quote> as blocks.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>Currently, the <doc:db>title</doc:db> is not honoured.</para>
+ <para>The &db2latex; template for <doc:db>abstract</doc:db> is intended for use with <doc:db>article</doc:db> and <doc:db>book</doc:db>, only.</para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_book;
+ &test_ddh;
+ &test_ieeebiblio;
+ &test_varioref;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="abstract">
+ <xsl:variable name="keyword">
+ <xsl:value-of select="local-name(.)"/>
+ <xsl:if test="title">
+ <!-- choose a different mapping -->
+ <xsl:text>-title</xsl:text>
+ </xsl:if>
+ </xsl:variable>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="keyword" select="$keyword"/>
+ </xsl:call-template>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="keyword" select="$keyword"/>
+ </xsl:call-template>
+ </xsl:template>
+
+</xsl:stylesheet>
+
+
diff --git a/docs/xslt/db2latex-xsl/xsl/admonition.mod.xsl b/docs/xslt/db2latex-xsl/xsl/admonition.mod.xsl
new file mode 100644
index 0000000000..c42f040d9c
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/admonition.mod.xsl
@@ -0,0 +1,283 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: admonition.mod.xsl,v 1.14 2004/01/03 09:48:34 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference name="admonition" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: admonition.mod.xsl,v 1.14 2004/01/03 09:48:34 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.6">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Admonitions <filename>admonition.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ &DocBook; includes admonitions (<doc:db>warning</doc:db>,
+ <doc:db>tip</doc:db>, <doc:db>important</doc:db>,
+ <doc:db>caution</doc:db>, <doc:db>note</doc:db>), which are set off
+ from the main text. &DB2LaTeX; places these in the normal text flow
+ but surrounds them with a box border.
+
+ </para>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.fancybox"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.admon.graphics.path"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.admonition.imagesize"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.apply.title.templates.admonitions"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </partintro>
+ </doc:reference>
+
+ <doc:param xmlns="">
+ <refpurpose>
+ Declares a new environment to be used for admonitions
+ </refpurpose>
+ <doc:description>
+ <para>
+
+ This &LaTeX; environment is emitted during the preamble. That
+ environment has two mandatory parameters. Instances of the
+ environment are customised for each admonition via those
+ parameters. Instances will be typeset as boxed areas in the
+ document flow.
+
+ </para>
+ <para>
+
+ The first argument is the filename for graphics (e.g.
+ <filename>$admon.graphics.path/warning</filename>).
+ The second argument is the admonition title or the associated
+ generic text.
+
+ </para>
+
+ <example>
+ <title>Processing the <doc:db>warning</doc:db> admonition</title>
+ <para> When processing the admonition, the following code is generated: </para>
+ <programlisting>
+ <![CDATA[\begin{admonition}{figures/warning}{My WARNING}
+...
+\end{admonition}]]>
+ </programlisting>
+ </example>
+ </doc:description>
+ <doc:notes>
+ <!-- notes about spacing? -->
+ <para>
+ The environment uses graphics by default. This may generate errors or warnings
+ if &LaTeX; cannot find the graphics. If necessary, graphics may be disabled
+ via <xref linkend="param.admon.graphics.path"/>.
+ </para>
+ </doc:notes>
+ <!--
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.para"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ -->
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.fancybox"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.admon.graphics.path"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.admonition.imagesize"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </doc:param>
+
+ <xsl:param name="latex.admonition.environment">
+ <xsl:text>% ----------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Define a new LaTeX environment (adminipage)&#10;</xsl:text>
+ <xsl:text>% ----------------------------------------------&#10;</xsl:text>
+ <xsl:text>\newenvironment{admminipage}%&#10;</xsl:text>
+ <xsl:text>{ % this code corresponds to the \begin{adminipage} command&#10;</xsl:text>
+ <xsl:text> \begin{Sbox}%&#10;</xsl:text>
+ <xsl:text> \begin{minipage}%&#10;</xsl:text>
+ <xsl:text>} %done&#10;</xsl:text>
+ <xsl:text>{ % this code corresponds to the \end{adminipage} command&#10;</xsl:text>
+ <xsl:text> \end{minipage}&#10;</xsl:text>
+ <xsl:text> \end{Sbox}&#10;</xsl:text>
+ <xsl:text> \fbox{\TheSbox}&#10;</xsl:text>
+ <xsl:text>} %done&#10;</xsl:text>
+ <xsl:text>% ----------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Define a new LaTeX length (admlength)&#10;</xsl:text>
+ <xsl:text>% ----------------------------------------------&#10;</xsl:text>
+ <xsl:text>\newlength{\admlength}&#10;</xsl:text>
+ <xsl:text>% ----------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Define a new LaTeX environment (admonition)&#10;</xsl:text>
+ <xsl:text>% With 2 parameters:&#10;</xsl:text>
+ <xsl:text>% #1 The file (e.g. note.pdf)&#10;</xsl:text>
+ <xsl:text>% #2 The caption&#10;</xsl:text>
+ <xsl:text>% ----------------------------------------------&#10;</xsl:text>
+ <xsl:text>\newenvironment{admonition}[2] &#10;</xsl:text>
+ <xsl:text>{ % this code corresponds to the \begin{admonition} command&#10;</xsl:text>
+ <xsl:text> \hspace{0mm}\newline\hspace*\fill\newline&#10;</xsl:text>
+ <xsl:text> \noindent&#10;</xsl:text>
+ <xsl:text> \setlength{\fboxsep}{5pt}&#10;</xsl:text>
+ <xsl:text> \setlength{\admlength}{\linewidth}&#10;</xsl:text>
+ <xsl:text> \addtolength{\admlength}{-10\fboxsep}&#10;</xsl:text>
+ <xsl:text> \addtolength{\admlength}{-10\fboxrule}&#10;</xsl:text>
+ <xsl:text> \admminipage{\admlength}&#10;</xsl:text>
+ <xsl:text> {\bfseries \sc\large{#2}}</xsl:text>
+ <xsl:text> \newline&#10;</xsl:text>
+ <xsl:text> \\[1mm]&#10;</xsl:text>
+ <xsl:text> \sffamily&#10;</xsl:text>
+ <!--
+ If we cannot find the admon.graphics.path;
+ Comment out the next line (\includegraphics).
+ This tactic is to avoid deleting the \includegraphics
+ altogether, as that could confuse a person trying to
+ find the use of parameter #1 in the environment.
+ -->
+ <xsl:if test="$admon.graphics.path=''">
+ <xsl:text>%</xsl:text>
+ </xsl:if>
+ <xsl:text> \includegraphics[</xsl:text> <xsl:value-of select="$latex.admonition.imagesize" /> <xsl:text>]{#1}&#10;</xsl:text>
+ <xsl:text> \addtolength{\admlength}{-1cm}&#10;</xsl:text>
+ <xsl:text> \addtolength{\admlength}{-20pt}&#10;</xsl:text>
+ <xsl:text> \begin{minipage}[lt]{\admlength}&#10;</xsl:text>
+ <xsl:text> \parskip=0.5\baselineskip \advance\parskip by 0pt plus 2pt&#10;</xsl:text>
+ <xsl:text>} %done&#10;</xsl:text>
+ <xsl:text>{ % this code corresponds to the \end{admonition} command&#10;</xsl:text>
+ <xsl:text> \vspace{5mm} &#10;</xsl:text>
+ <xsl:text> \end{minipage}&#10;</xsl:text>
+ <xsl:text> \endadmminipage&#10;</xsl:text>
+ <xsl:text> \vspace{.5em}&#10;</xsl:text>
+ <xsl:text> \par&#10;</xsl:text>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:param>
+
+ <doc:template xmlns="">
+ <refpurpose> Choose an admonition graphic </refpurpose>
+ <doc:description>
+ <para>
+
+ For each admonition element
+ (<doc:db>warning</doc:db>, <doc:db>tip</doc:db>, <doc:db>important</doc:db>, <doc:db>caution</doc:db>, <doc:db>note</doc:db>),
+ this template chooses the graphics filename. If the admonition element is
+ not known, the <doc:db>note</doc:db> graphic is used.
+
+ </para>
+ </doc:description>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>name</term>
+ <listitem>
+ <para>
+
+ The name of the adminition. &DB2LaTeX; includes
+ different graphics for different adminitions. By
+ default, <literal>name</literal> defaults to the
+ XSLT <function
+ condition="xslt">local-name</function> of the
+ current node.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ </doc:template>
+
+ <xsl:template name="admon.graphic">
+ <xsl:param name="name" select="local-name(.)"/>
+ <xsl:choose>
+ <xsl:when test="$name='note'">note</xsl:when>
+ <xsl:when test="$name='warning'">warning</xsl:when>
+ <xsl:when test="$name='caution'">caution</xsl:when>
+ <xsl:when test="$name='tip'">tip</xsl:when>
+ <xsl:when test="$name='important'">important</xsl:when>
+ <xsl:otherwise>note</xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Process admonitions </refpurpose>
+ <doc:description>
+ <para>
+
+ Invokes the environment provided by <xref
+ linkend="param.latex.admonition.environment"/>
+ and applies templates.
+
+ </para>
+ <note><para>An admonition will look something like this <doc:db>note</doc:db>.</para></note>
+ </doc:description>
+ <doc:notes>
+ <para>
+
+ There can be <quote>excessive</quote> whitespace between
+ the bottom of the admonition area and a subsequent paragraph.
+
+ </para>
+ </doc:notes>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.admon.graphics.path"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.apply.title.templates.admonitions"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_adm;
+ &test_bind;
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><para>&mapping;</para></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+
+ <xsl:template match="note|important|warning|caution|tip">
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="keyword">admonition</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$admon.graphics.path"/><xsl:text>/</xsl:text>
+ <xsl:call-template name="admon.graphic"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="title and $latex.apply.title.templates.admonitions='1'">
+ <xsl:call-template name="extract.object.title">
+ <xsl:with-param name="object" select="."/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.element.name"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="keyword">admonition</xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/authorgroup.mod.xsl b/docs/xslt/db2latex-xsl/xsl/authorgroup.mod.xsl
new file mode 100644
index 0000000000..3c625d3d1b
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/authorgroup.mod.xsl
@@ -0,0 +1,218 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: authorgroup.mod.xsl,v 1.10 2003/12/30 13:38:54 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="authorgroup" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: authorgroup.mod.xsl,v 1.10 2003/12/30 13:38:54 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.6">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Authorgroups <filename>authorgroup.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>authorgroup.mod.xsl</filename> contains the
+ XSL templates for <doc:db>author</doc:db>, <doc:db>editor</doc:db>,
+ <doc:db>othercredit</doc:db><doc:db>personname</doc:db>, <doc:db>authorblurb</doc:db>,
+ <doc:db>authorgroup</doc:db> and <doc:db>authorinitials</doc:db>.</para>
+ <section>
+ <title>Pertinent Variables</title>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.biblioentry.item.separator"/></simpara></listitem>
+ </itemizedlist>
+ </section>
+ </partintro>
+ </doc:reference>
+
+ <doc:template basename="authorgroup" xmlns="">
+ <refpurpose>Process <doc:db>authorgroup</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a list of authors for typsetting as a formatted block
+ (not inline).
+ </para>
+ <para>
+ Applies templates for <doc:db>author</doc:db> elements,
+ inserting <quote>and</quote> between authors' names.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>person.list</term>
+ <listitem>
+ <para>
+
+ The nodes to be formatted. By default, the template
+ will select child::author, child::corpauthor,
+ child::othercredit and child::editor for the
+ current node.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ May be called from any template when the current node has
+ <doc:db>author</doc:db>, <doc:db>editor</doc:db>,
+ <doc:db>corpauthor</doc:db> or <doc:db>othercredit</doc:db> children.
+
+ </para>
+ <para>
+
+ This template uses <function
+ condition='xslt'>person.name.list</function> from
+ <filename>db2latex/xsl/common/common.xsl</filename> to format
+ the list of authors.
+
+ </para>
+
+ <para>
+
+ For compatibility with &latex;, <xref
+ linkend="template.normalize-scape"/> is called on the output of
+ <function condition='xslt'>person.name.list</function>.
+ <doc:todo>This may pose problems but has not been
+ investigated.</doc:todo>
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_biblio;
+ &test_bind;
+ &test_book;
+ &test_ieeebiblio;
+ &test_minimal;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+
+ <xsl:template match="authorgroup" name="authorgroup">
+ <xsl:param name="person.list" select="./author|./corpauthor|./othercredit|./editor"/>
+ <xsl:call-template name="normalize-scape">
+ <xsl:with-param name="string">
+ <xsl:call-template name="person.name.list">
+ <xsl:with-param name="person.list" select="$person.list"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process names of <doc:db>authors</doc:db> and similar elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Formats a person's name for inline display.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+
+ <para>
+
+ This template uses <function
+ condition='xslt'>person.name</function> from
+ <filename>db2latex/xsl/common/common.xsl</filename> to format the
+ names of <doc:db>author</doc:db>, <doc:db>editor</doc:db>,
+ <doc:db>othercredit</doc:db> and <doc:db>personname</doc:db>
+ elements.
+
+ </para>
+
+ <para>
+
+ For compatibility with &latex;, <xref
+ linkend="template.normalize-scape"/> is called on the output of
+ <function condition='xslt'>person.name.list</function>.
+ <doc:todo>This may pose problems but has not been
+ investigated.</doc:todo>
+
+ </para>
+
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ <member>See <xref linkend="template.authorgroup"/>.</member>
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+
+ <xsl:template match="author|editor|othercredit|personname">
+ <xsl:call-template name="normalize-scape">
+ <xsl:with-param name="string">
+ <xsl:call-template name="person.name"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template basename="authorinitials" xmlns="">
+ <refpurpose>Process <doc:db>authorinitials</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Represents <doc:db>authorinitials</doc:db> by applying templates
+ normally and then appending <xref
+ linkend="param.biblioentry.item.separator"/>.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.biblioentry.item.separator"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ <doc:todo>The use of <xref linkend="param.biblioentry.item.separator"/>
+ should be replaced with the normal localisation mechanism.</doc:todo>
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_article;
+ &test_ieeebiblio;
+ &test_minimal;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+
+ <xsl:template match="authorinitials">
+ <xsl:apply-templates/>
+ <xsl:value-of select="$biblioentry.item.separator"/>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/biblio.mod.xsl b/docs/xslt/db2latex-xsl/xsl/biblio.mod.xsl
new file mode 100644
index 0000000000..a1da6ce924
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/biblio.mod.xsl
@@ -0,0 +1,1069 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: biblio.mod.xsl,v 1.21 2004/01/26 08:57:46 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="biblio" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: biblio.mod.xsl,v 1.21 2004/01/26 08:57:46 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.16">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Bibliographies <filename>biblio.mod.xsl</filename></title>
+ <partintro>
+
+ <para>The file <filename>biblio.mod.xsl</filename> contains the XSL
+ template for <doc:db>bibliography</doc:db> and associated
+ elements.</para>
+
+ <!--
+ <para>This reference describes the templates and parameters relevant
+ to formatting DocBook bibliography markup.</para>
+ -->
+
+ <bridgehead><quote>All</quote> versus <quote>cited</quote> mode</bridgehead>
+ <note>
+ <para>These modes are superseded by &BibTeX;
+ when using &BibTeX;.</para>
+ </note>
+ <para>
+
+ The <xref linkend="param.latex.biblio.output"/> option can be used
+ to select <quote>all</quote> mode or <quote>cited</quote> mode.
+ With the <quote>cited</quote> mode, only the <doc:db
+ basename="biblioentry">biblioentries</doc:db> that have been
+ cited somewhere in the document are output. Otherwise (in
+ <quote>all</quote> mode) all biblioentries found are output (as
+ the HTML stylesheets do).
+
+ </para>
+
+ <bridgehead>&DocBook; versus &BibTeX;</bridgehead>
+ <para>
+
+ &DB2LaTeX; supports &BibTeX;. When this mode is enabled,
+ you can use a &BibTeX; citations file. Your <doc:db
+ basename="citation">citations</doc:db> can then refer to
+ your &BibTeX; keys (<doc:db basename="xref">xrefs</doc:db>
+ are unlikely to work, though). You will need to provide a
+ &LaTeX; command to select a bibliographic citation style as
+ is normal for &BibTeX; (see <xref
+ linkend="bibtex.example"/>). You must also run the
+ <command>bibtex</command> command when typesetting your
+ document with &LaTeX;.
+
+ </para>
+ <note>
+ <para>Although &DocBook; allows <doc:db basename="bibliography">bibliographies</doc:db>
+ within a number of components, such as <doc:db>section</doc:db>, the use of &BibTeX;
+ is only useful for a single, chapter-level bibliography.</para>
+ </note>
+ <para>
+
+ To enable &BibTeX; mode, insert an empty
+ <doc:db>bibliography</doc:db> element in your &DocBook;
+ document. However, note that this is not valid &DocBook;,
+ though it will lead to the desired results with most
+ &DocBook; XSL stylesheets (including those for HTML).
+ You will also need to set the <xref linkend="param.latex.bibfiles"/>
+ variable to the correct path of your &BibTeX; citations file.
+
+ Alternatively, you may choose to use a processing
+ instruction named <quote>bibtex-bibliography</quote>
+ instead of an empty element. The name of the citations file
+ may be specified within the processing instruction or via
+ <xref linkend="param.latex.bibfiles"/> (see
+ <xref linkend="bibtex.example"/>).
+
+ </para>
+ <example id="bibtex.example">
+ <title>Using &BibTeX; with &DB2LaTeX;</title>
+ <para>
+
+ A &BibTeX; bibliography may be enabled by providing the
+ name of your citations file, the name of a &BibTeX; style,
+ and the insertion of an appropriate node in your
+ &DocBook; document. In your customisation layer:
+
+ <programlisting><![CDATA[
+<xsl:variable name="latex.book.preamble.post">
+% Your LaTeX customisation commands
+\bibliographystyle{ieeetr}
+</xsl:variable>
+<xsl:variable name="latex.bibfiles" select="'../citations.bib'"/>
+]]></programlisting>
+
+ Then, in your document, type this:
+
+ <programlisting><![CDATA[
+<bibliography/>
+]]></programlisting>
+
+ Although this is not valid according to the &DocBook;
+ DTD, it will work with most stylesheets (not just
+ &DB2LaTeX;). Alternatively, you may instead use a
+ processing instruction in compliance with the DTD,
+ though this will work only with &DB2LaTeX; and you will
+ not be able to specify a custom <doc:db>title</doc:db>
+ for your bibliography:
+
+ <programlisting><![CDATA[
+<?bibtex-bibliography?>
+]]></programlisting>
+
+ You may optionally specify the citations file directly
+ (you will not need to set
+ <literal>latex.bibfiles</literal>):
+
+ <programlisting><![CDATA[
+<?bibtex-bibliography ../citations.bib?>
+]]></programlisting>
+
+ </para>
+ </example>
+
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.bibfiles"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.biblio.output"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose> Essential preamble for <filename>biblio.mod.xsl</filename> support </refpurpose>
+ <doc:description>
+ <para>
+
+ Defines <function condition="latex">docbooktolatexbibname</function>,
+ <function condition="latex">docbooktolatexbibaux</function>
+ and <function condition="env">docbooktolatexbibliography</function>.
+
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&preamble;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+
+ <xsl:template name="latex.preamble.essential.biblio">
+ <xsl:text>
+ <![CDATA[
+\AtBeginDocument{\ifx\refname\@undefined\let\docbooktolatexbibname\bibname\def\docbooktolatexbibnamex{\bibname}\else\let\docbooktolatexbibname\refname\def\docbooktolatexbibnamex{\refname}\fi}
+% Facilitate use of \cite with \label
+\newcommand{\docbooktolatexbibaux}[2]{%
+ \protected@write\@auxout{}{\string\global\string\@namedef{docbooktolatexcite@#1}{#2}}
+}
+% Provide support for bibliography `subsection' environments with titles
+\newenvironment{docbooktolatexbibliography}[3]{
+ \begingroup
+ \let\save@@chapter\chapter
+ \let\save@@section\section
+ \let\save@@@mkboth\@mkboth
+ \let\save@@bibname\bibname
+ \let\save@@refname\refname
+ \let\@mkboth\@gobbletwo
+ \def\@tempa{#3}
+ \def\@tempb{}
+ \ifx\@tempa\@tempb
+ \let\chapter\@gobbletwo
+ \let\section\@gobbletwo
+ \let\bibname\relax
+ \else
+ \let\chapter#2
+ \let\section#2
+ \let\bibname\@tempa
+ \fi
+ \let\refname\bibname
+ \begin{thebibliography}{#1}
+}{
+ \end{thebibliography}
+ \let\chapter\save@@chapter
+ \let\section\save@@section
+ \let\@mkboth\save@@@mkboth
+ \let\bibname\save@@bibname
+ \let\refname\save@@refname
+ \endgroup
+}
+]]>
+ </xsl:text>
+ </xsl:template>
+
+ <doc:template basename="bibliography" xmlns="">
+ <refpurpose>Process <doc:db>bibliography</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ This is a complex template that can format bibliographies as
+ chapter-level or section-level components.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.biblio.output"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.bibwidelabel"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>makechapter</term>
+ <listitem>
+ <para>
+
+ Whether to make a chapter-level bibliography or
+ not. This is normally determined by examining
+ whether the <doc:db>bibliography</doc:db> element
+ occurs as a child of a <doc:db>book</doc:db> or
+ <doc:db>part</doc:db>. If so, the bibliography will
+ be formatted as an unnumbered chapter. If not, the
+ bibliography will be formatted as an unnumbered
+ section. This effect does not hold for &BibTeX;
+ bibliographies, which will be formatted by the
+ &LaTeX; <function
+ condition="latex">bibliography</function> command.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>This template probably contains many bugs.</para>
+ &essential_preamble;
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_biblio;
+ &test_bind;
+ &test_book;
+ &test_cited;
+ &test_ieeebiblio;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;: this template will use the <literal>bibliography-chapter</literal>
+ and <literal>bibliography-section</literal> mappings.</simpara></listitem>
+ <listitem><simpara><xref linkend="citation"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="bibliography">
+ <xsl:param name="makechapter" select="local-name(..)='book' or local-name(..)='part'"/>
+ <xsl:variable name="keyword">
+ <xsl:choose>
+ <xsl:when test="$makechapter">
+ <xsl:text>bibliography-chapter</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>bibliography-section</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="environment">
+ <xsl:choose>
+ <xsl:when test="$makechapter">thebibliography</xsl:when>
+ <xsl:otherwise>docbooktolatexbibliography</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="title|subtitle"/>
+ </xsl:variable>
+ <!--
+ <xsl:message>DB2LaTeX: Processing BIBLIOGRAPHY</xsl:message>
+ -->
+ <xsl:if test="$title!=''">
+ <xsl:text>\let\oldbibname\bibname&#10;</xsl:text>
+ <xsl:text>\let\oldrefname\refname&#10;</xsl:text>
+ <xsl:text>\def\bibname{</xsl:text>
+ <xsl:value-of select="$title"/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\let\refname\bibname&#10;</xsl:text>
+ </xsl:if>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="keyword" select="$keyword"/>
+ </xsl:call-template>
+ <xsl:choose>
+ <xsl:when test="biblioentry or bibliodiv">
+ <xsl:variable name="separatetitle" select="not(biblioentry or bibliodiv[1]/@title)"/>
+ <xsl:message>DB2LaTeX: Bibliographic Output Mode : <xsl:value-of select="$latex.biblio.output"/></xsl:message>
+ <xsl:choose>
+ <xsl:when test="$separatetitle and $makechapter">
+ <xsl:text>\chapter*{\docbooktolatexbibnamex}\hypertarget{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:when test="$separatetitle and not($makechapter)">
+ <xsl:text>\section*{\docbooktolatexbibnamex}\hypertarget{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:when test="biblioentry"><!-- implies not($separatetitle) -->
+ <xsl:text>\begin{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:value-of select="$latex.bibwidelabel"/>
+ <xsl:if test="$environment='docbooktolatexbibliography'">
+ <xsl:text>}{\</xsl:text>
+ <!-- TODO choose the correct nesting, rather than assuming something -->
+ <xsl:choose>
+ <xsl:when test="$makechapter">chapter</xsl:when>
+ <xsl:otherwise>section</xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$title!=''">
+ <xsl:value-of select="$title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\docbooktolatexbibname</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ <xsl:text>}\hypertarget{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{}&#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.biblio.output ='cited'">
+ <xsl:apply-templates select="biblioentry" mode="bibliography.cited">
+ <xsl:sort select="./abbrev"/>
+ <xsl:sort select="./@xreflabel"/>
+ <xsl:sort select="./@id"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:when test="$latex.biblio.output ='all'">
+ <xsl:apply-templates select="biblioentry" mode="bibliography.all">
+ <xsl:sort select="./abbrev"/>
+ <xsl:sort select="./@xreflabel"/>
+ <xsl:sort select="./@id"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="biblioentry">
+ <xsl:sort select="./abbrev"/>
+ <xsl:sort select="./@xreflabel"/>
+ <xsl:sort select="./@id"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!-- <xsl:apply-templates select="child::*[name(.)!='biblioentry']"/> -->
+ <xsl:text>&#10;\end{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\hypertarget{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="bibliodiv"/>
+ </xsl:when>
+ <xsl:when test="child::*">
+ <xsl:choose>
+ <xsl:when test="$makechapter">
+ <xsl:text>\chapter*</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\section*</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>{\docbooktolatexbibnamex}\hypertarget{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{}&#10;</xsl:text>
+ <xsl:call-template name="content-templates"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>% Assume that an empty &lt;bibliography&gt; means ``use BibTeX'' or similar.&#10;</xsl:text>
+ <xsl:text>\bibliography{</xsl:text><xsl:value-of select="$latex.bibfiles"/><xsl:text>}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="keyword" select="$keyword"/>
+ </xsl:call-template>
+ <xsl:if test="$title!=''">
+ <xsl:text>\let\bibname\oldbibname&#10;</xsl:text>
+ <xsl:text>\let\refname\oldrefname&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag class="xmlpi">bibtex-bibliography</sgmltag> nodes</refpurpose>
+ <doc:description>
+ <para>
+ Output a &BibTeX; bibliography.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.bibfiles"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>makechapter</term>
+ <listitem>
+ <para>
+
+ Choose which &LaTeX; mapping to use. This is
+ normally determined by examining whether the PI
+ occurs as a child of a <doc:db>book</doc:db> or
+ <doc:db>part</doc:db>. Regardless of this
+ parameter, the bibliography will be formatted as a
+ chapter via the &LaTeX; <function
+ condition="latex">bibliography</function> command.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>filename</term>
+ <listitem>
+ <para>
+
+ The filename of the &BibTeX; citations source file.
+ By default, this will be obtained from the content
+ of the process instruction, if present, or
+ otherwise from <xref
+ linkend="param.latex.bibfiles"/>.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>This PI is not part of &DocBook; and is only supported by &DB2LaTeX;
+ The formatting of the bibliography is performed by &LaTeX; and is not
+ configurable by &DB2LaTeX;.</para>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;: This template will use the <literal>bibliography-chapter</literal>
+ or <literal>bibliography-section</literal> mapping.</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="processing-instruction('bibtex-bibliography')">
+ <xsl:param name="makechapter" select="local-name(..)='book' or local-name(..)='part'"/>
+ <xsl:param name="filename">
+ <xsl:choose>
+ <xsl:when test="normalize-space(.)!=''">
+ <xsl:value-of select="."/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$latex.bibfiles"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:variable name="keyword">
+ <xsl:choose>
+ <xsl:when test="$makechapter">
+ <xsl:text>bibliography-chapter</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>bibliography-section</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="keyword" select="$keyword"/>
+ </xsl:call-template>
+ <xsl:text>\bibliography{</xsl:text><xsl:value-of select="$filename"/><xsl:text>}&#10;</xsl:text>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="keyword" select="$keyword"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>bibliodiv</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats subdivisions of bibliographies.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.biblio.output"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ &essential_preamble;
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_biblio;
+ &test_bind;
+ &test_book;
+ &test_cited;
+ &test_ieeebiblio;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="bibliodiv">
+ <xsl:param name="environment">
+ <xsl:variable name="parent" select="local-name(..)"/>
+ <xsl:choose>
+ <xsl:when test="starts-with($parent,'sect')">docbooktolatexbibliography</xsl:when>
+ <xsl:otherwise>thebibliography</xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <!--
+ <xsl:message>DB2LaTeX: Processing BIBLIOGRAPHY - BIBLIODIV</xsl:message>
+ -->
+ <xsl:text>&#10;\begin{docbooktolatexbibliography}{</xsl:text>
+ <xsl:value-of select="$latex.bibwidelabel"/>
+ <xsl:text>}{\</xsl:text>
+ <!-- TODO choose the correct nesting, rather than assuming subsection -->
+ <xsl:text>subsection</xsl:text>
+ <xsl:text>}{</xsl:text>
+ <xsl:apply-templates select="title|subtitle"/>
+ <xsl:text>}\hypertarget{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{}&#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.biblio.output ='cited'">
+ <xsl:apply-templates select="biblioentry" mode="bibliography.cited">
+ <xsl:sort select="./abbrev"/>
+ <xsl:sort select="./@xreflabel"/>
+ <xsl:sort select="./@id"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:when test="$latex.biblio.output ='all'">
+ <xsl:apply-templates select="biblioentry">
+ <xsl:sort select="./abbrev"/>
+ <xsl:sort select="./@xreflabel"/>
+ <xsl:sort select="./@id"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:text>&#10;\end{docbooktolatexbibliography}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="biblioentry" xmlns="">
+ <refpurpose>Process <doc:db>biblioentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Emits a bibiographic entry if the reference was cited in the document.
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <para>This template calls <xref linkend="template.biblioentry.output"/> to format the entry.</para>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="biblioentry" mode="bibliography.cited">
+ <xsl:param name="bibid" select="@id"/>
+ <xsl:param name="ab" select="abbrev"/>
+ <xsl:variable name="nx" select="//xref[@linkend=$bibid]"/>
+ <xsl:variable name="nc" select="//citation[text()=$ab]"/>
+ <xsl:if test="count($nx) &gt; 0 or count($nc) &gt; 0">
+ <xsl:call-template name="biblioentry.output"/>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template basename="biblioentry" xmlns="">
+ <refpurpose>Process <doc:db>biblioentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Emits a bibiographic entry unconditionally.
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <para>This template calls <xref linkend="template.biblioentry.output"/> to format the entry.</para>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="biblioentry" mode="bibliography.all">
+ <xsl:call-template name="biblioentry.output"/>
+ </xsl:template>
+
+ <doc:template basename="biblioentry" xmlns="">
+ <refpurpose>Process <doc:db>biblioentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Emits a bibiographic entry unconditionally.
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <para>This template calls <xref linkend="template.biblioentry.output"/> to format the entry.</para>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="biblioentry">
+ <xsl:call-template name="biblioentry.output"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Format <doc:db basename="biblioentry">biblioentries</doc:db></refpurpose>
+ <doc:description>
+ <para>
+ Formats a bibiographic entry.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.biblioentry.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <note>
+ <para>
+ This template does not apply to &BibTeX; bibliographies.
+ </para>
+ </note>
+ <para>
+ A <function condition="latex">bibitem</function> is emitted.
+ If can be linked via <doc:db>citation</doc:db> or <doc:db>xref</doc:db>.
+ The <doc:db>title</doc:db> will be formatted in italics, followed by
+ <xref linkend="param.biblioentry.item.separator"/>, the <doc:db>author</doc:db>
+ or <doc:db>authorgroup</doc:db>, and then the following elements separated
+ by <literal>biblioentry.item.separator</literal>:
+ <doc:db>copyright</doc:db>, <doc:db>publisher</doc:db>,
+ <doc:db>pubdate</doc:db>, <doc:db>pagenums</doc:db>,
+ <doc:db>isbn</doc:db>, <doc:db>editor</doc:db>,
+ <doc:db>releaseinfo</doc:db>.
+ </para>
+ <note>
+ <para>
+ All templates for all &DocBook; elements will be applied
+ with the <quote>bibliography.mode</quote> XSLT mode.
+ </para>
+ </note>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_biblio;
+ &test_bind;
+ &test_book;
+ &test_cited;
+ &test_ieeebiblio;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template name="biblioentry.output">
+ <xsl:variable name="biblioentry.label">
+ <xsl:choose>
+ <xsl:when test="@xreflabel">
+ <xsl:value-of select="normalize-space(@xreflabel)"/>
+ </xsl:when>
+ <xsl:when test="abbrev">
+ <xsl:apply-templates select="abbrev" mode="bibliography.mode"/>
+ </xsl:when>
+ <xsl:when test="@id">
+ <xsl:value-of select="normalize-space(@id)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- TODO is there any need for a warning? -->
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="biblioentry.id">
+ <xsl:choose>
+ <xsl:when test="abbrev">
+ <xsl:apply-templates select="abbrev" mode="bibliography.mode"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="generate.label.id"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:call-template name="biblioentry.output.format">
+ <xsl:with-param name="biblioentry.label" select="$biblioentry.label"/>
+ <xsl:with-param name="biblioentry.id" select="$biblioentry.id"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template name="biblioentry.output.format">
+ <xsl:param name="biblioentry.label"/>
+ <xsl:param name="biblioentry.id"/>
+ <xsl:choose>
+ <xsl:when test="$latex.biblioentry.style='ieee' or $latex.biblioentry.style='IEEE'">
+ <xsl:text>% -------------- biblioentry &#10;</xsl:text>
+ <xsl:text>\bibitem</xsl:text>
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$biblioentry.id"/>
+ <xsl:text>}\docbooktolatexbibaux{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:value-of select="$biblioentry.id"/>
+ <xsl:text>}&#10;\hypertarget{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:apply-templates select="author|authorgroup" mode="bibliography.mode"/>
+ <xsl:value-of select="$biblioentry.item.separator"/>
+ <xsl:text>\emph{</xsl:text> <xsl:apply-templates select="title" mode="bibliography.mode"/><xsl:text>}</xsl:text>
+ <xsl:for-each select="child::copyright|child::publisher|child::pubdate|child::pagenums|child::isbn">
+ <xsl:value-of select="$biblioentry.item.separator"/>
+ <xsl:apply-templates select="." mode="bibliography.mode"/>
+ </xsl:for-each>
+ <xsl:text>. </xsl:text>
+ <xsl:text>&#10;&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>% -------------- biblioentry &#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$biblioentry.label=''">
+ <xsl:text>\bibitem</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\bibitem[{</xsl:text>
+ <xsl:call-template name="normalize-scape">
+ <xsl:with-param name="string" select="$biblioentry.label"/>
+ </xsl:call-template>
+ <xsl:text>}]</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$biblioentry.id"/>
+ <xsl:text>}\docbooktolatexbibaux{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:value-of select="$biblioentry.id"/>
+ <xsl:text>}&#10;\hypertarget{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{\emph{</xsl:text> <xsl:apply-templates select="title" mode="bibliography.mode"/> <xsl:text>}}</xsl:text>
+ <xsl:value-of select="$biblioentry.item.separator"/>
+ <xsl:apply-templates select="author|authorgroup" mode="bibliography.mode"/>
+ <xsl:for-each select="child::copyright|child::publisher|child::pubdate|child::pagenums|child::isbn|child::editor|child::releaseinfo">
+ <xsl:value-of select="$biblioentry.item.separator"/>
+ <xsl:apply-templates select="." mode="bibliography.mode"/>
+ </xsl:for-each>
+ <xsl:text>.</xsl:text>
+ <xsl:text>&#10;&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="biblioentry.output.format.ieee">
+ </xsl:template>
+
+ <xsl:template match="abbrev" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <!--
+ <doc:template basename="abstract" match="abstract" mode="bibliography.mode" xmlns="">
+ <refpurpose>Process <doc:db>abstract</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Currently, <doc:db basename="abstract">abstracts</doc:db> are deleted
+ in <literal>bibliography.mode</literal>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>Abstracts are suppressed in &DB2LaTeX; bibliographies.</para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="abstract" mode="bibliography.mode"/>
+ -->
+
+ <xsl:template match="address" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="affiliation" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="authorblurb" mode="bibliography.mode"/>
+
+ <xsl:template match="artheader" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="artpagenums" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="author" mode="bibliography.mode">
+ <xsl:apply-templates select="."/>
+ </xsl:template>
+
+ <xsl:template match="authorgroup" mode="bibliography.mode">
+ <xsl:apply-templates select="."/>
+ </xsl:template>
+
+ <!-- basename="authorinitials" -->
+ <xsl:template match="authorinitials" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="bibliomisc" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="bibliomset" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="bibliomixed" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="biblioset" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="biblioset/title|biblioset/citetitle" mode="bibliography.mode">
+ <xsl:variable name="relation" select="../@relation"/>
+ <xsl:choose>
+ <xsl:when test="$relation='article'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:apply-templates/>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="bookbiblio" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="citetitle" mode="bibliography.mode">
+ <I><xsl:apply-templates mode="bibliography.mode"/></I>
+ </xsl:template>
+
+ <xsl:template match="collab" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="collabname" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="confgroup" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="confdates" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="conftitle" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="confnum" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="confsponsor" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="contractnum" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="contractsponsor" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="contrib" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="copyright" mode="bibliography.mode">
+ <xsl:call-template name="gentext.element.name"/>
+ <xsl:call-template name="gentext.space"/>
+ <xsl:call-template name="dingbat">
+ <xsl:with-param name="dingbat">copyright</xsl:with-param>
+ </xsl:call-template>
+ <xsl:call-template name="gentext.space"/>
+ <xsl:apply-templates select="year" mode="bibliography.mode"/>
+ <xsl:call-template name="gentext.space"/>
+ <xsl:apply-templates select="holder" mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="year" mode="bibliography.mode">
+ <xsl:apply-templates/><xsl:text>, </xsl:text>
+ </xsl:template>
+
+ <xsl:template match="year[position()=last()]" mode="bibliography.mode">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="holder" mode="bibliography.mode">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="corpauthor" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="corpname" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="date" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="edition" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="editor" mode="bibliography.mode">
+ <xsl:call-template name="person.name"/>
+ </xsl:template>
+
+ <xsl:template match="firstname" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="honorific" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="indexterm" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="invpartnumber" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="isbn" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="issn" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="issuenum" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="jobtitle" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="lineage" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="orgname" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="orgdiv" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="othercredit" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="othername" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="pagenums" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="printhistory" mode="bibliography.mode">
+ <!-- suppressed -->
+ </xsl:template>
+
+ <xsl:template match="productname" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="productnumber" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="pubdate" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="publisher" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="publishername" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="pubsnumber" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="releaseinfo" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="revhistory" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="seriesinfo" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="seriesvolnums" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="shortaffil" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="subtitle" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="surname" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="title" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="titleabbrev" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="volumenum" mode="bibliography.mode">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </xsl:template>
+
+ <xsl:template match="*" mode="bibliography.mode">
+ <xsl:apply-templates select="."/>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/block.mod.xsl b/docs/xslt/db2latex-xsl/xsl/block.mod.xsl
new file mode 100644
index 0000000000..5c80221ea4
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/block.mod.xsl
@@ -0,0 +1,396 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: block.mod.xsl,v 1.15 2004/01/26 09:44:38 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="block" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: block.mod.xsl,v 1.15 2004/01/26 09:44:38 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.6">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Block Objects <filename>block.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>block.mod.xsl</filename> contains the
+ XSL templates for sundry block-formatted components.</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ Generic handler for interior elements of block-formatted components
+ </refpurpose>
+ <doc:description>
+ <para>
+ Applies all templates, excluding from <doc:db>title</doc:db>-related
+ and <doc:db>blockinfo</doc:db>-like elements.
+ </para>
+ </doc:description>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>info</term>
+ <listitem>
+ <para>
+
+ The name of the &DocBook; <quote>info</quote>-type
+ element for this component. By default, this is equal
+ to the name of the component with <literal>info</literal>
+ appended. For example: <doc:db>sectioninfo</doc:db>
+ for <doc:db>section</doc:db>.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ </doc:template>
+
+ <xsl:template name="content-templates">
+ <xsl:param name="info" select="concat(local-name(.),'info')"/>
+ <xsl:apply-templates select="node()[not(self::title or self::subtitle or self::titleabbrev or self::blockinfo or self::docinfo or local-name(.)=$info)]"/>
+ </xsl:template>
+
+ <xsl:template name="content-templates-rootid">
+ <!--
+ <xsl:message>Rootid <xsl:value-of select="$rootid"/></xsl:message>
+ <xsl:message>local-name(.) <xsl:value-of select="local-name(.)"/></xsl:message>
+ <xsl:message>count(ancestor::*) <xsl:value-of select="count(ancestor::*)"/></xsl:message>
+ -->
+ <xsl:choose>
+ <xsl:when test="$rootid != '' and count(ancestor::*) = 0">
+ <xsl:variable name="node" select="key('id', $rootid)"/>
+ <xsl:message>count($node) <xsl:value-of select="count($node)"/></xsl:message>
+ <xsl:choose>
+ <xsl:when test="count($node) = 0">
+ <xsl:message terminate="yes">
+ <xsl:text>Root ID '</xsl:text>
+ <xsl:value-of select="$rootid"/>
+ <xsl:text>' not found in document.</xsl:text>
+ </xsl:message>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="$node"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="content-templates"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ Generic handler for block-formatted components
+ </refpurpose>
+ <doc:description>
+ <para>
+ Calls <xref linkend="template.label.id"/>,
+ applies templates for <doc:db>title</doc:db>,
+ then applies templates for content elements.
+ </para>
+ </doc:description>
+ </doc:template>
+
+ <xsl:template name="block.object">
+ <xsl:call-template name="label.id"/>
+ <xsl:apply-templates select="title"/>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:call-template name="content-templates"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ A quotation set off from the main text (not inline)
+ </refpurpose>
+ <doc:description>
+ <para>
+ Uses the &LaTeX; <function condition='env'>quote</function> environment.
+ If an attribution is present, it will be set at the end.
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><para><xref linkend="template.attribution-block.attribution"/></para></listitem>
+ <listitem><para>&mapping;</para></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+
+ <xsl:template match="blockquote">
+ <xsl:call-template name="map.begin"/>
+ <xsl:apply-templates/>
+ <xsl:apply-templates select="attribution" mode="block.attribution"/>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ A short inscription that occurs at the beginning of a section, chapter, or document
+ </refpurpose>
+ <doc:description>
+ <para>
+ Uses the &LaTeX; <function condition='env'>quote</function> environment.
+ If an attribution is present, it will be set at the end.
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><para><xref linkend="template.attribution-block.attribution"/></para></listitem>
+ <listitem><para>&mapping;</para></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+
+ <xsl:template match="epigraph">
+ <xsl:call-template name="map.begin"/>
+ <xsl:apply-templates/>
+ <xsl:apply-templates select="attribution" mode="block.attribution"/>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ This template produces no output
+ </refpurpose>
+ <doc:description>
+ <para>
+
+ The <doc:db>attribution</doc:db> element only occurs within <xref
+ linkend="template.blockquote"/> and <xref
+ linkend="template.epigraph"/>. However, the templates for those
+ elements use a <quote>mode</quote> mechanism. Therefore, this
+ template is intentionally suppressed and a replacement exists. See
+ <xref linkend="template.attribution-block.attribution"/> instead.
+
+ </para>
+ </doc:description>
+ </doc:template>
+
+ <xsl:template match="attribution"/>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ The source of a block quote or epigraph
+ </refpurpose>
+ <doc:description>
+ <para>
+ Starts a new line with right-aligned text preceded by an em dash.
+ </para>
+ </doc:description>
+ </doc:template>
+
+ <xsl:template match="attribution" mode="block.attribution">
+ <xsl:text>&#10;\hspace*\fill---</xsl:text>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ A block of text that is isolated from the main flow
+ </refpurpose>
+ <doc:description>
+ <para>
+ This is formatted as a plain block.
+ </para>
+ </doc:description>
+ <doc:notes>
+ <para>
+ This template should create sidebars (but it doesn't)!
+ </para>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><para><xref linkend="template.block.object"/></para></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+
+ <xsl:template match="sidebar">
+ <xsl:call-template name="block.object"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ Titles and subtitles
+ </refpurpose>
+ <doc:description>
+ <para>
+ Simply applies templates.
+ </para>
+ <para>
+
+ This is the default template, for <doc:db
+ basename="title">title</doc:db> and <doc:db
+ basename="subtitle">subtitles</doc:db>. The use of this
+ template is controlled by the template for closing elements,
+ which will often not apply templates for <sgmltag
+ class="starttag">subtitles</sgmltag>. Furthermore, there may be
+ templates to match <sgmltag class="starttag">titles</sgmltag>
+ in specific contexts (in which case this template will not be
+ used).
+
+ </para>
+ <para>
+
+ This template is also used by &mapping;.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.apply.title.templates"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.apply.title.templates.admonitions"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.formal.title.placement"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.maketitle"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.titlepage.file"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.formalpara.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.step.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.book.article.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.article.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.procedure.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.formalpara.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.figure.title.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><para>&mapping;</para></listitem>
+ <listitem><para><xref linkend="template.content-templates"/></para></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+
+ <xsl:template match="title|subtitle">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ Captions generated from <doc:db>title</doc:db>s
+ </refpurpose>
+ <doc:description>
+ <para>
+ Simply applies templates.
+ </para>
+ <para>
+ The formatting of titles in <literal>caption.mode</literal> may
+ depend on the enclosing element's template.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.formalpara.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.step.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.book.article.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.article.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.procedure.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.formalpara.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.figure.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.formal.title.placement"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.caption.swapskip"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.equation.caption.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.example.caption.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.figure.caption.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.table.caption.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Since captions may be incorporated into hyperlinks and
+ tables of cross references, <quote>anchor</quote>-type
+ elements should not be applied when in this mode.
+ </para>
+ </doc:notes>
+ </doc:template>
+
+ <xsl:template match="title|subtitle" mode="caption.mode">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>
+ Acknowledgements in an <doc:db>article</doc:db>
+ </refpurpose>
+ <doc:description>
+ <para>
+ This is formatted as a plain block by applying templates
+ with leading and trailing blank lines.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+
+ <xsl:template match="ackno">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template>
+ <refpurpose> Interpret a user's placement preferences for certain &LaTeX; floats </refpurpose>
+ <doc:notes>
+ <para>
+
+ This template should be invoked when the current node is a
+ <doc:db>figure</doc:db> or <doc:db>table</doc:db>. If a
+ <sgmltag class="attribute">condition</sgmltag> attribute exists
+ and begins with <quote>db2latex:</quote>, or a <sgmltag
+ class="pi">latex-float-placement</sgmltag> processing
+ instruction is present, the remainder of its value will be used
+ as the &LaTeX; <quote>float</quote> placement. Otherwise, the
+ default placement is determined by the element's template.
+
+ </para>
+ <para>
+
+ Currently, this template is used for <doc:db>figure</doc:db>s
+ and <doc:db>table</doc:db>s but not <doc:db>example</doc:db>s
+ or <doc:db>equation</doc:db>s.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="generate.latex.float.position">
+ <xsl:param name="default" select="'hbt'"/>
+ <xsl:choose>
+ <xsl:when test="processing-instruction('latex-float-placement')">
+ <xsl:value-of select="processing-instruction('latex-float-placement')"/>
+ </xsl:when>
+ <xsl:when test="starts-with(@condition, 'db2latex:')">
+ <xsl:value-of select="substring-after(@condition, 'db2latex:')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$default"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/book-article.mod.xsl b/docs/xslt/db2latex-xsl/xsl/book-article.mod.xsl
new file mode 100644
index 0000000000..8ee1ea318c
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/book-article.mod.xsl
@@ -0,0 +1,854 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: book-article.mod.xsl,v 1.41 2004/01/31 11:05:54 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="book-article" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: book-article.mod.xsl,v 1.41 2004/01/31 11:05:54 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.28">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Books and Articles <filename>book-article.mod.xsl</filename></title>
+ <partintro>
+
+ <para>
+
+ Most &DocBook; documents are either <doc:db
+ basename="article">articles</doc:db> or <doc:db
+ basename="book">books</doc:db>, so this XSL template file is a
+ classical entry point when processing &DocBook; documents.
+
+ </para>
+
+ <!--
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ -->
+ </partintro>
+ </doc:reference>
+
+ <doc:template basename="book" xmlns="">
+ <refpurpose>Process a &DocBook; <doc:db>book</doc:db> document</refpurpose>
+ <doc:description>
+ <para>
+ Entry point for <doc:db basename="book">books</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.book.afterauthor"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.toc.section.depth"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.section.depth"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.book.begindocument"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.titlepage.file"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.maketitle"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <!--
+ <doc:notes>
+ </doc:notes>
+ -->
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_defguide;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.generate.latex.book.preamble"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="book">
+ <!-- book:1: generate.latex.book.preamble -->
+ <xsl:call-template name="generate.latex.book.preamble"/>
+ <!-- book:2: output title information -->
+ <xsl:text>\title{</xsl:text>
+ <xsl:apply-templates select="title|bookinfo/title"/>
+ <xsl:apply-templates select="subtitle|bookinfo/subtitle"/>
+ <xsl:text>}&#10;</xsl:text>
+ <!-- book:3: output author information -->
+ <xsl:text>\author{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="bookinfo/authorgroup">
+ <xsl:apply-templates select="bookinfo/authorgroup"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:for-each select="bookinfo">
+ <xsl:call-template name="authorgroup"/>
+ </xsl:for-each>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}&#10;</xsl:text>
+ <!-- book:4: dump any preamble after author -->
+ <xsl:value-of select="$latex.book.afterauthor"/>
+ <!-- book:5: set some counters -->
+ <xsl:text>&#10;\setcounter{tocdepth}{</xsl:text><xsl:value-of select="$toc.section.depth"/><xsl:text>}&#10;</xsl:text>
+ <xsl:text>&#10;\setcounter{secnumdepth}{</xsl:text><xsl:value-of select="$section.depth"/><xsl:text>}&#10;</xsl:text>
+ <!-- book:6: dump the begin document command -->
+ <xsl:value-of select="$latex.book.begindocument"/>
+ <!-- book:7: include external Cover page if specified -->
+ <xsl:if test="$latex.titlepage.file != ''">
+ <xsl:text>&#10;\InputIfFileExists{</xsl:text><xsl:value-of select="$latex.titlepage.file"/>
+ <xsl:text>}{\typeout{WARNING: Using cover page </xsl:text>
+ <xsl:value-of select="$latex.titlepage.file"/>
+ <xsl:text>}}</xsl:text>
+ </xsl:if>
+ <!-- book:7b: maketitle and set up pagestyle -->
+ <xsl:value-of select="$latex.maketitle"/>
+ <!-- book:8: - APPLY TEMPLATES -->
+ <xsl:apply-templates select="bookinfo"/>
+ <xsl:call-template name="content-templates-rootid"/>
+ <!-- book:9: call map.end -->
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template basename="title" xmlns="">
+ <refpurpose>Process <doc:db>title</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Typesets a bold title.
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="book/title">\bfseries <xsl:apply-templates/></xsl:template>
+
+ <doc:template basename="subtitle" xmlns="">
+ <refpurpose>Process <doc:db>subtitle</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Typesets a bold subtitle, spaced 12pt from the preceding <doc:db>title</doc:db>.
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="book/subtitle">\\[12pt]\normalsize <xsl:apply-templates/></xsl:template>
+
+ <doc:template basename="title" xmlns="">
+ <refpurpose>Process <doc:db>title</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Typesets a bold title.
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="book/bookinfo/title">\bfseries <xsl:apply-templates/></xsl:template>
+
+ <doc:template basename="subtitle" xmlns="">
+ <refpurpose>Process <doc:db>subtitle</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Typesets a bold subtitle, spaced 12pt from the preceding <doc:db>title</doc:db>.
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="book/bookinfo/subtitle">\\[12pt]\normalsize <xsl:apply-templates/></xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>bookinfo</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Processes a <doc:db>book</doc:db>'s <doc:db>bookinfo</doc:db>
+ (will be invoked after the title page has been typeset).
+ </para>
+ </doc:description>
+ <doc:notes>
+ <para>
+
+ Only the <doc:db>revhistory</doc:db>,
+ <doc:db>abstract</doc:db>, <doc:db>keywordset</doc:db>,
+ <doc:db>copyright</doc:db> and <doc:db>legalnotice</doc:db> are
+ processed. Users may override this in their customisation
+ layer.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="book/bookinfo">
+ <xsl:apply-templates select="revhistory" />
+ <xsl:apply-templates select="copyright" />
+ <xsl:apply-templates select="keywordset" />
+ <xsl:apply-templates select="legalnotice" />
+ <xsl:apply-templates select="abstract" />
+ </xsl:template>
+
+ <doc:template basename="copyright" xmlns="">
+ <refpurpose>Process <doc:db>bookinfo</doc:db>'s <doc:db>copyright</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a block-style copyright.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:description>
+ <para>Calls <xref linkend="template.copyright"/>.</para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="bookinfo/copyright">
+ <xsl:text>\begin{center}</xsl:text>
+ <xsl:call-template name="copyright"/>
+ <xsl:text>\end{center}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="article" xmlns="">
+ <refpurpose>Process a <doc:db>book</doc:db>'s <doc:db>article</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Entry point for a <literal>book</literal>'s <doc:db basename="article">articles</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.book.article.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.book.article.header.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+ For double-sided books, each article will commence on a right-hand page.
+ </para>
+ <para>
+
+ This template will call upon the following variables or
+ templates in this order:
+ <literal>generate.latex.pagestyle</literal>,
+ <literal>title</literal> (or <doc:db>articleinfo</doc:db> or
+ <doc:db>artheader</doc:db>),
+ <literal>$latex.book.article.title.style</literal>,
+ <literal>date</literal> (from <literal>articleinfo</literal> or
+ <literal>artheader</literal>), <literal>authorgroup</literal>
+ or <literal>author</literal> (or <literal>articleinfo</literal>
+ or <literal>artheader</literal>),
+ <literal>$latex.book.article.header.style</literal>,
+ <literal>articleinfo</literal> or <literal>artheader</literal>
+ in the XSLT <literal>article.within.book</literal> mode,
+ <literal>content-templates</literal>.
+
+ </para>
+ </doc:notes>
+ <!--
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_defguide;
+ </simplelist>
+ </doc:samples>
+ -->
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.generate.latex.pagestyle"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.article/artheader|article/articleinfo-article.within.book"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <!--
+ <formalpara><title>Tasks</title>
+ <itemizedlist>
+ <listitem><para>Calls <literal>generate.latex.article.preamble</literal>.</para></listitem>
+ <listitem><para>Outputs \title, \author, \date, getting the information from its children.</para></listitem>
+ <listitem><para>Calls <literal>latex.article.begindocument</literal>.</para></listitem>
+ <listitem><para>Calls <literal>latex.article.maketitle.</literal></para></listitem>
+ <listitem><para>Applies templates.</para></listitem>
+ <listitem><para>Calls <literal>latex.article.end</literal> template.</para></listitem>
+ </itemizedlist>
+ </formalpara>
+ -->
+ <xsl:template match="book/article">
+ <xsl:text>&#10;\makeatletter\if@openright\cleardoublepage\else\clearpage\fi</xsl:text>
+ <xsl:call-template name="generate.latex.pagestyle"/>
+ <xsl:text>\makeatother&#10;</xsl:text>
+ <!-- Get and output article title -->
+ <xsl:variable name="article.title">
+ <xsl:choose>
+ <xsl:when test="./title">
+ <xsl:apply-templates select="./title"/>
+ </xsl:when>
+ <xsl:when test="./articleinfo/title">
+ <xsl:apply-templates select="./articleinfo/title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="./artheader/title"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:text>\begin{center}{</xsl:text>
+ <xsl:value-of select="$latex.book.article.title.style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$article.title"/>
+ <xsl:text>}}\par&#10;</xsl:text>
+ <!-- Display date information -->
+ <xsl:variable name="article.date">
+ <xsl:apply-templates select="./artheader/date|./articleinfo/date"/>
+ </xsl:variable>
+ <xsl:if test="$article.date!=''">
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$article.date"/>
+ <xsl:text>}\par&#10;</xsl:text>
+ </xsl:if>
+ <!-- Display author information -->
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$latex.book.article.header.style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="articleinfo/authorgroup">
+ <xsl:apply-templates select="articleinfo/authorgroup"/>
+ </xsl:when>
+ <xsl:when test="artheader/authorgroup">
+ <xsl:apply-templates select="artheader/authorgroup"/>
+ </xsl:when>
+ <xsl:when test="articleinfo/author">
+ <xsl:for-each select="artheader">
+ <xsl:call-template name="authorgroup"/>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:when test="artheader/author">
+ <xsl:for-each select="artheader">
+ <xsl:call-template name="authorgroup"/>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="authorgroup"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}}\par&#10;</xsl:text>
+ <xsl:apply-templates select="artheader|articleinfo" mode="article.within.book"/>
+ <xsl:text>\end{center}&#10;</xsl:text>
+ <xsl:call-template name="content-templates"/>
+ </xsl:template>
+
+ <doc:template basename="article" xmlns="">
+ <refpurpose>Process a &DocBook; <doc:db>article</doc:db> document</refpurpose>
+ <doc:description>
+ <para>
+ Entry point for <doc:db basename="article">articles</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.toc.section.depth"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.section.depth"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.article.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.maketitle"/></simpara></listitem>
+ <!--
+ <listitem><simpara><xref linkend="param.latex.article.begindocument"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.article.end"/></simpara></listitem>
+ -->
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ This template will call upon the following variables or
+ templates in this order:
+ <literal>generate.latex.article.preamble</literal>,
+ <literal>$toc.section.depth</literal>,
+ <literal>$section.depth</literal>,
+ <literal>title</literal> (or <doc:db>articleinfo</doc:db> or
+ <doc:db>artheader</doc:db>),
+ <literal>$latex.article.title.style</literal>,
+ <literal>date</literal> (from <literal>articleinfo</literal> or
+ <literal>artheader</literal>), <literal>authorgroup</literal>
+ or <literal>author</literal> (or <literal>articleinfo</literal>
+ or <literal>artheader</literal>), <literal>map.begin</literal>,
+ <literal>$latex.maketitle</literal>,
+ <literal>articleinfo</literal> or <literal>artheader</literal>,
+ <literal>content-templates</literal>,
+ <literal>map.end</literal>.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_minimal;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;: this template will use the <literal>article</literal> mappings.</simpara></listitem>
+ <listitem><simpara><xref linkend="template.article/artheader|article/articleinfo-standalone.article"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.generate.latex.article.preamble"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="article">
+ <xsl:call-template name="generate.latex.article.preamble"/>
+ <xsl:text>&#10;\setcounter{tocdepth}{</xsl:text><xsl:value-of select="$toc.section.depth"/><xsl:text>}&#10;</xsl:text>
+ <xsl:text>&#10;\setcounter{secnumdepth}{</xsl:text><xsl:value-of select="$section.depth"/><xsl:text>}&#10;</xsl:text>
+ <!-- Get and output article title -->
+ <xsl:variable name="article.title">
+ <xsl:choose>
+ <xsl:when test="./title">
+ <xsl:apply-templates select="./title"/>
+ </xsl:when>
+ <xsl:when test="./articleinfo/title">
+ <xsl:apply-templates select="./articleinfo/title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="./artheader/title"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:text>\title{</xsl:text>
+ <xsl:value-of select="$latex.article.title.style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$article.title"/>
+ <xsl:text>}}&#10;</xsl:text>
+ <!-- Display date information -->
+ <xsl:variable name="article.date">
+ <xsl:apply-templates select="./artheader/date|./articleinfo/date"/>
+ </xsl:variable>
+ <xsl:if test="$article.date!=''">
+ <xsl:text>\date{</xsl:text>
+ <xsl:value-of select="$article.date"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:if>
+ <!-- Display author information -->
+ <xsl:text>\author{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="articleinfo/authorgroup">
+ <xsl:apply-templates select="articleinfo/authorgroup"/>
+ </xsl:when>
+ <xsl:when test="artheader/authorgroup">
+ <xsl:apply-templates select="artheader/authorgroup"/>
+ </xsl:when>
+ <xsl:when test="articleinfo/author">
+ <xsl:for-each select="artheader">
+ <xsl:call-template name="authorgroup"/>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:when test="artheader/author">
+ <xsl:for-each select="artheader">
+ <xsl:call-template name="authorgroup"/>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="authorgroup"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}&#10;</xsl:text>
+ <!-- Display begindocument command -->
+ <xsl:call-template name="map.begin"/>
+ <xsl:value-of select="$latex.maketitle"/>
+ <xsl:apply-templates select="artheader|articleinfo" mode="standalone.article"/>
+ <xsl:call-template name="content-templates-rootid"/>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template basename="date" xmlns="">
+ <refpurpose>Process <doc:db>date</doc:db> in <doc:db>articleinfo</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <!--
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_defguide;
+ </simplelist>
+ </doc:samples>
+ -->
+ </doc:template>
+ <xsl:template match="articleinfo/date|artheader/date">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template basename="articleinfo" xmlns="">
+ <refpurpose>Process <doc:db>articleinfo</doc:db> in <doc:db>article</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates for <doc:db>legalnotice</doc:db> and <doc:db>abstract</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <!--
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_defguide;
+ </simplelist>
+ </doc:samples>
+ -->
+ </doc:template>
+ <xsl:template match="article/artheader|article/articleinfo" mode="standalone.article">
+ <xsl:apply-templates select="keywordset" />
+ <xsl:apply-templates select="legalnotice" />
+ <xsl:apply-templates select="abstract"/>
+ </xsl:template>
+
+ <xsl:template match="article/artheader|article/articleinfo"/>
+
+ <doc:template basename="articleinfo" xmlns="">
+ <refpurpose>Process <doc:db>articleinfo</doc:db> in <doc:db>article</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates for <doc:db>abstract</doc:db> and <doc:db>legalnotice</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <!--
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_defguide;
+ </simplelist>
+ </doc:samples>
+ -->
+ </doc:template>
+ <xsl:template match="article/artheader|article/articleinfo" mode="article.within.book">
+ <xsl:apply-templates select="abstract"/>
+ <xsl:apply-templates select="legalnotice" />
+ </xsl:template>
+
+ <doc:template basename="legalnotice" xmlns="">
+ <refpurpose>Process <doc:db>legalnotice</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Typesets legal notices.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <note>
+ <para>This should be done via the mapping system!</para>
+ </note>
+ <para>
+
+ For two-column documents, the <doc:db>title</doc:db> is
+ formatted in italics and followed immediately by the notice's
+ content. For single-column documents, the
+ <literal>title</literal> is formatted in bold, centred on a
+ line of its own, and the body of the legal notice is formatted
+ as an indented small-font quotation.
+
+ </para>
+ <para>
+ The <doc:db>blockinfo</doc:db> is not processed
+ (only the <doc:db>title</doc:db> is used).
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_entities;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.legalnotice.title"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="legalnotice">
+ <xsl:text>&#10;{\if@twocolumn&#10;</xsl:text>
+ <xsl:text>\noindent\small\textit{&#10;</xsl:text>
+ <xsl:call-template name="legalnotice.title"/>
+ <xsl:text>}\/\bfseries---$\!$%&#10;</xsl:text>
+ <xsl:text>\else&#10;</xsl:text>
+ <xsl:text>\noindent\begin{center}\small\bfseries &#10;</xsl:text>
+ <xsl:call-template name="legalnotice.title"/>
+ <xsl:text>\end{center}\begin{quote}\small&#10;</xsl:text>
+ <xsl:text>\fi&#10;</xsl:text>
+ <xsl:call-template name="content-templates"/>
+ <xsl:text>\vspace{0.6em}\par\if@twocolumn\else\end{quote}\fi}&#10;</xsl:text>
+ <!--
+ <xsl:text>\normalsize\rmfamily&#10;</xsl:text>
+ -->
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Choose a title for <doc:db basename="legalnotice">legalnotices</doc:db> </refpurpose>
+ <doc:description>
+ <para>
+ Typesets a title.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ Will look for
+ <doc:db>blockinfo</doc:db>/<doc:db>title</doc:db>,
+ <doc:db>legalnotice</doc:db>/<doc:db>title</doc:db>
+ or a <quote>gentext</quote> title
+ (the first of the three will be used).
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <para>See <xref linkend="template.legalnotice"/></para>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.legalnotice.title"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="legalnotice.title">
+ <xsl:param name="title" select="blockinfo/title|title"/>
+ <xsl:choose>
+ <xsl:when test="count($title)>0">
+ <xsl:apply-templates select="$title[1]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key">legalnotice</xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template basename="toc" xmlns="">
+ <refpurpose> Generate and typeset a <doc:db>toc</doc:db> </refpurpose>
+ <doc:description>
+ <para>
+ Produce a chapter-level table of contents in &LaTeX;.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ This template ignores its contents and instead invokes the
+ &LaTeX; <function condition="latex">tableofcontents</function>
+ command. You will need to run your typesetter at least twice,
+ and possibly three times, to have the table of contents
+ generated normally. The headers, footers, and chapter title
+ will be generated by &LaTeX;.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_lot;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.latex.noparskip"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.restoreparskip"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="toc" name="toc">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:call-template name="latex.noparskip"/>
+ <xsl:choose>
+ <xsl:when test="$latex.use.hyperref=1">
+ <xsl:text>
+\makeatletter
+\def\dbtolatex@contentsid{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}
+\let\dbtolatex@@contentsname\contentsname
+\newif\ifdocbooktolatexcontentsname\docbooktolatexcontentsnametrue
+\def\dbtolatex@contentslabel{%
+ \label{\dbtolatex@contentsid}\hypertarget{\dbtolatex@contentsid}{\dbtolatex@@contentsname}%
+ \global\docbooktolatexcontentsnamefalse}
+\def\contentsname{\ifdocbooktolatexcontentsname\dbtolatex@contentslabel\else\dbtolatex@@contentsname\fi}
+\tableofcontents
+\let\contentsname\dbtolatex@@contentsname
+\Hy@writebookmark{}{\dbtolatex@@contentsname}{\dbtolatex@contentsid}{0}{toc}%
+\makeatother
+ </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\tableofcontents&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:call-template name="latex.restoreparskip"/>
+ </xsl:template>
+
+ <doc:template basename="toc" xmlns="">
+ <refpurpose> Generate and typeset a <doc:db>toc</doc:db> </refpurpose>
+ <doc:description>
+ <para>
+ Produce a chapter-level table of contents in &LaTeX;.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>prefer</term>
+ <listitem>
+ <para>
+
+ &LaTeX; can provide <function
+ condition="latex">listoffigures</function> and
+ <function condition="latex">listoftables</function>
+ by default. This parameter allows you to select
+ which should be used. Recognised values are
+ <quote>figures</quote> and <quote>tables</quote>.
+ If the value is empty or not recognised, both lists
+ will be output. By default, the value of the
+ current node's non-empty <sgmltag
+ class="attribute">condition</sgmltag>, <sgmltag
+ class="attribute">role</sgmltag> or <sgmltag
+ class="attribute">label</sgmltag> attribute will be
+ used.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ This template ignores its contents and instead invokes the
+ &LaTeX; <function condition="latex">listoffigures</function> or
+ <function condition="latex">listoftables</function> commands.
+ You will need to run your typesetter at least twice, and
+ possibly three times, to have the table of contents generated
+ normally. The headers, footers, and chapter title will be
+ generated by &LaTeX;.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_lot1;
+ &test_lot2;
+ &test_lot3;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.bridgehead.in.lot"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.noparskip"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.restoreparskip"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="lot" name="lot">
+ <xsl:param name="prefer">
+ <xsl:choose>
+ <xsl:when test="@condition!=''">
+ <xsl:value-of select="@condition"/>
+ </xsl:when>
+ <xsl:when test="@role!=''">
+ <xsl:value-of select="@role"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@label"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:call-template name="latex.noparskip"/>
+ <xsl:choose>
+ <xsl:when test="$prefer='figures'">
+ <xsl:text>\listoffigures&#10;</xsl:text>
+ </xsl:when>
+ <xsl:when test="$prefer='tables'">
+ <xsl:text>\listoftables&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\listoffigures&#10;</xsl:text>
+ <xsl:text>\listoftables&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:call-template name="latex.restoreparskip"/>
+ </xsl:template>
+
+<!--
+ <xsl:template match="lotentry">
+ </xsl:template>
+
+ <xsl:template match="lotentry"/>
+ <xsl:template match="tocpart|tocchap|tocfront|tocback|tocentry"/>
+ <xsl:template match="toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/>
+-->
+
+ <doc:template xmlns="">
+ <refpurpose> Choose the preferred page style for document body </refpurpose>
+ <doc:description>
+ <para>
+
+ If no page style is preferred by the user, the defaults will be
+ <literal>empty</literal> for <doc:db
+ basename="article">articles</doc:db>, <literal>plain</literal>
+ for <doc:db basename="book">books</doc:db>, or
+ <literal>fancy</literal> (if the &LaTeX;
+ <productname>fancyhdr</productname> package is permitted).
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.pagestyle"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.fancyhdr"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ The &LaTeX; <function condition="latex">pagestyle</function>
+ command is used to effect the page style.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="generate.latex.pagestyle">
+ <xsl:text>\pagestyle{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.pagestyle!=''">
+ <xsl:value-of select="$latex.pagestyle"/>
+ </xsl:when>
+ <xsl:when test="count(//book)&gt;0">
+ <xsl:choose>
+ <xsl:when test="$latex.use.fancyhdr=1"><xsl:text>fancy</xsl:text></xsl:when>
+ <xsl:otherwise><xsl:text>plain</xsl:text></xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise><xsl:text>empty</xsl:text></xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/bridgehead.mod.xsl b/docs/xslt/db2latex-xsl/xsl/bridgehead.mod.xsl
new file mode 100644
index 0000000000..bef74a2bca
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/bridgehead.mod.xsl
@@ -0,0 +1,120 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: bridgehead.mod.xsl,v 1.12 2004/01/11 11:35:25 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="bridgehead" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: bridgehead.mod.xsl,v 1.12 2004/01/11 11:35:25 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.10">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Free-floating Headings <filename>bridgehead.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>bridgehead.mod.xsl</filename> contains the
+ XSL template for <doc:db>bridgehead</doc:db>.</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template basename="bridgehead" xmlns="">
+ <refpurpose>Process <doc:db>bridgehead</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Free-floating headings for <doc:db
+ basename="bridgehead">bridgeheads</doc:db> elements. Renders
+ un-numbered section headings.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>renderas</term>
+ <listitem><simpara>The sectioning level to be emulated (e.g. <quote>1</quote> for <doc:db>sect1</doc:db>). Chooses the current node's <literal>@renderas</literal> attribute by default.</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>content</term>
+ <listitem><simpara>The content that forms the bridgehead text. By default, normal templates will be applied for the current node.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ The emulation of section headings is achieved through the
+ normal &latex; section commands such as
+ <function condition="latex">section</function>, <function condition="latex">subsection</function>,
+ and so forth. However, levels above three (3) will be typeset
+ with the &latex; <function condition="latex">paragraph*</function> command.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_subfig;
+ &test_tables;
+ </simplelist>
+ </doc:samples>
+ <!--
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ -->
+ </doc:template>
+ <xsl:template match="bridgehead" name="bridgehead">
+ <xsl:param name="renderas" select="@renderas"/>
+ <xsl:param name="content"><xsl:apply-templates/></xsl:param>
+ <xsl:choose>
+ <xsl:when test="$renderas='sect1' or $renderas='sect2' or $renderas='sect3'">
+ <xsl:text>&#10;\</xsl:text>
+ <xsl:if test="$renderas='sect2'"><xsl:text>sub</xsl:text></xsl:if>
+ <xsl:if test="$renderas='sect3'"><xsl:text>subsub</xsl:text></xsl:if>
+ <xsl:text>section*{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <!--
+ <xsl:text>&#10;&#10;</xsl:text>
+ <xsl:text>\vspace{1em}\noindent{\bfseries </xsl:text><xsl:copy-of select="$content"/><xsl:text>}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>\par\noindent&#10;</xsl:text>
+ -->
+ <xsl:text>&#10;\paragraph*{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>&#10;&#10;\noindent&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/callout.mod.xsl b/docs/xslt/db2latex-xsl/xsl/callout.mod.xsl
new file mode 100644
index 0000000000..c671d30b7d
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/callout.mod.xsl
@@ -0,0 +1,884 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: callout.mod.xsl,v 1.10 2004/01/14 14:54:32 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="callout" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: callout.mod.xsl,v 1.10 2004/01/14 14:54:32 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.5">&rev_2003_05;</doc:revision>
+ <doc:revision rcasver="1.6">
+ <date>January 2004</date>
+ <revremark>Added callout support.</revremark>
+ </doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Callouts <filename>callout.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ These template use the concept of an <quote>areamark</quote>, an
+ <quote>arearef</quote> and an <quote>areasymbol</quote>. An areamark
+ is a way of illustrating a callout area as part of an image or
+ listing. An arearef is a way of illustrating a callout area as part of
+ a callout list. By default, the areamark and the arearef are both
+ represented by the areasymbol. (Aside: that the areamark is drawn
+ first.) This system allows opens the possibility for an areamark to
+ draw a box around an area in addition to displaying the areasymbol.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose> Essential preamble for <filename>callout.mod.xsl</filename> support </refpurpose>
+ <doc:description>
+ <para>
+
+ Loads the <productname>overpic</productname> packages and
+ defines <function condition="latex">calsscale</function>
+ and <function condition="latex">calspair</function> (which
+ are used to convert <quote>calspair</quote> coordinates into
+ <productname>overpic</productname> percent-style coordinates.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <variablelist>
+ <varlistentry>
+ <term><xref linkend="param.latex.use.overpic"/></term>
+ <listitem><simpara>
+ Whether to enable this preamble or not.
+ If 0, callouts will cause &LaTeX; errors.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&preamble;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="latex.preamble.essential.callout">
+ <xsl:if test="$latex.use.overpic=1 and //callout">
+ <xsl:text>
+ <![CDATA[
+\usepackage[percent]{overpic}
+\newdimen\dblatex@ascale \newdimen\dblatex@bscale
+\newdimen\dblatex@adimen \newdimen\dblatex@bdimen
+\newdimen\dblatex@cdimen \newdimen\dblatex@ddimen
+\newcommand{\calsscale}{%
+ \ifnum\@tempcnta>\@tempcntb%
+ \dblatex@ascale=1pt%
+ \dblatex@bscale=\@tempcntb pt%
+ \divide\dblatex@bscale by \@tempcnta%
+ \else%
+ \dblatex@bscale=1 pt%
+ \dblatex@ascale=\@tempcnta pt%
+ \divide\dblatex@ascale by \@tempcntb%
+ \fi%
+}
+\newcommand{\calspair}[3]{
+ \sbox{\z@}{#3}
+ \settowidth{\dblatex@cdimen}{\usebox{\z@}}
+ \settoheight{\dblatex@ddimen}{\usebox{\z@}}
+ \divide\dblatex@cdimen by 2
+ \divide\dblatex@ddimen by 2
+ \dblatex@adimen=#1 pt \dblatex@adimen=\strip@pt\dblatex@ascale\dblatex@adimen
+ \dblatex@bdimen=#2 pt \dblatex@bdimen=\strip@pt\dblatex@bscale\dblatex@bdimen
+ \put(\strip@pt\dblatex@adimen,\strip@pt\dblatex@bdimen){\hspace{-\dblatex@cdimen}\raisebox{-\dblatex@ddimen}{\usebox{\z@}}}
+}
+]]>
+ </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>programlistingco</doc:db> and <doc:db>screenco</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="programlistingco|screenco">
+ <xsl:apply-templates select="programlisting|screen|calloutlist"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>areaset</doc:db>-related elements</refpurpose>
+ <doc:description>
+ <para>
+ Suppressed (<doc:db>area</doc:db> templates are applied by
+ <xref linkend="template.imagedata"/>).
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="areaspec|areaset"/>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>co</doc:db>-related elements</refpurpose>
+ <doc:description>
+ <para>
+ Print a callout number as a parenthesis.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>This template is probably never applied, because
+ we can't yet handled <doc:db basename="co">cos</doc:db>
+ in verbatim environments.</para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="co">
+ <xsl:variable name="conum">
+ <xsl:number count="co" format="1"/>
+ </xsl:variable>
+ <xsl:text>(</xsl:text>
+ <xsl:value-of select="$conum"/>
+ <xsl:text>)</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>calloutlist</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="calloutlist">
+ <xsl:apply-templates select="./title"/>
+ <xsl:text>&#10;\begin{description}&#10;</xsl:text>
+ <xsl:apply-templates select="callout"/>
+ <xsl:text>\end{description}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process titles for <doc:db>calloutlist</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Formats a title.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <variablelist>
+ <varlistentry>
+ <term><xref linkend="param.latex.list.title.style"/></term>
+ <listitem><simpara>
+ The &LaTeX; command for formatting titles.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>style</term>
+ <listitem><simpara>The &LaTeX; command to use. Defaults to
+ <xref linkend="param.latex.list.title.style"/>.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+ Applies templates as a paragraph, formatted with the specified style.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="calloutlist/title">
+ <xsl:param name="style" select="$latex.list.title.style"/>
+ <xsl:text>&#10;{</xsl:text>
+ <xsl:value-of select="$style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="callout" xmlns="">
+ <refpurpose>Process <doc:db>callout</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats arearefs as an <function condition="latex">item</function>,
+ then applies templates. Since there may be multiple IDs specified
+ in the <sgmltag class="attribute">arearefs</sgmltag> attribute,
+ the <xref linkend="template.generate.callout.arearefs"/> template is
+ called recursively to generate the arearefs.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="callout">
+ <xsl:text>\item[{</xsl:text>
+ <xsl:call-template name="generate.callout.arearefs"/>
+ <xsl:text>}]\null{}&#10;</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Determine a <doc:db>callout</doc:db>'s arearefs</refpurpose>
+ <doc:description>
+ <para>
+ Splits the arearef attribute on whitespace, then
+ constructs a list of references by applying templates
+ in <quote>generate.callout.arearef</quote> mode.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ The current node must be a <doc:db>callout</doc:db>.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="generate.callout.arearefs">
+ <xsl:param name="arearefs" select="normalize-space(@arearefs)"/>
+ <xsl:param name="count" select="1"/>
+ <xsl:if test="$arearefs!=''">
+ <xsl:choose>
+ <xsl:when test="substring-before($arearefs,' ')=''">
+ <xsl:apply-templates select="." mode="generate.callout.arearef">
+ <xsl:with-param name="arearef" select="$arearefs"/>
+ <xsl:with-param name="count" select="$count"/>
+ <xsl:with-param name="last" select="true()"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="generate.callout.arearef">
+ <xsl:with-param name="arearef" select="substring-before($arearefs,' ')"/>
+ <xsl:with-param name="count" select="$count"/>
+ <xsl:with-param name="last" select="false()"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:call-template name="generate.callout.arearefs">
+ <xsl:with-param name="arearefs" select="substring-after($arearefs,' ')"/>
+ <xsl:with-param name="count" select="$count + 1"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Format a <doc:db>callout</doc:db>'s arearefs</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates in <quote>generate.callout.arearef</quote> mode.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>arearef</term>
+ <listitem><simpara>
+ The ID of the <doc:db>area</doc:db> to which a <doc:db>callout</doc:db>
+ refers.
+ </simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>area</term>
+ <listitem><simpara>
+ The <doc:db>area</doc:db> object to which a <doc:db>callout</doc:db>
+ refers. By default, this searches for a area whose <sgmltag
+ class="attribute">id</sgmltag> attribute equals the
+ <literal>arearef</literal> parameter.
+ </simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>count</term>
+ <listitem><simpara>
+ The position of this reference in the list of references
+ used by a given <doc:db>callout</doc:db>. Influences
+ delimiters for list items.
+ </simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>last</term>
+ <listitem><simpara>
+ Whether this area reference is the last one for a given
+ <doc:db>callout</doc:db>. Influences delimiters for list
+ items.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+ Formats a reference for a single arearef. This is performed by
+ applying templates for the <doc:db>area</doc:db> in
+ <quote>generate.area.arearef</quote> mode.
+ </para>
+ <para>
+ The current node must be a <doc:db>callout</doc:db>.
+ </para>
+ <para>
+ Uses the <quote>naturalinlinelist</quote> localisation context.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="callout" mode="generate.callout.arearef">
+ <xsl:param name="arearef" select="@arearefs"/>
+ <xsl:param name="area" select="key('id', $arearef)"/>
+ <xsl:param name="last" select="false()"/>
+ <xsl:param name="count" select="1"/>
+ <xsl:variable name="first" select="$count=1"/>
+ <xsl:choose>
+ <xsl:when test="$first">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'naturalinlinelist'"/>
+ <xsl:with-param name="name" select="'start'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$last">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'naturalinlinelist'"/>
+ <xsl:with-param name="name">
+ <xsl:choose>
+ <xsl:when test="$count &gt; 2">
+ <xsl:text>lastofmany</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>lastoftwo</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'naturalinlinelist'"/>
+ <xsl:with-param name="name" select="'middle'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="$area">
+ <xsl:apply-templates select="$area" mode="generate.area.arearef"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>?</xsl:text>
+ <xsl:message>
+ <xsl:text>Error: no ID for constraint arearefs: </xsl:text>
+ <xsl:value-of select="$arearef"/>
+ <xsl:text>.</xsl:text>
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$last">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'naturalinlinelist'"/>
+ <xsl:with-param name="name" select="'end'"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template basename="area" xmlns="">
+ <refpurpose>Illustrate a reference to a callout's area</refpurpose>
+ <doc:description>
+ <para>
+ Formats an <doc:db>area</doc:db> as part of a
+ callout list.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ The current node must be an <doc:db>area</doc:db>.
+ </para>
+ <para>
+ Applies templates in the <quote>generate.arearef.calspair</quote>,
+ <quote>generate.arearef.linerange</quote> and
+ <quote>generate.arearef</quote> modes.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="area" mode="generate.area.arearef">
+ <xsl:variable name="units">
+ <xsl:choose>
+ <xsl:when test="@units!=''">
+ <xsl:value-of select="@units"/>
+ </xsl:when>
+ <xsl:when test="../@units!=''">
+ <xsl:value-of select="../@units"/>
+ </xsl:when>
+ <xsl:when test="../../@units!=''">
+ <xsl:value-of select="../../@units"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$units='calspair'">
+ <xsl:apply-templates select="." mode="generate.arearef.calspair"/>
+ </xsl:when>
+ <xsl:when test="$units='linerange'">
+ <xsl:apply-templates select="." mode="generate.arearef.linerange"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="generate.arearef">
+ <xsl:with-param name="units" select="$units"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template basename="area" xmlns="">
+ <refpurpose>Illustrate a reference to a callout's area</refpurpose>
+ <doc:description>
+ <para>
+ Formats an <doc:db>area</doc:db> as part of a
+ callout list.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ This is a fallback template for unknown units.
+ It does not format an arearef but instead prints
+ an error message.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="area" mode="generate.arearef">
+ <xsl:param name="units"/>
+ <xsl:message>Error: unsupported arearef units <xsl:value-of select="$units"/>.</xsl:message>
+ </xsl:template>
+
+ <doc:template basename="area" xmlns="">
+ <refpurpose>Illustrate a reference to a callout's area</refpurpose>
+ <doc:description>
+ <para>
+ Formats calspair units for a callout list.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.area-generate.area.areasymbol"/>.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="area" mode="generate.arearef.calspair">
+ <xsl:apply-templates select="." mode="generate.area.areasymbol"/>
+ </xsl:template>
+
+ <doc:template basename="area" xmlns="">
+ <refpurpose>Illustrate a reference to a callout's area</refpurpose>
+ <doc:description>
+ <para>
+ Formats linerange units for a callout list.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Formats a line range numerically, condensing the line range
+ down to a single line reference if the starting line is the
+ same as the finishing line.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="area" mode="generate.arearef.linerange">
+ <xsl:choose>
+ <xsl:when test="not(contains(@coords, ' '))">
+ <xsl:value-of select="@coords"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="start" select="substring-before(@coords, ' ')"/>
+ <xsl:variable name="finish" select="substring-after(@coords, ' ')"/>
+ <xsl:choose>
+ <xsl:when test="$start=$finish">
+ <xsl:value-of select="$start"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from" select="' '"/>
+ <xsl:with-param name="to" select="'--'"/>
+ <xsl:with-param name="string" select="@coords"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template basename="area" xmlns="">
+ <refpurpose>Illustrate a callout's area as part of an image or listing</refpurpose>
+ <doc:description>
+ <para>
+ Formats an <doc:db>area</doc:db> as part of a
+ displayed image or listing.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Applies templates in the <quote>generate.area.areamark</quote> mode.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="area">
+ <xsl:apply-templates select="." mode="generate.area.areamark"/>
+ </xsl:template>
+
+ <doc:template basename="area" xmlns="">
+ <refpurpose>Illustrate a callout's area as part of an image or listing</refpurpose>
+ <doc:description>
+ <para>
+ Formats an <doc:db>area</doc:db> as part of a
+ displayed image or listing.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Applies templates in the <quote>generate.areamark.calspair</quote> or
+ <quote>generate.areamark</quote> modes.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="area" mode="generate.area.areamark">
+ <xsl:variable name="units">
+ <xsl:choose>
+ <xsl:when test="@units!=''">
+ <xsl:value-of select="@units"/>
+ </xsl:when>
+ <xsl:when test="../@units!=''">
+ <xsl:value-of select="../@units"/>
+ </xsl:when>
+ <xsl:when test="../../@units!=''">
+ <xsl:value-of select="../../@units"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$units='calspair'">
+ <xsl:apply-templates select="." mode="generate.areamark.calspair"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="generate.areamark">
+ <xsl:with-param name="units" select="$units"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template basename="area" xmlns="">
+ <refpurpose>Illustrate a callout's area as part of an image or listing</refpurpose>
+ <doc:description>
+ <para>
+ Formats an <doc:db>area</doc:db> as part of a
+ displayed image or listing.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ This is a fallback template for unknown units.
+ It does not format an areamark but instead prints
+ an error message.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="area" mode="generate.areamark">
+ <xsl:param name="units"/>
+ <xsl:message>Error: unsupported areamark units <xsl:value-of select="$units"/>.</xsl:message>
+ </xsl:template>
+
+ <doc:template basename="area" xmlns="">
+ <refpurpose>Illustrate a callout's area as part of an image or listing</refpurpose>
+ <doc:description>
+ <para>
+ Formats calspair units for a displayed image or listing.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Converts calspair coordinates relative to the width and height of the
+ displayed image area. Will understand "x1,y1 x2,y2" and also "x1 y1".
+ In the former case, the drawing location is moved to the centre of
+ the implied rectangle. Templates are then applied in the
+ <quote>generate.area.areasymbol</quote> mode.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="area" mode="generate.areamark.calspair">
+ <xsl:choose>
+ <xsl:when test="not(contains(@coords, ' '))">
+ <xsl:message>Error: invalid calspair '<xsl:value-of select="@coords"/>'.</xsl:message>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="x1y1">
+ <xsl:value-of select="substring-before(@coords, ' ')"/>
+ </xsl:variable>
+ <xsl:variable name="x1">
+ <xsl:choose>
+ <xsl:when test="contains($x1y1, ',')">
+ <xsl:value-of select="substring-before($x1y1, ',')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$x1y1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="y1">
+ <xsl:choose>
+ <xsl:when test="contains($x1y1, ',')">
+ <xsl:value-of select="substring-after($x1y1, ',')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="''"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="x2y2">
+ <xsl:value-of select="substring-after(@coords, ' ')"/>
+ </xsl:variable>
+ <xsl:variable name="y2">
+ <xsl:choose>
+ <xsl:when test="contains($x2y2, ',')">
+ <xsl:value-of select="substring-after($x2y2, ',')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$x2y2"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="x2">
+ <xsl:choose>
+ <xsl:when test="contains($x2y2, ',')">
+ <xsl:value-of select="substring-before($x2y2, ',')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="''"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:text>\calspair{</xsl:text>
+ <!-- choose horizontal coordinate -->
+ <xsl:choose>
+ <xsl:when test="$x1 != '' and $x2 != ''">
+ <xsl:value-of select="(number($x1)+number($x2)) div 200"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="number(concat($x1, $x2)) div 100"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}{</xsl:text>
+ <!-- choose vertical coordinate -->
+ <xsl:choose>
+ <xsl:when test="$y1 != '' and $y2 != ''">
+ <xsl:value-of select="(number($y1)+number($y2)) div 200"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="number(concat($y1, $y2)) div 100"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}{</xsl:text>
+ <xsl:apply-templates select="." mode="generate.area.areasymbol"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template basename="area" xmlns="">
+ <refpurpose>Illustrate a callout's area as part of an image or listing</refpurpose>
+ <doc:description>
+ <para>
+ Formats an <doc:db>area</doc:db> as an overlay
+ on an image or listing.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ If the area has a <sgmltag class="attribute">label</sgmltag>
+ attribute, it is used as raw &LaTeX; code.
+ </para>
+ <para>
+ If the area has a linkends attribute, templates are
+ applied for the first linkend using
+ <quote>generate.callout.areasymbol</quote> mode.
+ It is implicit in this scenario that an arearef
+ and an areamark will both consist of an identical
+ icon for an area.
+ </para>
+ <para>
+ If none of the above were performed, an asterisk is printed.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="area" mode="generate.area.areasymbol">
+ <xsl:param name="linkends" select="normalize-space(@linkends)"/>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ </xsl:when>
+ <xsl:when test="$linkends!=''">
+ <xsl:variable name="linkend">
+ <xsl:choose>
+ <xsl:when test="contains($linkends, ' ')">
+ <xsl:value-of select="substring-before($linkends, ' ')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$linkends"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="target" select="key('id', $linkend)"/>
+ <xsl:choose>
+ <xsl:when test="count($target)&gt;0">
+ <xsl:for-each select="$target">
+ <xsl:apply-templates select="." mode="generate.callout.areasymbol">
+ <xsl:with-param name="arearef" select="generate-id(current())"/>
+ <xsl:with-param name="area" select="current()"/>
+ </xsl:apply-templates>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>?</xsl:text>
+ <xsl:message>
+ <xsl:text>Error: no ID for constraint linkends: </xsl:text>
+ <xsl:value-of select="$linkends"/>
+ <xsl:text>.</xsl:text>
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>*</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template basename="callout" xmlns="">
+ <refpurpose>Illustrate a callout's area as part of an image or listing</refpurpose>
+ <doc:description>
+ <para>
+ Illustrates an <doc:db>area</doc:db> as part of a
+ displayed image or listing.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Prints the numeric position of the <doc:db>callout</doc:db> within its <doc:db>calloutlist</doc:db>.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="callout" mode="generate.callout.areasymbol">
+ <xsl:number count="callout" format="1"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>mediaobjectco</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="mediaobjectco">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:apply-templates select="imageobjectco"/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>imageobjectco</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="imageobjectco">
+ <xsl:apply-templates select="imageobject"/>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:apply-templates select="calloutlist"/>
+ </xsl:template>
+
+ <doc:template basename="imageobject" xmlns="">
+ <refpurpose>Process a <doc:db>imageobjectco</doc:db>'s <doc:db>imageobject</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates for <doc:db>imagedata</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="imageobjectco/imageobject">
+ <xsl:apply-templates select="imagedata">
+ <xsl:with-param name="is.imageobjectco" select="true()"/>
+ </xsl:apply-templates>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/citation.mod.xsl b/docs/xslt/db2latex-xsl/xsl/citation.mod.xsl
new file mode 100644
index 0000000000..da9ffe5fb9
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/citation.mod.xsl
@@ -0,0 +1,132 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: citation.mod.xsl,v 1.6 2003/12/29 01:30:32 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+
+ <doc:reference id="citation" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: citation.mod.xsl,v 1.6 2003/12/29 01:30:32 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.6">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Citations <filename>citation.mod.xsl</filename></title>
+ <partintro>
+
+ <para>This file contains a single XSL template that maps <doc:db
+ basename="citation">citations</doc:db> to the &LaTeX;
+ <function condition="latex">cite{}</function>. command.</para>
+
+ </partintro>
+ </doc:reference>
+
+ <doc:template basename="citation" xmlns="">
+ <refpurpose> Process <doc:db>citation</doc:db> elements </refpurpose>
+ <doc:description>
+
+ <para>
+
+ Outputs a <function condition="latex">cite{...}</function> command
+ using the text value of the <doc:db>citation</doc:db>.
+
+ </para>
+
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ &essential_preamble;
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_cited;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+
+ <xsl:template match="citation">
+ <!-- todo: biblio-citation-check -->
+ <xsl:text>\docbooktolatexcite{</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>}{}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Essential preamble for <filename>citation.mod.xsl</filename> support </refpurpose>
+ <doc:description>
+ <para>
+
+ Defines <function
+ condition="latex">docbooktolatexcite</function>. This function
+ helps to integrate <doc:db>bibioentry</doc:db>/@<sgmltag
+ class="attribute">id</sgmltag> and
+ <doc:db>bibioentry</doc:db>/<doc:db>abbrev</doc:db> with
+ &LaTeX;.
+ Also defines <function condition="latex">docbooktolatexbackcite</function>
+ for compatability with <productname>hyperref</productname>'s
+ <productname>backref</productname> functionality.
+
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&preamble;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+
+ <xsl:template name="latex.preamble.essential.citation">
+ <xsl:text>
+ <![CDATA[
+%\usepackage{cite}
+%\renewcommand\citeleft{(} % parentheses around list
+%\renewcommand\citeright{)} % parentheses around list
+\newcommand{\docbooktolatexcite}[2]{%
+ \@ifundefined{docbooktolatexcite@#1}%
+ {\cite{#1}}%
+ {\def\@docbooktolatextemp{#2}\ifx\@docbooktolatextemp\@empty%
+ \cite{\@nameuse{docbooktolatexcite@#1}}%
+ \else\cite[#2]{\@nameuse{docbooktolatexcite@#1}}%
+ \fi%
+ }%
+}
+\newcommand{\docbooktolatexbackcite}[1]{%
+ \ifx\Hy@backout\@undefined\else%
+ \@ifundefined{docbooktolatexcite@#1}{%
+ % emit warning?
+ }{%
+ \ifBR@verbose%
+ \PackageInfo{backref}{back cite \string`#1\string' as \string`\@nameuse{docbooktolatexcite@#1}\string'}%
+ \fi%
+ \Hy@backout{\@nameuse{docbooktolatexcite@#1}}%
+ }%
+ \fi%
+}
+]]>
+ </xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
+
+
diff --git a/docs/xslt/db2latex-xsl/xsl/common/af.xml b/docs/xslt/db2latex-xsl/xsl/common/af.xml
new file mode 100644
index 0000000000..93acec17d5
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/af.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="af" english-language-name="Afrikaans">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/af.xml -->
+ <l:gentext key="Abstract" text="Samevatting"/>
+ <l:gentext key="abstract" text="samevatting"/>
+ <l:gentext key="Answer" text="Antwoord:"/>
+ <l:gentext key="answer" text="antwoord:"/>
+ <l:gentext key="Appendix" text="Aanhangsel"/>
+ <l:gentext key="appendix" text="aanhangsel"/>
+ <l:gentext key="Article" text="Artikel"/>
+ <l:gentext key="article" text="artikel"/>
+ <l:gentext key="Bibliography" text="Bibliografie"/>
+ <l:gentext key="bibliography" text="bibliografie"/>
+ <l:gentext key="Book" text="Boek"/>
+ <l:gentext key="book" text="boek"/>
+ <l:gentext key="Caution" text="Pas op"/>
+ <l:gentext key="caution" text="pas op"/>
+ <l:gentext key="CAUTION" text="PAS OP"/>
+ <l:gentext key="Chapter" text="Hoofdstuk"/>
+ <l:gentext key="chapter" text="hoofdstuk"/>
+ <l:gentext key="Colophon" text="Kolifon"/>
+ <l:gentext key="colophon" text="kolifon"/>
+ <l:gentext key="Copyright" text="Kopie reg"/>
+ <l:gentext key="copyright" text="kopie reg"/>
+ <l:gentext key="Dedication" text="Opgedra aan"/>
+ <l:gentext key="dedication" text="opgedra aan"/>
+ <l:gentext key="Edition" text="Uitgawe"/>
+ <l:gentext key="edition" text="uitgawe"/>
+ <l:gentext key="Equation" text="Vergelyking"/>
+ <l:gentext key="equation" text="vergelyking"/>
+ <l:gentext key="Example" text="Voorbeeld"/>
+ <l:gentext key="example" text="voorbeeld"/>
+ <l:gentext key="Figure" text="Figuur"/>
+ <l:gentext key="figure" text="figuur"/>
+ <l:gentext key="Glossary" text="Woordlys"/>
+ <l:gentext key="glossary" text="woordlys"/>
+ <l:gentext key="GlossSee" text="WoordelysSien"/>
+ <l:gentext key="glosssee" text="woordelyssien"/>
+ <l:gentext key="GlossSeeAlso" text="WoordelysSienOok"/>
+ <l:gentext key="glossseealso" text="woordelyssienook"/>
+ <l:gentext key="IMPORTANT" text="BELANGRIK"/>
+ <l:gentext key="Important" text="Belangrik"/>
+ <l:gentext key="important" text="belangrik"/>
+ <l:gentext key="Index" text="Indeks"/>
+ <l:gentext key="index" text="indeks"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="isbn"/>
+ <l:gentext key="LegalNotice" text="RegsKennisgewing"/>
+ <l:gentext key="legalnotice" text="regskennisgewing"/>
+ <l:gentext key="MsgAud" text="Teikengroep"/>
+ <l:gentext key="msgaud" text="teikengroep"/>
+ <l:gentext key="MsgLevel" text="Vlak"/>
+ <l:gentext key="msglevel" text="vlak"/>
+ <l:gentext key="MsgOrig" text="Herkoms"/>
+ <l:gentext key="msgorig" text="herkoms"/>
+ <l:gentext key="note" text="opmerking"/>
+ <l:gentext key="NOTE" text="OPMERKING"/>
+ <l:gentext key="Note" text="Opmerking"/>
+ <l:gentext key="Part" text="Deel"/>
+ <l:gentext key="part" text="deel"/>
+ <l:gentext key="Preface" text="Voorwoord"/>
+ <l:gentext key="preface" text="voorwoord"/>
+ <l:gentext key="Procedure" text="Prosedure"/>
+ <l:gentext key="procedure" text="prosedure"/>
+ <l:gentext key="ProductionSet" text="ProduksieStel"/>
+ <l:gentext key="Published" text="Uitgegee"/>
+ <l:gentext key="published" text="uitgegee"/>
+ <l:gentext key="Question" text="Vraag:"/>
+ <l:gentext key="question" text="vraag:"/>
+ <l:gentext key="RefEntry" text="Verwysingslemma"/>
+ <l:gentext key="refentry" text="verwysingslemma"/>
+ <l:gentext key="Reference" text="Verwysing"/>
+ <l:gentext key="reference" text="verwysing"/>
+ <l:gentext key="RefName" text="Verwysingsnaam"/>
+ <l:gentext key="refname" text="verwysingsnaam"/>
+ <l:gentext key="RefSection" text="Verwysingsparagraaf"/>
+ <l:gentext key="refsection" text="verwysingsparagraaf"/>
+ <l:gentext key="RefSynopsisDiv" text="Verwysingsamevatting"/>
+ <l:gentext key="refsynopsisdiv" text="verwysingsamevatting"/>
+ <l:gentext key="RevHistory" text="Hersiening geskiedenis"/>
+ <l:gentext key="revhistory" text="hersiening geskiedenis"/>
+ <l:gentext key="Revision" text="Hersiening"/>
+ <l:gentext key="revision" text="hersiening"/>
+ <l:gentext key="sect1" text="Paragraaf"/>
+ <l:gentext key="sect2" text="Paragraaf"/>
+ <l:gentext key="sect3" text="Paragraaf"/>
+ <l:gentext key="sect4" text="Paragraaf"/>
+ <l:gentext key="sect5" text="Paragraaf"/>
+ <l:gentext key="Section" text="Paragraaf"/>
+ <l:gentext key="section" text="paragraaf"/>
+ <l:gentext key="see" text="sien"/>
+ <l:gentext key="See" text="Sien"/>
+ <l:gentext key="Seealso" text="Sien ook"/>
+ <l:gentext key="seealso" text="sien ook"/>
+ <l:gentext key="SeeAlso" text="Sien Ook"/>
+ <l:gentext key="set" text="versameling"/>
+ <l:gentext key="Set" text="Versameling"/>
+ <l:gentext key="SetIndex" text="VersamelingIndeks"/>
+ <l:gentext key="setindex" text="versamelingindeks"/>
+ <l:gentext key="Sidebar" text="Kantbalk"/>
+ <l:gentext key="sidebar" text="kantbalk"/>
+ <l:gentext key="step" text="stap"/>
+ <l:gentext key="Step" text="Stap"/>
+ <l:gentext key="table" text="tabel"/>
+ <l:gentext key="Table" text="Tabel"/>
+ <l:gentext key="TIP" text="LEIDRAAD"/>
+ <l:gentext key="Tip" text="Leidraad"/>
+ <l:gentext key="tip" text="leidraad"/>
+ <l:gentext key="WARNING" text="WAARSKUWING"/>
+ <l:gentext key="Warning" text="Waarskuwing"/>
+ <l:gentext key="warning" text="waarskuwing"/>
+ <l:gentext key="and" text="en"/>
+ <l:gentext key="by" text="deur"/>
+ <l:gentext key="Edited" text="Geredigeer"/>
+ <l:gentext key="edited" text="geredigeer"/>
+ <l:gentext key="Editedby" text="Geredigeer deur"/>
+ <l:gentext key="editedby" text="geredigeer deur"/>
+ <l:gentext key="in" text="in"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="element bestaan nie"/>
+ <l:gentext key="notes" text="Notas"/>
+ <l:gentext key="Notes" text="notas"/>
+ <l:gentext key="Pgs" text="bl."/>
+ <l:gentext key="pgs" text="bl."/>
+ <l:gentext key="Revisedby" text="Hersien deur"/>
+ <l:gentext key="revisedby" text="hersien deur"/>
+ <l:gentext key="TableNotes" text="TabelOpmerking"/>
+ <l:gentext key="tablenotes" text="tabelopmerking"/>
+ <l:gentext key="TableofContents" text="Inhoudsopgawe"/>
+ <l:gentext key="tableofcontents" text="inhoudsopgawe"/>
+ <l:gentext key="unexpectedelementname" text="onverwagte element naam"/>
+ <l:gentext key="unsupported" text="nie geondersteun"/>
+ <l:gentext key="xrefto" text="verwysing na"/>
+ <l:gentext key="listofequations" text="lys van vergelykings"/>
+ <l:gentext key="ListofEquations" text="Lys van vergelykings"/>
+ <l:gentext key="ListofExamples" text="Lys van voorbeelde"/>
+ <l:gentext key="listofexamples" text="lys van voorbeelde"/>
+ <l:gentext key="ListofFigures" text="Lys van figure"/>
+ <l:gentext key="listoffigures" text="lys van figure"/>
+ <l:gentext key="listoftables" text="lys van tabelle"/>
+ <l:gentext key="ListofTables" text="Lys van tabelle"/>
+ <l:gentext key="ListofUnknown" text="Lys van onbekende tipes"/>
+ <l:gentext key="listofunknown" text="lys van onbekende tipes"/>
+ <l:gentext key="nav-home" text="Begin"/>
+ <l:gentext key="nav-next" text="Volgende"/>
+ <l:gentext key="nav-next-sibling" text="Verder vooruit"/>
+ <l:gentext key="nav-prev" text="Terug"/>
+ <l:gentext key="nav-prev-sibling" text="Verder terug"/>
+ <l:gentext key="nav-up" text="Boontoe"/>
+ <l:gentext key="Draft" text="Proef"/>
+ <l:gentext key="above" text="bo"/>
+ <l:gentext key="below" text="onder"/>
+ <l:gentext key="sectioncalled" text="die seksie genaamd"/>
+ <l:gentext key="index symbols" text="indeks simbole"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/af.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Aanhangsel %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Hoofdstuk %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Vergelyking %n. %t"/>
+ <l:template name="example" text="Voorbeeld %n. %t"/>
+ <l:template name="figure" text="Figuur %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Deel %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Prosedure&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="ProduksieStel&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabel %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Aanhangsel %n. %t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="Hoofdstuk %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Antwoord:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Vraag:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Vraag:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="section" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="die seksie genaamd &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Antwoord:&#160;%n"/>
+ <l:template name="appendix" text="Aanhangsel&#160;%n"/>
+ <l:template name="bridgehead" text="Paragraaf&#160;%n"/>
+ <l:template name="chapter" text="Hoofdstuk&#160;%n"/>
+ <l:template name="equation" text="Vergelyking&#160;%n"/>
+ <l:template name="example" text="Voorbeeld&#160;%n"/>
+ <l:template name="figure" text="Figuur&#160;%n"/>
+ <l:template name="part" text="Deel&#160;%n"/>
+ <l:template name="procedure" text="Prosedure&#160;%n"/>
+ <l:template name="productionset" text="ProduksieStel&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Vraag:&#160;%n"/>
+ <l:template name="question" text="Vraag:&#160;%n"/>
+ <l:template name="sect1" text="Paragraaf&#160;%n"/>
+ <l:template name="sect2" text="Paragraaf&#160;%n"/>
+ <l:template name="sect3" text="Paragraaf&#160;%n"/>
+ <l:template name="sect4" text="Paragraaf&#160;%n"/>
+ <l:template name="sect5" text="Paragraaf&#160;%n"/>
+ <l:template name="section" text="Paragraaf&#160;%n"/>
+ <l:template name="table" text="Tabel&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Aanhangsel&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Hoofdstuk&#160;%n, %t"/>
+ <l:template name="equation" text="Vergelyking&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Voorbeeld&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figuur&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Deel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Prosedure&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="ProduksieStel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="die seksie genaamd &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" en "/>
+ <l:template name="seplast" text=", en "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="WoordelysSien "/>
+ <l:template name="seealso" text="WoordelysSienOok "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Teikengroep: "/>
+ <l:template name="MsgLevel" text="Vlak: "/>
+ <l:template name="MsgOrig" text="Herkoms: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0436 Afrikaans"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/ar.xml b/docs/xslt/db2latex-xsl/xsl/common/ar.xml
new file mode 100644
index 0000000000..bd69a54cc0
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/ar.xml
@@ -0,0 +1,492 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ar" english-language-name="Arabic">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ar.xml -->
+ <l:gentext key="Abstract" text="&#1582;&#1604;&#1575;&#1589;&#1577;"/>
+ <l:gentext key="abstract" text="&#1582;&#1604;&#1575;&#1589;&#1577;"/>
+ <l:gentext key="Answer" text="&#1580;:"/>
+ <l:gentext key="answer" text="&#1580;:"/>
+ <l:gentext key="Appendix" text="&#1605;&#1604;&#1581;&#1602;"/>
+ <l:gentext key="appendix" text="&#1605;&#1604;&#1581;&#1602;"/>
+ <l:gentext key="Article" text="&#1605;&#1602;&#1575;&#1604;"/>
+ <l:gentext key="article" text="&#1605;&#1602;&#1575;&#1604;"/>
+ <l:gentext key="Bibliography" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;"/>
+ <l:gentext key="bibliography" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;"/>
+ <l:gentext key="Book" text="&#1603;&#1578;&#1575;&#1576;"/>
+ <l:gentext key="book" text="&#1603;&#1578;&#1575;&#1576;"/>
+ <l:gentext key="CAUTION" text="&#1578;&#1581;&#1584;&#1610;&#1585;"/>
+ <l:gentext key="Caution" text="&#1578;&#1581;&#1584;&#1610;&#1585;"/>
+ <l:gentext key="caution" text="&#1578;&#1581;&#1584;&#1610;&#1585;"/>
+ <l:gentext key="Chapter" text="&#1601;&#1589;&#1604;"/>
+ <l:gentext key="chapter" text="&#1601;&#1589;&#1604;"/>
+ <l:gentext key="Colophon" text="&#1575;&#1604;&#1606;&#1575;&#1588;&#1585;"/>
+ <l:gentext key="colophon" text="&#1575;&#1604;&#1606;&#1575;&#1588;&#1585;"/>
+ <l:gentext key="Copyright" text="&#1581;&#1602;&#1608;&#1602; &#1575;&#1604;&#1606;&#1588;&#1585;"/>
+ <l:gentext key="copyright" text="&#1581;&#1602;&#1608;&#1602; &#1575;&#1604;&#1606;&#1588;&#1585;"/>
+ <l:gentext key="Dedication" text="&#1573;&#1607;&#1583;&#1575;&#1569;"/>
+ <l:gentext key="dedication" text="&#1573;&#1607;&#1583;&#1575;&#1569;"/>
+ <l:gentext key="Edition" text="&#1606;&#1587;&#1582;&#1577;"/>
+ <l:gentext key="edition" text="&#1606;&#1587;&#1582;&#1577;"/>
+ <l:gentext key="Equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;"/>
+ <l:gentext key="equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;"/>
+ <l:gentext key="Example" text="&#1605;&#1579;&#1575;&#1604;"/>
+ <l:gentext key="example" text="&#1605;&#1579;&#1575;&#1604;"/>
+ <l:gentext key="Figure" text="&#1588;&#1603;&#1604;"/>
+ <l:gentext key="figure" text="&#1588;&#1603;&#1604;"/>
+ <l:gentext key="Glossary" text="&#1602;&#1575;&#1605;&#1608;&#1587; &#1575;&#1604;&#1605;&#1601;&#1585;&#1583;&#1575;&#1578;"/>
+ <l:gentext key="glossary" text="&#1602;&#1575;&#1605;&#1608;&#1587; &#1575;&#1604;&#1605;&#1601;&#1585;&#1583;&#1575;&#1578;"/>
+ <l:gentext key="GlossSee" text="&#1575;&#1606;&#1592;&#1585;"/>
+ <l:gentext key="glosssee" text="&#1575;&#1606;&#1592;&#1585;"/>
+ <l:gentext key="GlossSeeAlso" text="&#1575;&#1606;&#1592;&#1585; &#1571;&#1610;&#1590;&#1575;&#1611;"/>
+ <l:gentext key="glossseealso" text="&#1575;&#1606;&#1592;&#1585; &#1571;&#1610;&#1590;&#1575;&#1611;"/>
+ <l:gentext key="IMPORTANT" text="&#1607;&#1575;&#1605;"/>
+ <l:gentext key="important" text="&#1607;&#1575;&#1605;"/>
+ <l:gentext key="Important" text="&#1607;&#1575;&#1605;"/>
+ <l:gentext key="Index" text="&#1601;&#1607;&#1585;&#1587;"/>
+ <l:gentext key="index" text="&#1601;&#1607;&#1585;&#1587;"/>
+ <l:gentext key="ISBN" text="&#1575;&#1604;&#1578;&#1585;&#1602;&#1610;&#1605; &#1575;&#1604;&#1593;&#1575;&#1604;&#1605;&#1610; &#1575;&#1604;&#1602;&#1610;&#1575;&#1587;&#1610; &#1604;&#1604;&#1603;&#1578;&#1575;&#1576;"/>
+ <l:gentext key="isbn" text="&#1575;&#1604;&#1578;&#1585;&#1602;&#1610;&#1605; &#1575;&#1604;&#1593;&#1575;&#1604;&#1605;&#1610; &#1575;&#1604;&#1602;&#1610;&#1575;&#1587;&#1610; &#1604;&#1604;&#1603;&#1578;&#1575;&#1576;"/>
+ <l:gentext key="LegalNotice" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577; &#1602;&#1575;&#1606;&#1608;&#1606;&#1610;&#1577;"/>
+ <l:gentext key="legalnotice" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577; &#1602;&#1575;&#1606;&#1608;&#1606;&#1610;&#1577;"/>
+ <l:gentext key="MsgAud" text="&#1575;&#1604;&#1580;&#1605;&#1607;&#1608;&#1585;"/>
+ <l:gentext key="msgaud" text="&#1575;&#1604;&#1580;&#1605;&#1607;&#1608;&#1585;"/>
+ <l:gentext key="MsgLevel" text="&#1575;&#1604;&#1605;&#1587;&#1578;&#1608;&#1609;"/>
+ <l:gentext key="msglevel" text="&#1575;&#1604;&#1605;&#1587;&#1578;&#1608;&#1609;"/>
+ <l:gentext key="MsgOrig" text="&#1575;&#1604;&#1605;&#1589;&#1583;&#1585;"/>
+ <l:gentext key="msgorig" text="&#1575;&#1604;&#1605;&#1589;&#1583;&#1585;"/>
+ <l:gentext key="NOTE" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577;"/>
+ <l:gentext key="Note" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577;"/>
+ <l:gentext key="note" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577;"/>
+ <l:gentext key="Part" text="&#1580;&#1586;&#1569;"/>
+ <l:gentext key="part" text="&#1580;&#1586;&#1569;"/>
+ <l:gentext key="Preface" text="&#1605;&#1602;&#1583;&#1605;&#1577;"/>
+ <l:gentext key="preface" text="&#1605;&#1602;&#1583;&#1605;&#1577;"/>
+ <l:gentext key="Procedure" text="&#1573;&#1580;&#1585;&#1575;&#1569;"/>
+ <l:gentext key="procedure" text="&#1573;&#1580;&#1585;&#1575;&#1569;"/>
+ <l:gentext key="ProductionSet" text="&#1605;&#1606;&#1578;&#1580;"/>
+ <l:gentext key="Published" text="&#1605;&#1606;&#1588;&#1608;&#1585;"/>
+ <l:gentext key="published" text="&#1605;&#1606;&#1588;&#1608;&#1585;"/>
+ <l:gentext key="Question" text="&#1587;:"/>
+ <l:gentext key="question" text="&#1587;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#1605;&#1585;&#1580;&#1593;"/>
+ <l:gentext key="reference" text="&#1605;&#1585;&#1580;&#1593;"/>
+ <l:gentext key="RefName" text="&#1575;&#1604;&#1575;&#1587;&#1605;"/>
+ <l:gentext key="refname" text="&#1575;&#1604;&#1575;&#1587;&#1605;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#1575;&#1604;&#1605;&#1582;&#1578;&#1589;&#1585;"/>
+ <l:gentext key="refsynopsisdiv" text="&#1575;&#1604;&#1605;&#1582;&#1578;&#1589;&#1585;"/>
+ <l:gentext key="RevHistory" text="&#1578;&#1575;&#1585;&#1610;&#1582; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;"/>
+ <l:gentext key="revhistory" text="&#1578;&#1575;&#1585;&#1610;&#1582; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;"/>
+ <l:gentext key="revision" text="&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;"/>
+ <l:gentext key="Revision" text="&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;"/>
+ <l:gentext key="sect1" text="&#1602;&#1587;&#1605;"/>
+ <l:gentext key="sect2" text="&#1602;&#1587;&#1605;"/>
+ <l:gentext key="sect3" text="&#1602;&#1587;&#1605;"/>
+ <l:gentext key="sect4" text="&#1602;&#1587;&#1605;"/>
+ <l:gentext key="sect5" text="&#1602;&#1587;&#1605;"/>
+ <l:gentext key="section" text="&#1602;&#1587;&#1605;"/>
+ <l:gentext key="Section" text="&#1602;&#1587;&#1605;"/>
+ <l:gentext key="see" text="&#1575;&#1587;&#1578;&#1593;&#1585;&#1590;"/>
+ <l:gentext key="seealso" text="&#1575;&#1587;&#1578;&#1593;&#1585;&#1590; &#1571;&#1610;&#1590;&#1575;&#1611;"/>
+ <l:gentext key="set" text="&#1605;&#1580;&#1605;&#1608;&#1593;&#1577;"/>
+ <l:gentext key="Set" text="&#1605;&#1580;&#1605;&#1608;&#1593;&#1577;"/>
+ <l:gentext key="setindex" text="&#1601;&#1607;&#1585;&#1587; &#1575;&#1604;&#1605;&#1580;&#1605;&#1608;&#1593;&#1577;"/>
+ <l:gentext key="SetIndex" text="&#1601;&#1607;&#1585;&#1587; &#1575;&#1604;&#1605;&#1580;&#1605;&#1608;&#1593;&#1577;"/>
+ <l:gentext key="Sidebar" text="&#1575;&#1604;&#1588;&#1585;&#1610;&#1591; &#1575;&#1604;&#1580;&#1575;&#1606;&#1576;&#1610;"/>
+ <l:gentext key="sidebar" text="&#1575;&#1604;&#1588;&#1585;&#1610;&#1591; &#1575;&#1604;&#1580;&#1575;&#1606;&#1576;&#1610;"/>
+ <l:gentext key="step" text="&#1582;&#1591;&#1608;&#1577;"/>
+ <l:gentext key="Step" text="&#1582;&#1591;&#1608;&#1577;"/>
+ <l:gentext key="Table" text="&#1580;&#1583;&#1608;&#1604;"/>
+ <l:gentext key="table" text="&#1580;&#1583;&#1608;&#1604;"/>
+ <l:gentext key="tip" text="&#1601;&#1603;&#1585;&#1577; &#1605;&#1601;&#1610;&#1583;&#1577;"/>
+ <l:gentext key="TIP" text="&#1601;&#1603;&#1585;&#1577; &#1605;&#1601;&#1610;&#1583;&#1577;"/>
+ <l:gentext key="Tip" text="&#1601;&#1603;&#1585;&#1577; &#1605;&#1601;&#1610;&#1583;&#1577;"/>
+ <l:gentext key="Warning" text="&#1578;&#1606;&#1576;&#1610;&#1607;"/>
+ <l:gentext key="warning" text="&#1578;&#1606;&#1576;&#1610;&#1607;"/>
+ <l:gentext key="WARNING" text="&#1578;&#1606;&#1576;&#1610;&#1607;"/>
+ <l:gentext key="and" text="&#1608;"/>
+ <l:gentext key="by" text="&#1576;&#1608;&#1575;&#1587;&#1591;&#1577;"/>
+ <l:gentext key="Edited" text="&#1605;&#1593;&#1583;&#1604;"/>
+ <l:gentext key="edited" text="&#1605;&#1593;&#1583;&#1604;"/>
+ <l:gentext key="Editedby" text="&#1605;&#1593;&#1583;&#1604; &#1576;&#1608;&#1575;&#1587;&#1591;&#1577;"/>
+ <l:gentext key="editedby" text="&#1605;&#1593;&#1583;&#1604; &#1576;&#1608;&#1575;&#1587;&#1591;&#1577;"/>
+ <l:gentext key="in" text="&#1601;&#1610;"/>
+ <l:gentext key="lastlistcomma" text="&#1548;"/>
+ <l:gentext key="listcomma" text="&#1548;"/>
+ <l:gentext key="nonexistantelement" text="&#1593;&#1606;&#1589;&#1585; &#1605;&#1601;&#1602;&#1608;&#1583;"/>
+ <l:gentext key="notes" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1575;&#1578;"/>
+ <l:gentext key="Notes" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1575;&#1578;"/>
+ <l:gentext key="Pgs" text="&#1589;&#1601;&#1581;&#1575;&#1578;"/>
+ <l:gentext key="pgs" text="&#1589;&#1601;&#1581;&#1575;&#1578;"/>
+ <l:gentext key="Revisedby" text="&#1578;&#1605;&#1578; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;&#1577; &#1576;&#1608;&#1575;&#1587;&#1591;&#1577;: "/>
+ <l:gentext key="revisedby" text="&#1578;&#1605;&#1578; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;&#1577; &#1576;&#1608;&#1575;&#1587;&#1591;&#1577;: "/>
+ <l:gentext key="TableNotes" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1575;&#1578;"/>
+ <l:gentext key="tablenotes" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1575;&#1578;"/>
+ <l:gentext key="TableofContents" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1581;&#1578;&#1608;&#1610;&#1575;&#1578;"/>
+ <l:gentext key="tableofcontents" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1581;&#1578;&#1608;&#1610;&#1575;&#1578;"/>
+ <l:gentext key="unexpectedelementname" text="&#1575;&#1587;&#1605; &#1593;&#1606;&#1589;&#1585; &#1594;&#1610;&#1585; &#1605;&#1578;&#1608;&#1602;&#1593;"/>
+ <l:gentext key="unsupported" text="&#1594;&#1610;&#1585; &#1605;&#1583;&#1593;&#1608;&#1605;"/>
+ <l:gentext key="xrefto" text="&#1573;&#1588;&#1575;&#1585;&#1577; &#1573;&#1604;&#1609;"/>
+ <l:gentext key="listofequations" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1593;&#1575;&#1583;&#1604;&#1575;&#1578;"/>
+ <l:gentext key="ListofEquations" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1593;&#1575;&#1583;&#1604;&#1575;&#1578;"/>
+ <l:gentext key="ListofExamples" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1571;&#1605;&#1579;&#1604;&#1577;"/>
+ <l:gentext key="listofexamples" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1571;&#1605;&#1579;&#1604;&#1577;"/>
+ <l:gentext key="ListofFigures" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1571;&#1588;&#1603;&#1575;&#1604;"/>
+ <l:gentext key="listoffigures" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1571;&#1588;&#1603;&#1575;&#1604;"/>
+ <l:gentext key="ListofProcedures" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1573;&#1580;&#1585;&#1575;&#1569;&#1575;&#1578;"/>
+ <l:gentext key="listofprocedures" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1573;&#1580;&#1585;&#1575;&#1569;&#1575;&#1578;"/>
+ <l:gentext key="listoftables" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1580;&#1583;&#1575;&#1608;&#1604;"/>
+ <l:gentext key="ListofTables" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1580;&#1583;&#1575;&#1608;&#1604;"/>
+ <l:gentext key="ListofUnknown" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1580;&#1607;&#1608;&#1604;&#1575;&#1578;"/>
+ <l:gentext key="listofunknown" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1580;&#1607;&#1608;&#1604;&#1575;&#1578;"/>
+ <l:gentext key="nav-home" text="&#1575;&#1604;&#1576;&#1583;&#1575;&#1610;&#1577;"/>
+ <l:gentext key="nav-next" text="&#1575;&#1604;&#1578;&#1575;&#1604;&#1610;"/>
+ <l:gentext key="nav-next-sibling" text="&#1573;&#1604;&#1609; &#1575;&#1604;&#1571;&#1605;&#1575;&#1605;"/>
+ <l:gentext key="nav-prev" text="&#1575;&#1604;&#1587;&#1575;&#1576;&#1602;"/>
+ <l:gentext key="nav-prev-sibling" text="&#1573;&#1604;&#1609; &#1575;&#1604;&#1582;&#1604;&#1601;"/>
+ <l:gentext key="nav-up" text="&#1571;&#1593;&#1604;&#1609;"/>
+ <l:gentext key="nav-toc" text="&#1575;&#1604;&#1601;&#1607;&#1585;&#1587;"/>
+ <l:gentext key="Draft" text="&#1605;&#1587;&#1608;&#1583;&#1577;"/>
+ <l:gentext key="above" text="&#1571;&#1593;&#1604;&#1609;"/>
+ <l:gentext key="below" text="&#1601;&#1610;&#1605;&#1575; &#1610;&#1604;&#1610;"/>
+ <l:gentext key="sectioncalled" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609;"/>
+ <l:gentext key="index symbols" text="&#1575;&#1604;&#1585;&#1605;&#1608;&#1586;"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+ <l:gentext key="hyphenation-character" text="&#8208;"/>
+ <l:gentext key="hyphenation-push-character-count" text="2"/>
+ <l:gentext key="hyphenation-remain-character-count" text="2"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ar.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#1605;&#1604;&#1581;&#1602;&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#1601;&#1589;&#1604;&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;&#160;%n.&#160;%t"/>
+ <l:template name="example" text="&#1605;&#1579;&#1575;&#1604;&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="&#1588;&#1603;&#1604;&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#1580;&#1586;&#1569;&#160;%n.&#160;%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#1573;&#1580;&#1585;&#1575;&#1569;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="&#1605;&#1606;&#1578;&#1580;&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#1580;&#1583;&#1608;&#1604;&#160;%n.&#160;%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#1605;&#1604;&#1581;&#1602;&#160;%n.&#160;%t"/>
+ <l:template name="article/appendix" text="%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="&#1601;&#1589;&#1604;&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#1580;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#1587;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#1587;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#1580;:&#160;%n"/>
+ <l:template name="appendix" text="&#1605;&#1604;&#1581;&#1602;&#160;%n"/>
+ <l:template name="bridgehead" text="&#1602;&#1587;&#1605;&#160;%n"/>
+ <l:template name="chapter" text="&#1601;&#1589;&#1604;&#160;%n"/>
+ <l:template name="equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;&#160;%n"/>
+ <l:template name="example" text="&#1605;&#1579;&#1575;&#1604;&#160;%n"/>
+ <l:template name="figure" text="&#1588;&#1603;&#1604;&#160;%n"/>
+ <l:template name="part" text="&#1580;&#1586;&#1569;&#160;%n"/>
+ <l:template name="procedure" text="&#1573;&#1580;&#1585;&#1575;&#1569;&#160;%n"/>
+ <l:template name="productionset" text="&#1605;&#1606;&#1578;&#1580;&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#1587;:&#160;%n"/>
+ <l:template name="question" text="&#1587;:&#160;%n"/>
+ <l:template name="sect1" text="&#1602;&#1587;&#1605;&#160;%n"/>
+ <l:template name="sect2" text="&#1602;&#1587;&#1605;&#160;%n"/>
+ <l:template name="sect3" text="&#1602;&#1587;&#1605;&#160;%n"/>
+ <l:template name="sect4" text="&#1602;&#1587;&#1605;&#160;%n"/>
+ <l:template name="sect5" text="&#1602;&#1587;&#1605;&#160;%n"/>
+ <l:template name="section" text="&#1602;&#1587;&#1605;&#160;%n"/>
+ <l:template name="table" text="&#1580;&#1583;&#1608;&#1604;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#1605;&#1604;&#1581;&#1602;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="&#1601;&#1589;&#1604;&#160;%n, %t"/>
+ <l:template name="equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="&#1605;&#1579;&#1575;&#1604;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="&#1588;&#1603;&#1604;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="&#1580;&#1586;&#1569;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="&#1573;&#1580;&#1585;&#1575;&#1569;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="&#1605;&#1606;&#1578;&#1580;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+ <l:template name="table" text="&#1580;&#1583;&#1608;&#1604;&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text="&#1548; "/>
+ <l:template name="sep2" text=" &#1608; "/>
+ <l:template name="seplast" text="&#1548; &#1608; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#1575;&#1606;&#1592;&#1585; "/>
+ <l:template name="seealso" text="&#1575;&#1606;&#1592;&#1585; &#1571;&#1610;&#1590;&#1575;&#1611; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#1575;&#1604;&#1580;&#1605;&#1607;&#1608;&#1585;: "/>
+ <l:template name="MsgLevel" text="&#1575;&#1604;&#1605;&#1587;&#1578;&#1608;&#1609;: "/>
+ <l:template name="MsgOrig" text="&#1575;&#1604;&#1605;&#1589;&#1583;&#1585;: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d/m/Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="&#1610;&#1606;&#1575;&#1610;&#1585;"/>
+ <l:template name="February" text="&#1601;&#1576;&#1585;&#1575;&#1610;&#1585;"/>
+ <l:template name="March" text="&#1605;&#1575;&#1585;&#1587;"/>
+ <l:template name="April" text="&#1571;&#1576;&#1585;&#1610;&#1604;"/>
+ <l:template name="May" text="&#1605;&#1575;&#1610;&#1608;"/>
+ <l:template name="June" text="&#1610;&#1608;&#1606;&#1610;&#1608;"/>
+ <l:template name="July" text="&#1610;&#1608;&#1604;&#1610;&#1608;"/>
+ <l:template name="August" text="&#1571;&#1594;&#1587;&#1591;&#1587;"/>
+ <l:template name="September" text="&#1587;&#1576;&#1578;&#1605;&#1576;&#1585;"/>
+ <l:template name="October" text="&#1571;&#1603;&#1578;&#1608;&#1576;&#1585;"/>
+ <l:template name="November" text="&#1606;&#1608;&#1601;&#1605;&#1576;&#1585;"/>
+ <l:template name="December" text="&#1583;&#1610;&#1587;&#1605;&#1576;&#1585;"/>
+ <l:template name="Monday" text="&#1575;&#1604;&#1573;&#1579;&#1606;&#1610;&#1606;"/>
+ <l:template name="Tuesday" text="&#1575;&#1604;&#1579;&#1604;&#1575;&#1579;&#1575;&#1569;"/>
+ <l:template name="Wednesday" text="&#1575;&#1604;&#1571;&#1585;&#1576;&#1593;&#1575;&#1569;"/>
+ <l:template name="Thursday" text="&#1575;&#1604;&#1582;&#1605;&#1610;&#1587;"/>
+ <l:template name="Friday" text="&#1575;&#1604;&#1580;&#1605;&#1593;&#1577;"/>
+ <l:template name="Saturday" text="&#1575;&#1604;&#1587;&#1576;&#1578;"/>
+ <l:template name="Sunday" text="&#1575;&#1604;&#1571;&#1581;&#1583;"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="&#1610;&#1606;&#1575;&#1610;&#1585;"/>
+ <l:template name="Feb" text="&#1601;&#1576;&#1585;&#1575;&#1610;&#1585;"/>
+ <l:template name="Mar" text="&#1605;&#1575;&#1585;&#1587;"/>
+ <l:template name="Apr" text="&#1571;&#1576;&#1585;&#1610;&#1604;"/>
+ <l:template name="May" text="&#1605;&#1575;&#1610;&#1608;"/>
+ <l:template name="Jun" text="&#1610;&#1608;&#1606;&#1610;&#1608;"/>
+ <l:template name="Jul" text="&#1610;&#1608;&#1604;&#1610;&#1608;"/>
+ <l:template name="Aug" text="&#1571;&#1594;&#1587;&#1591;&#1587;"/>
+ <l:template name="Sep" text="&#1587;&#1576;&#1578;&#1605;&#1576;&#1585;"/>
+ <l:template name="Oct" text="&#1571;&#1603;&#1578;&#1608;&#1576;&#1585;"/>
+ <l:template name="Nov" text="&#1606;&#1608;&#1601;&#1605;&#1576;&#1585;"/>
+ <l:template name="Dec" text="&#1583;&#1610;&#1587;&#1605;&#1576;&#1585;"/>
+ <l:template name="Mon" text="&#1575;&#1604;&#1573;&#1579;&#1606;&#1610;&#1606;"/>
+ <l:template name="Tue" text="&#1575;&#1604;&#1579;&#1604;&#1575;&#1579;&#1575;&#1569;"/>
+ <l:template name="Wed" text="&#1575;&#1604;&#1571;&#1585;&#1576;&#1593;&#1575;&#1569;"/>
+ <l:template name="Thu" text="&#1575;&#1604;&#1582;&#1605;&#1610;&#1587;"/>
+ <l:template name="Fri" text="&#1575;&#1604;&#1580;&#1605;&#1593;&#1577;"/>
+ <l:template name="Sat" text="&#1575;&#1604;&#1587;&#1576;&#1578;"/>
+ <l:template name="Sun" text="&#1575;&#1604;&#1571;&#1581;&#1583;"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/bg.xml b/docs/xslt/db2latex-xsl/xsl/common/bg.xml
new file mode 100644
index 0000000000..808a97afb8
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/bg.xml
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bg" english-language-name="Bulgarian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/bg.xml -->
+ <l:gentext key="Abstract" text="&#1040;&#1085;&#1086;&#1090;&#1072;&#1094;&#1080;&#1103;"/>
+ <l:gentext key="abstract" text="&#1040;&#1085;&#1086;&#1090;&#1072;&#1094;&#1080;&#1103;"/>
+ <l:gentext key="Answer" text="&#1054;:"/>
+ <l:gentext key="answer" text="&#1054;:"/>
+ <l:gentext key="Appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="appendix" text="&#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Article" text="&#1057;&#1090;&#1072;&#1090;&#1080;&#1103;"/>
+ <l:gentext key="article" text="&#1057;&#1090;&#1072;&#1090;&#1080;&#1103;"/>
+ <l:gentext key="Bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="Book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+ <l:gentext key="book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+ <l:gentext key="CAUTION" text="&#1042;&#1053;&#1048;&#1052;&#1040;&#1053;&#1048;&#1045;"/>
+ <l:gentext key="Caution" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="caution" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;"/>
+ <l:gentext key="chapter" text="&#1075;&#1083;&#1072;&#1074;&#1072;"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="&#1055;&#1086;&#1089;&#1074;&#1077;&#1097;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="dedication" text="&#1055;&#1086;&#1089;&#1074;&#1077;&#1097;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Edition" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="edition" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+ <l:gentext key="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+ <l:gentext key="Example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+ <l:gentext key="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+ <l:gentext key="Figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="Glossary" text="&#1058;&#1077;&#1088;&#1084;&#1080;&#1085;&#1086;&#1083;&#1086;&#1075;&#1080;&#1095;&#1077;&#1085; &#1088;&#1077;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="glossary" text="&#1058;&#1077;&#1088;&#1084;&#1080;&#1085;&#1086;&#1083;&#1086;&#1075;&#1080;&#1095;&#1077;&#1085; &#1088;&#1077;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="GlossSee" text="&#1074;&#1078;."/>
+ <l:gentext key="glosssee" text="&#1074;&#1078;."/>
+ <l:gentext key="GlossSeeAlso" text="&#1074;&#1078;. &#1089;&#1098;&#1097;&#1086;"/>
+ <l:gentext key="glossseealso" text="&#1074;&#1078;. &#1089;&#1098;&#1097;&#1086;"/>
+ <l:gentext key="IMPORTANT" text="&#1042;&#1040;&#1046;&#1053;&#1054;"/>
+ <l:gentext key="important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+ <l:gentext key="Important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+ <l:gentext key="Index" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089;"/>
+ <l:gentext key="index" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+ <l:gentext key="legalnotice" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+ <l:gentext key="MsgAud" text="Audience"/>
+ <l:gentext key="msgaud" text="Audience"/>
+ <l:gentext key="MsgLevel" text="&#1053;&#1080;&#1074;&#1086;"/>
+ <l:gentext key="msglevel" text="&#1053;&#1080;&#1074;&#1086;"/>
+ <l:gentext key="MsgOrig" text="&#1048;&#1079;&#1090;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="msgorig" text="&#1048;&#1079;&#1090;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="NOTE" text="&#1047;&#1040;&#1041;&#1045;&#1051;&#1045;&#1046;&#1050;&#1040;"/>
+ <l:gentext key="Note" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1072;"/>
+ <l:gentext key="note" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1072;"/>
+ <l:gentext key="Part" text="&#1063;&#1072;&#1089;&#1090;"/>
+ <l:gentext key="part" text="&#1063;&#1072;&#1089;&#1090;"/>
+ <l:gentext key="Preface" text="&#1055;&#1088;&#1077;&#1076;&#1075;&#1086;&#1074;&#1086;&#1088;"/>
+ <l:gentext key="preface" text="&#1055;&#1088;&#1077;&#1076;&#1075;&#1086;&#1074;&#1086;&#1088;"/>
+ <l:gentext key="Procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="&#1048;&#1079;&#1076;&#1072;&#1076;&#1077;&#1085;"/>
+ <l:gentext key="published" text="&#1048;&#1079;&#1076;&#1072;&#1076;&#1077;&#1085;"/>
+ <l:gentext key="Question" text="&#1042;:"/>
+ <l:gentext key="question" text="&#1042;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#1057;&#1087;&#1088;&#1072;&#1074;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="reference" text="&#1057;&#1087;&#1088;&#1072;&#1074;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="RefName" text="&#1053;&#1072;&#1079;&#1074;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="refname" text="&#1053;&#1072;&#1079;&#1074;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#1057;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1089;"/>
+ <l:gentext key="refsynopsisdiv" text="&#1057;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1089;"/>
+ <l:gentext key="RevHistory" text="&#1055;&#1088;&#1086;&#1084;&#1077;&#1085;&#1080;"/>
+ <l:gentext key="revhistory" text="&#1055;&#1088;&#1086;&#1084;&#1077;&#1085;&#1080;"/>
+ <l:gentext key="revision" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Revision" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="Section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="see" text="&#1074;&#1078;."/>
+ <l:gentext key="seealso" text="&#1074;&#1078;. &#1089;&#1098;&#1097;&#1086;"/>
+ <l:gentext key="set" text="&#1059;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+ <l:gentext key="Set" text="&#1059;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+ <l:gentext key="setindex" text="&#1059;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+ <l:gentext key="SetIndex" text="&#1059;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+ <l:gentext key="Sidebar" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#1080;&#1090;&#1077;&#1083;"/>
+ <l:gentext key="sidebar" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1080;&#1090;&#1077;&#1083;"/>
+ <l:gentext key="step" text="&#1057;&#1090;&#1098;&#1087;&#1082;&#1072;"/>
+ <l:gentext key="Step" text="&#1057;&#1090;&#1098;&#1087;&#1082;&#1072;"/>
+ <l:gentext key="Table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;"/>
+ <l:gentext key="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;"/>
+ <l:gentext key="tip" text="&#1055;&#1086;&#1079;&#1076;&#1089;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+ <l:gentext key="TIP" text="&#1055;&#1054;&#1044;&#1057;&#1050;&#1040;&#1047;&#1050;&#1040;"/>
+ <l:gentext key="Tip" text="&#1055;&#1086;&#1079;&#1076;&#1089;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+ <l:gentext key="Warning" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="warning" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="WARNING" text="&#1042;&#1053;&#1048;&#1052;&#1040;&#1053;&#1048;&#1045;"/>
+ <l:gentext key="and" text=""/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="Edited" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1072;&#1085;&#1086; &#1086;&#1090;"/>
+ <l:gentext key="edited" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1072;&#1085;&#1086; &#1086;&#1090;"/>
+ <l:gentext key="Editedby" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1072;&#1085;&#1086; &#1086;&#1090;"/>
+ <l:gentext key="editedby" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1072;&#1085;&#1086; &#1086;&#1090;"/>
+ <l:gentext key="in" text="&#1074;"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="non-existant element"/>
+ <l:gentext key="notes" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1080;"/>
+ <l:gentext key="Notes" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1080;"/>
+ <l:gentext key="Pgs" text="&#1089;&#1090;&#1088;."/>
+ <l:gentext key="pgs" text="&#1089;&#1090;&#1088;."/>
+ <l:gentext key="Revisedby" text="&#1054;&#1076;&#1086;&#1073;&#1088;&#1077;&#1085;&#1086; &#1086;&#1090;: "/>
+ <l:gentext key="revisedby" text="&#1054;&#1076;&#1086;&#1073;&#1088;&#1077;&#1085;&#1086; &#1086;&#1090;: "/>
+ <l:gentext key="TableNotes" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1080;"/>
+ <l:gentext key="tablenotes" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1080;"/>
+ <l:gentext key="TableofContents" text="&#1057;&#1098;&#1076;&#1098;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="tableofcontents" text="&#1057;&#1098;&#1076;&#1098;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="unexpectedelementname" text="unexpected element name"/>
+ <l:gentext key="unsupported" text="unsupported"/>
+ <l:gentext key="xrefto" text="xref to"/>
+ <l:gentext key="listofequations" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;&#1080;&#1090;&#1077;"/>
+ <l:gentext key="ListofEquations" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;&#1080;&#1090;&#1077;"/>
+ <l:gentext key="ListofExamples" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1080;&#1090;&#1077;"/>
+ <l:gentext key="listofexamples" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1080;&#1090;&#1077;"/>
+ <l:gentext key="ListofFigures" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1092;&#1080;&#1075;&#1091;&#1088;&#1080;&#1090;&#1077;"/>
+ <l:gentext key="listoffigures" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1092;&#1080;&#1075;&#1091;&#1088;&#1080;&#1090;&#1077;"/>
+ <l:gentext key="listoftables" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;&#1080;&#1090;&#1077;"/>
+ <l:gentext key="ListofTables" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;&#1080;&#1090;&#1077;"/>
+ <l:gentext key="ListofUnknown" text="&#1053;&#1077;&#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1077;&#1085; &#1089;&#1087;&#1080;&#1089;&#1098;&#1082;"/>
+ <l:gentext key="listofunknown" text="&#1053;&#1077;&#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1077;&#1085; &#1089;&#1087;&#1080;&#1089;&#1098;&#1082;"/>
+ <l:gentext key="nav-home" text="&#1053;&#1072;&#1095;&#1072;&#1083;&#1086;"/>
+ <l:gentext key="nav-next" text="&#1057;&#1083;&#1077;&#1076;&#1074;&#1072;&#1097;&#1072; &#1089;&#1090;&#1088;&#1072;&#1085;&#1080;&#1094;&#1072;"/>
+ <l:gentext key="nav-next-sibling" text="&#1057;&#1083;&#1077;&#1076;&#1074;&#1072;&#1097; &#1088;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="nav-prev" text="&#1055;&#1088;&#1077;&#1076;&#1080;&#1096;&#1085;&#1072; &#1089;&#1090;&#1088;&#1072;&#1085;&#1080;&#1094;&#1072;"/>
+ <l:gentext key="nav-prev-sibling" text="&#1055;&#1088;&#1077;&#1076;&#1080;&#1096;&#1077;&#1085; &#1088;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="nav-up" text="&#1053;&#1072;&#1095;&#1072;&#1083;&#1086; &#1085;&#1072; &#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1072;"/>
+ <l:gentext key="nav-toc" text="&#1057;&#1098;&#1076;&#1098;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Draft" text="&#1063;&#1077;&#1088;&#1085;&#1086;&#1074;&#1072;"/>
+ <l:gentext key="above" text="&#1087;&#1086;-&#1075;&#1086;&#1088;&#1077;"/>
+ <l:gentext key="below" text="&#1087;&#1086;-&#1076;&#1086;&#1083;&#1091;"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="index symbols" text="&#1057;&#1080;&#1084;&#1074;&#1086;&#1083;&#1080;"/>
+ <l:gentext key="lowercase.alpha" text="&#1072;&#1073;&#1074;&#1075;&#1076;&#1077;&#1078;&#1079;&#1080;&#1081;&#1082;&#1083;&#1084;&#1085;&#1086;&#1087;&#1088;&#1089;&#1090;&#1091;&#1092;&#1093;&#1094;&#1095;&#1096;&#1097;&#1098;&#1099;&#1100;&#1101;&#1102;&#1103;"/>
+ <l:gentext key="uppercase.alpha" text="&#1040;&#1041;&#1042;&#1043;&#1044;&#1045;&#1046;&#1047;&#1048;&#1049;&#1050;&#1051;&#1052;&#1053;&#1054;&#1055;&#1056;&#1057;&#1058;&#1059;&#1060;&#1061;&#1062;&#1063;&#1064;&#1065;&#1066;&#1067;&#1068;&#1069;&#1070;&#1071;"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/bg.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#160;%n.&#160;%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n.&#160;%t"/>
+ <l:template name="article/appendix" text="%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#1054;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#1042;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#1042;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="section" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#1054;:&#160;%n"/>
+ <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n"/>
+ <l:template name="bridgehead" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n"/>
+ <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n"/>
+ <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n"/>
+ <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#160;%n"/>
+ <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#1042;:&#160;%n"/>
+ <l:template name="question" text="&#1042;:&#160;%n"/>
+ <l:template name="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n, %t"/>
+ <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" "/>
+ <l:template name="seplast" text=", "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#1074;&#1078;. "/>
+ <l:template name="seealso" text="&#1074;&#1078;. &#1089;&#1098;&#1097;&#1086; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Audience: "/>
+ <l:template name="MsgLevel" text="&#1053;&#1080;&#1074;&#1086;: "/>
+ <l:template name="MsgOrig" text="&#1048;&#1079;&#1090;&#1086;&#1095;&#1085;&#1080;&#1082;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0402 Bulgarian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/bn.xml b/docs/xslt/db2latex-xsl/xsl/common/bn.xml
new file mode 100644
index 0000000000..1640fc7c39
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/bn.xml
@@ -0,0 +1,504 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bn" english-language-name="Bangla">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/bn.xml -->
+ <l:gentext key="Abstract" text="&#2488;&#2494;&#2480;&#2488;&#2434;&#2453;&#2509;&#2487;&#2503;&#2474;"/>
+ <l:gentext key="abstract" text="&#2488;&#2494;&#2480;&#2488;&#2434;&#2453;&#2509;&#2487;&#2503;&#2474;"/>
+ <l:gentext key="Answer" text="&#2441;&#2468;&#2509;&#2468;&#2480;:"/>
+ <l:gentext key="answer" text="&#2441;&#2468;&#2509;&#2468;&#2480;:"/>
+ <l:gentext key="Appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;"/>
+ <l:gentext key="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;"/>
+ <l:gentext key="Article" text="&#2474;&#2509;&#2480;&#2476;&#2472;&#2509;&#2471;"/>
+ <l:gentext key="article" text="&#2474;&#2509;&#2480;&#2476;&#2472;&#2509;&#2471;"/>
+ <l:gentext key="Bibliography" text="&#2455;&#2509;&#2480;&#2472;&#2509;&#2469; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="bibliography" text="&#2455;&#2509;&#2480;&#2472;&#2509;&#2469; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="Book" text="&#2476;&#2439;"/>
+ <l:gentext key="book" text="&#2476;&#2439;"/>
+ <l:gentext key="CAUTION" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2468;&#2494;"/>
+ <l:gentext key="Caution" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2468;&#2494;"/>
+ <l:gentext key="caution" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2468;&#2494;"/>
+ <l:gentext key="Chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;"/>
+ <l:gentext key="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;"/>
+ <l:gentext key="Colophon" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2472;&#2494; &#2468;&#2469;&#2509;&#2479; &#2474;&#2499;&#2487;&#2509;&#2464;&#2494;"/>
+ <l:gentext key="colophon" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2472;&#2494; &#2468;&#2469;&#2509;&#2479; &#2474;&#2499;&#2487;&#2509;&#2464;&#2494;"/>
+ <l:gentext key="Copyright" text="&#2488;&#2509;&#2476;&#2468;&#2509;&#2476;"/>
+ <l:gentext key="copyright" text="&#2488;&#2509;&#2476;&#2468;&#2509;&#2476;"/>
+ <l:gentext key="Dedication" text="&#2441;&#2468;&#2509;&#8205;&#2488;&#2480;&#2509;&#2455;"/>
+ <l:gentext key="dedication" text="&#2441;&#2468;&#2509;&#8205;&#2488;&#2480;&#2509;&#2455;"/>
+ <l:gentext key="Edition" text="&#2488;&#2434;&#2488;&#2509;&#2453;&#2480;&#2467;"/>
+ <l:gentext key="edition" text="&#2488;&#2434;&#2488;&#2509;&#2453;&#2480;&#2467;"/>
+ <l:gentext key="Equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;"/>
+ <l:gentext key="equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;"/>
+ <l:gentext key="Example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;"/>
+ <l:gentext key="example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;"/>
+ <l:gentext key="Figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;"/>
+ <l:gentext key="figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;"/>
+ <l:gentext key="Glossary" text="&#2472;&#2495;&#2480;&#2509;&#2456;&#2472;&#2509;&#2463;"/>
+ <l:gentext key="glossary" text="&#2472;&#2495;&#2480;&#2509;&#2456;&#2472;&#2509;&#2463;"/>
+ <l:gentext key="GlossSee" text="&#2470;&#2503;&#2454;&#2497;&#2472;"/>
+ <l:gentext key="glosssee" text="&#2470;&#2503;&#2454;&#2497;&#2472;"/>
+ <l:gentext key="GlossSeeAlso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+ <l:gentext key="glossseealso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+ <l:gentext key="IMPORTANT" text="&#2455;&#2497;&#2480;&#2497;&#2468;&#2509;&#2476;&#2474;&#2498;&#2480;&#2509;&#2467;"/>
+ <l:gentext key="important" text="&#2455;&#2497;&#2480;&#2497;&#2468;&#2509;&#2476;&#2474;&#2498;&#2480;&#2509;&#2467;"/>
+ <l:gentext key="Important" text="&#2455;&#2497;&#2480;&#2497;&#2468;&#2509;&#2476;&#2474;&#2498;&#2480;&#2509;&#2467;"/>
+ <l:gentext key="Index" text="&#2488;&#2498;&#2458;&#2495;"/>
+ <l:gentext key="index" text="&#2488;&#2498;&#2458;&#2495;"/>
+ <l:gentext key="ISBN" text="&#2438;&#2439;&#2447;&#2488;&#2476;&#2495;&#2447;&#2472; (ISBN)"/>
+ <l:gentext key="isbn" text="&#2438;&#2439;&#2447;&#2488;&#2476;&#2495;&#2447;&#2472; (ISBN)"/>
+ <l:gentext key="LegalNotice" text="&#2438;&#2439;&#2472;&#2496; &#2476;&#2495;&#2460;&#2509;&#2462;&#2474;&#2509;&#2468;&#2495;"/>
+ <l:gentext key="legalnotice" text="&#2438;&#2439;&#2472;&#2496; &#2476;&#2495;&#2460;&#2509;&#2462;&#2474;&#2509;&#2468;&#2495;"/>
+ <l:gentext key="MsgAud" text="&#2486;&#2509;&#2480;&#2507;&#2468;&#2494;"/>
+ <l:gentext key="msgaud" text="&#2486;&#2509;&#2480;&#2507;&#2468;&#2494;"/>
+ <l:gentext key="MsgLevel" text="&#2488;&#2509;&#2468;&#2480;"/>
+ <l:gentext key="msglevel" text="&#2488;&#2509;&#2468;&#2480;"/>
+ <l:gentext key="MsgOrig" text="&#2441;&#2468;&#2509;&#8205;&#2488;"/>
+ <l:gentext key="msgorig" text="&#2441;&#2468;&#2509;&#8205;&#2488;"/>
+ <l:gentext key="NOTE" text="&#2482;&#2453;&#2509;&#2487;&#2467;&#2496;&#2527;"/>
+ <l:gentext key="Note" text="&#2482;&#2453;&#2509;&#2487;&#2467;&#2496;&#2527;"/>
+ <l:gentext key="note" text="&#2482;&#2453;&#2509;&#2487;&#2467;&#2496;&#2527;"/>
+ <l:gentext key="Part" text="&#2454;&#2472;&#2509;&#2465;"/>
+ <l:gentext key="part" text="&#2454;&#2472;&#2509;&#2465;"/>
+ <l:gentext key="Preface" text="&#2478;&#2497;&#2454;&#2476;&#2472;&#2509;&#2471;"/>
+ <l:gentext key="preface" text="&#2478;&#2497;&#2454;&#2476;&#2472;&#2509;&#2471;"/>
+ <l:gentext key="Procedure" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;"/>
+ <l:gentext key="procedure" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;"/>
+ <l:gentext key="ProductionSet" text="&#2441;&#2468;&#2509;&#8205;&#2474;&#2494;&#2470;&#2472;"/>
+ <l:gentext key="PubDate" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2472;&#2494;&#2480; &#2468;&#2494;&#2480;&#2495;&#2454;"/>
+ <l:gentext key="pubdate" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2472;&#2494;&#2480; &#2468;&#2494;&#2480;&#2495;&#2454;"/>
+ <l:gentext key="Published" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2495;&#2468;"/>
+ <l:gentext key="published" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2495;&#2468;"/>
+ <l:gentext key="Question" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:"/>
+ <l:gentext key="question" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#2455;&#2509;&#2480;&#2472;&#2509;&#2469;&#2488;&#2498;&#2468;&#2509;&#2480;"/>
+ <l:gentext key="reference" text="&#2455;&#2509;&#2480;&#2472;&#2509;&#2469;&#2488;&#2498;&#2468;&#2509;&#2480;"/>
+ <l:gentext key="RefName" text="&#2472;&#2494;&#2478;"/>
+ <l:gentext key="refname" text="&#2472;&#2494;&#2478;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#2488;&#2494;&#2480;&#2494;&#2434;&#2486;"/>
+ <l:gentext key="refsynopsisdiv" text="&#2488;&#2494;&#2480;&#2494;&#2434;&#2486;"/>
+ <l:gentext key="RevHistory" text="&#2474;&#2480;&#2495;&#2476;&#2480;&#2509;&#2471;&#2472; &#2451; &#2474;&#2480;&#2495;&#2476;&#2480;&#2509;&#2468;&#2472; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="revhistory" text="&#2474;&#2480;&#2495;&#2476;&#2480;&#2509;&#2471;&#2472; &#2451; &#2474;&#2480;&#2495;&#2476;&#2480;&#2509;&#2468;&#2472; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="revision" text="&#2488;&#2434;&#2488;&#2509;&#2453;&#2480;&#2467;"/>
+ <l:gentext key="Revision" text="&#2488;&#2434;&#2488;&#2509;&#2453;&#2480;&#2467;"/>
+ <l:gentext key="sect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+ <l:gentext key="sect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+ <l:gentext key="sect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+ <l:gentext key="sect4" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+ <l:gentext key="sect5" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+ <l:gentext key="section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+ <l:gentext key="Section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+ <l:gentext key="see" text="&#2470;&#2503;&#2454;&#2497;&#2472;"/>
+ <l:gentext key="See" text="&#2470;&#2503;&#2454;&#2497;&#2472;"/>
+ <l:gentext key="seealso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+ <l:gentext key="Seealso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+ <l:gentext key="SeeAlso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+ <l:gentext key="set" text="&#2488;&#2478;&#2487;&#2509;&#2463;&#2495;"/>
+ <l:gentext key="Set" text="&#2488;&#2478;&#2487;&#2509;&#2463;&#2495;"/>
+ <l:gentext key="setindex" text="&#2488;&#2498;&#2458;&#2495;&#2488;&#2478;&#2487;&#2509;&#2463;&#2495;"/>
+ <l:gentext key="SetIndex" text="&#2488;&#2498;&#2458;&#2495;&#2488;&#2478;&#2487;&#2509;&#2463;&#2495;"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="&#2488;&#2494;&#2439;&#2465;&#2476;&#2494;&#2480;"/>
+ <l:gentext key="step" text="&#2471;&#2494;&#2474;"/>
+ <l:gentext key="Step" text="&#2471;&#2494;&#2474;"/>
+ <l:gentext key="Table" text="&#2459;&#2453;"/>
+ <l:gentext key="table" text="&#2459;&#2453;"/>
+ <l:gentext key="tip" text="&#2439;&#2457;&#2509;&#2455;&#2495;&#2468;"/>
+ <l:gentext key="TIP" text="&#2439;&#2457;&#2509;&#2455;&#2495;&#2468;"/>
+ <l:gentext key="Tip" text="&#2439;&#2457;&#2509;&#2455;&#2495;&#2468;"/>
+ <l:gentext key="Warning" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2476;&#2494;&#2467;&#2496;"/>
+ <l:gentext key="warning" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2476;&#2494;&#2467;&#2496;"/>
+ <l:gentext key="WARNING" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2476;&#2494;&#2467;&#2496;"/>
+ <l:gentext key="and" text="&#2447;&#2476;&#2434;"/>
+ <l:gentext key="by" text="&#2470;&#2509;&#2476;&#2494;&#2480;&#2494;"/>
+ <l:gentext key="called" text="&#2441;&#2482;&#2509;&#2482;&#2503;&#2454;&#2453;&#2499;&#2468;"/>
+ <l:gentext key="Edited" text="&#2488;&#2478;&#2509;&#2474;&#2494;&#2470;&#2495;&#2468;"/>
+ <l:gentext key="edited" text="&#2488;&#2478;&#2509;&#2474;&#2494;&#2470;&#2495;&#2468;"/>
+ <l:gentext key="Editedby" text="&#2488;&#2478;&#2509;&#2474;&#2494;&#2470;&#2453;"/>
+ <l:gentext key="editedby" text="&#2488;&#2478;&#2509;&#2474;&#2494;&#2470;&#2453;"/>
+ <l:gentext key="in" text="&#2478;&#2471;&#2509;&#2479;&#2503;"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="&#2437;&#2488;&#2509;&#2468;&#2495;&#2468;&#2509;&#2476;&#2489;&#2496;&#2472; &#2441;&#2474;&#2494;&#2470;&#2494;&#2472;"/>
+ <l:gentext key="notes" text="&#2472;&#2507;&#2463;"/>
+ <l:gentext key="Notes" text="&#2472;&#2507;&#2463;"/>
+ <l:gentext key="Pgs" text="&#2474;&#2499;&#2487;&#2509;&#2464;&#2494;."/>
+ <l:gentext key="pgs" text="&#2474;&#2499;&#2487;&#2509;&#2464;&#2494;."/>
+ <l:gentext key="Revisedby" text="&#2474;&#2480;&#2495;&#2478;&#2494;&#2480;&#2509;&#2460;&#2472;&#2494;&#2453;&#2494;&#2480;&#2496;: "/>
+ <l:gentext key="revisedby" text="&#2474;&#2480;&#2495;&#2478;&#2494;&#2480;&#2509;&#2460;&#2472;&#2494;&#2453;&#2494;&#2480;&#2496;: "/>
+ <l:gentext key="TableNotes" text="&#2472;&#2507;&#2463;"/>
+ <l:gentext key="tablenotes" text="&#2472;&#2507;&#2463;"/>
+ <l:gentext key="TableofContents" text="&#2488;&#2498;&#2458;&#2495;&#2474;&#2468;&#2509;&#2480;"/>
+ <l:gentext key="tableofcontents" text="&#2488;&#2498;&#2458;&#2495;&#2474;&#2468;&#2509;&#2480;"/>
+ <l:gentext key="the" text=""/>
+ <l:gentext key="unexpectedelementname" text="&#2437;&#2474;&#2509;&#2480;&#2468;&#2509;&#2479;&#2494;&#2486;&#2495;&#2468; &#2441;&#2474;&#2494;&#2470;&#2494;&#2472;&#2503;&#2480; &#2472;&#2494;&#2478;"/>
+ <l:gentext key="unsupported" text="&#2437;&#2488;&#2478;&#2480;&#2509;&#2469;&#2495;&#2468;"/>
+ <l:gentext key="xrefto" text="&#2472;&#2495;&#2480;&#2509;&#2470;&#2503;&#2486; &#2453;&#2480;&#2503;"/>
+ <l:gentext key="listofequations" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="ListofEquations" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="ListofExamples" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="listofexamples" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="ListofFigures" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="listoffigures" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="ListofProcedures" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="listofprocedures" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="listoftables" text="&#2459;&#2453;&#2503;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="ListofTables" text="&#2459;&#2453;&#2503;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="ListofUnknown" text="&#2437;&#2460;&#2509;&#2462;&#2494;&#2468; &#2476;&#2488;&#2509;&#2468;&#2497;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="listofunknown" text="&#2437;&#2460;&#2509;&#2462;&#2494;&#2468; &#2476;&#2488;&#2509;&#2468;&#2497;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+ <l:gentext key="nav-home" text="&#2474;&#2509;&#2480;&#2469;&#2478; &#2437;&#2476;&#2488;&#2509;&#2469;&#2494;&#2472; (Home)"/>
+ <l:gentext key="nav-next" text="&#2474;&#2480;&#2476;&#2480;&#2509;&#2468;&#2496;"/>
+ <l:gentext key="nav-next-sibling" text="&#2470;&#2509;&#2480;&#2497;&#2468; &#2488;&#2478;&#2509;&#2478;&#2497;&#2454;&#2503;"/>
+ <l:gentext key="nav-prev" text="&#2474;&#2498;&#2480;&#2509;&#2476;&#2476;&#2480;&#2509;&#2468;&#2496;"/>
+ <l:gentext key="nav-prev-sibling" text="&#2470;&#2509;&#2480;&#2497;&#2468; &#2474;&#2486;&#2509;&#2458;&#2494;&#2468;&#2503;"/>
+ <l:gentext key="nav-up" text="&#2441;&#2474;&#2480;"/>
+ <l:gentext key="nav-toc" text="&#2488;&#2498;&#2458;&#2495;&#2474;&#2468;&#2509;&#2480;"/>
+ <l:gentext key="Draft" text="&#2454;&#2488;&#2524;&#2494;"/>
+ <l:gentext key="above" text="&#2441;&#2474;&#2480;"/>
+ <l:gentext key="below" text="&#2472;&#2495;&#2458;"/>
+ <l:gentext key="sectioncalled" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+ <l:gentext key="index symbols" text="&#2474;&#2509;&#2480;&#2468;&#2496;&#2453;"/>
+ <l:gentext key="lowercase.alpha" text="&#2437;&#2438;&#2439;&#2440;&#2441;&#2442;&#2447;&#2448;&#2451;&#2452;&#2443;&#2453;&#2454;&#2455;&#2456;&#2457;&#2458;&#2459;&#2460;&#2461;&#2462;&#2463;&#2464;&#2465;&#2466;&#2467;&#2468;&#2469;&#2470;&#2471;&#2472;&#2474;&#2475;&#2476;&#2477;&#2478;&#2479;&#2480;&#2482;&#2486;&#2487;&#2488;&#2489;&#2434;&#2435;"/>
+ <l:gentext key="uppercase.alpha" text="&#2437;&#2438;&#2439;&#2440;&#2441;&#2442;&#2447;&#2448;&#2451;&#2452;&#2443;&#2453;&#2454;&#2455;&#2456;&#2457;&#2458;&#2459;&#2460;&#2461;&#2462;&#2463;&#2464;&#2465;&#2466;&#2467;&#2468;&#2469;&#2470;&#2471;&#2472;&#2474;&#2475;&#2476;&#2477;&#2478;&#2479;&#2480;&#2482;&#2486;&#2487;&#2488;&#2489;&#2434;&#2435;"/>
+ <l:gentext key="hyphenation-character" text="-"/>
+ <l:gentext key="hyphenation-push-character-count" text="2"/>
+ <l:gentext key="hyphenation-remain-character-count" text="2"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/bn.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="singlestartquote" text="&#8216;"/>
+ <l:dingbat key="singleendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;&#160;%n.&#160;%t"/>
+ <l:template name="example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#2454;&#2472;&#2509;&#2465;&#160;%n.&#160;%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="&#2441;&#2468;&#2509;&#8205;&#2474;&#2494;&#2470;&#2472;&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#2459;&#2453;&#160;%n.&#160;%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;&#160;%n.&#160;%t"/>
+ <l:template name="article/appendix" text="%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#2441;&#2468;&#2509;&#2468;&#2480;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#2441;&#2468;&#2509;&#2468;&#2480;:&#160;%n"/>
+ <l:template name="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;&#160;%n"/>
+ <l:template name="bridgehead" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+ <l:template name="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;&#160;%n"/>
+ <l:template name="equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;&#160;%n"/>
+ <l:template name="example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;&#160;%n"/>
+ <l:template name="figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#160;%n"/>
+ <l:template name="part" text="&#2454;&#2472;&#2509;&#2465;&#160;%n"/>
+ <l:template name="procedure" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#160;%n"/>
+ <l:template name="productionset" text="&#2441;&#2468;&#2509;&#8205;&#2474;&#2494;&#2470;&#2472;&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:&#160;%n"/>
+ <l:template name="question" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:&#160;%n"/>
+ <l:template name="sect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+ <l:template name="sect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+ <l:template name="sect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+ <l:template name="sect4" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+ <l:template name="sect5" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+ <l:template name="section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+ <l:template name="table" text="&#2459;&#2453;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;&#160;%n, %t"/>
+ <l:template name="equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="&#2454;&#2472;&#2509;&#2465;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="&#2441;&#2468;&#2509;&#8205;&#2474;&#2494;&#2470;&#2472;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+ <l:template name="table" text="&#2459;&#2453;&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#2447;&#2476;&#2434; "/>
+ <l:template name="seplast" text=", &#2447;&#2476;&#2434; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#2470;&#2503;&#2454;&#2497;&#2472; "/>
+ <l:template name="seealso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#2486;&#2509;&#2480;&#2507;&#2468;&#2494;: "/>
+ <l:template name="MsgLevel" text="&#2488;&#2509;&#2468;&#2480;: "/>
+ <l:template name="MsgOrig" text="&#2441;&#2468;&#2509;&#8205;&#2488;: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d/m/Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="&#2460;&#2494;&#2472;&#2497;&#2527;&#2494;&#2480;&#2496;"/>
+ <l:template name="February" text="&#2475;&#2503;&#2476;&#2509;&#2480;&#2497;&#2527;&#2494;&#2480;&#2496;"/>
+ <l:template name="March" text="&#2478;&#2494;&#2480;&#2509;&#2458;"/>
+ <l:template name="April" text="&#2447;&#2474;&#2509;&#2480;&#2495;&#2482;"/>
+ <l:template name="May" text="&#2478;&#2503;"/>
+ <l:template name="June" text="&#2460;&#2497;&#2472;"/>
+ <l:template name="July" text="&#2460;&#2497;&#2482;&#2494;&#2439;"/>
+ <l:template name="August" text="&#2438;&#2455;&#2488;&#2509;&#2463;"/>
+ <l:template name="September" text="&#2488;&#2503;&#2474;&#2509;&#2463;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+ <l:template name="October" text="&#2437;&#2453;&#2509;&#2463;&#2507;&#2476;&#2480;"/>
+ <l:template name="November" text="&#2472;&#2477;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+ <l:template name="December" text="&#2465;&#2495;&#2488;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+ <l:template name="Monday" text="&#2488;&#2507;&#2478;&#2476;&#2494;&#2480;"/>
+ <l:template name="Tuesday" text="&#2478;&#2457;&#2509;&#2455;&#2482;&#2476;&#2494;&#2480;"/>
+ <l:template name="Wednesday" text="&#2476;&#2497;&#2471;&#2476;&#2494;&#2480;"/>
+ <l:template name="Thursday" text="&#2476;&#2499;&#2489;&#2435;&#2488;&#2509;&#2474;&#2468;&#2495;&#2476;&#2494;&#2480;"/>
+ <l:template name="Friday" text="&#2486;&#2497;&#2453;&#2509;&#2480;&#2476;&#2494;&#2480;"/>
+ <l:template name="Saturday" text="&#2486;&#2472;&#2495;&#2476;&#2494;&#2480;"/>
+ <l:template name="Sunday" text="&#2480;&#2476;&#2495;&#2476;&#2494;&#2480;"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="&#2460;&#2494;&#2472;&#2497;&#2527;&#2494;&#2480;&#2496;"/>
+ <l:template name="Feb" text="&#2475;&#2503;&#2476;&#2509;&#2480;&#2497;&#2527;&#2494;&#2480;&#2496;"/>
+ <l:template name="Mar" text="&#2478;&#2494;&#2480;&#2509;&#2458;"/>
+ <l:template name="Apr" text="&#2447;&#2474;&#2509;&#2480;&#2495;&#2482;"/>
+ <l:template name="May" text="&#2478;&#2503;"/>
+ <l:template name="Jun" text="&#2460;&#2497;&#2472;"/>
+ <l:template name="Jul" text="&#2460;&#2497;&#2482;&#2494;&#2439;"/>
+ <l:template name="Aug" text="&#2438;&#2455;&#2488;&#2509;&#2463;"/>
+ <l:template name="Sep" text="&#2488;&#2503;&#2474;&#2509;&#2463;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+ <l:template name="Oct" text="&#2437;&#2453;&#2509;&#2463;&#2507;&#2476;&#2480;"/>
+ <l:template name="Nov" text="&#2472;&#2477;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+ <l:template name="Dec" text="&#2465;&#2495;&#2488;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+ <l:template name="Mon" text="&#2488;&#2507;&#2478;"/>
+ <l:template name="Tue" text="&#2478;&#2457;&#2509;&#2455;&#2482;"/>
+ <l:template name="Wed" text="&#2476;&#2497;&#2471;"/>
+ <l:template name="Thu" text="&#2476;&#2499;&#2489;&#2435;&#2488;&#2509;&#2474;&#2468;&#2495;"/>
+ <l:template name="Fri" text="&#2486;&#2497;&#2453;&#2509;&#2480;"/>
+ <l:template name="Sat" text="&#2486;&#2472;&#2495;"/>
+ <l:template name="Sun" text="&#2480;&#2476;&#2495;"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text=" 0x0439 Bangla (Bangladesh and India)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/ca.xml b/docs/xslt/db2latex-xsl/xsl/common/ca.xml
new file mode 100644
index 0000000000..f2556c136a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/ca.xml
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ca" english-language-name="Catalan">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ca.xml -->
+ <l:gentext key="Abstract" text="Resum"/>
+ <l:gentext key="abstract" text="Resum"/>
+ <l:gentext key="Answer" text="Answer"/>
+ <l:gentext key="answer" text="Answer"/>
+ <l:gentext key="appendix" text="ap&#232;ndex"/>
+ <l:gentext key="Appendix" text="Ap&#232;ndix"/>
+ <l:gentext key="Article" text="Article"/>
+ <l:gentext key="article" text="Article"/>
+ <l:gentext key="Bibliography" text="Bibliografia"/>
+ <l:gentext key="bibliography" text="Bibliografia"/>
+ <l:gentext key="Book" text="Llibre"/>
+ <l:gentext key="book" text="Llibre"/>
+ <l:gentext key="Caution" text="Atenci&#243;"/>
+ <l:gentext key="caution" text="Atenci&#243;"/>
+ <l:gentext key="CAUTION" text="ATENCI&#211;"/>
+ <l:gentext key="Chapter" text="Cap&#237;tol"/>
+ <l:gentext key="chapter" text="cap&#237;tol"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Dret de reproducci&#243;"/>
+ <l:gentext key="copyright" text="Dret de reproducci&#243;"/>
+ <l:gentext key="Dedication" text="Dedicat&#242;ria"/>
+ <l:gentext key="dedication" text="Dedicat&#242;ria"/>
+ <l:gentext key="Edition" text="Edici&#243;"/>
+ <l:gentext key="edition" text="Edici&#243;"/>
+ <l:gentext key="Equation" text="Equaci&#243;"/>
+ <l:gentext key="equation" text="Equaci&#243;"/>
+ <l:gentext key="Example" text="Exemple"/>
+ <l:gentext key="example" text="Exemple"/>
+ <l:gentext key="Figure" text="Figura"/>
+ <l:gentext key="figure" text="Figura"/>
+ <l:gentext key="Glossary" text="Glossari"/>
+ <l:gentext key="glossary" text="Glossari"/>
+ <l:gentext key="GlossSee" text="Veure"/>
+ <l:gentext key="glosssee" text="Veure"/>
+ <l:gentext key="GlossSeeAlso" text="Veure tamb&#233;"/>
+ <l:gentext key="glossseealso" text="Veure tamb&#233;"/>
+ <l:gentext key="IMPORTANT" text="IMPORTANT"/>
+ <l:gentext key="Important" text="Important"/>
+ <l:gentext key="important" text="Important"/>
+ <l:gentext key="Index" text="&#205;ndex alfab&#232;tic"/>
+ <l:gentext key="index" text="&#205;ndex alfab&#232;tic"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text=""/>
+ <l:gentext key="legalnotice" text=""/>
+ <l:gentext key="MsgAud" text="Audi&#232;ncia"/>
+ <l:gentext key="msgaud" text="Audi&#232;ncia"/>
+ <l:gentext key="MsgLevel" text="Nivell"/>
+ <l:gentext key="msglevel" text="Nivell"/>
+ <l:gentext key="MsgOrig" text="Origen"/>
+ <l:gentext key="msgorig" text="Origen"/>
+ <l:gentext key="note" text="Nota"/>
+ <l:gentext key="NOTE" text="NOTA"/>
+ <l:gentext key="Note" text="Nota"/>
+ <l:gentext key="Part" text="Part"/>
+ <l:gentext key="part" text="Part"/>
+ <l:gentext key="Preface" text="Prefaci"/>
+ <l:gentext key="preface" text="Prefaci"/>
+ <l:gentext key="Procedure" text="Procediment"/>
+ <l:gentext key="procedure" text="Procediment"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="PubDate" text="Data de publicaci&#243;"/>
+ <l:gentext key="pubdate" text="Data de publicaci&#243;"/>
+ <l:gentext key="Published" text="Data de publicaci&#243;"/>
+ <l:gentext key="published" text="Data de publicaci&#243;"/>
+ <l:gentext key="Question" text="Question"/>
+ <l:gentext key="question" text="Question"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Refer&#232;ncia"/>
+ <l:gentext key="reference" text="Refer&#232;ncia"/>
+ <l:gentext key="RefName" text="Nom"/>
+ <l:gentext key="refname" text="Nom"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Historial de revisions"/>
+ <l:gentext key="revhistory" text="Historial de revisions"/>
+ <l:gentext key="Revision" text="Revisi&#243;"/>
+ <l:gentext key="revision" text="Revisi&#243;"/>
+ <l:gentext key="sect1" text="Secci&#243;"/>
+ <l:gentext key="sect2" text="Secci&#243;"/>
+ <l:gentext key="sect3" text="Secci&#243;"/>
+ <l:gentext key="sect4" text="Secci&#243;"/>
+ <l:gentext key="sect5" text="Secci&#243;"/>
+ <l:gentext key="Section" text="Secci&#243;"/>
+ <l:gentext key="section" text="secci&#243;"/>
+ <l:gentext key="see" text="Veure"/>
+ <l:gentext key="See" text="Veure"/>
+ <l:gentext key="Seealso" text="Veure tamb&#233;"/>
+ <l:gentext key="seealso" text="Veure tambi&#233;"/>
+ <l:gentext key="SeeAlso" text="Veure tambi&#233;"/>
+ <l:gentext key="Set" text="Conjunt"/>
+ <l:gentext key="set" text="Conjunt"/>
+ <l:gentext key="SetIndex" text="&#205;ndex del conjunt"/>
+ <l:gentext key="setindex" text="&#205;ndex del conjunt"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="glossa"/>
+ <l:gentext key="step" text="pas"/>
+ <l:gentext key="Step" text="Pas"/>
+ <l:gentext key="table" text="Taula"/>
+ <l:gentext key="Table" text="Taula"/>
+ <l:gentext key="TIP" text="SUGGERIMENT"/>
+ <l:gentext key="Tip" text="Suggeriment"/>
+ <l:gentext key="tip" text="Suggeriment"/>
+ <l:gentext key="WARNING" text="AV&#205;S"/>
+ <l:gentext key="Warning" text="Av&#237;s"/>
+ <l:gentext key="warning" text="Av&#237;s"/>
+ <l:gentext key="and" text="i"/>
+ <l:gentext key="by" text="per"/>
+ <l:gentext key="Edited" text="Editat"/>
+ <l:gentext key="edited" text="Editat"/>
+ <l:gentext key="Editedby" text="Editat per"/>
+ <l:gentext key="editedby" text="Editat per"/>
+ <l:gentext key="in" text="a"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="element inexistent"/>
+ <l:gentext key="notes" text="Notes"/>
+ <l:gentext key="Notes" text="Notes"/>
+ <l:gentext key="Pgs" text="P&#224;gs."/>
+ <l:gentext key="pgs" text="P&#224;gs."/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text="Notes"/>
+ <l:gentext key="tablenotes" text="Notes"/>
+ <l:gentext key="TableofContents" text="Sumari"/>
+ <l:gentext key="tableofcontents" text="Sumari"/>
+ <l:gentext key="unexpectedelementname" text="Nom d'element no esperat"/>
+ <l:gentext key="unsupported" text="no reconeguda"/>
+ <l:gentext key="xrefto" text="xref a"/>
+ <l:gentext key="listofequations" text="&#205;ndex d'equacions"/>
+ <l:gentext key="ListofEquations" text="&#205;ndex d'equacions"/>
+ <l:gentext key="ListofExamples" text="&#205;ndex d'exemples"/>
+ <l:gentext key="listofexamples" text="&#205;ndex d'exemples"/>
+ <l:gentext key="ListofFigures" text="&#205;ndex de figures"/>
+ <l:gentext key="listoffigures" text="&#205;ndex de figures"/>
+ <l:gentext key="listoftables" text="&#205;ndex de taules"/>
+ <l:gentext key="ListofTables" text="&#205;ndex de taules"/>
+ <l:gentext key="ListofUnknown" text="&#205;ndex de desconegut ?"/>
+ <l:gentext key="listofunknown" text="&#205;ndex de desconegut ?"/>
+ <l:gentext key="nav-home" text="Inici"/>
+ <l:gentext key="nav-next" text="Seguent"/>
+ <l:gentext key="nav-next-sibling" text="Avancar"/>
+ <l:gentext key="nav-prev" text="Anterior"/>
+ <l:gentext key="nav-prev-sibling" text="Retrocedir"/>
+ <l:gentext key="nav-up" text="Pujar"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ca.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="last-first"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Ap&#232;ndix %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Cap&#237;tol %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Equaci&#243; %n. %t"/>
+ <l:template name="example" text="Exemple %n. %t"/>
+ <l:template name="figure" text="Figura %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Part %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procediment&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Taula %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Ap&#232;ndix %n. %t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="Cap&#237;tol %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Answer&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Question&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Question&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="bridgehead" text=" &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Answer&#160;%n"/>
+ <l:template name="appendix" text="Ap&#232;ndix&#160;%n"/>
+ <l:template name="bridgehead" text="Secci&#243;&#160;%n"/>
+ <l:template name="chapter" text="Cap&#237;tol&#160;%n"/>
+ <l:template name="equation" text="Equaci&#243;&#160;%n"/>
+ <l:template name="example" text="Exemple&#160;%n"/>
+ <l:template name="figure" text="Figura&#160;%n"/>
+ <l:template name="part" text="Part&#160;%n"/>
+ <l:template name="procedure" text="Procediment&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Question&#160;%n"/>
+ <l:template name="question" text="Question&#160;%n"/>
+ <l:template name="sect1" text="Secci&#243;&#160;%n"/>
+ <l:template name="sect2" text="Secci&#243;&#160;%n"/>
+ <l:template name="sect3" text="Secci&#243;&#160;%n"/>
+ <l:template name="sect4" text="Secci&#243;&#160;%n"/>
+ <l:template name="sect5" text="Secci&#243;&#160;%n"/>
+ <l:template name="section" text="Secci&#243;&#160;%n"/>
+ <l:template name="table" text="Taula&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Ap&#232;ndix&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Cap&#237;tol&#160;%n, %t"/>
+ <l:template name="equation" text="Equaci&#243;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Exemple&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Part&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procediment&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Taula&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" i "/>
+ <l:template name="seplast" text=", i "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Veure "/>
+ <l:template name="seealso" text="Veure tamb&#233; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Audi&#232;ncia: "/>
+ <l:template name="MsgLevel" text="Nivell: "/>
+ <l:template name="MsgOrig" text="Origen: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0403 Catalan"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/common.xsl b/docs/xslt/db2latex-xsl/xsl/common/common.xsl
new file mode 100644
index 0000000000..5a1d978c07
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/common.xsl
@@ -0,0 +1,1573 @@
+<?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.6 2004/01/04 09:25:06 j-devenish Exp $
+ ********************************************************************
+
+ This file is part of the XSL DocBook Stylesheet distribution.
+
+ Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh.
+ ******************************************************************** -->
+
+<doc:reference xmlns="">
+<referenceinfo>
+<releaseinfo role="meta">
+$Id: common.xsl,v 1.6 2004/01/04 09:25:06 j-devenish Exp $
+</releaseinfo>
+<author><surname>Walsh</surname>
+<firstname>Norman</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.
+The element <sgmltag>sect1</sgmltag> is at level 1, <sgmltag>sect2</sgmltag> is
+at level 2, etc.</para>
+
+<para>Recursive sections are calculated down to the fifth 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>1</quote>, <quote>2</quote>, etc.
+</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="section.level">
+ <xsl:param name="node" select="."/>
+ <xsl:choose>
+ <xsl:when test="name($node)='sect1'">1</xsl:when>
+ <xsl:when test="name($node)='sect2'">2</xsl:when>
+ <xsl:when test="name($node)='sect3'">3</xsl:when>
+ <xsl:when test="name($node)='sect4'">4</xsl:when>
+ <xsl:when test="name($node)='sect5'">5</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:when test="$node/../../section">2</xsl:when>
+ <xsl:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="name($node)='refsect1' or
+ name($node)='refsect2' or
+ name($node)='refsect3' or
+ name($node)='refsection' or
+ name($node)='refsynopsisdiv'">
+ <xsl:call-template name="refentry.section.level">
+ <xsl:with-param name="node" select="$node"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="name($node)='simplesect'">
+ <xsl:choose>
+ <xsl:when test="$node/../../sect1">2</xsl:when>
+ <xsl:when test="$node/../../sect2">3</xsl:when>
+ <xsl:when test="$node/../../sect3">4</xsl:when>
+ <xsl:when test="$node/../../sect4">5</xsl:when>
+ <xsl:when test="$node/../../sect5">5</xsl:when>
+ <xsl:when test="$node/../../section">
+ <xsl:choose>
+ <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:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>1</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:variable name="slevel">
+ <xsl:call-template name="section.level">
+ <xsl:with-param name="node" select="$section"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:value-of select="$slevel + 1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- Finds the total section depth of a section in a refentry -->
+<xsl:template name="refentry.section.level">
+ <xsl:param name="node" select="."/>
+
+ <xsl:variable name="RElevel">
+ <xsl:call-template name="refentry.level">
+ <xsl:with-param name="node" select="$node/ancestor::refentry[1]"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:variable name="levelinRE">
+ <xsl:choose>
+ <xsl:when test="name($node)='refsynopsisdiv'">1</xsl:when>
+ <xsl:when test="name($node)='refsect1'">1</xsl:when>
+ <xsl:when test="name($node)='refsect2'">2</xsl:when>
+ <xsl:when test="name($node)='refsect3'">3</xsl:when>
+ <xsl:when test="name($node)='refsection'">
+ <xsl:choose>
+ <xsl:when test="$node/../../../../../refsection">5</xsl:when>
+ <xsl:when test="$node/../../../../refsection">4</xsl:when>
+ <xsl:when test="$node/../../../refsection">3</xsl:when>
+ <xsl:when test="$node/../../refsection">2</xsl:when>
+ <xsl:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:value-of select="$levelinRE + $RElevel"/>
+</xsl:template>
+
+<!-- Finds the section depth of a refentry -->
+<xsl:template name="refentry.level">
+ <xsl:param name="node" select="."/>
+ <xsl:variable name="container"
+ select="($node/ancestor::section |
+ $node/ancestor::sect1 |
+ $node/ancestor::sect2 |
+ $node/ancestor::sect3 |
+ $node/ancestor::sect4 |
+ $node/ancestor::sect5)[last()]"/>
+
+ <xsl:choose>
+ <xsl:when test="$container">
+ <xsl:variable name="slevel">
+ <xsl:call-template name="section.level">
+ <xsl:with-param name="node" select="$container"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:value-of select="$slevel + 1"/>
+ </xsl:when>
+ <xsl:otherwise>1</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 match="qandaset" mode="number">
+ <!-- FIXME: -->
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="number">
+ <xsl:number level="multiple" from="qandaset" format="1."/>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="number">
+ <xsl:choose>
+ <xsl:when test="ancestor::qandadiv">
+ <xsl:number level="single" from="qandadiv" format="1."/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:number level="single" from="qandaset" format="1."/>
+ </xsl:otherwise>
+ </xsl:choose>
+</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">
+ <!-- Formats a personal name. Handles corpauthor as a special case. -->
+ <xsl:param name="node" select="."/>
+
+ <xsl:variable name="style">
+ <xsl:choose>
+ <xsl:when test="$node/@role">
+ <xsl:value-of select="$node/@role"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'styles'"/>
+ <xsl:with-param name="name" select="'person-name'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:choose>
+ <!-- the personname element is a specialcase -->
+ <xsl:when test="$node/personname">
+ <xsl:call-template name="person.name">
+ <xsl:with-param name="node" select="$node/personname"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <!-- handle corpauthor as a special case...-->
+ <xsl:when test="name($node)='corpauthor'">
+ <xsl:apply-templates select="$node"/>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$style = 'family-given'">
+ <xsl:call-template name="person.name.family-given">
+ <xsl:with-param name="node" select="$node"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$style = 'last-first'">
+ <xsl:call-template name="person.name.last-first">
+ <xsl:with-param name="node" select="$node"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="person.name.first-last">
+ <xsl:with-param name="node" select="$node"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="person.name.family-given">
+ <xsl:param name="node" select="."/>
+
+ <!-- The family-given style applies a convention for identifying given -->
+ <!-- and family names in locales where it may be ambiguous -->
+ <xsl:apply-templates select="$node//surname[1]"/>
+
+ <xsl:if test="$node//surname and $node//firstname">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates select="$node//firstname[1]"/>
+
+ <xsl:text> [FAMILY Given]</xsl:text>
+</xsl:template>
+
+<xsl:template name="person.name.last-first">
+ <xsl:param name="node" select="."/>
+
+ <xsl:apply-templates select="$node//surname[1]"/>
+
+ <xsl:if test="$node//surname and $node//firstname">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates select="$node//firstname[1]"/>
+</xsl:template>
+
+<xsl:template name="person.name.first-last">
+ <xsl:param name="node" select="."/>
+
+ <xsl:if test="$node//honorific">
+ <xsl:apply-templates select="$node//honorific[1]"/>
+ <xsl:value-of select="$punct.honorific"/>
+ </xsl:if>
+
+ <xsl:if test="$node//firstname">
+ <xsl:if test="$node//honorific">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="$node//firstname[1]"/>
+ </xsl:if>
+
+ <xsl:if test="$node//othername and $author.othername.in.middle != 0">
+ <xsl:if test="$node//honorific or $node//firstname">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="$node//othername[1]"/>
+ </xsl:if>
+
+ <xsl:if test="$node//surname">
+ <xsl:if test="$node//honorific or $node//firstname
+ or ($node//othername and $author.othername.in.middle != 0)">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="$node//surname[1]"/>
+ </xsl:if>
+
+ <xsl:if test="$node//lineage">
+ <xsl:text>, </xsl:text>
+ <xsl:apply-templates select="$node//lineage[1]"/>
+ </xsl:if>
+</xsl:template>
+
+<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 &gt; $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:choose>
+ <xsl:when test="$person.count = 2 and $count = 1">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'authorgroup'"/>
+ <xsl:with-param name="name" select="'sep2'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$person.count &gt; 2 and $count+1 = $person.count">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'authorgroup'"/>
+ <xsl:with-param name="name" select="'seplast'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$count &lt; $person.count">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'authorgroup'"/>
+ <xsl:with-param name="name" select="'sep'"/>
+ </xsl:call-template>
+ </xsl:when>
+ </xsl:choose>
+
+ <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>
+
+<!-- ====================================================================== -->
+
+<!--
+<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 and processes an appropriate media object from a list</refpurpose>
+
+<refdescription>
+<para>This template takes 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
+"select.mediaobject.index" to determine which object
+in the list is appropriate.</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:variable name="mediaobject.index">
+ <xsl:call-template name="select.mediaobject.index">
+ <xsl:with-param name="olist" select="$olist"/>
+ <xsl:with-param name="count" select="1"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:if test="$mediaobject.index != ''">
+ <xsl:apply-templates select="$olist[position() = $mediaobject.index]"/>
+ </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="select.mediaobject.index" xmlns="">
+<refpurpose>Selects the position of the appropriate media object from a list</refpurpose>
+
+<refdescription>
+<para>This template takes a list of media objects (usually the
+children of a mediaobject or inlinemediaobject) and determines
+the "right" object. It returns the position of that object
+to be used by the calling template.</para>
+
+<para>If the parameter <parameter>use.role.for.mediaobject</parameter>
+is nonzero, then it first checks for an object with
+a role attribute of the appropriate value. It takes the first
+of those. Otherwise, it takes the first acceptable object
+through a recursive pass through the list.</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, no index is returned.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>olist</term>
+<listitem>
+<para>The node list of potential objects to examine.</para>
+</listitem>
+</varlistentry>
+<varlistentry><term>count</term>
+<listitem>
+<para>The position in the list currently being considered by the
+recursive process.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>Returns the position in the original list of the selected object.</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="select.mediaobject.index">
+ <xsl:param name="olist"
+ select="imageobject|imageobjectco
+ |videoobject|audioobject|textobject"/>
+ <xsl:param name="count">1</xsl:param>
+
+ <xsl:choose>
+ <!-- Test for objects preferred by role -->
+ <xsl:when test="$use.role.for.mediaobject != 0
+ and $preferred.mediaobject.role != ''
+ and $olist[@role = $preferred.mediaobject.role]">
+
+ <!-- Get the first hit's position index -->
+ <xsl:for-each select="$olist">
+ <xsl:if test="@role = $preferred.mediaobject.role and
+ not(preceding-sibling::*[@role = $preferred.mediaobject.role])">
+ <xsl:value-of select="position()"/>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:when>
+
+ <xsl:when test="$use.role.for.mediaobject != 0
+ and $olist[@role = $stylesheet.result.type]">
+ <!-- Get the first hit's position index -->
+ <xsl:for-each select="$olist">
+ <xsl:if test="@role = $stylesheet.result.type and
+ not(preceding-sibling::*[@role = $stylesheet.result.type])">
+ <xsl:value-of select="position()"/>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:when>
+ <!-- Accept 'html' for $stylesheet.result.type = 'xhtml' -->
+ <xsl:when test="$use.role.for.mediaobject != 0
+ and $stylesheet.result.type = 'xhtml'
+ and $olist[@role = 'html']">
+ <!-- Get the first hit's position index -->
+ <xsl:for-each select="$olist">
+ <xsl:if test="@role = 'html' and
+ not(preceding-sibling::*[@role = 'html'])">
+ <xsl:value-of select="position()"/>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- Otherwise select first acceptable object -->
+ <xsl:if test="$count &lt;= count($olist)">
+ <xsl:variable name="object" select="$olist[position()=$count]"/>
+
+ <xsl:variable name="useobject">
+ <xsl:choose>
+ <!-- The phrase is used only when contains TeX Math and output is FO -->
+ <xsl:when test="name($object)='textobject' and $object/phrase
+ and $object/@role='tex' and $stylesheet.result.type = 'fo'
+ and $tex.math.in.alt != ''">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ <!-- The phrase is never used -->
+ <xsl:when test="name($object)='textobject' and $object/phrase">
+ <xsl:text>0</xsl:text>
+ </xsl:when>
+ <xsl:when test="name($object)='textobject'
+ and $object/ancestor::equation ">
+ <!-- The first textobject is not a reasonable fallback
+ for equation image -->
+ <xsl:text>0</xsl:text>
+ </xsl:when>
+ <!-- The first textobject is a reasonable fallback -->
+ <xsl:when test="name($object)='textobject'
+ and $object[not(@role) or @role!='tex']">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ <!-- don't use graphic when output is FO, TeX Math is used
+ and there is math in alt element -->
+ <xsl:when test="$object/ancestor::equation and
+ $object/ancestor::equation/alt[@role='tex']
+ and $stylesheet.result.type = 'fo'
+ and $tex.math.in.alt != ''">
+ <xsl:text>0</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:value-of select="$count"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="select.mediaobject.index">
+ <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:otherwise>
+ </xsl:choose>
+</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="$use.svg = 0 and $format = 'SVG'">0</xsl:when>
+ <xsl:when xmlns:svg="http://www.w3.org/2000/svg"
+ test="$use.svg != 0 and $object/svg:*">1</xsl:when>
+ <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="mediaobject.filename">
+ <xsl:param name="object"></xsl:param>
+
+ <xsl:variable name="data" select="$object/videodata
+ |$object/imagedata
+ |$object/audiodata
+ |$object"/>
+
+ <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="real.ext">
+ <xsl:call-template name="filename-extension">
+ <xsl:with-param name="filename" select="$filename"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:variable name="ext">
+ <xsl:choose>
+ <xsl:when test="$real.ext != ''">
+ <xsl:value-of select="$real.ext"/>
+ </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="$real.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="key('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:message>
+ <xsl:text>If the ID exists in your document, did your </xsl:text>
+ <xsl:text>XSLT Processor load the DTD?</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="key('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>
+
+<!-- ====================================================================== -->
+<!-- Procedure Step Numeration -->
+
+<xsl:param name="procedure.step.numeration.formats" select="'1aiAI'"/>
+
+<xsl:template name="procedure.step.numeration">
+ <xsl:param name="context" select="."/>
+ <xsl:variable name="format.length"
+ select="string-length($procedure.step.numeration.formats)"/>
+ <xsl:choose>
+ <xsl:when test="local-name($context) = 'substeps'">
+ <xsl:variable name="ssdepth"
+ select="count($context/ancestor::substeps)"/>
+ <xsl:variable name="sstype" select="($ssdepth mod $format.length)+2"/>
+ <xsl:choose>
+ <xsl:when test="$sstype &gt; $format.length">
+ <xsl:value-of select="substring($procedure.step.numeration.formats,1,1)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="substring($procedure.step.numeration.formats,$sstype,1)"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="local-name($context) = 'step'">
+ <xsl:variable name="sdepth"
+ select="count($context/ancestor::substeps)"/>
+ <xsl:variable name="stype" select="($sdepth mod $format.length)+1"/>
+ <xsl:value-of select="substring($procedure.step.numeration.formats,$stype,1)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>
+ <xsl:text>Unexpected context in procedure.step.numeration: </xsl:text>
+ <xsl:value-of select="local-name($context)"/>
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="step" mode="number">
+ <xsl:param name="rest" select="''"/>
+ <xsl:param name="recursive" select="1"/>
+ <xsl:variable name="format">
+ <xsl:call-template name="procedure.step.numeration"/>
+ </xsl:variable>
+ <xsl:variable name="num">
+ <xsl:number count="step" format="{$format}"/>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$recursive != 0 and ancestor::step">
+ <xsl:apply-templates select="ancestor::step[1]" mode="number">
+ <xsl:with-param name="rest" select="concat('.', $num, $rest)"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="concat($num, $rest)"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- OrderedList Numeration -->
+
+<xsl:template name="orderedlist-starting-number">
+ <xsl:param name="list" select="."/>
+ <xsl:choose>
+ <xsl:when test="not($list/@continuation = 'continues')">1</xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="prevlist"
+ select="$list/preceding::orderedlist[1]"/>
+ <xsl:choose>
+ <xsl:when test="count($prevlist) = 0">2</xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="prevlength" select="count($prevlist/listitem)"/>
+ <xsl:variable name="prevstart">
+ <xsl:call-template name="orderedlist-starting-number">
+ <xsl:with-param name="list" select="$prevlist"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:value-of select="$prevstart + $prevlength"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="orderedlist-item-number">
+ <!-- context node must be a listitem in an orderedlist -->
+ <xsl:param name="node" select="."/>
+
+ <xsl:choose>
+ <xsl:when test="$node/@override">
+ <xsl:value-of select="$node/@override"/>
+ </xsl:when>
+ <xsl:when test="$node/preceding-sibling::listitem">
+ <xsl:variable name="pnum">
+ <xsl:call-template name="orderedlist-item-number">
+ <xsl:with-param name="node" select="$node/preceding-sibling::listitem[1]"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:value-of select="$pnum + 1"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="orderedlist-starting-number">
+ <xsl:with-param name="list" select="parent::*"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="next.numeration">
+ <xsl:param name="numeration" select="'default'"/>
+ <xsl:choose>
+ <!-- Change this list if you want to change the order of numerations -->
+ <xsl:when test="$numeration = 'arabic'">loweralpha</xsl:when>
+ <xsl:when test="$numeration = 'loweralpha'">lowerroman</xsl:when>
+ <xsl:when test="$numeration = 'lowerroman'">upperalpha</xsl:when>
+ <xsl:when test="$numeration = 'upperalpha'">upperroman</xsl:when>
+ <xsl:when test="$numeration = 'upperroman'">arabic</xsl:when>
+ <xsl:otherwise>arabic</xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="list.numeration">
+ <xsl:param name="node" select="."/>
+
+ <xsl:choose>
+ <xsl:when test="$node/@numeration">
+ <xsl:value-of select="$node/@numeration"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$node/ancestor::orderedlist">
+ <xsl:call-template name="next.numeration">
+ <xsl:with-param name="numeration">
+ <xsl:call-template name="list.numeration">
+ <xsl:with-param name="node" select="$node/ancestor::orderedlist[1]"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="next.numeration"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- ItemizedList "Numeration" -->
+
+<xsl:template name="next.itemsymbol">
+ <xsl:param name="itemsymbol" select="'default'"/>
+ <xsl:choose>
+ <!-- Change this list if you want to change the order of symbols -->
+ <xsl:when test="$itemsymbol = 'disc'">circle</xsl:when>
+ <xsl:when test="$itemsymbol = 'round'">square</xsl:when>
+ <xsl:otherwise>disc</xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="list.itemsymbol">
+ <xsl:param name="node" select="."/>
+
+ <xsl:choose>
+ <xsl:when test="$node/@mark">
+ <xsl:value-of select="$node/@mark"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$node/ancestor::itemizedlist">
+ <xsl:call-template name="next.itemsymbol">
+ <xsl:with-param name="itemsymbol">
+ <xsl:call-template name="list.itemsymbol">
+ <xsl:with-param name="node" select="$node/ancestor::itemizedlist[1]"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="next.itemsymbol"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="copyright.years" xmlns="">
+<refpurpose>Print a set of years with collapsed ranges</refpurpose>
+
+<refdescription>
+<para>This template prints a list of year elements with consecutive
+years printed as a range. In other words:</para>
+
+<screen><![CDATA[<year>1992</year>
+<year>1993</year>
+<year>1994</year>]]></screen>
+
+<para>is printed <quote>1992-1994</quote>, whereas:</para>
+
+<screen><![CDATA[<year>1992</year>
+<year>1994</year>]]></screen>
+
+<para>is printed <quote>1992, 1994</quote>.</para>
+
+<para>This template assumes that all the year elements contain only
+decimal year numbers, that the elements are sorted in increasing
+numerical order, that there are no duplicates, and that all the years
+are expressed in full <quote>century+year</quote>
+(<quote>1999</quote> not <quote>99</quote>) notation.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>years</term>
+<listitem>
+<para>The initial set of year elements.</para>
+</listitem>
+</varlistentry>
+<varlistentry><term>print.ranges</term>
+<listitem>
+<para>If non-zero, multi-year ranges are collapsed. If zero, all years
+are printed discretely.</para>
+</listitem>
+</varlistentry>
+<varlistentry><term>single.year.ranges</term>
+<listitem>
+<para>If non-zero, two consecutive years will be printed as a range,
+otherwise, they will be printed discretely. In other words, a single
+year range is <quote>1991-1992</quote> but discretely it's
+<quote>1991, 1992</quote>.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>This template returns the formatted list of years.</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="copyright.years">
+ <xsl:param name="years"/>
+ <xsl:param name="print.ranges" select="1"/>
+ <xsl:param name="single.year.ranges" select="0"/>
+ <xsl:param name="firstyear" select="0"/>
+ <xsl:param name="nextyear" select="0"/>
+
+ <!--
+ <xsl:message terminate="no">
+ <xsl:text>CY: </xsl:text>
+ <xsl:value-of select="count($years)"/>
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="$firstyear"/>
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="$nextyear"/>
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="$print.ranges"/>
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="$single.year.ranges"/>
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="$years[1]"/>
+ <xsl:text>)</xsl:text>
+ </xsl:message>
+ -->
+
+ <xsl:choose>
+ <xsl:when test="$print.ranges = 0 and count($years) &gt; 0">
+ <xsl:choose>
+ <xsl:when test="count($years) = 1">
+ <xsl:apply-templates select="$years[1]" mode="titlepage.mode"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="$years[1]" mode="titlepage.mode"/>
+ <xsl:text>, </xsl:text>
+ <xsl:call-template name="copyright.years">
+ <xsl:with-param name="years"
+ select="$years[position() &gt; 1]"/>
+ <xsl:with-param name="print.ranges" select="$print.ranges"/>
+ <xsl:with-param name="single.year.ranges"
+ select="$single.year.ranges"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="count($years) = 0">
+ <xsl:variable name="lastyear" select="$nextyear - 1"/>
+ <xsl:choose>
+ <xsl:when test="$firstyear = 0">
+ <!-- there weren't any years at all -->
+ </xsl:when>
+ <xsl:when test="$firstyear = $lastyear">
+ <xsl:value-of select="$firstyear"/>
+ </xsl:when>
+ <xsl:when test="$single.year.ranges = 0
+ and $lastyear = $firstyear + 1">
+ <xsl:value-of select="$firstyear"/>
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="$lastyear"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$firstyear"/>
+ <xsl:text>-</xsl:text>
+ <xsl:value-of select="$lastyear"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$firstyear = 0">
+ <xsl:call-template name="copyright.years">
+ <xsl:with-param name="years"
+ select="$years[position() &gt; 1]"/>
+ <xsl:with-param name="firstyear" select="$years[1]"/>
+ <xsl:with-param name="nextyear" select="$years[1] + 1"/>
+ <xsl:with-param name="print.ranges" select="$print.ranges"/>
+ <xsl:with-param name="single.year.ranges"
+ select="$single.year.ranges"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$nextyear = $years[1]">
+ <xsl:call-template name="copyright.years">
+ <xsl:with-param name="years"
+ select="$years[position() &gt; 1]"/>
+ <xsl:with-param name="firstyear" select="$firstyear"/>
+ <xsl:with-param name="nextyear" select="$nextyear + 1"/>
+ <xsl:with-param name="print.ranges" select="$print.ranges"/>
+ <xsl:with-param name="single.year.ranges"
+ select="$single.year.ranges"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- we have years left, but they aren't in the current range -->
+ <xsl:choose>
+ <xsl:when test="$nextyear = $firstyear + 1">
+ <xsl:value-of select="$firstyear"/>
+ <xsl:text>, </xsl:text>
+ </xsl:when>
+ <xsl:when test="$single.year.ranges = 0
+ and $nextyear = $firstyear + 2">
+ <xsl:value-of select="$firstyear"/>
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="$nextyear - 1"/>
+ <xsl:text>, </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$firstyear"/>
+ <xsl:text>-</xsl:text>
+ <xsl:value-of select="$nextyear - 1"/>
+ <xsl:text>, </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:call-template name="copyright.years">
+ <xsl:with-param name="years"
+ select="$years[position() &gt; 1]"/>
+ <xsl:with-param name="firstyear" select="$years[1]"/>
+ <xsl:with-param name="nextyear" select="$years[1] + 1"/>
+ <xsl:with-param name="print.ranges" select="$print.ranges"/>
+ <xsl:with-param name="single.year.ranges"
+ select="$single.year.ranges"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="find.path.params" xmlns="">
+<refpurpose>Search in a table for the "best" match for the node</refpurpose>
+
+<refdescription>
+<para>This template searches in a table for the value that most-closely
+(in the typical best-match sense of XSLT) matches the current (element)
+node location.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template name="find.path.params">
+ <xsl:param name="node" select="."/>
+ <xsl:param name="table" select="''"/>
+ <xsl:param name="location">
+ <xsl:call-template name="xpath.location">
+ <xsl:with-param name="node" select="$node"/>
+ </xsl:call-template>
+ </xsl:param>
+
+ <xsl:variable name="value">
+ <xsl:call-template name="lookup.key">
+ <xsl:with-param name="key" select="$location"/>
+ <xsl:with-param name="table" select="$table"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:choose>
+ <xsl:when test="$value != ''">
+ <xsl:value-of select="$value"/>
+ </xsl:when>
+ <xsl:when test="contains($location, '/')">
+ <xsl:call-template name="find.path.params">
+ <xsl:with-param name="node" select="$node"/>
+ <xsl:with-param name="table" select="$table"/>
+ <xsl:with-param name="location" select="substring-after($location, '/')"/>
+ </xsl:call-template>
+ </xsl:when>
+ </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/common/cs.xml b/docs/xslt/db2latex-xsl/xsl/common/cs.xml
new file mode 100644
index 0000000000..4442e00cfc
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/cs.xml
@@ -0,0 +1,491 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="cs" english-language-name="Czech">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+ <l:gentext key="keywordset" text="Kl&#237;&#269;ov&#237;slova"/>
+ <l:gentext key="keyword" text="Kl&#237;&#269;ov&#233;slovo"/>
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/cs.xml -->
+ <l:gentext key="Abstract" text="Abstrakt"/>
+ <l:gentext key="abstract" text="Abstrakt"/>
+ <l:gentext key="Answer" text="Odpov&#283;&#271;:"/>
+ <l:gentext key="answer" text="Odpov&#283;&#271;:"/>
+ <l:gentext key="Appendix" text="P&#345;&#237;loha"/>
+ <l:gentext key="appendix" text="P&#345;&#237;loha"/>
+ <l:gentext key="Article" text="&#268;l&#225;nek"/>
+ <l:gentext key="article" text="&#268;l&#225;nek"/>
+ <l:gentext key="Bibliography" text="Bibliografie"/>
+ <l:gentext key="bibliography" text="Bibliografie"/>
+ <l:gentext key="Book" text="Kniha"/>
+ <l:gentext key="book" text="Kniha"/>
+ <l:gentext key="CAUTION" text="V&#253;straha"/>
+ <l:gentext key="Caution" text="V&#253;straha"/>
+ <l:gentext key="caution" text="V&#253;straha"/>
+ <l:gentext key="Chapter" text="Kapitola"/>
+ <l:gentext key="chapter" text="Kapitola"/>
+ <l:gentext key="Colophon" text="Tir&#225;&#382;"/>
+ <l:gentext key="colophon" text="Tir&#225;&#382;"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="V&#283;nov&#225;n&#237;"/>
+ <l:gentext key="dedication" text="V&#283;nov&#225;n&#237;"/>
+ <l:gentext key="Edition" text="Vyd&#225;n&#237;"/>
+ <l:gentext key="edition" text="Vyd&#225;n&#237;"/>
+ <l:gentext key="Equation" text="Rovnice"/>
+ <l:gentext key="equation" text="Rovnice"/>
+ <l:gentext key="Example" text="P&#345;&#237;klad"/>
+ <l:gentext key="example" text="P&#345;&#237;klad"/>
+ <l:gentext key="Figure" text="Obr&#225;zek"/>
+ <l:gentext key="figure" text="Obr&#225;zek"/>
+ <l:gentext key="Glossary" text="Slovn&#237;k"/>
+ <l:gentext key="glossary" text="Slovn&#237;k"/>
+ <l:gentext key="GlossSee" text="Viz"/>
+ <l:gentext key="glosssee" text="Viz"/>
+ <l:gentext key="GlossSeeAlso" text="Viz t&#233;&#382;"/>
+ <l:gentext key="glossseealso" text="Viz t&#233;&#382;"/>
+ <l:gentext key="IMPORTANT" text="D&#367;le&#382;it&#233;"/>
+ <l:gentext key="Important" text="D&#367;le&#382;it&#233;"/>
+ <l:gentext key="important" text="D&#367;le&#382;it&#233;"/>
+ <l:gentext key="Index" text="Rejst&#345;&#237;k"/>
+ <l:gentext key="index" text="Rejst&#345;&#237;k"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Pr&#225;vn&#237; dolo&#382;ka"/>
+ <l:gentext key="legalnotice" text="Pr&#225;vn&#237; dolo&#382;ka"/>
+ <l:gentext key="MsgAud" text="Publikum"/>
+ <l:gentext key="msgaud" text="Publikum"/>
+ <l:gentext key="MsgLevel" text="&#218;rove&#328;"/>
+ <l:gentext key="msglevel" text="&#218;rove&#328;"/>
+ <l:gentext key="MsgOrig" text="P&#367;vod"/>
+ <l:gentext key="msgorig" text="P&#367;vod"/>
+ <l:gentext key="NOTE" text="Pozn&#225;mka"/>
+ <l:gentext key="Note" text="Pozn&#225;mka"/>
+ <l:gentext key="note" text="Pozn&#225;mka"/>
+ <l:gentext key="Part" text="&#268;&#225;st"/>
+ <l:gentext key="part" text="&#268;&#225;st"/>
+ <l:gentext key="Preface" text="P&#345;edmluva"/>
+ <l:gentext key="preface" text="P&#345;edmluva"/>
+ <l:gentext key="Procedure" text="Postup"/>
+ <l:gentext key="procedure" text="Postup"/>
+ <l:gentext key="ProductionSet" text="Produkce"/>
+ <l:gentext key="Published" text="Vyd&#225;no"/>
+ <l:gentext key="published" text="Vyd&#225;no"/>
+ <l:gentext key="Question" text="Ot&#225;zka:"/>
+ <l:gentext key="question" text="Ot&#225;zka:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Odkaz"/>
+ <l:gentext key="reference" text="Odkaz"/>
+ <l:gentext key="RefName" text="Jm&#233;no"/>
+ <l:gentext key="refname" text="Jm&#233;no"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="P&#345;ehled"/>
+ <l:gentext key="refsynopsisdiv" text="P&#345;ehled"/>
+ <l:gentext key="RevHistory" text="P&#345;ehled reviz&#237;"/>
+ <l:gentext key="revhistory" text="P&#345;ehled reviz&#237;"/>
+ <l:gentext key="Revision" text="Revize"/>
+ <l:gentext key="revision" text="Revize"/>
+ <l:gentext key="sect1" text="Odd&#237;l"/>
+ <l:gentext key="sect2" text="Odd&#237;l"/>
+ <l:gentext key="sect3" text="Odd&#237;l"/>
+ <l:gentext key="sect4" text="Odd&#237;l"/>
+ <l:gentext key="sect5" text="Odd&#237;l"/>
+ <l:gentext key="Section" text="Odd&#237;l"/>
+ <l:gentext key="section" text="Odd&#237;l"/>
+ <l:gentext key="See" text="Viz"/>
+ <l:gentext key="see" text="Viz"/>
+ <l:gentext key="SeeAlso" text="Viz t&#233;&#382;"/>
+ <l:gentext key="Seealso" text="Viz t&#233;&#382;"/>
+ <l:gentext key="seealso" text="Viz t&#233;&#382;"/>
+ <l:gentext key="Set" text="Sada"/>
+ <l:gentext key="set" text="Sada"/>
+ <l:gentext key="SetIndex" text="Rejst&#345;&#237;k sady"/>
+ <l:gentext key="setindex" text="Rejst&#345;&#237;k sady"/>
+ <l:gentext key="Sidebar" text="Margin&#225;lie"/>
+ <l:gentext key="sidebar" text="Margin&#225;lie"/>
+ <l:gentext key="Step" text="Krok"/>
+ <l:gentext key="step" text="krok"/>
+ <l:gentext key="Table" text="Tabulka"/>
+ <l:gentext key="table" text="Tabulka"/>
+ <l:gentext key="TIP" text="Tip"/>
+ <l:gentext key="Tip" text="Tip"/>
+ <l:gentext key="tip" text="Tip"/>
+ <l:gentext key="WARNING" text="Varov&#225;n&#237;"/>
+ <l:gentext key="Warning" text="Varov&#225;n&#237;"/>
+ <l:gentext key="warning" text="Varov&#225;n&#237;"/>
+ <l:gentext key="and" text="a"/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="Edited" text="Vyd&#225;no"/>
+ <l:gentext key="edited" text="Vyd&#225;no"/>
+ <l:gentext key="Editedby" text="Sestavil"/>
+ <l:gentext key="editedby" text="Sestavil"/>
+ <l:gentext key="in" text="v"/>
+ <l:gentext key="lastlistcomma" text=""/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="neexistuj&#237;c&#237; prvek"/>
+ <l:gentext key="notes" text="Pozn&#225;mky"/>
+ <l:gentext key="Notes" text="Pozn&#225;mky"/>
+ <l:gentext key="Pgs" text="Str."/>
+ <l:gentext key="pgs" text="Str."/>
+ <l:gentext key="Revisedby" text="Revidoval: "/>
+ <l:gentext key="revisedby" text="Revidoval: "/>
+ <l:gentext key="TableNotes" text="Pozn&#225;mky"/>
+ <l:gentext key="tablenotes" text="Pozn&#225;mky"/>
+ <l:gentext key="TableofContents" text="Obsah"/>
+ <l:gentext key="tableofcontents" text="Obsah"/>
+ <l:gentext key="unexpectedelementname" text="Neo&#269;ek&#225;van&#233; jm&#233;no prvku"/>
+ <l:gentext key="unsupported" text="nepodporovan&#253;"/>
+ <l:gentext key="xrefto" text="xref k"/>
+ <l:gentext key="listofequations" text="Seznam rovnic"/>
+ <l:gentext key="ListofEquations" text="Seznam rovnic"/>
+ <l:gentext key="ListofExamples" text="Seznam p&#345;&#237;klad&#367;"/>
+ <l:gentext key="listofexamples" text="Seznam p&#345;&#237;klad&#367;"/>
+ <l:gentext key="ListofFigures" text="Seznam obr&#225;zk&#367;"/>
+ <l:gentext key="listoffigures" text="Seznam obr&#225;zk&#367;"/>
+ <l:gentext key="listoftables" text="Seznam tabulek"/>
+ <l:gentext key="ListofTables" text="Seznam tabulek"/>
+ <l:gentext key="ListofUnknown" text="Seznam nezn&#225;m&#233;ho"/>
+ <l:gentext key="listofunknown" text="Seznam nezn&#225;m&#233;ho"/>
+ <l:gentext key="nav-home" text="Dom&#367;"/>
+ <l:gentext key="nav-next" text="Dal&#353;&#237;"/>
+ <l:gentext key="nav-next-sibling" text="Rychle dop&#345;edu"/>
+ <l:gentext key="nav-prev" text="P&#345;edch&#225;zej&#237;c&#237;"/>
+ <l:gentext key="nav-prev-sibling" text="Rychle zp&#283;t"/>
+ <l:gentext key="nav-up" text="Nahoru"/>
+ <l:gentext key="sectioncalled" text="odd&#237;l nazvan&#253;"/>
+ <l:gentext key="Draft" text="N&#225;vrh"/>
+ <l:gentext key="above" text="nad"/>
+ <l:gentext key="below" text="pod"/>
+ <l:gentext key="index symbols" text="Symboly"/>
+ <l:gentext key="lowercase.alpha" text="a&#225;bc&#269;d&#271;e&#233;&#283;fghi&#237;jklmno&#243;pqr&#345;s&#353;t&#357;u&#250;&#367;vwxy&#253;z&#382;"/>
+ <l:gentext key="uppercase.alpha" text="A&#193;BC&#268;D&#270;E&#201;&#282;FGHI&#205;JKLMNO&#211;PQR&#344;S&#352;T&#356;U&#218;&#366;VWXY&#221;Z&#381;"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/cs.xml -->
+ <l:dingbat key="startquote" text="&#8222;"/>
+ <l:dingbat key="endquote" text="&#8220;"/>
+ <l:dingbat key="nestedstartquote" text="&#8218;"/>
+ <l:dingbat key="nestedendquote" text="&#8216;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="P&#345;&#237;loha %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Kapitola %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Rovnice %n. %t"/>
+ <l:template name="example" text="P&#345;&#237;klad %n. %t"/>
+ <l:template name="figure" text="Obr&#225;zek %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#268;&#225;st %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Postup %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Produkce %n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabulka %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="P&#345;&#237;loha %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="Kapitola %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8222;%t&#8220;"/>
+ <l:template name="refsection" text="&#8222;%t&#8220;"/>
+ <l:template name="refsect1" text="&#8222;%t&#8220;"/>
+ <l:template name="refsect2" text="&#8222;%t&#8220;"/>
+ <l:template name="refsect3" text="&#8222;%t&#8220;"/>
+ <l:template name="sect1" text="&#8222;%t&#8220;"/>
+ <l:template name="sect2" text="&#8222;%t&#8220;"/>
+ <l:template name="sect3" text="&#8222;%t&#8220;"/>
+ <l:template name="sect4" text="&#8222;%t&#8220;"/>
+ <l:template name="sect5" text="&#8222;%t&#8220;"/>
+ <l:template name="section" text="&#8222;%t&#8220;"/>
+ <l:template name="simplesect" text="&#8222;%t&#8220;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="%n"/>
+ <l:template name="appendix" text="%n"/>
+ <l:template name="bridgehead" text="%n"/>
+ <l:template name="chapter" text="%n"/>
+ <l:template name="equation" text="%n"/>
+ <l:template name="example" text="%n"/>
+ <l:template name="figure" text="%n"/>
+ <l:template name="part" text="%n"/>
+ <l:template name="procedure" text="%n"/>
+ <l:template name="productionset" text="%n"/>
+ <l:template name="qandadiv" text="%n"/>
+ <l:template name="qandaentry" text="%n"/>
+ <l:template name="question" text="%n"/>
+ <l:template name="sect1" text="%n"/>
+ <l:template name="sect2" text="%n"/>
+ <l:template name="sect3" text="%n"/>
+ <l:template name="sect4" text="%n"/>
+ <l:template name="sect5" text="%n"/>
+ <l:template name="section" text="%n"/>
+ <l:template name="table" text="%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="bridgehead" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="chapter" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="equation" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="example" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="figure" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="part" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="procedure" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="productionset" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="qandadiv" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="refsect1" text="&#8222;%t&#8220;"/>
+ <l:template name="refsect2" text="&#8222;%t&#8220;"/>
+ <l:template name="refsect3" text="&#8222;%t&#8220;"/>
+ <l:template name="refsection" text="&#8222;%t&#8220;"/>
+ <l:template name="sect1" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="sect2" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="sect3" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="sect4" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="sect5" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="section" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="simplesect" text="%n &#8211; &#8222;%t&#8220;"/>
+ <l:template name="table" text="%n &#8211; &#8222;%t&#8220;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" a "/>
+ <l:template name="seplast" text=" a "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Viz "/>
+ <l:template name="seealso" text="Viz t&#233;&#382; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Publikum: "/>
+ <l:template name="MsgLevel" text="&#218;rove&#328;: "/>
+ <l:template name="MsgOrig" text="P&#367;vod: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d.&#160;B Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="ledna"/>
+ <l:template name="February" text="&#250;nora"/>
+ <l:template name="March" text="b&#345;ezna"/>
+ <l:template name="April" text="dubna"/>
+ <l:template name="May" text="kv&#283;tna"/>
+ <l:template name="June" text="&#269;ervna"/>
+ <l:template name="July" text="&#269;ervence"/>
+ <l:template name="August" text="srpna"/>
+ <l:template name="September" text="z&#225;&#345;&#237;"/>
+ <l:template name="October" text="&#345;&#237;jna"/>
+ <l:template name="November" text="listopadu"/>
+ <l:template name="December" text="prosince"/>
+ <l:template name="Monday" text="pond&#283;l&#237;"/>
+ <l:template name="Tuesday" text="&#250;ter&#253;"/>
+ <l:template name="Wednesday" text="st&#345;eda"/>
+ <l:template name="Thursday" text="&#269;tvrtek"/>
+ <l:template name="Friday" text="p&#225;tek"/>
+ <l:template name="Saturday" text="sobota"/>
+ <l:template name="Sunday" text="ned&#283;le"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="led"/>
+ <l:template name="Feb" text="&#250;no"/>
+ <l:template name="Mar" text="b&#345;e"/>
+ <l:template name="Apr" text="dub"/>
+ <l:template name="May" text="kv&#283;"/>
+ <l:template name="Jun" text="&#269;er"/>
+ <l:template name="Jul" text="&#269;nc"/>
+ <l:template name="Aug" text="srp"/>
+ <l:template name="Sep" text="z&#225;&#345;"/>
+ <l:template name="Oct" text="&#345;ij"/>
+ <l:template name="Nov" text="lis"/>
+ <l:template name="Dec" text="pro"/>
+ <l:template name="Mon" text="po"/>
+ <l:template name="Tue" text="&#250;t"/>
+ <l:template name="Wed" text="st"/>
+ <l:template name="Thu" text="&#269;t"/>
+ <l:template name="Fri" text="p&#225;"/>
+ <l:template name="Sat" text="so"/>
+ <l:template name="Sun" text="ne"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0405 Czech"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/da.xml b/docs/xslt/db2latex-xsl/xsl/common/da.xml
new file mode 100644
index 0000000000..67077b991a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/da.xml
@@ -0,0 +1,492 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="da" english-language-name="Danish">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/da.xml -->
+ <l:gentext key="Abstract" text="Resum&#233;"/>
+ <l:gentext key="abstract" text="resum&#233;"/>
+ <l:gentext key="Answer" text="Svar"/>
+ <l:gentext key="answer" text="svar"/>
+ <l:gentext key="Appendix" text="Appendiks"/>
+ <l:gentext key="appendix" text="appendiks"/>
+ <l:gentext key="Article" text="Artikel"/>
+ <l:gentext key="article" text="artikel"/>
+ <l:gentext key="Bibliography" text="Litteraturliste"/>
+ <l:gentext key="bibliography" text="litteraturliste"/>
+ <l:gentext key="Book" text="Bog"/>
+ <l:gentext key="book" text="bog"/>
+ <l:gentext key="CAUTION" text="PAS P&#197;"/>
+ <l:gentext key="Caution" text="Pas p&#229;"/>
+ <l:gentext key="caution" text="pas p&#229;"/>
+ <l:gentext key="Chapter" text="Kapitel"/>
+ <l:gentext key="chapter" text="kapitel"/>
+ <l:gentext key="Colophon" text="Kolofon"/>
+ <l:gentext key="colophon" text="kolofon"/>
+ <l:gentext key="Copyright" text="Ophavsret"/>
+ <l:gentext key="copyright" text="ophavsret"/>
+ <l:gentext key="Dedication" text="Tilegnet"/>
+ <l:gentext key="dedication" text="tilegnet"/>
+ <l:gentext key="Edition" text="Udgave"/>
+ <l:gentext key="edition" text="udgave"/>
+ <l:gentext key="Equation" text="Ligning"/>
+ <l:gentext key="equation" text="ligning"/>
+ <l:gentext key="Example" text="Eksempel"/>
+ <l:gentext key="example" text="eksempel"/>
+ <l:gentext key="Figure" text="Figur"/>
+ <l:gentext key="figure" text="figur"/>
+ <l:gentext key="Glossary" text="Ordliste"/>
+ <l:gentext key="glossary" text="ordliste"/>
+ <l:gentext key="GlossSee" text="Se"/>
+ <l:gentext key="glosssee" text="se"/>
+ <l:gentext key="GlossSeeAlso" text="Se ogs&#229;"/>
+ <l:gentext key="glossseealso" text="se ogs&#229;"/>
+ <l:gentext key="IMPORTANT" text="VIGTIGT"/>
+ <l:gentext key="Important" text="Vigtigt"/>
+ <l:gentext key="important" text="vigtigt"/>
+ <l:gentext key="Index" text="Stikordsregister"/>
+ <l:gentext key="index" text="stikordsregister"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Retslig note"/>
+ <l:gentext key="legalnotice" text="retslig note"/>
+ <l:gentext key="MsgAud" text="M&#229;lgruppe"/>
+ <l:gentext key="msgaud" text="m&#229;lgruppe"/>
+ <l:gentext key="MsgLevel" text="Niveau"/>
+ <l:gentext key="msglevel" text="niveau"/>
+ <l:gentext key="MsgOrig" text="Grundlag"/>
+ <l:gentext key="msgorig" text="grundlag"/>
+ <l:gentext key="NOTE" text="BEM&#198;RK"/>
+ <l:gentext key="Note" text="Bem&#230;rk"/>
+ <l:gentext key="note" text="bem&#230;rk"/>
+ <l:gentext key="Part" text="Del"/>
+ <l:gentext key="part" text="del"/>
+ <l:gentext key="Preface" text="Forord"/>
+ <l:gentext key="preface" text="forord"/>
+ <l:gentext key="Procedure" text="Procedure"/>
+ <l:gentext key="procedure" text="procedure"/>
+ <l:gentext key="ProductionSet" text="Produktion"/>
+ <l:gentext key="Published" text="Udgivet"/>
+ <l:gentext key="published" text="udgivet"/>
+ <l:gentext key="Question" text="Sp&#248;rgsm&#229;l"/>
+ <l:gentext key="question" text="sp&#248;rgsm&#229;l"/>
+ <l:gentext key="RefEntry" text="Punkt"/>
+ <l:gentext key="refentry" text="punkt"/>
+ <l:gentext key="Reference" text="Henvisning"/>
+ <l:gentext key="reference" text="henvisning"/>
+ <l:gentext key="RefName" text="Navn"/>
+ <l:gentext key="refname" text="navn"/>
+ <l:gentext key="RefSection" text="Afsnit"/>
+ <l:gentext key="refsection" text="afsnit"/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="synopsis"/>
+ <l:gentext key="RevHistory" text="Revisionshistorie"/>
+ <l:gentext key="revhistory" text="revisionshistorie"/>
+ <l:gentext key="revision" text="revision"/>
+ <l:gentext key="Revision" text="Revision"/>
+ <l:gentext key="sect1" text="Afsnit"/>
+ <l:gentext key="sect2" text="Afsnit"/>
+ <l:gentext key="sect3" text="Afsnit"/>
+ <l:gentext key="sect4" text="Afsnit"/>
+ <l:gentext key="sect5" text="Afsnit"/>
+ <l:gentext key="section" text="afsnit"/>
+ <l:gentext key="Section" text="Afsnit"/>
+ <l:gentext key="See" text="Se"/>
+ <l:gentext key="see" text="se"/>
+ <l:gentext key="SeeAlso" text="Se ogs&#229;"/>
+ <l:gentext key="seealso" text="se ogs&#229;"/>
+ <l:gentext key="Seealso" text="Se ogs&#229;"/>
+ <l:gentext key="set" text="s&#230;t"/>
+ <l:gentext key="Set" text="S&#230;t"/>
+ <l:gentext key="setindex" text="s&#230;t indeks"/>
+ <l:gentext key="SetIndex" text="S&#230;t indeks"/>
+ <l:gentext key="Sidebar" text="Sidebj&#230;lke"/>
+ <l:gentext key="sidebar" text="sidebj&#230;lke"/>
+ <l:gentext key="step" text="trin"/>
+ <l:gentext key="Step" text="Trin"/>
+ <l:gentext key="Table" text="Tabel"/>
+ <l:gentext key="table" text="tabel"/>
+ <l:gentext key="tip" text="vink"/>
+ <l:gentext key="TIP" text="VINK"/>
+ <l:gentext key="Tip" text="Vink"/>
+ <l:gentext key="Warning" text="Advarsel"/>
+ <l:gentext key="warning" text="advarsel"/>
+ <l:gentext key="WARNING" text="ADVARSEL"/>
+ <l:gentext key="and" text="og"/>
+ <l:gentext key="by" text="af"/>
+ <l:gentext key="Edited" text="Redigeret"/>
+ <l:gentext key="edited" text="redigeret"/>
+ <l:gentext key="Editedby" text="Redigeret af"/>
+ <l:gentext key="editedby" text="redigeret af"/>
+ <l:gentext key="in" text="i"/>
+ <l:gentext key="lastlistcomma" text=" og "/>
+ <l:gentext key="listcomma" text=", "/>
+ <l:gentext key="nonexistantelement" text="ikke-eksisterende element"/>
+ <l:gentext key="notes" text="slutbem&#230;rkning:"/>
+ <l:gentext key="Notes" text="Slutbem&#230;rkning:"/>
+ <l:gentext key="Pgs" text="Siderne"/>
+ <l:gentext key="pgs" text="siderne"/>
+ <l:gentext key="Revisedby" text="Revideret af: "/>
+ <l:gentext key="revisedby" text="revideret af: "/>
+ <l:gentext key="TableNotes" text="Noter:"/>
+ <l:gentext key="tablenotes" text="noter:"/>
+ <l:gentext key="TableofContents" text="Indholdsfortegnelse"/>
+ <l:gentext key="tableofcontents" text="indholdsfortegnelse"/>
+ <l:gentext key="unexpectedelementname" text="uventet elementnavn"/>
+ <l:gentext key="unsupported" text="ikke underst&#248;ttet"/>
+ <l:gentext key="xrefto" text="krydshenvisning til"/>
+ <l:gentext key="listofequations" text="ligningsliste"/>
+ <l:gentext key="ListofEquations" text="Ligningsliste"/>
+ <l:gentext key="ListofExamples" text="Eksempelliste"/>
+ <l:gentext key="listofexamples" text="eksempelliste"/>
+ <l:gentext key="ListofFigures" text="Figurliste"/>
+ <l:gentext key="listoffigures" text="figurliste"/>
+ <l:gentext key="listoftables" text="tabelliste"/>
+ <l:gentext key="ListofTables" text="Tabelliste"/>
+ <l:gentext key="ListofUnknown" text="Liste over ukendte"/>
+ <l:gentext key="listofunknown" text="liste over ukendte"/>
+ <l:gentext key="nav-home" text="hjem"/>
+ <l:gentext key="nav-next" text="n&#230;ste"/>
+ <l:gentext key="nav-next-sibling" text="hurtigt fremad"/>
+ <l:gentext key="nav-prev" text="forrige"/>
+ <l:gentext key="nav-prev-sibling" text="hurtigt tilbage"/>
+ <l:gentext key="nav-up" text="op"/>
+ <l:gentext key="Draft" text="Kladde"/>
+ <l:gentext key="above" text="over"/>
+ <l:gentext key="below" text="under"/>
+ <l:gentext key="sectioncalled" text="afsnittet der hedder"/>
+ <l:gentext key="index symbols" text="symboler"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#230;&#248;&#229;"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#198;&#216;&#197;"/>
+ <l:gentext key="hyphenation-character" text="-"/>
+ <l:gentext key="hyphenation-push-character-count" text="2"/>
+ <l:gentext key="hyphenation-remain-character-count" text="2"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/da.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Appendiks %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Kapitel %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Ligning %n. %t"/>
+ <l:template name="example" text="Eksempel %n. %t"/>
+ <l:template name="figure" text="Figur %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Del %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedure %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Produktion %n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Sp&#248;rgsm&#229;l %n"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabel %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Appendiks %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="Kapitel %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Svar %n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Sp&#248;rgsm&#229;l %n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Sp&#248;rgsm&#229;l %n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="afsnittet der hedder &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Svar&#160;%n"/>
+ <l:template name="appendix" text="Appendiks&#160;%n"/>
+ <l:template name="bridgehead" text="Afsnit&#160;%n"/>
+ <l:template name="chapter" text="Kapitel&#160;%n"/>
+ <l:template name="equation" text="Ligning&#160;%n"/>
+ <l:template name="example" text="Eksempel&#160;%n"/>
+ <l:template name="figure" text="Figur&#160;%n"/>
+ <l:template name="part" text="Del&#160;%n"/>
+ <l:template name="procedure" text="Procedure&#160;%n"/>
+ <l:template name="productionset" text="Produktion&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Sp&#248;rgsm&#229;l&#160;%n"/>
+ <l:template name="question" text="Sp&#248;rgsm&#229;l&#160;%n"/>
+ <l:template name="sect1" text="Afsnit&#160;%n"/>
+ <l:template name="sect2" text="Afsnit&#160;%n"/>
+ <l:template name="sect3" text="Afsnit&#160;%n"/>
+ <l:template name="sect4" text="Afsnit&#160;%n"/>
+ <l:template name="sect5" text="Afsnit&#160;%n"/>
+ <l:template name="section" text="Afsnit&#160;%n"/>
+ <l:template name="table" text="Tabel&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Appendiks&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Kapitel&#160;%n, %t"/>
+ <l:template name="equation" text="Ligning&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Eksempel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figur&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procedure&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Produktion&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="afsnittet der hedder &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="afsnittet der hedder &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="afsnittet der hedder &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="afsnittet der hedder &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="afsnittet der hedder &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" og "/>
+ <l:template name="seplast" text=" og og "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Se "/>
+ <l:template name="seealso" text="Se ogs&#229; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="M&#229;lgruppe: "/>
+ <l:template name="MsgLevel" text="Niveau: "/>
+ <l:template name="MsgOrig" text="Grundlag: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d/m/Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="Januar"/>
+ <l:template name="February" text="Februar"/>
+ <l:template name="March" text="Marts"/>
+ <l:template name="April" text="April"/>
+ <l:template name="May" text="Maj"/>
+ <l:template name="June" text="Juni"/>
+ <l:template name="July" text="July"/>
+ <l:template name="August" text="August"/>
+ <l:template name="September" text="September"/>
+ <l:template name="October" text="Oktober"/>
+ <l:template name="November" text="November"/>
+ <l:template name="December" text="December"/>
+ <l:template name="Monday" text="Mandag"/>
+ <l:template name="Tuesday" text="Tirsdag"/>
+ <l:template name="Wednesday" text="Onsdag"/>
+ <l:template name="Thursday" text="Torsdag"/>
+ <l:template name="Friday" text="Fredag"/>
+ <l:template name="Saturday" text="L&#248;rdag"/>
+ <l:template name="Sunday" text="S&#248;ndag"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="Jan"/>
+ <l:template name="Feb" text="Feb"/>
+ <l:template name="Mar" text="Mar"/>
+ <l:template name="Apr" text="Apr"/>
+ <l:template name="May" text="Maj"/>
+ <l:template name="Jun" text="Jun"/>
+ <l:template name="Jul" text="Jul"/>
+ <l:template name="Aug" text="Aug"/>
+ <l:template name="Sep" text="Sep"/>
+ <l:template name="Oct" text="Okt"/>
+ <l:template name="Nov" text="Nov"/>
+ <l:template name="Dec" text="Dec"/>
+ <l:template name="Mon" text="Man"/>
+ <l:template name="Tue" text="Tir"/>
+ <l:template name="Wed" text="ins"/>
+ <l:template name="Thu" text="Tor"/>
+ <l:template name="Fri" text="Fre"/>
+ <l:template name="Sat" text="L&#248;r"/>
+ <l:template name="Sun" text="S&#248;n"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0406 Danish"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/de.xml b/docs/xslt/db2latex-xsl/xsl/common/de.xml
new file mode 100644
index 0000000000..136dac0c7f
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/de.xml
@@ -0,0 +1,538 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="de" english-language-name="German">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+ <l:gentext key="blockquote" text=""/>
+ <l:gentext key="formalpara" text="Paragraph"/>
+ <l:gentext key="glossseealso" text="Siehe auch"/>
+ <l:gentext key="keyword" text="Stichwort"/>
+ <l:gentext key="keywords" text="Stichw&#246;rter"/>
+ <l:gentext key="keywordset" text="Stichw&#246;rter"/>
+ <l:gentext key="the section called" text="der Abschnitt namens"/>
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/de.xml -->
+ <l:gentext key="Abstract" text="Zusammenfassung"/>
+ <l:gentext key="abstract" text="Zusammenfassung"/>
+ <l:gentext key="Answer" text="A:"/>
+ <l:gentext key="answer" text="A:"/>
+ <l:gentext key="Appendix" text="Anhang"/>
+ <l:gentext key="appendix" text="Anhang"/>
+ <l:gentext key="Article" text="Artikel"/>
+ <l:gentext key="article" text="Artikel"/>
+ <l:gentext key="Bibliography" text="Literaturverzeichnis"/>
+ <l:gentext key="bibliography" text="Literaturverzeichnis"/>
+ <l:gentext key="Book" text="Buch"/>
+ <l:gentext key="book" text="Buch"/>
+ <l:gentext key="Caution" text="Achtung"/>
+ <l:gentext key="caution" text="Achtung"/>
+ <l:gentext key="CAUTION" text="ACHTUNG"/>
+ <l:gentext key="Chapter" text="Kapitel"/>
+ <l:gentext key="chapter" text="Kapitel"/>
+ <l:gentext key="Colophon" text="Kolophon"/>
+ <l:gentext key="colophon" text="Kolophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Widmung"/>
+ <l:gentext key="dedication" text="Widmung"/>
+ <l:gentext key="Edition" text="Ausgabe"/>
+ <l:gentext key="edition" text="Ausgabe"/>
+ <l:gentext key="Equation" text="Gleichung"/>
+ <l:gentext key="equation" text="Gleichung"/>
+ <l:gentext key="Example" text="Beispiel"/>
+ <l:gentext key="example" text="Beispiel"/>
+ <l:gentext key="Figure" text="Abbildung"/>
+ <l:gentext key="figure" text="Abbildung"/>
+ <l:gentext key="Glossary" text="Glossar"/>
+ <l:gentext key="glossary" text="Glossar"/>
+ <l:gentext key="GlossSee" text="Siehe"/>
+ <l:gentext key="glosssee" text="Siehe"/>
+ <l:gentext key="GlossSeeAlso" text="Siehe auch"/>
+ <l:gentext key="IMPORTANT" text="WICHTIG"/>
+ <l:gentext key="Important" text="Wichtig"/>
+ <l:gentext key="important" text="Wichtig"/>
+ <l:gentext key="Index" text="Stichwortverzeichnis"/>
+ <l:gentext key="index" text="Stichwortverzeichnis"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Rechtlicher Hinweis"/>
+ <l:gentext key="legalnotice" text="Rechtlicher Hinweis"/>
+ <l:gentext key="MsgAud" text="Zielgruppe"/>
+ <l:gentext key="msgaud" text="Zielgruppe"/>
+ <l:gentext key="MsgLevel" text="Dringlichkeit"/>
+ <l:gentext key="msglevel" text="Dringlichkeit"/>
+ <l:gentext key="MsgOrig" text="Ursprung"/>
+ <l:gentext key="msgorig" text="Ursprung"/>
+ <l:gentext key="note" text="Anmerkung"/>
+ <l:gentext key="NOTE" text="ANMERKUNG"/>
+ <l:gentext key="Note" text="Anmerkung"/>
+ <l:gentext key="part" text="Teil"/>
+ <l:gentext key="Part" text="Teil"/>
+ <l:gentext key="Preface" text="Vorwort"/>
+ <l:gentext key="preface" text="Vorwort"/>
+ <l:gentext key="Procedure" text="Prozedur"/>
+ <l:gentext key="procedure" text="Prozedur"/>
+ <l:gentext key="ProductionSet" text="Produktion"/>
+ <l:gentext key="PubDate" text="Ver&#246;ffentlicht"/>
+ <l:gentext key="pubdate" text="Ver&#246;ffentlicht"/>
+ <l:gentext key="Published" text="Ver&#246;ffentlicht"/>
+ <l:gentext key="published" text="Ver&#246;ffentlicht"/>
+ <l:gentext key="Qandadiv" text="F &amp; A"/>
+ <l:gentext key="qandadiv" text="F &amp; A"/>
+ <l:gentext key="Question" text="F:"/>
+ <l:gentext key="question" text="F:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Verweis"/>
+ <l:gentext key="reference" text="Verweis"/>
+ <l:gentext key="refname" text="Name"/>
+ <l:gentext key="RefName" text="Name"/>
+ <l:gentext key="RefSection" text="Abschnitt"/>
+ <l:gentext key="refsection" text="Abschnitt"/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Versionsgeschichte"/>
+ <l:gentext key="revhistory" text="Versionsgeschichte"/>
+ <l:gentext key="Revision" text="Version"/>
+ <l:gentext key="revision" text="Version"/>
+ <l:gentext key="Section" text="Abschnitt"/>
+ <l:gentext key="section" text="Abschnitt"/>
+ <l:gentext key="sect1" text="Abschnitt"/>
+ <l:gentext key="sect2" text="Abschnitt"/>
+ <l:gentext key="sect3" text="Abschnitt"/>
+ <l:gentext key="sect4" text="Abschnitt"/>
+ <l:gentext key="sect5" text="Abschnitt"/>
+ <l:gentext key="see" text="Siehe"/>
+ <l:gentext key="See" text="Siehe"/>
+ <l:gentext key="SeeAlso" text="Siehe auch"/>
+ <l:gentext key="seealso" text="Siehe auch"/>
+ <l:gentext key="Seealso" text="Siehe auch"/>
+ <l:gentext key="Set" text="Satz"/>
+ <l:gentext key="set" text="Satz"/>
+ <l:gentext key="setindex" text="Stichwortverzeichnis"/>
+ <l:gentext key="SetIndex" text="Stichwortverzeichnis"/>
+ <l:gentext key="sidebar" text="randnotiz"/>
+ <l:gentext key="Sidebar" text="Randnotiz"/>
+ <l:gentext key="Step" text="Schritt"/>
+ <l:gentext key="step" text="Schritt"/>
+ <l:gentext key="table" text="Tabelle"/>
+ <l:gentext key="Table" text="Tabelle"/>
+ <l:gentext key="TIP" text="TIPP"/>
+ <l:gentext key="Tip" text="Tipp"/>
+ <l:gentext key="tip" text="Tipp"/>
+ <l:gentext key="Warning" text="Warnung"/>
+ <l:gentext key="warning" text="Warnung"/>
+ <l:gentext key="WARNING" text="WARNUNG"/>
+ <l:gentext key="and" text="und"/>
+ <l:gentext key="by" text="von"/>
+ <l:gentext key="Edited" text="Herausgegeben"/>
+ <l:gentext key="edited" text="Herausgegeben"/>
+ <l:gentext key="Editedby" text="Herausgegeben von"/>
+ <l:gentext key="editedby" text="Herausgegeben von"/>
+ <l:gentext key="in" text="in"/>
+ <l:gentext key="lastlistcomma" text=""/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="nicht existierendes Element"/>
+ <l:gentext key="notes" text="Fu&#223;noten"/>
+ <l:gentext key="Notes" text="Fu&#223;noten"/>
+ <l:gentext key="Pgs" text="Seiten"/>
+ <l:gentext key="pgs" text="Seiten"/>
+ <l:gentext key="Revisedby" text="Ge&#228;ndert durch: "/>
+ <l:gentext key="revisedby" text="Ge&#228;ndert durch: "/>
+ <l:gentext key="TableNotes" text="Bemerkungen"/>
+ <l:gentext key="tablenotes" text="Bemerkungen"/>
+ <l:gentext key="TableofContents" text="Inhaltsverzeichnis"/>
+ <l:gentext key="tableofcontents" text="Inhaltsverzeichnis"/>
+ <l:gentext key="the" text=""/>
+ <l:gentext key="unexpectedelementname" text="Unerwarteter Elementname"/>
+ <l:gentext key="unsupported" text="wird nicht unterst&#252;tzt"/>
+ <l:gentext key="xrefto" text="xref auf"/>
+ <l:gentext key="listofequations" text="Gleichungen"/>
+ <l:gentext key="ListofEquations" text="Gleichungen"/>
+ <l:gentext key="ListofExamples" text="Beispiele"/>
+ <l:gentext key="listofexamples" text="Beispiele"/>
+ <l:gentext key="ListofFigures" text="Abbildungsverzeichnis"/>
+ <l:gentext key="listoffigures" text="Abbildungsverzeichnis"/>
+ <l:gentext key="listoftables" text="Tabellenverzeichnis"/>
+ <l:gentext key="ListofTables" text="Tabellenverzeichnis"/>
+ <l:gentext key="ListofUnknown" text="???-Verzeichnis"/>
+ <l:gentext key="listofunknown" text="???-Verzeichnis"/>
+ <l:gentext key="nav-home" text="Zum Anfang"/>
+ <l:gentext key="nav-next" text="Weiter"/>
+ <l:gentext key="nav-next-sibling" text="Schnell weiter"/>
+ <l:gentext key="nav-prev" text="Zur&#252;ck"/>
+ <l:gentext key="nav-prev-sibling" text="Schnell zur&#252;ck"/>
+ <l:gentext key="nav-up" text="Nach oben"/>
+ <l:gentext key="nav-toc" text="InhV"/>
+ <l:gentext key="sectioncalled" text="der Abschnitt namens"/>
+ <l:gentext key="Draft" text="Entwurf"/>
+ <l:gentext key="above" text="oben"/>
+ <l:gentext key="below" text="unten"/>
+ <l:gentext key="index symbols" text="Symbole"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#228;&#246;&#252;&#223;"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#196;&#214;&#220;&#223;"/>
+ <l:gentext key="hyphenation-character" text="-"/>
+ <l:gentext key="hyphenation-push-character-count" text="2"/>
+ <l:gentext key="hyphenation-remain-character-count" text="3"/>
+ <l:dingbat key="startquote" text="\glqq{}"/>
+ <l:dingbat key="endquote" text="\grqq{}"/>
+ <l:dingbat key="nestedstartquote" text="\glq{}"/>
+ <l:dingbat key="nestedendquote" text="\grq{}"/>
+ <l:dingbat key="singlestartquote" text="\glq{}"/>
+ <l:dingbat key="singleendquote" text="\grq{}"/>
+ <l:dingbat key="urlstartquote" text="{\textless}"/>
+ <l:dingbat key="urlendquote" text="{\textgreater}"/>
+ <l:dingbat key="bullet" text="\textbullet{}"/>
+ <l:dingbat key="decimalpoint" text=","/>
+ <l:dingbat key="latexdecimal" text=","/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/de.xml -->
+<!-- The following contexts were merged from two source files. -->
+ <l:context name="naturalinlinelist">
+ <l:template name="start" text=""/>
+ <l:template name="middle" text=", "/>
+ <l:template name="lastoftwo" text=" und "/>
+ <l:template name="lastofmany" text=" und "/>
+ <l:template name="end" text=". "/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/de.xml -->
+ </l:context>
+ <l:context name="naturalblocklist">
+ <l:template name="start" text=""/>
+ <l:template name="middle" text=", "/>
+ <l:template name="lastoftwo" text=", "/>
+ <l:template name="lastofmany" text=", "/>
+ <l:template name="end" text=""/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/de.xml -->
+ </l:context>
+ <l:context name="xref">
+ <l:template element="page.citation" text=" auf Seite %p" lang="en"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/de.xml -->
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="F:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="F: %n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="page" text="(Seite %p)"/>
+ <l:template name="pageabbrev" text="(S. %p)"/>
+ <l:template name="Page" text="Seite %p"/>
+ <l:template name="bridgehead" text="&#8222;%t&#8220;"/>
+ <l:template name="refsection" text="&#8222;%t&#8220;"/>
+ <l:template name="refsect1" text="&#8222;%t&#8220;"/>
+ <l:template name="refsect2" text="&#8222;%t&#8220;"/>
+ <l:template name="refsect3" text="&#8222;%t&#8220;"/>
+ <l:template name="sect1" text="&#8222;%t&#8220;"/>
+ <l:template name="sect2" text="&#8222;%t&#8220;"/>
+ <l:template name="sect3" text="&#8222;%t&#8220;"/>
+ <l:template name="sect4" text="&#8222;%t&#8220;"/>
+ <l:template name="sect5" text="&#8222;%t&#8220;"/>
+ <l:template name="section" text="&#8222;%t&#8220;"/>
+ <l:template name="simplesect" text="&#8222;%t&#8220;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="appendix" text="Anhang&#160;%n"/>
+ <l:template name="chapter" text="Kapitel&#160;%n %t"/>
+ <l:template name="reference" text="Verweis&#160;%n"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/de.xml -->
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="bridgehead" text="Abschnitt&#160;%n"/>
+ <l:template name="equation" text="Gleichung&#160;%n"/>
+ <l:template name="example" text="Beispiel&#160;%n"/>
+ <l:template name="figure" text="Abbildung&#160;%n"/>
+ <l:template name="part" text="Teil&#160;%n"/>
+ <l:template name="procedure" text="Prozedur&#160;%n"/>
+ <l:template name="productionset" text="Produktion&#160;%n"/>
+ <l:template name="qandadiv" text="F &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="F:&#160;%n"/>
+ <l:template name="question" text="F:&#160;%n"/>
+ <l:template name="sect1" text="Abschnitt&#160;%n"/>
+ <l:template name="sect2" text="Abschnitt&#160;%n"/>
+ <l:template name="sect3" text="Abschnitt&#160;%n"/>
+ <l:template name="sect4" text="Abschnitt&#160;%n"/>
+ <l:template name="sect5" text="Abschnitt&#160;%n"/>
+ <l:template name="section" text="Abschnitt&#160;%n"/>
+ <l:template name="table" text="Tabelle&#160;%n"/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d.m.Y"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/de.xml -->
+ </l:context>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Anhang %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Kapitel %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Gleichung %n. %t"/>
+ <l:template name="example" text="Beispiel %n. %t"/>
+ <l:template name="figure" text="Abbildung %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Teil %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Prozedur %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Produktion&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="F: %n"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabelle %n. %t"/>
+ <l:template name="task" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Anhang %n. %t"/>
+ <l:template name="article/appendix" text="%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="Kapitel %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Anhang&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="chapter" text="Kapitel&#160;%n, %t"/>
+ <l:template name="equation" text="Gleichung&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="example" text="Beispiel&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="figure" text="Abbildung&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="part" text="Teil&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="procedure" text="Prozedur&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="productionset" text="Produktion&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="qandadiv" text="F &amp; A&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="refsect1" text="der Abschnitt namens &#8222;%t&#8220;"/>
+ <l:template name="refsect2" text="der Abschnitt namens &#8222;%t&#8220;"/>
+ <l:template name="refsect3" text="der Abschnitt namens &#8222;%t&#8220;"/>
+ <l:template name="refsection" text="der Abschnitt namens &#8222;%t&#8220;"/>
+ <l:template name="sect1" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="sect2" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="sect3" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="sect4" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="sect5" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="section" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="simplesect" text="der Abschnitt namens &#8222;%t&#8220;"/>
+ <l:template name="table" text="Tabelle&#160;%n, &#8222;%t&#8220;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" und "/>
+ <l:template name="seplast" text=" und "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Siehe "/>
+ <l:template name="seealso" text="Siehe auch "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Zielgruppe: "/>
+ <l:template name="MsgLevel" text="Dringlichkeit: "/>
+ <l:template name="MsgOrig" text="Ursprung: "/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="Januar"/>
+ <l:template name="February" text="Februar"/>
+ <l:template name="March" text="M&#228;rz"/>
+ <l:template name="April" text="April"/>
+ <l:template name="May" text="Mai"/>
+ <l:template name="June" text="Juni"/>
+ <l:template name="July" text="Juli"/>
+ <l:template name="August" text="August"/>
+ <l:template name="September" text="September"/>
+ <l:template name="October" text="Oktober"/>
+ <l:template name="November" text="November"/>
+ <l:template name="December" text="Dezember"/>
+ <l:template name="Monday" text="Montag"/>
+ <l:template name="Tuesday" text="Dienstag"/>
+ <l:template name="Wednesday" text="Mittwoch"/>
+ <l:template name="Thursday" text="Donnerstag"/>
+ <l:template name="Friday" text="Freitag"/>
+ <l:template name="Saturday" text="Samstag"/>
+ <l:template name="Sunday" text="Sonntag"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="Jan"/>
+ <l:template name="Feb" text="Feb"/>
+ <l:template name="Mar" text="Mar"/>
+ <l:template name="Apr" text="Apr"/>
+ <l:template name="May" text="Mai"/>
+ <l:template name="Jun" text="Jun"/>
+ <l:template name="Jul" text="Jul"/>
+ <l:template name="Aug" text="Aug"/>
+ <l:template name="Sep" text="Sep"/>
+ <l:template name="Oct" text="Okt"/>
+ <l:template name="Nov" text="Nov"/>
+ <l:template name="Dec" text="Dez"/>
+ <l:template name="Mon" text="Mo"/>
+ <l:template name="Tue" text="Di"/>
+ <l:template name="Wed" text="Mi"/>
+ <l:template name="Thu" text="Do"/>
+ <l:template name="Fri" text="Fr"/>
+ <l:template name="Sat" text="Sa"/>
+ <l:template name="Sun" text="So"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0407 German (GERMANY)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/el.xml b/docs/xslt/db2latex-xsl/xsl/common/el.xml
new file mode 100644
index 0000000000..26deb44a38
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/el.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="el" english-language-name="Greek">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/el.xml -->
+ <l:gentext key="Abstract" text="&#208;&#229;&#241;&#223;&#235;&#231;&#248;&#231;"/>
+ <l:gentext key="Answer" text="&#193;:"/>
+ <l:gentext key="Appendix" text="&#208;&#225;&#241;&#220;&#241;&#244;&#231;&#236;&#225;"/>
+ <l:gentext key="Article" text="&#182;&#241;&#232;&#241;&#239;"/>
+ <l:gentext key="Bibliography" text="&#194;&#233;&#226;&#235;&#233;&#239;&#227;&#241;&#225;&#246;&#223;&#225;"/>
+ <l:gentext key="Book" text="&#194;&#233;&#226;&#235;&#223;&#239;"/>
+ <l:gentext key="CAUTION" text="&#208;&#209;&#207;&#211;&#207;&#215;&#199;"/>
+ <l:gentext key="Caution" text="&#208;&#241;&#239;&#243;&#239;&#247;&#222;"/>
+ <l:gentext key="Chapter" text="&#202;&#229;&#246;&#220;&#235;&#225;&#233;&#239;"/>
+ <l:gentext key="Colophon" text="&#202;&#239;&#241;&#249;&#237;&#223;&#228;&#225;"/>
+ <l:gentext key="Copyright" text="&#208;&#237;&#229;&#245;&#236;&#225;&#244;&#233;&#234;&#220; &#196;&#233;&#234;&#225;&#233;&#254;&#236;&#225;&#244;&#225;"/>
+ <l:gentext key="Dedication" text="&#193;&#246;&#233;&#221;&#241;&#249;&#243;&#231;"/>
+ <l:gentext key="Edition" text="&#184;&#234;&#228;&#239;&#243;&#231;"/>
+ <l:gentext key="Equation" text="&#197;&#238;&#223;&#243;&#249;&#243;&#231;"/>
+ <l:gentext key="Example" text="&#208;&#225;&#241;&#220;&#228;&#229;&#233;&#227;&#236;&#225;"/>
+ <l:gentext key="Figure" text="&#211;&#247;&#222;&#236;&#225;"/>
+ <l:gentext key="GlossSee" text="&#196;&#229;&#223;&#244;&#229;"/>
+ <l:gentext key="GlossSeeAlso" text="&#196;&#229;&#223;&#244;&#229; &#197;&#240;&#223;&#243;&#231;&#242;"/>
+ <l:gentext key="Glossary" text="&#195;&#235;&#249;&#243;&#243;&#220;&#241;&#233;&#239;"/>
+ <l:gentext key="IMPORTANT" text="&#211;&#199;&#204;&#193;&#205;&#212;&#201;&#202;&#207;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="Important" text="&#211;&#231;&#236;&#225;&#237;&#244;&#233;&#234;&#252;"/>
+ <l:gentext key="Index" text="&#197;&#245;&#241;&#229;&#244;&#222;&#241;&#233;&#239;"/>
+ <l:gentext key="LegalNotice" text="&#205;&#239;&#236;&#233;&#234;&#222; &#211;&#231;&#236;&#229;&#223;&#249;&#243;&#231;"/>
+ <l:gentext key="MsgAud" text="&#193;&#234;&#241;&#239;&#225;&#244;&#222;&#241;&#233;&#239;"/>
+ <l:gentext key="MsgLevel" text="&#197;&#240;&#223;&#240;&#229;&#228;&#239;"/>
+ <l:gentext key="MsgOrig" text="&#208;&#231;&#227;&#222;"/>
+ <l:gentext key="NOTE" text="&#211;&#199;&#204;&#197;&#201;&#217;&#211;&#199;"/>
+ <l:gentext key="Note" text="&#211;&#231;&#236;&#229;&#223;&#249;&#243;&#231;"/>
+ <l:gentext key="Part" text="&#204;&#221;&#241;&#239;&#242;"/>
+ <l:gentext key="Preface" text="&#197;&#233;&#243;&#225;&#227;&#249;&#227;&#222;"/>
+ <l:gentext key="Procedure" text="&#196;&#233;&#225;&#228;&#233;&#234;&#225;&#243;&#223;&#225;"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="&#196;&#231;&#236;&#239;&#243;&#233;&#229;&#245;&#236;&#221;&#237;&#239;"/>
+ <l:gentext key="Question" text="&#197;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="RefName" text="&#188;&#237;&#239;&#236;&#225;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#211;&#253;&#237;&#239;&#248;&#231;"/>
+ <l:gentext key="Reference" text="&#193;&#237;&#225;&#246;&#239;&#241;&#220;"/>
+ <l:gentext key="RevHistory" text="&#201;&#243;&#244;&#239;&#241;&#233;&#234;&#252; &#193;&#237;&#225;&#232;&#229;&#249;&#241;&#222;&#243;&#229;&#249;&#237;"/>
+ <l:gentext key="Revision" text="&#193;&#237;&#225;&#232;&#229;&#254;&#241;&#231;&#243;&#231;"/>
+ <l:gentext key="Section" text="&#212;&#236;&#222;&#236;&#225;"/>
+ <l:gentext key="See" text="&#196;&#229;&#223;&#244;&#229;"/>
+ <l:gentext key="SeeAlso" text="&#196;&#229;&#223;&#244;&#229; &#197;&#240;&#223;&#243;&#231;&#242;"/>
+ <l:gentext key="Seealso" text="&#196;&#229;&#223;&#244;&#229; &#229;&#240;&#223;&#243;&#231;&#242;"/>
+ <l:gentext key="Set" text="&#211;&#253;&#237;&#239;&#235;&#239;"/>
+ <l:gentext key="SetIndex" text="&#197;&#245;&#241;&#229;&#244;&#222;&#241;&#233;&#239; &#211;&#245;&#237;&#252;&#235;&#249;&#237;"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="Step" text="&#214;&#220;&#243;&#231;"/>
+ <l:gentext key="TIP" text="&#213;&#208;&#207;&#196;&#197;&#201;&#206;&#199;"/>
+ <l:gentext key="Table" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242;"/>
+ <l:gentext key="Tip" text="&#213;&#240;&#252;&#228;&#229;&#233;&#238;&#231;"/>
+ <l:gentext key="WARNING" text="&#208;&#209;&#207;&#197;&#201;&#196;&#207;&#208;&#207;&#201;&#199;&#211;&#199;"/>
+ <l:gentext key="Warning" text="&#208;&#241;&#239;&#229;&#233;&#228;&#239;&#240;&#239;&#223;&#231;&#243;&#231;"/>
+ <l:gentext key="abstract" text="&#208;&#229;&#241;&#223;&#235;&#231;&#248;&#231;"/>
+ <l:gentext key="answer" text="&#193;:"/>
+ <l:gentext key="appendix" text="&#240;&#225;&#241;&#220;&#241;&#244;&#231;&#236;&#225;"/>
+ <l:gentext key="article" text="&#182;&#241;&#232;&#241;&#239;"/>
+ <l:gentext key="bibliography" text="&#194;&#233;&#226;&#235;&#233;&#239;&#227;&#241;&#225;&#246;&#223;&#225;"/>
+ <l:gentext key="book" text="&#194;&#233;&#226;&#235;&#223;&#239;"/>
+ <l:gentext key="caution" text="&#208;&#241;&#239;&#243;&#239;&#247;&#222;"/>
+ <l:gentext key="chapter" text="&#234;&#229;&#246;&#220;&#235;&#225;&#233;&#239;"/>
+ <l:gentext key="colophon" text="&#202;&#239;&#241;&#249;&#237;&#223;&#228;&#225;"/>
+ <l:gentext key="copyright" text="&#208;&#237;&#229;&#245;&#236;&#225;&#244;&#233;&#234;&#220; &#196;&#233;&#234;&#225;&#233;&#254;&#236;&#225;&#244;&#225;"/>
+ <l:gentext key="dedication" text="&#193;&#246;&#233;&#221;&#241;&#249;&#243;&#231;"/>
+ <l:gentext key="edition" text="&#184;&#234;&#228;&#239;&#243;&#231;"/>
+ <l:gentext key="equation" text="&#197;&#238;&#223;&#243;&#249;&#243;&#231;"/>
+ <l:gentext key="example" text="&#208;&#225;&#241;&#220;&#228;&#229;&#233;&#227;&#236;&#225;"/>
+ <l:gentext key="figure" text="&#211;&#247;&#222;&#236;&#225;"/>
+ <l:gentext key="glossary" text="&#195;&#235;&#249;&#243;&#243;&#220;&#241;&#233;&#239;"/>
+ <l:gentext key="glosssee" text="&#196;&#229;&#223;&#244;&#229;"/>
+ <l:gentext key="glossseealso" text="&#196;&#229;&#223;&#244;&#229; &#197;&#240;&#223;&#243;&#231;&#242;"/>
+ <l:gentext key="important" text="&#211;&#231;&#236;&#225;&#237;&#244;&#233;&#234;&#252;"/>
+ <l:gentext key="index" text="&#197;&#245;&#241;&#229;&#244;&#222;&#241;&#233;&#239;"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="legalnotice" text="&#205;&#239;&#236;&#233;&#234;&#222; &#211;&#231;&#236;&#229;&#223;&#249;&#243;&#231;"/>
+ <l:gentext key="msgaud" text="&#193;&#234;&#241;&#239;&#225;&#244;&#222;&#241;&#233;&#239;"/>
+ <l:gentext key="msglevel" text="&#197;&#240;&#223;&#240;&#229;&#228;&#239;"/>
+ <l:gentext key="msgorig" text="&#208;&#231;&#227;&#222;"/>
+ <l:gentext key="note" text="&#211;&#231;&#236;&#229;&#223;&#249;&#243;&#231;"/>
+ <l:gentext key="part" text="&#204;&#221;&#241;&#239;&#242;"/>
+ <l:gentext key="preface" text="&#197;&#233;&#243;&#225;&#227;&#249;&#227;&#222;"/>
+ <l:gentext key="procedure" text="&#196;&#233;&#225;&#228;&#233;&#234;&#225;&#243;&#223;&#225;"/>
+ <l:gentext key="published" text="&#196;&#231;&#236;&#239;&#243;&#233;&#229;&#245;&#236;&#221;&#237;&#239;"/>
+ <l:gentext key="question" text="&#197;:"/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="reference" text="&#193;&#237;&#225;&#246;&#239;&#241;&#220;"/>
+ <l:gentext key="refname" text="&#188;&#237;&#239;&#236;&#225;"/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="refsynopsisdiv" text="&#211;&#253;&#237;&#239;&#248;&#231;"/>
+ <l:gentext key="revhistory" text="&#201;&#243;&#244;&#239;&#241;&#233;&#234;&#252; &#193;&#237;&#225;&#232;&#229;&#249;&#241;&#222;&#243;&#229;&#249;&#237;"/>
+ <l:gentext key="revision" text="&#193;&#237;&#225;&#232;&#229;&#254;&#241;&#231;&#243;&#231;"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="section" text="&#244;&#236;&#222;&#236;&#225;"/>
+ <l:gentext key="see" text="&#196;&#229;&#223;&#244;&#229;"/>
+ <l:gentext key="seealso" text="&#196;&#229;&#223;&#244;&#229; &#197;&#240;&#223;&#243;&#231;&#242;"/>
+ <l:gentext key="set" text="&#211;&#253;&#237;&#239;&#235;&#239;"/>
+ <l:gentext key="setindex" text="&#197;&#245;&#241;&#229;&#244;&#222;&#241;&#233;&#239; &#211;&#245;&#237;&#252;&#235;&#249;&#237;"/>
+ <l: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;"/>
+ <l:gentext key="step" text="&#246;&#220;&#243;&#231;"/>
+ <l:gentext key="table" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242;"/>
+ <l:gentext key="tip" text="&#213;&#240;&#252;&#228;&#229;&#233;&#238;&#231;"/>
+ <l:gentext key="warning" text="&#208;&#241;&#239;&#229;&#233;&#228;&#239;&#240;&#239;&#223;&#231;&#243;&#231;"/>
+ <l:gentext key="and" text="&#234;&#225;&#233;"/>
+ <l:gentext key="by" text="&#225;&#240;&#252;"/>
+ <l:gentext key="Edited" text="&#197;&#240;&#233;&#236;&#221;&#235;&#229;&#233;&#225;"/>
+ <l:gentext key="edited" text="&#197;&#240;&#233;&#236;&#221;&#235;&#229;&#233;&#225;"/>
+ <l:gentext key="Editedby" text="&#197;&#240;&#233;&#236;&#221;&#235;&#229;&#233;&#225; &#225;&#240;&#252;"/>
+ <l:gentext key="editedby" text="&#197;&#240;&#233;&#236;&#221;&#235;&#229;&#233;&#225; &#225;&#240;&#252;"/>
+ <l:gentext key="in" text="&#243;&#229;"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="&#236;&#231;-&#245;&#240;&#225;&#241;&#234;&#244;&#252; &#243;&#244;&#239;&#233;&#247;&#229;&#223;&#239;"/>
+ <l:gentext key="notes" text="&#211;&#231;&#236;&#229;&#233;&#254;&#243;&#229;&#233;&#242;"/>
+ <l:gentext key="Notes" text="&#211;&#231;&#236;&#229;&#233;&#254;&#243;&#229;&#233;&#242;"/>
+ <l:gentext key="Pgs" text="&#211;&#235;&#228;&#242;."/>
+ <l:gentext key="pgs" text="&#211;&#235;&#228;&#242;."/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242; &#211;&#231;&#236;&#229;&#233;&#254;&#243;&#229;&#249;&#237;"/>
+ <l:gentext key="tablenotes" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242; &#211;&#231;&#236;&#229;&#233;&#254;&#243;&#229;&#249;&#237;"/>
+ <l:gentext key="TableofContents" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242; &#208;&#229;&#241;&#233;&#229;&#247;&#239;&#236;&#221;&#237;&#249;&#237;"/>
+ <l:gentext key="tableofcontents" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242; &#208;&#229;&#241;&#233;&#229;&#247;&#239;&#236;&#221;&#237;&#249;&#237;"/>
+ <l: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;"/>
+ <l:gentext key="unsupported" text="&#236;&#231; &#245;&#240;&#239;&#243;&#244;&#231;&#241;&#233;&#230;&#252;&#236;&#229;&#237;&#239;"/>
+ <l:gentext key="xrefto" text="&#225;&#237;&#244;&#233;&#240;&#225;&#241;&#225;&#240;&#239;&#236;&#240;&#222; &#243;&#229;"/>
+ <l:gentext key="listofequations" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#197;&#238;&#233;&#243;&#254;&#243;&#229;&#249;&#237;"/>
+ <l:gentext key="ListofEquations" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#197;&#238;&#233;&#243;&#254;&#243;&#229;&#249;&#237;"/>
+ <l: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;"/>
+ <l: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;"/>
+ <l:gentext key="ListofFigures" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#211;&#247;&#231;&#236;&#220;&#244;&#249;&#237;"/>
+ <l:gentext key="listoffigures" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#211;&#247;&#231;&#236;&#220;&#244;&#249;&#237;"/>
+ <l:gentext key="listoftables" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#208;&#233;&#237;&#220;&#234;&#249;&#237;"/>
+ <l:gentext key="ListofTables" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#208;&#233;&#237;&#220;&#234;&#249;&#237;"/>
+ <l:gentext key="ListofUnknown" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#193;&#227;&#237;&#254;&#243;&#244;&#249;&#237;"/>
+ <l:gentext key="listofunknown" text="&#202;&#225;&#244;&#220;&#235;&#239;&#227;&#239;&#242; &#193;&#227;&#237;&#254;&#243;&#244;&#249;&#237;"/>
+ <l:gentext key="nav-home" text="&#193;&#241;&#247;&#222;"/>
+ <l:gentext key="nav-next" text="&#197;&#240;&#252;&#236;&#229;&#237;&#239;"/>
+ <l:gentext key="nav-next-sibling" text="&#208;&#241;&#239;&#242; &#244;&#239; &#244;&#221;&#235;&#239;&#242;"/>
+ <l:gentext key="nav-prev" text="&#208;&#241;&#239;&#231;&#227;"/>
+ <l:gentext key="nav-prev-sibling" text="&#208;&#241;&#239;&#242; &#244;&#231;&#237; &#225;&#241;&#247;&#222;"/>
+ <l:gentext key="nav-up" text="&#208;&#220;&#237;&#249;"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/el.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#208;&#225;&#241;&#220;&#241;&#244;&#231;&#236;&#225; %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#202;&#229;&#246;&#220;&#235;&#225;&#233;&#239; %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#197;&#238;&#223;&#243;&#249;&#243;&#231; %n. %t"/>
+ <l:template name="example" text="&#208;&#225;&#241;&#220;&#228;&#229;&#233;&#227;&#236;&#225; %n. %t"/>
+ <l:template name="figure" text="&#211;&#247;&#222;&#236;&#225; %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#204;&#221;&#241;&#239;&#242; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#196;&#233;&#225;&#228;&#233;&#234;&#225;&#243;&#223;&#225;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242; %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#208;&#225;&#241;&#220;&#241;&#244;&#231;&#236;&#225; %n. %t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="&#202;&#229;&#246;&#220;&#235;&#225;&#233;&#239; %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#193;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#197;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#197;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#193;:&#160;%n"/>
+ <l:template name="appendix" text="&#208;&#225;&#241;&#220;&#241;&#244;&#231;&#236;&#225;&#160;%n"/>
+ <l:template name="bridgehead" text="&#212;&#236;&#222;&#236;&#225;&#160;%n"/>
+ <l:template name="chapter" text="&#202;&#229;&#246;&#220;&#235;&#225;&#233;&#239;&#160;%n"/>
+ <l:template name="equation" text="&#197;&#238;&#223;&#243;&#249;&#243;&#231;&#160;%n"/>
+ <l:template name="example" text="&#208;&#225;&#241;&#220;&#228;&#229;&#233;&#227;&#236;&#225;&#160;%n"/>
+ <l:template name="figure" text="&#211;&#247;&#222;&#236;&#225;&#160;%n"/>
+ <l:template name="part" text="&#204;&#221;&#241;&#239;&#242;&#160;%n"/>
+ <l:template name="procedure" text="&#196;&#233;&#225;&#228;&#233;&#234;&#225;&#243;&#223;&#225;&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#197;:&#160;%n"/>
+ <l:template name="question" text="&#197;:&#160;%n"/>
+ <l:template name="sect1" text="&#212;&#236;&#222;&#236;&#225;&#160;%n"/>
+ <l:template name="sect2" text="&#212;&#236;&#222;&#236;&#225;&#160;%n"/>
+ <l:template name="sect3" text="&#212;&#236;&#222;&#236;&#225;&#160;%n"/>
+ <l:template name="sect4" text="&#212;&#236;&#222;&#236;&#225;&#160;%n"/>
+ <l:template name="sect5" text="&#212;&#236;&#222;&#236;&#225;&#160;%n"/>
+ <l:template name="section" text="&#212;&#236;&#222;&#236;&#225;&#160;%n"/>
+ <l:template name="table" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#208;&#225;&#241;&#220;&#241;&#244;&#231;&#236;&#225;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#212;&#236;&#222;&#236;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="&#202;&#229;&#246;&#220;&#235;&#225;&#233;&#239;&#160;%n, %t"/>
+ <l:template name="equation" text="&#197;&#238;&#223;&#243;&#249;&#243;&#231;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="&#208;&#225;&#241;&#220;&#228;&#229;&#233;&#227;&#236;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="&#211;&#247;&#222;&#236;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="&#204;&#221;&#241;&#239;&#242;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="&#196;&#233;&#225;&#228;&#233;&#234;&#225;&#243;&#223;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#212;&#236;&#222;&#236;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#212;&#236;&#222;&#236;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#212;&#236;&#222;&#236;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#212;&#236;&#222;&#236;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#212;&#236;&#222;&#236;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#212;&#236;&#222;&#236;&#225;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="&#208;&#223;&#237;&#225;&#234;&#225;&#242;&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#234;&#225;&#233; "/>
+ <l:template name="seplast" text=", &#234;&#225;&#233; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#196;&#229;&#223;&#244;&#229; "/>
+ <l:template name="seealso" text="&#196;&#229;&#223;&#244;&#229; &#197;&#240;&#223;&#243;&#231;&#242; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#193;&#234;&#241;&#239;&#225;&#244;&#222;&#241;&#233;&#239;: "/>
+ <l:template name="MsgLevel" text="&#197;&#240;&#223;&#240;&#229;&#228;&#239;: "/>
+ <l:template name="MsgOrig" text="&#208;&#231;&#227;&#222;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0408 Greek"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/en.xml b/docs/xslt/db2latex-xsl/xsl/common/en.xml
new file mode 100644
index 0000000000..1606883f22
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/en.xml
@@ -0,0 +1,551 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en" english-language-name="English">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+ <l:gentext key="blockquote" text=""/>
+ <l:gentext key="formalpara" text="Paragraph"/>
+ <l:gentext key="nonexistantelement" text="non-existent element"/>
+ <l:gentext key="glossseealso" text="See also"/>
+ <l:gentext key="keyword" text="Keyword"/>
+ <l:gentext key="keywords" text="Keywords"/>
+ <l:gentext key="keywordset" text="Keywords"/>
+ <l:gentext key="the section called" text="the section called"/>
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/en.xml -->
+ <l:gentext key="Abstract" text="Abstract"/>
+ <l:gentext key="abstract" text="Abstract"/>
+ <l:gentext key="Answer" text="A:"/>
+ <l:gentext key="answer" text="A:"/>
+ <l:gentext key="Appendix" text="Appendix"/>
+ <l:gentext key="appendix" text="appendix"/>
+ <l:gentext key="Article" text="Article"/>
+ <l:gentext key="article" text="Article"/>
+ <l:gentext key="Bibliography" text="Bibliography"/>
+ <l:gentext key="bibliography" text="Bibliography"/>
+ <l:gentext key="Book" text="Book"/>
+ <l:gentext key="book" text="Book"/>
+ <l:gentext key="CAUTION" text="CAUTION"/>
+ <l:gentext key="Caution" text="Caution"/>
+ <l:gentext key="caution" text="Caution"/>
+ <l:gentext key="Chapter" text="Chapter"/>
+ <l:gentext key="chapter" text="chapter"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Dedication"/>
+ <l:gentext key="dedication" text="Dedication"/>
+ <l:gentext key="Edition" text="Edition"/>
+ <l:gentext key="edition" text="Edition"/>
+ <l:gentext key="Equation" text="Equation"/>
+ <l:gentext key="equation" text="Equation"/>
+ <l:gentext key="Example" text="Example"/>
+ <l:gentext key="example" text="Example"/>
+ <l:gentext key="Figure" text="Figure"/>
+ <l:gentext key="figure" text="Figure"/>
+ <l:gentext key="Glossary" text="Glossary"/>
+ <l:gentext key="glossary" text="Glossary"/>
+ <l:gentext key="GlossSee" text="See"/>
+ <l:gentext key="glosssee" text="See"/>
+ <l:gentext key="GlossSeeAlso" text="See Also"/>
+ <l:gentext key="IMPORTANT" text="IMPORTANT"/>
+ <l:gentext key="important" text="Important"/>
+ <l:gentext key="Important" text="Important"/>
+ <l:gentext key="Index" text="Index"/>
+ <l:gentext key="index" text="Index"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Legal Notice"/>
+ <l:gentext key="legalnotice" text="Legal Notice"/>
+ <l:gentext key="MsgAud" text="Audience"/>
+ <l:gentext key="msgaud" text="Audience"/>
+ <l:gentext key="MsgLevel" text="Level"/>
+ <l:gentext key="msglevel" text="Level"/>
+ <l:gentext key="MsgOrig" text="Origin"/>
+ <l:gentext key="msgorig" text="Origin"/>
+ <l:gentext key="NOTE" text="NOTE"/>
+ <l:gentext key="Note" text="Note"/>
+ <l:gentext key="note" text="Note"/>
+ <l:gentext key="Part" text="Part"/>
+ <l:gentext key="part" text="Part"/>
+ <l:gentext key="Preface" text="Preface"/>
+ <l:gentext key="preface" text="Preface"/>
+ <l:gentext key="Procedure" text="Procedure"/>
+ <l:gentext key="procedure" text="Procedure"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="PubDate" text="Publication Date"/>
+ <l:gentext key="pubdate" text="Publication date"/>
+ <l:gentext key="Published" text="Published"/>
+ <l:gentext key="published" text="Published"/>
+ <l:gentext key="Qandadiv" text="Q &amp; A"/>
+ <l:gentext key="qandadiv" text="Q &amp; A"/>
+ <l:gentext key="Question" text="Q:"/>
+ <l:gentext key="question" text="Q:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Reference"/>
+ <l:gentext key="reference" text="Reference"/>
+ <l:gentext key="RefName" text="Name"/>
+ <l:gentext key="refname" text="Name"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Revision History"/>
+ <l:gentext key="revhistory" text="Revision History"/>
+ <l:gentext key="revision" text="Revision"/>
+ <l:gentext key="Revision" text="Revision"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="section" text="Section"/>
+ <l:gentext key="Section" text="Section"/>
+ <l:gentext key="see" text="see"/>
+ <l:gentext key="See" text="See"/>
+ <l:gentext key="seealso" text="see also"/>
+ <l:gentext key="Seealso" text="See also"/>
+ <l:gentext key="SeeAlso" text="See Also"/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="setindex" text="Set Index"/>
+ <l:gentext key="SetIndex" text="Set Index"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="step" text="step"/>
+ <l:gentext key="Step" text="Step"/>
+ <l:gentext key="Table" text="Table"/>
+ <l:gentext key="table" text="Table"/>
+ <l:gentext key="tip" text="Tip"/>
+ <l:gentext key="TIP" text="TIP"/>
+ <l:gentext key="Tip" text="Tip"/>
+ <l:gentext key="Warning" text="Warning"/>
+ <l:gentext key="warning" text="Warning"/>
+ <l:gentext key="WARNING" text="WARNING"/>
+ <l:gentext key="and" text="and"/>
+ <l:gentext key="by" text="by"/>
+ <l:gentext key="called" text="called"/>
+ <l:gentext key="Edited" text="Edited"/>
+ <l:gentext key="edited" text="Edited"/>
+ <l:gentext key="Editedby" text="Edited by"/>
+ <l:gentext key="editedby" text="Edited by"/>
+ <l:gentext key="in" text="in"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="notes" text="Notes"/>
+ <l:gentext key="Notes" text="Notes"/>
+ <l:gentext key="Pgs" text="Pgs."/>
+ <l:gentext key="pgs" text="Pgs."/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text="Notes"/>
+ <l:gentext key="tablenotes" text="Notes"/>
+ <l:gentext key="TableofContents" text="Table of Contents"/>
+ <l:gentext key="tableofcontents" text="Table of Contents"/>
+ <l:gentext key="the" text=""/>
+ <l:gentext key="unexpectedelementname" text="Unexpected element name"/>
+ <l:gentext key="unsupported" text="unsupported"/>
+ <l:gentext key="xrefto" text="xref to"/>
+ <l:gentext key="listofequations" text="List of Equations"/>
+ <l:gentext key="ListofEquations" text="List of Equations"/>
+ <l:gentext key="ListofExamples" text="List of Examples"/>
+ <l:gentext key="listofexamples" text="List of Examples"/>
+ <l:gentext key="ListofFigures" text="List of Figures"/>
+ <l:gentext key="listoffigures" text="List of Figures"/>
+ <l:gentext key="ListofProcedures" text="List of Procedures"/>
+ <l:gentext key="listofprocedures" text="List of Procedures"/>
+ <l:gentext key="listoftables" text="List of Tables"/>
+ <l:gentext key="ListofTables" text="List of Tables"/>
+ <l:gentext key="ListofUnknown" text="List of Unknown"/>
+ <l:gentext key="listofunknown" text="List of Unknown"/>
+ <l:gentext key="nav-home" text="Home"/>
+ <l:gentext key="nav-next" text="Next"/>
+ <l:gentext key="nav-next-sibling" text="Fast Forward"/>
+ <l:gentext key="nav-prev" text="Prev"/>
+ <l:gentext key="nav-prev-sibling" text="Fast Backward"/>
+ <l:gentext key="nav-up" text="Up"/>
+ <l:gentext key="nav-toc" text="ToC"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+ <l:gentext key="hyphenation-character" text="-"/>
+ <l:gentext key="hyphenation-push-character-count" text="2"/>
+ <l:gentext key="hyphenation-remain-character-count" text="2"/>
+ <l:dingbat key="startquote" text="{``}"/>
+ <l:dingbat key="endquote" text="{''}"/>
+ <l:dingbat key="nestedstartquote" text="{`}"/>
+ <l:dingbat key="nestedendquote" text="{'}"/>
+ <l:dingbat key="singlestartquote" text="{`}"/>
+ <l:dingbat key="singleendquote" text="{'}"/>
+ <l:dingbat key="urlstartquote" text="{\textless}"/>
+ <l:dingbat key="urlendquote" text="{\textgreater}"/>
+ <l:dingbat key="bullet" text="\textbullet{}"/>
+ <l:dingbat key="decimalpoint" text="."/>
+ <l:dingbat key="latexdecimal" text="."/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/en.xml -->
+<!-- The following contexts were merged from two source files. -->
+ <l:context name="table">
+ <l:template name="thead.continued" text=""/>
+ <l:template name="tfoot.continued" text=" \textit{(P.T.O.)}"/>
+ <l:template name="thead.continuation" text="\textit{(continued)}"/>
+ <l:template name="tfoot.continuation" text=""/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/en.xml -->
+ </l:context>
+ <l:context name="naturalinlinelist">
+ <l:template name="start" text=""/>
+ <l:template name="middle" text=", "/>
+ <l:template name="lastoftwo" text=" and "/>
+ <l:template name="lastofmany" text=", and "/>
+ <l:template name="end" text=". "/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/en.xml -->
+ </l:context>
+ <l:context name="naturalblocklist">
+ <l:template name="start" text=""/>
+ <l:template name="middle" text=", "/>
+ <l:template name="lastoftwo" text=", "/>
+ <l:template name="lastofmany" text=", "/>
+ <l:template name="end" text=""/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/en.xml -->
+ </l:context>
+ <l:context name="xref">
+ <l:template name="page.citation" text=" on page %p"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/en.xml -->
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page" text="(page %p)"/>
+ <l:template name="pageabbrev" text="(p. %p)"/>
+ <l:template name="Page" text="Page %p"/>
+ <l:template name="bridgehead" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="section" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="appendix" text="Appendix&#160;%n"/>
+ <l:template name="chapter" text="Chapter&#160;%n, %t"/>
+ <l:template name="reference" text="Reference&#160;%n"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/en.xml -->
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="bridgehead" text="Section&#160;%n"/>
+ <l:template name="equation" text="Equation&#160;%n"/>
+ <l:template name="example" text="Example&#160;%n"/>
+ <l:template name="figure" text="Figure&#160;%n"/>
+ <l:template name="part" text="Part&#160;%n"/>
+ <l:template name="procedure" text="Procedure&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="sect1" text="Section&#160;%n"/>
+ <l:template name="sect2" text="Section&#160;%n"/>
+ <l:template name="sect3" text="Section&#160;%n"/>
+ <l:template name="sect4" text="Section&#160;%n"/>
+ <l:template name="sect5" text="Section&#160;%n"/>
+ <l:template name="section" text="Section&#160;%n"/>
+ <l:template name="table" text="Table&#160;%n"/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="Y-m-d"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/en.xml -->
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0809 English (UNITED KINGDOM)"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/en.xml -->
+ </l:context>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Appendix&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliolist" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Chapter&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Equation&#160;%n.&#160;%t"/>
+ <l:template name="example" text="Example&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="Figure&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glosslist" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Part&#160;%n.&#160;%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedure&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Table&#160;%n.&#160;%t"/>
+ <l:template name="task" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Appendix&#160;%n.&#160;%t"/>
+ <l:template name="article/appendix" text="%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="Chapter&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Appendix&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Section&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Chapter&#160;%n, %t"/>
+ <l:template name="equation" text="Equation&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Example&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figure&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Part&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procedure&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Section&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Section&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Section&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Section&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Section&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Section&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Table&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" and "/>
+ <l:template name="seplast" text=", and "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="See "/>
+ <l:template name="seealso" text="See Also "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Audience: "/>
+ <l:template name="MsgLevel" text="Level: "/>
+ <l:template name="MsgOrig" text="Origin: "/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="January"/>
+ <l:template name="February" text="February"/>
+ <l:template name="March" text="March"/>
+ <l:template name="April" text="April"/>
+ <l:template name="May" text="May"/>
+ <l:template name="June" text="June"/>
+ <l:template name="July" text="July"/>
+ <l:template name="August" text="August"/>
+ <l:template name="September" text="September"/>
+ <l:template name="October" text="October"/>
+ <l:template name="November" text="November"/>
+ <l:template name="December" text="December"/>
+ <l:template name="Monday" text="Monday"/>
+ <l:template name="Tuesday" text="Tuesday"/>
+ <l:template name="Wednesday" text="Wednesday"/>
+ <l:template name="Thursday" text="Thursday"/>
+ <l:template name="Friday" text="Friday"/>
+ <l:template name="Saturday" text="Saturday"/>
+ <l:template name="Sunday" text="Sunday"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="Jan"/>
+ <l:template name="Feb" text="Feb"/>
+ <l:template name="Mar" text="Mar"/>
+ <l:template name="Apr" text="Apr"/>
+ <l:template name="May" text="May"/>
+ <l:template name="Jun" text="Jun"/>
+ <l:template name="Jul" text="Jul"/>
+ <l:template name="Aug" text="Aug"/>
+ <l:template name="Sep" text="Sep"/>
+ <l:template name="Oct" text="Oct"/>
+ <l:template name="Nov" text="Nov"/>
+ <l:template name="Dec" text="Dec"/>
+ <l:template name="Mon" text="Mon"/>
+ <l:template name="Tue" text="Tue"/>
+ <l:template name="Wed" text="Wed"/>
+ <l:template name="Thu" text="Thu"/>
+ <l:template name="Fri" text="Fri"/>
+ <l:template name="Sat" text="Sat"/>
+ <l:template name="Sun" text="Sun"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/es.xml b/docs/xslt/db2latex-xsl/xsl/common/es.xml
new file mode 100644
index 0000000000..59abd1caa5
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/es.xml
@@ -0,0 +1,482 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="es" english-language-name="Spanish">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+ <l:gentext key="blockquote" text=""/>
+ <l:gentext key="formalpara" text="p&#225;rrafo"/>
+ <l:gentext key="nonexistantelement" text="elemento inexistente"/>
+ <l:gentext key="glossseealso" text="Ver tambi&#233;n"/>
+ <l:gentext key="keyword" text="palabra clave"/>
+ <l:gentext key="keywords" text="Palabras Clave"/>
+ <l:gentext key="keywordset" text="Palabras Clave"/>
+ <l:gentext key="the section called" text="the secci&#243; titulada"/>
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/es.xml -->
+ <l:gentext key="Abstract" text="Resumen"/>
+ <l:gentext key="abstract" text="resumen"/>
+ <l:gentext key="Answer" text="R:"/>
+ <l:gentext key="answer" text="r:"/>
+ <l:gentext key="Appendix" text="Ap&#233;ndice"/>
+ <l:gentext key="appendix" text="ap&#233;ndice"/>
+ <l:gentext key="Article" text="Art&#237;culo"/>
+ <l:gentext key="article" text="art&#237;culo"/>
+ <l:gentext key="Bibliography" text="Bibliograf&#237;a"/>
+ <l:gentext key="bibliography" text="bibliograf&#237;a"/>
+ <l:gentext key="Book" text="Libro"/>
+ <l:gentext key="book" text="libro"/>
+ <l:gentext key="CAUTION" text="ATENCI&#211;N"/>
+ <l:gentext key="Caution" text="Atenci&#243;n"/>
+ <l:gentext key="caution" text="atenci&#243;n"/>
+ <l:gentext key="Chapter" text="Cap&#237;tulo"/>
+ <l:gentext key="chapter" text="cap&#237;tulo"/>
+ <l:gentext key="Colophon" text="Colof&#243;n"/>
+ <l:gentext key="colophon" text="colof&#243;n"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="copyright"/>
+ <l:gentext key="Dedication" text="Dedicatoria"/>
+ <l:gentext key="dedication" text="dedicatoria"/>
+ <l:gentext key="Edition" text="Edici&#243;n"/>
+ <l:gentext key="edition" text="edici&#243;n"/>
+ <l:gentext key="Equation" text="Ecuaci&#243;n"/>
+ <l:gentext key="equation" text="ecuaci&#243;n"/>
+ <l:gentext key="Example" text="Ejemplo"/>
+ <l:gentext key="example" text="ejemplo"/>
+ <l:gentext key="Figure" text="Figura"/>
+ <l:gentext key="figure" text="figura"/>
+ <l:gentext key="Glossary" text="Glosario"/>
+ <l:gentext key="glossary" text="glosario"/>
+ <l:gentext key="GlossSee" text="Ver"/>
+ <l:gentext key="glosssee" text="ver"/>
+ <l:gentext key="GlossSeeAlso" text="Ver tambi&#233;n"/>
+ <l:gentext key="IMPORTANT" text="IMPORTANTE"/>
+ <l:gentext key="Important" text="Importante"/>
+ <l:gentext key="important" text="importante"/>
+ <l:gentext key="Index" text="&#205;ndice"/>
+ <l:gentext key="index" text="&#237;ndice"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="isbn"/>
+ <l:gentext key="LegalNotice" text="Aviso Legal"/>
+ <l:gentext key="legalnotice" text="aviso legal"/>
+ <l:gentext key="MsgAud" text="Audiencia"/>
+ <l:gentext key="msgaud" text="audiencia"/>
+ <l:gentext key="MsgLevel" text="Nivel"/>
+ <l:gentext key="msglevel" text="nivel"/>
+ <l:gentext key="MsgOrig" text="Origen"/>
+ <l:gentext key="msgorig" text="origen"/>
+ <l:gentext key="NOTE" text="NOTA"/>
+ <l:gentext key="Note" text="Nota"/>
+ <l:gentext key="note" text="nota"/>
+ <l:gentext key="Part" text="Parte"/>
+ <l:gentext key="part" text="parte"/>
+ <l:gentext key="Preface" text="Prefacio"/>
+ <l:gentext key="preface" text="prefacio"/>
+ <l:gentext key="Procedure" text="Procedimiento"/>
+ <l:gentext key="procedure" text="procedimiento"/>
+ <l:gentext key="ProductionSet" text="Producci&#243;n"/>
+ <l:gentext key="PubDate" text="Fecha de publicaci&#243;n"/>
+ <l:gentext key="pubdate" text="fecha de publicaci&#243;n"/>
+ <l:gentext key="Published" text="Publicado"/>
+ <l:gentext key="published" text="publicado"/>
+ <l:gentext key="Question" text="P:"/>
+ <l:gentext key="question" text="p:"/>
+ <l:gentext key="RefEntry" text="Entrada de referencia"/>
+ <l:gentext key="refentry" text="entrada de referencia"/>
+ <l:gentext key="Reference" text="Referencia"/>
+ <l:gentext key="reference" text="referencia"/>
+ <l:gentext key="RefName" text="Nombre de referencia"/>
+ <l:gentext key="refname" text="nombre de referencia"/>
+ <l:gentext key="RefSection" text="Secci&#243;n de referencia"/>
+ <l:gentext key="refsection" text="secci&#243;n de referencia"/>
+ <l:gentext key="RefSynopsisDiv" text="Sinopsis"/>
+ <l:gentext key="refsynopsisdiv" text="sinopsis"/>
+ <l:gentext key="RevHistory" text="Historial de revisiones"/>
+ <l:gentext key="revhistory" text="Historial de revisiones"/>
+ <l:gentext key="Revision" text="Revisi&#243;n"/>
+ <l:gentext key="revision" text="revisi&#243;n"/>
+ <l:gentext key="sect1" text="Secci&#243;n"/>
+ <l:gentext key="sect2" text="Secci&#243;n"/>
+ <l:gentext key="sect3" text="Secci&#243;n"/>
+ <l:gentext key="sect4" text="Secci&#243;n"/>
+ <l:gentext key="sect5" text="Secci&#243;n"/>
+ <l:gentext key="Section" text="Secci&#243;n"/>
+ <l:gentext key="section" text="secci&#243;n"/>
+ <l:gentext key="See" text="Ver"/>
+ <l:gentext key="see" text="ver"/>
+ <l:gentext key="SeeAlso" text="Ver Tambi&#233;n"/>
+ <l:gentext key="Seealso" text="Ver tambi&#233;n"/>
+ <l:gentext key="seealso" text="ver tambi&#233;n"/>
+ <l:gentext key="Set" text="Conjunto"/>
+ <l:gentext key="set" text="conjunto"/>
+ <l:gentext key="SetIndex" text="&#205;ndice del Conjunto"/>
+ <l:gentext key="setindex" text="&#237;ndice del conjunto"/>
+ <l:gentext key="Sidebar" text="Barra lateral"/>
+ <l:gentext key="sidebar" text="barra lateral"/>
+ <l:gentext key="Step" text="Paso"/>
+ <l:gentext key="step" text="paso"/>
+ <l:gentext key="Table" text="Tabla"/>
+ <l:gentext key="table" text="tabla"/>
+ <l:gentext key="TIP" text="SUGERENCIA"/>
+ <l:gentext key="Tip" text="Sugerencia"/>
+ <l:gentext key="tip" text="sugerencia"/>
+ <l:gentext key="WARNING" text="AVISO"/>
+ <l:gentext key="Warning" text="Aviso"/>
+ <l:gentext key="warning" text="aviso"/>
+ <l:gentext key="and" text="y"/>
+ <l:gentext key="by" text="por"/>
+ <l:gentext key="Edited" text="Editado"/>
+ <l:gentext key="edited" text="editado"/>
+ <l:gentext key="Editedby" text="Editado por"/>
+ <l:gentext key="editedby" text="editado por"/>
+ <l:gentext key="in" text="en"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="notes" text="notas"/>
+ <l:gentext key="Notes" text="Notas"/>
+ <l:gentext key="Pgs" text="Pags."/>
+ <l:gentext key="pgs" text="pags."/>
+ <l:gentext key="Revisedby" text="Revisado por: "/>
+ <l:gentext key="revisedby" text="revisado por: "/>
+ <l:gentext key="TableNotes" text="Notas de Tabla"/>
+ <l:gentext key="tablenotes" text="notas de tabla"/>
+ <l:gentext key="TableofContents" text="Tabla de contenidos"/>
+ <l:gentext key="tableofcontents" text="tabla de contenidos"/>
+ <l:gentext key="unexpectedelementname" text="nombre de elemento inesperado"/>
+ <l:gentext key="unsupported" text="no soportado"/>
+ <l:gentext key="xrefto" text="referencia a"/>
+ <l:gentext key="listofequations" text="lista de ecuaciones"/>
+ <l:gentext key="ListofEquations" text="Lista de ecuaciones"/>
+ <l:gentext key="ListofExamples" text="Lista de ejemplos"/>
+ <l:gentext key="listofexamples" text="lista de ejemplos"/>
+ <l:gentext key="ListofFigures" text="Lista de figuras"/>
+ <l:gentext key="listoffigures" text="lista de figuras"/>
+ <l:gentext key="listoftables" text="lista de tablas"/>
+ <l:gentext key="ListofTables" text="Lista de tablas"/>
+ <l:gentext key="ListofUnknown" text="Lista de desconocido"/>
+ <l:gentext key="listofunknown" text="lista de desconocido"/>
+ <l:gentext key="nav-home" text="Inicio"/>
+ <l:gentext key="nav-next" text="Siguiente"/>
+ <l:gentext key="nav-next-sibling" text="Avanzar"/>
+ <l:gentext key="nav-prev" text="Anterior"/>
+ <l:gentext key="nav-prev-sibling" text="Retroceder"/>
+ <l:gentext key="nav-up" text="Subir"/>
+ <l:gentext key="index symbols" text="S&#237;mbolos"/>
+ <l:gentext key="Draft" text="Borrador"/>
+ <l:gentext key="above" text="arriba"/>
+ <l:gentext key="below" text="abajo"/>
+ <l:gentext key="sectioncalled" text="secci&#243;n llamada"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#225;&#233;&#237;&#243;&#250;&#241;"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#193;&#201;&#205;&#211;&#218;&#209;"/>
+ <l:dingbat key="startquote" text="{``}"/>
+ <l:dingbat key="endquote" text="{''}"/>
+ <l:dingbat key="nestedstartquote" text="{`}"/>
+ <l:dingbat key="nestedendquote" text="{'}"/>
+ <l:dingbat key="singlestartquote" text="{`}"/>
+ <l:dingbat key="singleendquote" text="{'}"/>
+ <l:dingbat key="urlstartquote" text="{\textless}"/>
+ <l:dingbat key="urlendquote" text="{\textgreater}"/>
+ <l:dingbat key="bullet" text="\textbullet{}"/>
+ <l:dingbat key="decimalpoint" text="."/>
+ <l:dingbat key="latexdecimal" text="."/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/es.xml -->
+<!-- The following contexts were merged from two source files. -->
+ <l:context name="naturalinlinelist">
+ <l:template name="start" text=""/>
+ <l:template name="middle" text=", "/>
+ <l:template name="lastoftwo" text=" y "/>
+ <l:template name="lastofmany" text=", y "/>
+ <l:template name="end" text=". "/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/es.xml -->
+ </l:context>
+ <l:context name="naturalblocklist">
+ <l:template name="start" text=""/>
+ <l:template name="middle" text=", "/>
+ <l:template name="lastoftwo" text=", "/>
+ <l:template name="lastofmany" text=", "/>
+ <l:template name="end" text=""/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/es.xml -->
+ </l:context>
+ <l:context name="xref">
+ <l:template name="page.citation" text=" en la p&#225;gina %p"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/es.xml -->
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="R:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="P:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="P:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="appendix" text="Ap&#233;ndice&#160;%n"/>
+ <l:template name="chapter" text="Cap&#237;tulo&#160;%n, %t"/>
+ <l:template name="reference" text="Referencia&#160;%n"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/es.xml -->
+ <l:template name="answer" text="R:&#160;%n"/>
+ <l:template name="bridgehead" text="Secci&#243;n&#160;%n"/>
+ <l:template name="equation" text="Ecuaci&#243;n&#160;%n"/>
+ <l:template name="example" text="Ejemplo&#160;%n"/>
+ <l:template name="figure" text="Figura&#160;%n"/>
+ <l:template name="part" text="Parte&#160;%n"/>
+ <l:template name="procedure" text="Procedimiento&#160;%n"/>
+ <l:template name="productionset" text="Producci&#243;n&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="P:&#160;%n"/>
+ <l:template name="question" text="P:&#160;%n"/>
+ <l:template name="sect1" text="Secci&#243;n&#160;%n"/>
+ <l:template name="sect2" text="Secci&#243;n&#160;%n"/>
+ <l:template name="sect3" text="Secci&#243;n&#160;%n"/>
+ <l:template name="sect4" text="Secci&#243;n&#160;%n"/>
+ <l:template name="sect5" text="Secci&#243;n&#160;%n"/>
+ <l:template name="section" text="Secci&#243;n&#160;%n"/>
+ <l:template name="table" text="Tabla&#160;%n"/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d-m-Y"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/es.xml -->
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0C0A Spanish (SPAIN)"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/es.xml -->
+ </l:context>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Ap&#233;ndice %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Ecuaci&#243;n %n. %t"/>
+ <l:template name="example" text="Ejemplo %n. %t"/>
+ <l:template name="figure" text="Figura %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Parte %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedimiento %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Producci&#243;n %n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabla %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Ap&#233;ndice %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Ap&#233;ndice&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Cap&#237;tulo&#160;%n, %t"/>
+ <l:template name="equation" text="Ecuaci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Ejemplo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Parte&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procedimiento&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Producci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabla&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" y "/>
+ <l:template name="seplast" text=", y "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Ver "/>
+ <l:template name="seealso" text="Ver tambi&#233;n "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Audiencia: "/>
+ <l:template name="MsgLevel" text="Nivel: "/>
+ <l:template name="MsgOrig" text="Origen: "/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/et.xml b/docs/xslt/db2latex-xsl/xsl/common/et.xml
new file mode 100644
index 0000000000..3a12eadd33
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/et.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="et" english-language-name="Estonian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/et.xml -->
+ <l:gentext key="Abstract" text="&#220;levaade"/>
+ <l:gentext key="abstract" text="&#220;levaade"/>
+ <l:gentext key="Answer" text="V:"/>
+ <l:gentext key="answer" text="V:"/>
+ <l:gentext key="Appendix" text="Lisa"/>
+ <l:gentext key="appendix" text="lisa"/>
+ <l:gentext key="Article" text="Artikkel"/>
+ <l:gentext key="article" text="Artikkel"/>
+ <l:gentext key="Bibliography" text="Bibliograafia"/>
+ <l:gentext key="bibliography" text="Bibliograafia"/>
+ <l:gentext key="Book" text="Raamat"/>
+ <l:gentext key="book" text="Raamat"/>
+ <l:gentext key="CAUTION" text="ETTEVAATUST"/>
+ <l:gentext key="Caution" text="Ettevaatust"/>
+ <l:gentext key="caution" text="Ettevaatust"/>
+ <l:gentext key="Chapter" text="Peat&#252;kk"/>
+ <l:gentext key="chapter" text="peat&#252;kk"/>
+ <l:gentext key="Colophon" text="L&#245;pum&#228;rgis"/>
+ <l:gentext key="colophon" text="L&#245;pum&#228;rgis"/>
+ <l:gentext key="Copyright" text="Autori&#245;igus"/>
+ <l:gentext key="copyright" text="Autori&#245;igus"/>
+ <l:gentext key="Dedication" text="P&#252;hendus"/>
+ <l:gentext key="dedication" text="P&#252;hendus"/>
+ <l:gentext key="Edition" text="V&#228;ljaanne"/>
+ <l:gentext key="edition" text="V&#228;ljaanne"/>
+ <l:gentext key="Equation" text="Valem"/>
+ <l:gentext key="equation" text="Valem"/>
+ <l:gentext key="Example" text="N&#228;ide"/>
+ <l:gentext key="example" text="N&#228;ide"/>
+ <l:gentext key="Figure" text="Joonis"/>
+ <l:gentext key="figure" text="Joonis"/>
+ <l:gentext key="Glossary" text="S&#245;nastik"/>
+ <l:gentext key="glossary" text="S&#245;nastik"/>
+ <l:gentext key="GlossSee" text="Vt."/>
+ <l:gentext key="glosssee" text="Vt."/>
+ <l:gentext key="GlossSeeAlso" text="Vt. ka"/>
+ <l:gentext key="glossseealso" text="Vt. ka"/>
+ <l:gentext key="IMPORTANT" text="OLULINE"/>
+ <l:gentext key="Important" text="Oluline"/>
+ <l:gentext key="important" text="Oluline"/>
+ <l:gentext key="Index" text="Aineregister"/>
+ <l:gentext key="index" text="Aineregister"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Autori&#245;iguse m&#228;rge"/>
+ <l:gentext key="legalnotice" text="Autori&#245;iguse m&#228;rge"/>
+ <l:gentext key="MsgAud" text="Auditoorium"/>
+ <l:gentext key="msgaud" text="Auditoorium"/>
+ <l:gentext key="MsgLevel" text="Tase"/>
+ <l:gentext key="msglevel" text="Tase"/>
+ <l:gentext key="MsgOrig" text="Algallikas"/>
+ <l:gentext key="msgorig" text="Algallikas"/>
+ <l:gentext key="NOTE" text="M&#196;RKUS"/>
+ <l:gentext key="Note" text="M&#228;rkus"/>
+ <l:gentext key="note" text="M&#228;rkus"/>
+ <l:gentext key="Part" text="Osa"/>
+ <l:gentext key="part" text="Osa"/>
+ <l:gentext key="Preface" text="Eess&#245;na"/>
+ <l:gentext key="preface" text="Eess&#245;na"/>
+ <l:gentext key="Procedure" text="Protseduur"/>
+ <l:gentext key="procedure" text="Protseduur"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="Avaldatud"/>
+ <l:gentext key="published" text="Avaldatud"/>
+ <l:gentext key="Question" text="K:"/>
+ <l:gentext key="question" text="K:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Viide"/>
+ <l:gentext key="reference" text="Viide"/>
+ <l:gentext key="RefName" text="Nimi"/>
+ <l:gentext key="refname" text="Nimi"/>
+ <l:gentext key="RefSection" text="L&#245;ik"/>
+ <l:gentext key="refsection" text="L&#245;ik"/>
+ <l:gentext key="RefSynopsisDiv" text="S&#252;nopsis"/>
+ <l:gentext key="refsynopsisdiv" text="S&#252;nopsis"/>
+ <l:gentext key="RevHistory" text="Vigade paranduste ajalugu"/>
+ <l:gentext key="revhistory" text="Vigade paranduste ajalugu"/>
+ <l:gentext key="Revision" text="Vigade parandus"/>
+ <l:gentext key="revision" text="Vigade parandus"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="section" text="l&#245;ik"/>
+ <l:gentext key="Section" text="Sektsioon"/>
+ <l:gentext key="See" text="Vt."/>
+ <l:gentext key="see" text="Vt."/>
+ <l:gentext key="SeeAlso" text="Vt. ka"/>
+ <l:gentext key="Seealso" text="Vt. ka"/>
+ <l:gentext key="seealso" text="Vt. ka"/>
+ <l:gentext key="Set" text="Sea"/>
+ <l:gentext key="set" text="Sea"/>
+ <l:gentext key="SetIndex" text="Sea indeks"/>
+ <l:gentext key="setindex" text="Sea indeks"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="k&#252;lgriba"/>
+ <l:gentext key="Step" text="Samm"/>
+ <l:gentext key="step" text="samm"/>
+ <l:gentext key="Table" text="Tabel"/>
+ <l:gentext key="table" text="Tabel"/>
+ <l:gentext key="TIP" text="VIHJE"/>
+ <l:gentext key="Tip" text="Vihje"/>
+ <l:gentext key="tip" text="Vihje"/>
+ <l:gentext key="WARNING" text="HOIATUS"/>
+ <l:gentext key="Warning" text="Hoiatus"/>
+ <l:gentext key="warning" text="Hoiatus"/>
+ <l:gentext key="and" text="ja"/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="Edited" text="Redaktsioon"/>
+ <l:gentext key="edited" text="Redaktsioon"/>
+ <l:gentext key="Editedby" text="Redaktsiooni autor(id)"/>
+ <l:gentext key="editedby" text="Redaktsiooni autor(id)"/>
+ <l:gentext key="in" text=""/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="mitte eksisteeriv element"/>
+ <l:gentext key="Notes" text="M&#228;rkused"/>
+ <l:gentext key="notes" text="M&#228;rkused"/>
+ <l:gentext key="Pgs" text="Lk."/>
+ <l:gentext key="pgs" text="Lk."/>
+ <l:gentext key="Revisedby" text="&#220;le vaadanud: "/>
+ <l:gentext key="revisedby" text="&#220;le vaadanud: "/>
+ <l:gentext key="TableNotes" text="M&#228;rkused"/>
+ <l:gentext key="tablenotes" text="M&#228;rkused"/>
+ <l:gentext key="TableofContents" text="Sisukord"/>
+ <l:gentext key="tableofcontents" text="Sisukord"/>
+ <l:gentext key="unexpectedelementname" text="Ootamatu elemendi nimi"/>
+ <l:gentext key="unsupported" text="toetuseta"/>
+ <l:gentext key="xrefto" text="viide"/>
+ <l:gentext key="listofequations" text="Valemite nimekiri"/>
+ <l:gentext key="ListofEquations" text="Valemite nimekiri"/>
+ <l:gentext key="ListofExamples" text="N&#228;idete nimekiri"/>
+ <l:gentext key="listofexamples" text="N&#228;idete nimekiri"/>
+ <l:gentext key="ListofFigures" text="Jooniste nimekiri"/>
+ <l:gentext key="listoffigures" text="Jooniste nimekiri"/>
+ <l:gentext key="listoftables" text="Tabelite nimekiri"/>
+ <l:gentext key="ListofTables" text="Tabelite nimekiri"/>
+ <l:gentext key="ListofUnknown" text="Tundmatute nimekiri"/>
+ <l:gentext key="listofunknown" text="Tundmatute nimekiri"/>
+ <l:gentext key="nav-home" text="Koju"/>
+ <l:gentext key="nav-next" text="J&#228;rgmine"/>
+ <l:gentext key="nav-next-sibling" text="Kiiresti edasi"/>
+ <l:gentext key="nav-prev" text="Eelmine"/>
+ <l:gentext key="nav-prev-sibling" text="Kiiresti tagasi"/>
+ <l:gentext key="nav-up" text="&#220;les"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/et.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Lisa %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Peat&#252;kk %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Valem %n. %t"/>
+ <l:template name="example" text="N&#228;ide %n. %t"/>
+ <l:template name="figure" text="Joonis %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Osa %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Protseduur&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabel %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Lisa %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="Peat&#252;kk %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="V:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="K:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="K:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="V:&#160;%n"/>
+ <l:template name="appendix" text="Lisa&#160;%n"/>
+ <l:template name="bridgehead" text="Sektsioon&#160;%n"/>
+ <l:template name="chapter" text="Peat&#252;kk&#160;%n"/>
+ <l:template name="equation" text="Valem&#160;%n"/>
+ <l:template name="example" text="N&#228;ide&#160;%n"/>
+ <l:template name="figure" text="Joonis&#160;%n"/>
+ <l:template name="part" text="Osa&#160;%n"/>
+ <l:template name="procedure" text="Protseduur&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="K:&#160;%n"/>
+ <l:template name="question" text="K:&#160;%n"/>
+ <l:template name="sect1" text="Sektsioon&#160;%n"/>
+ <l:template name="sect2" text="Sektsioon&#160;%n"/>
+ <l:template name="sect3" text="Sektsioon&#160;%n"/>
+ <l:template name="sect4" text="Sektsioon&#160;%n"/>
+ <l:template name="sect5" text="Sektsioon&#160;%n"/>
+ <l:template name="section" text="Sektsioon&#160;%n"/>
+ <l:template name="table" text="Tabel&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Lisa&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Peat&#252;kk&#160;%n, %t"/>
+ <l:template name="equation" text="Valem&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="N&#228;ide&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Joonis&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Osa&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Protseduur&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" ja "/>
+ <l:template name="seplast" text=", ja "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Vt. "/>
+ <l:template name="seealso" text="Vt. ka "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Auditoorium: "/>
+ <l:template name="MsgLevel" text="Tase: "/>
+ <l:template name="MsgOrig" text="Algallikas: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0425 Estonian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/eu.xml b/docs/xslt/db2latex-xsl/xsl/common/eu.xml
new file mode 100644
index 0000000000..9a04138f21
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/eu.xml
@@ -0,0 +1,444 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="eu" english-language-name="Basque">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/eu.xml -->
+ <l:gentext key="Abstract" text="Laburpena"/>
+ <l:gentext key="abstract" text="Laburpena"/>
+ <l:gentext key="Answer" text="E:"/>
+ <l:gentext key="answer" text="E:"/>
+ <l:gentext key="Appendix" text="Eranskina"/>
+ <l:gentext key="appendix" text="eranskina"/>
+ <l:gentext key="Article" text="Artikulua"/>
+ <l:gentext key="article" text="Artikulua"/>
+ <l:gentext key="Bibliography" text="Bibliografia"/>
+ <l:gentext key="bibliography" text="Bibliografia"/>
+ <l:gentext key="Book" text="Liburua"/>
+ <l:gentext key="book" text="Liburua"/>
+ <l:gentext key="CAUTION" text="KONTUZ"/>
+ <l:gentext key="Caution" text="Kontuz"/>
+ <l:gentext key="caution" text="Kontuz"/>
+ <l:gentext key="Chapter" text="Atala"/>
+ <l:gentext key="chapter" text="atala"/>
+ <l:gentext key="Colophon" text="Azken ohar"/>
+ <l:gentext key="colophon" text="Azken ohar"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Eskaintza"/>
+ <l:gentext key="dedication" text="Eskaintza"/>
+ <l:gentext key="Edition" text="Edizioa"/>
+ <l:gentext key="edition" text="Edizioa"/>
+ <l:gentext key="Equation" text="Ekuazioa"/>
+ <l:gentext key="equation" text="Ekuazioa"/>
+ <l:gentext key="Example" text="Adibidea"/>
+ <l:gentext key="example" text="Adibidea"/>
+ <l:gentext key="Figure" text="Irudia"/>
+ <l:gentext key="figure" text="Irudia"/>
+ <l:gentext key="Glossary" text="Glosarioa"/>
+ <l:gentext key="glossary" text="Glosarioa"/>
+ <l:gentext key="GlossSee" text="Ikus"/>
+ <l:gentext key="glosssee" text="Ikus"/>
+ <l:gentext key="GlossSeeAlso" text="Ikus baita ere"/>
+ <l:gentext key="glossseealso" text="Ikus baita ere"/>
+ <l:gentext key="IMPORTANT" text="GARRANTZITSUA"/>
+ <l:gentext key="important" text="Garrantzitsua"/>
+ <l:gentext key="Important" text="Garrantzitsua"/>
+ <l:gentext key="Index" text="Indizea"/>
+ <l:gentext key="index" text="Indizea"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Legezko abisua"/>
+ <l:gentext key="legalnotice" text="Legezko abisua"/>
+ <l:gentext key="MsgAud" text="Audientzia"/>
+ <l:gentext key="msgaud" text="Audientzia"/>
+ <l:gentext key="MsgLevel" text="Maila"/>
+ <l:gentext key="msglevel" text="Maila"/>
+ <l:gentext key="MsgOrig" text="Jatorria"/>
+ <l:gentext key="msgorig" text="Jatorria"/>
+ <l:gentext key="NOTE" text="OHARRA"/>
+ <l:gentext key="Note" text="Oharra"/>
+ <l:gentext key="note" text="Oharra"/>
+ <l:gentext key="Part" text="Zatia"/>
+ <l:gentext key="part" text="Zatia"/>
+ <l:gentext key="Preface" text="Hitzaurrea"/>
+ <l:gentext key="preface" text="Hitzaurrea"/>
+ <l:gentext key="Procedure" text="Prozedura"/>
+ <l:gentext key="procedure" text="Prozedura"/>
+ <l:gentext key="ProductionSet" text="Ekoizpena"/>
+ <l:gentext key="Published" text="Argitaratua"/>
+ <l:gentext key="published" text="Argitaratua"/>
+ <l:gentext key="Question" text="Galdera"/>
+ <l:gentext key="question" text="galdera"/>
+ <l:gentext key="RefEntry" text="Sarrera"/>
+ <l:gentext key="refentry" text="Sarrera"/>
+ <l:gentext key="Reference" text="Erreferentzia"/>
+ <l:gentext key="reference" text="Erreferentzia"/>
+ <l:gentext key="RefName" text="Izena"/>
+ <l:gentext key="refname" text="Izena"/>
+ <l:gentext key="RefSection" text="Sekzioa"/>
+ <l:gentext key="refsection" text="sekzioa"/>
+ <l:gentext key="RefSynopsisDiv" text="Laburpena"/>
+ <l:gentext key="refsynopsisdiv" text="Laburpena"/>
+ <l:gentext key="RevHistory" text="Berrikuspenaren historia"/>
+ <l:gentext key="revhistory" text="Berrikuspenaren historia"/>
+ <l:gentext key="revision" text="Berrikuspena"/>
+ <l:gentext key="Revision" text="Berrikuspena"/>
+ <l:gentext key="sect1" text="Atala"/>
+ <l:gentext key="sect2" text="Atala"/>
+ <l:gentext key="sect3" text="Atala"/>
+ <l:gentext key="sect4" text="Atala"/>
+ <l:gentext key="sect5" text="Atala"/>
+ <l:gentext key="section" text="Atala"/>
+ <l:gentext key="Section" text="Atala"/>
+ <l:gentext key="See" text="Ikus"/>
+ <l:gentext key="see" text="Ikus"/>
+ <l:gentext key="SeeAlso" text="Ikus baita ere"/>
+ <l:gentext key="seealso" text="Ikus baita ere"/>
+ <l:gentext key="Seealso" text="Ikus baita ere"/>
+ <l:gentext key="set" text="Konfiguratu"/>
+ <l:gentext key="Set" text="Konfiguratu"/>
+ <l:gentext key="setindex" text="Konfiguratu indizea"/>
+ <l:gentext key="SetIndex" text="Konfiguratu indizea"/>
+ <l:gentext key="Sidebar" text="Alboko barra"/>
+ <l:gentext key="sidebar" text="alboko barra"/>
+ <l:gentext key="step" text="urratsa"/>
+ <l:gentext key="Step" text="Urratsa"/>
+ <l:gentext key="Table" text="Taula"/>
+ <l:gentext key="table" text="Taula"/>
+ <l:gentext key="tip" text="Iradokizuna"/>
+ <l:gentext key="TIP" text="IRADOKIZUNA"/>
+ <l:gentext key="Tip" text="Iradokizuna"/>
+ <l:gentext key="Warning" text="Abisua"/>
+ <l:gentext key="warning" text="Abisua"/>
+ <l:gentext key="WARNING" text="ABISUA"/>
+ <l:gentext key="and" text="eta"/>
+ <l:gentext key="by" text="Honek"/>
+ <l:gentext key="Edited" text="editatua"/>
+ <l:gentext key="edited" text="editatua"/>
+ <l:gentext key="Editedby" text="Honek editatua"/>
+ <l:gentext key="editedby" text="Honek editatua"/>
+ <l:gentext key="in" text="non"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="lehendik ez dagoen elementua"/>
+ <l:gentext key="notes" text="Oharrak"/>
+ <l:gentext key="Notes" text="Oharrak"/>
+ <l:gentext key="Pgs" text="Orr."/>
+ <l:gentext key="pgs" text="Orr."/>
+ <l:gentext key="Revisedby" text="Berrikuspena: "/>
+ <l:gentext key="revisedby" text="Berrikuspena: "/>
+ <l:gentext key="TableNotes" text="Oharrak"/>
+ <l:gentext key="tablenotes" text="Oharrak"/>
+ <l:gentext key="TableofContents" text="Edukien aurkibidea"/>
+ <l:gentext key="tableofcontents" text="Edukien aurkibidea"/>
+ <l:gentext key="unexpectedelementname" text="Ustekabeko elemetu-izena"/>
+ <l:gentext key="unsupported" text="onartzen ez den"/>
+ <l:gentext key="xrefto" text="xref honi"/>
+ <l:gentext key="listofequations" text="Ekuazioen zerrenda"/>
+ <l:gentext key="ListofEquations" text="Ekuazioen zerrenda"/>
+ <l:gentext key="ListofExamples" text="Adibideen zerrenda"/>
+ <l:gentext key="listofexamples" text="Adibideen zerrenda"/>
+ <l:gentext key="ListofFigures" text="Irudien zerrenda"/>
+ <l:gentext key="listoffigures" text="Irudien zerrenda"/>
+ <l:gentext key="listoftables" text="Taulen zerrenda"/>
+ <l:gentext key="ListofTables" text="Taulen zerrenda"/>
+ <l:gentext key="ListofUnknown" text="Ezezagunen zerrenda"/>
+ <l:gentext key="listofunknown" text="Ezazagunen zerrenda"/>
+ <l:gentext key="nav-home" text="Etxea"/>
+ <l:gentext key="nav-next" text="Hurrengoa"/>
+ <l:gentext key="nav-next-sibling" text="Aurreratze azkarra"/>
+ <l:gentext key="nav-prev" text="Aurrekoa"/>
+ <l:gentext key="nav-prev-sibling" text="Atzeratze azkarra"/>
+ <l:gentext key="nav-up" text="Gora"/>
+ <l:gentext key="sectioncalled" text="honela deritzon atala"/>
+ <l:gentext key="Draft" text="Zirriborroa"/>
+ <l:gentext key="above" text="goian"/>
+ <l:gentext key="below" text="behean"/>
+ <l:gentext key="index symbols" text="Ikurrak"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/eu.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Eranskina %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Atala %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Ekuazioa %n. %t"/>
+ <l:template name="example" text="Adibidea %n. %t"/>
+ <l:template name="figure" text="Irudia %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Zatia %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Prozedura %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Ekoizpena %n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Taula %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Eranskina %n. %t"/>
+ <l:template name="chapter" text="Atala %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="E:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Galdera&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Galdera&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="section" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="honela deritzon atala &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="E:&#160;%n"/>
+ <l:template name="appendix" text="Eranskina&#160;%n"/>
+ <l:template name="bridgehead" text="Atala&#160;%n"/>
+ <l:template name="chapter" text="Atala&#160;%n"/>
+ <l:template name="equation" text="Ekuazioa&#160;%n"/>
+ <l:template name="example" text="Adibidea&#160;%n"/>
+ <l:template name="figure" text="Irudia&#160;%n"/>
+ <l:template name="part" text="Zatia&#160;%n"/>
+ <l:template name="procedure" text="Prozedura&#160;%n"/>
+ <l:template name="productionset" text="Ekoizpena&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Galdera&#160;%n"/>
+ <l:template name="question" text="Galdera&#160;%n"/>
+ <l:template name="sect1" text="Atala&#160;%n"/>
+ <l:template name="sect2" text="Atala&#160;%n"/>
+ <l:template name="sect3" text="Atala&#160;%n"/>
+ <l:template name="sect4" text="Atala&#160;%n"/>
+ <l:template name="sect5" text="Atala&#160;%n"/>
+ <l:template name="section" text="Atala&#160;%n"/>
+ <l:template name="table" text="Taula&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Eranskina&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Atala&#160;%n, %t"/>
+ <l:template name="equation" text="Ekuazioa&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Adibidea&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Irudia&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Zatia&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Prozedura&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Ekoizpena&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="honela deritzon atala &#8220;%t&#8221;"/>
+ <l:template name="table" text="Taula&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" eta "/>
+ <l:template name="seplast" text=", eta "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Ikus "/>
+ <l:template name="seealso" text="Ikus baita ere "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Audientzia: "/>
+ <l:template name="MsgLevel" text="Maila: "/>
+ <l:template name="MsgOrig" text="Jatorria: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x042d Basque"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/fi.xml b/docs/xslt/db2latex-xsl/xsl/common/fi.xml
new file mode 100644
index 0000000000..a641a029ef
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/fi.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fi" english-language-name="Finnish">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fi.xml -->
+ <l:gentext key="Abstract" text="Lyhennelm&#228;"/>
+ <l:gentext key="abstract" text="Lyhennelm&#228;"/>
+ <l:gentext key="Answer" text="A:"/>
+ <l:gentext key="answer" text="A:"/>
+ <l:gentext key="Appendix" text="Liite"/>
+ <l:gentext key="appendix" text="liite"/>
+ <l:gentext key="Article" text="Artikkeli"/>
+ <l:gentext key="article" text="Artikkeli"/>
+ <l:gentext key="Bibliography" text="L&#228;hteet"/>
+ <l:gentext key="bibliography" text="L&#228;hteet"/>
+ <l:gentext key="Book" text="Kirja"/>
+ <l:gentext key="book" text="Kirja"/>
+ <l:gentext key="CAUTION" text="VARO"/>
+ <l:gentext key="Caution" text="Varo"/>
+ <l:gentext key="caution" text="Varo"/>
+ <l:gentext key="Chapter" text="Luku"/>
+ <l:gentext key="chapter" text="luku"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Omistus"/>
+ <l:gentext key="dedication" text="Omistus"/>
+ <l:gentext key="Edition" text="Edition"/>
+ <l:gentext key="edition" text="Edition"/>
+ <l:gentext key="Equation" text="Kaava"/>
+ <l:gentext key="equation" text="Kaava"/>
+ <l:gentext key="Example" text="Esimerkki"/>
+ <l:gentext key="example" text="Esimerkki"/>
+ <l:gentext key="Figure" text="Kuva"/>
+ <l:gentext key="figure" text="Kuva"/>
+ <l:gentext key="Glossary" text="Sanasto"/>
+ <l:gentext key="glossary" text="Sanasto"/>
+ <l:gentext key="GlossSee" text="Katso"/>
+ <l:gentext key="glosssee" text="Katso"/>
+ <l:gentext key="GlossSeeAlso" text="Katso my&#246;s"/>
+ <l:gentext key="glossseealso" text="Katso my&#246;s"/>
+ <l:gentext key="IMPORTANT" text="T&#196;RKE&#196;&#196;"/>
+ <l:gentext key="Important" text="T&#228;rke&#228;&#228;"/>
+ <l:gentext key="important" text="T&#228;rke&#228;&#228;"/>
+ <l:gentext key="Index" text="Indeksi"/>
+ <l:gentext key="index" text="Indeksi"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text=""/>
+ <l:gentext key="legalnotice" text=""/>
+ <l:gentext key="MsgAud" text="Yleis&#246;"/>
+ <l:gentext key="msgaud" text="Yleis&#246;"/>
+ <l:gentext key="MsgLevel" text="Taso"/>
+ <l:gentext key="msglevel" text="Taso"/>
+ <l:gentext key="MsgOrig" text="Alkuper&#228;"/>
+ <l:gentext key="msgorig" text="Alkuper&#228;"/>
+ <l:gentext key="NOTE" text="HUOMAA"/>
+ <l:gentext key="Note" text="Huomaa"/>
+ <l:gentext key="note" text="Huomaa"/>
+ <l:gentext key="Part" text="Osa"/>
+ <l:gentext key="part" text="Osa"/>
+ <l:gentext key="Preface" text="Esipuhe"/>
+ <l:gentext key="preface" text="Esipuhe"/>
+ <l:gentext key="Procedure" text="Aliohjelma"/>
+ <l:gentext key="procedure" text="Aliohjelma"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="Julkaistu"/>
+ <l:gentext key="published" text="Julkaistu"/>
+ <l:gentext key="Question" text="Q:"/>
+ <l:gentext key="question" text="Q:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="L&#228;hdeluettelo"/>
+ <l:gentext key="reference" text="L&#228;hdeluettelo"/>
+ <l:gentext key="RefName" text="Nimi"/>
+ <l:gentext key="refname" text="Nimi"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Versiohistoria"/>
+ <l:gentext key="revhistory" text="Versiohistoria"/>
+ <l:gentext key="Revision" text="Versio"/>
+ <l:gentext key="revision" text="Versio"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="Kohta"/>
+ <l:gentext key="section" text="kohta"/>
+ <l:gentext key="See" text="Katso"/>
+ <l:gentext key="see" text="Katso"/>
+ <l:gentext key="SeeAlso" text="Katso my&#246;s"/>
+ <l:gentext key="Seealso" text="Katso my&#246;s"/>
+ <l:gentext key="seealso" text="Katso my&#246;s"/>
+ <l:gentext key="Set" text="Kokoelma"/>
+ <l:gentext key="set" text="Kokoelma"/>
+ <l:gentext key="SetIndex" text="Kokoelman indeksi"/>
+ <l:gentext key="setindex" text="Kokoelman indeksi"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sivupalkki"/>
+ <l:gentext key="Step" text="Step"/>
+ <l:gentext key="step" text="step"/>
+ <l:gentext key="Table" text="Taulu"/>
+ <l:gentext key="table" text="Taulu"/>
+ <l:gentext key="TIP" text="VIHJE"/>
+ <l:gentext key="Tip" text="Vihje"/>
+ <l:gentext key="tip" text="Vihje"/>
+ <l:gentext key="WARNING" text="VAROITUS"/>
+ <l:gentext key="Warning" text="Varoitus"/>
+ <l:gentext key="warning" text="Varoitus"/>
+ <l:gentext key="and" text="ja"/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="Edited" text="Toim."/>
+ <l:gentext key="edited" text="Toim."/>
+ <l:gentext key="Editedby" text="Toimittanut"/>
+ <l:gentext key="editedby" text="Toimittanut"/>
+ <l:gentext key="in" text="teoksessa"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="elementti&#228; ei ole olemassa"/>
+ <l:gentext key="notes" text=""/>
+ <l:gentext key="Notes" text=""/>
+ <l:gentext key="Pgs" text="Sivut"/>
+ <l:gentext key="pgs" text="Sivut"/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text=""/>
+ <l:gentext key="tablenotes" text=""/>
+ <l:gentext key="TableofContents" text="Sis&#228;llys"/>
+ <l:gentext key="tableofcontents" text="Sis&#228;llys"/>
+ <l:gentext key="unexpectedelementname" text="Odottamaton elementin nimi"/>
+ <l:gentext key="unsupported" text="ei tueta"/>
+ <l:gentext key="xrefto" text="xref johonkin"/>
+ <l:gentext key="listofequations" text="Luettelo esimerkeist&#228;"/>
+ <l:gentext key="ListofEquations" text="Luettelo esimerkeist&#228;"/>
+ <l:gentext key="ListofExamples" text="Luettelo esimerkeist&#228;"/>
+ <l:gentext key="listofexamples" text="Luettelo esimerkeist&#228;"/>
+ <l:gentext key="ListofFigures" text="Luettelo kuvista"/>
+ <l:gentext key="listoffigures" text="Luettelo kuvista"/>
+ <l:gentext key="listoftables" text="Luettelo tauluista"/>
+ <l:gentext key="ListofTables" text="Luettelo tauluista"/>
+ <l:gentext key="ListofUnknown" text="Luettelo tuntemattomista"/>
+ <l:gentext key="listofunknown" text="Luettelo tuntemattomista"/>
+ <l:gentext key="nav-home" text="Alkuun"/>
+ <l:gentext key="nav-next" text="Seuraava"/>
+ <l:gentext key="nav-next-sibling" text="Nopeasti eteenp&#228;in"/>
+ <l:gentext key="nav-prev" text="Edellinen"/>
+ <l:gentext key="nav-prev-sibling" text="Nopeasti taaksep&#228;in"/>
+ <l:gentext key="nav-up" text="Yl&#246;s"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fi.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Liite %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Luku %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Kaava %n. %t"/>
+ <l:template name="example" text="Esimerkki %n. %t"/>
+ <l:template name="figure" text="Kuva %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Osa %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Aliohjelma&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Taulu %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Liite %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Luku %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="Liite&#160;%n"/>
+ <l:template name="bridgehead" text="Kohta&#160;%n"/>
+ <l:template name="chapter" text="Luku&#160;%n"/>
+ <l:template name="equation" text="Kaava&#160;%n"/>
+ <l:template name="example" text="Esimerkki&#160;%n"/>
+ <l:template name="figure" text="Kuva&#160;%n"/>
+ <l:template name="part" text="Osa&#160;%n"/>
+ <l:template name="procedure" text="Aliohjelma&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="sect1" text="Kohta&#160;%n"/>
+ <l:template name="sect2" text="Kohta&#160;%n"/>
+ <l:template name="sect3" text="Kohta&#160;%n"/>
+ <l:template name="sect4" text="Kohta&#160;%n"/>
+ <l:template name="sect5" text="Kohta&#160;%n"/>
+ <l:template name="section" text="Kohta&#160;%n"/>
+ <l:template name="table" text="Taulu&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Liite&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Kohta&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Luku&#160;%n, %t"/>
+ <l:template name="equation" text="Kaava&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Esimerkki&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Kuva&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Osa&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Aliohjelma&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Kohta&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Kohta&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Kohta&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Kohta&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Kohta&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Kohta&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Taulu&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" ja "/>
+ <l:template name="seplast" text=", ja "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Katso "/>
+ <l:template name="seealso" text="Katso my&#246;s "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Yleis&#246;: "/>
+ <l:template name="MsgLevel" text="Taso: "/>
+ <l:template name="MsgOrig" text="Alkuper&#228;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x040b Finnish"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/fr.xml b/docs/xslt/db2latex-xsl/xsl/common/fr.xml
new file mode 100644
index 0000000000..0e6d82a2b6
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/fr.xml
@@ -0,0 +1,543 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fr" english-language-name="French">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+ <l:gentext key="blockquote" text=""/>
+ <l:gentext key="formalpara" text="paragraphe"/>
+ <l:gentext key="nonexistantelement" text="element non-existant"/>
+ <l:gentext key="glossseealso" text="Voir aussi"/>
+ <l:gentext key="keyword" text="Mot Cl&#233;"/>
+ <l:gentext key="keywords" text="Mots Cl&#233;s"/>
+ <l:gentext key="keywordset" text="Mots Cl&#233;s"/>
+ <l:gentext key="the section called" text="the section called"/>
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fr.xml -->
+ <l:gentext key="Abstract" text="R&#233;sum&#233;"/>
+ <l:gentext key="abstract" text="R&#233;sum&#233;"/>
+ <l:gentext key="Answer" text="R&#160;:"/>
+ <l:gentext key="answer" text="R&#160;:"/>
+ <l:gentext key="Appendix" text="Annexe"/>
+ <l:gentext key="appendix" text="annexe"/>
+ <l:gentext key="Article" text="Article"/>
+ <l:gentext key="article" text="Article"/>
+ <l:gentext key="Bibliography" text="Bibliographie"/>
+ <l:gentext key="bibliography" text="Bibliographie"/>
+ <l:gentext key="Book" text="Livre"/>
+ <l:gentext key="book" text="Livre"/>
+ <l:gentext key="Caution" text="Attention"/>
+ <l:gentext key="caution" text="Attention"/>
+ <l:gentext key="CAUTION" text="ATTENTION"/>
+ <l:gentext key="Chapter" text="Chapitre"/>
+ <l:gentext key="chapter" text="chapitre"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="D&#233;dicace"/>
+ <l:gentext key="dedication" text="D&#233;dicace"/>
+ <l:gentext key="Edition" text="&#201;dition"/>
+ <l:gentext key="edition" text="&#201;dition"/>
+ <l:gentext key="Equation" text="&#201;quation"/>
+ <l:gentext key="equation" text="&#201;quation"/>
+ <l:gentext key="Example" text="Exemple"/>
+ <l:gentext key="example" text="Exemple"/>
+ <l:gentext key="Figure" text="Figure"/>
+ <l:gentext key="figure" text="Figure"/>
+ <l:gentext key="Glossary" text="Glossaire"/>
+ <l:gentext key="glossary" text="Glossaire"/>
+ <l:gentext key="GlossSee" text="Voir"/>
+ <l:gentext key="glosssee" text="Voir"/>
+ <l:gentext key="GlossSeeAlso" text="Voir aussi"/>
+ <l:gentext key="IMPORTANT" text="IMPORTANT"/>
+ <l:gentext key="important" text="Important"/>
+ <l:gentext key="Important" text="Important"/>
+ <l:gentext key="Index" text="Index"/>
+ <l:gentext key="index" text="Index"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Note l&#233;gale"/>
+ <l:gentext key="legalnotice" text="Note l&#233;gale"/>
+ <l:gentext key="MsgAud" text="Public vis&#233;"/>
+ <l:gentext key="msgaud" text="Public vis&#233;"/>
+ <l:gentext key="MsgLevel" text="Niveau"/>
+ <l:gentext key="msglevel" text="Niveau"/>
+ <l:gentext key="MsgOrig" text="Origine"/>
+ <l:gentext key="msgorig" text="Origine"/>
+ <l:gentext key="NOTE" text="NOTE"/>
+ <l:gentext key="Note" text="Note"/>
+ <l:gentext key="note" text="Note"/>
+ <l:gentext key="Part" text="Partie"/>
+ <l:gentext key="part" text="Partie"/>
+ <l:gentext key="Preface" text="Pr&#233;face"/>
+ <l:gentext key="preface" text="Pr&#233;face"/>
+ <l:gentext key="Procedure" text="Proc&#233;dure"/>
+ <l:gentext key="procedure" text="Proc&#233;dure"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="PubDate" text="Date de publication"/>
+ <l:gentext key="pubdate" text="Date de publication"/>
+ <l:gentext key="Published" text="Publi&#233;"/>
+ <l:gentext key="published" text="Publi&#233;"/>
+ <l:gentext key="Qandadiv" text="Q &amp; R"/>
+ <l:gentext key="qandadiv" text="Q &amp; R"/>
+ <l:gentext key="Question" text="Q&#160;:"/>
+ <l:gentext key="question" text="Q&#160;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="R&#233;f&#233;rence"/>
+ <l:gentext key="reference" text="R&#233;f&#233;rence"/>
+ <l:gentext key="RefName" text="Nom"/>
+ <l:gentext key="refname" text="Nom"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Historique des versions"/>
+ <l:gentext key="revhistory" text="Historique des versions"/>
+ <l:gentext key="Revision" text="Version"/>
+ <l:gentext key="revision" text="Version"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="section" text="section"/>
+ <l:gentext key="Section" text="Section"/>
+ <l:gentext key="see" text="voir"/>
+ <l:gentext key="See" text="Voir"/>
+ <l:gentext key="seealso" text="voir aussi"/>
+ <l:gentext key="Seealso" text="Voir aussi"/>
+ <l:gentext key="SeeAlso" text="Voir Aussi"/>
+ <l:gentext key="set" text="Ensemble"/>
+ <l:gentext key="Set" text="Ensemble"/>
+ <l:gentext key="setindex" text="Index"/>
+ <l:gentext key="SetIndex" text="Index"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text=""/>
+ <l:gentext key="step" text="&#233;tape"/>
+ <l:gentext key="Step" text="&#201;tape"/>
+ <l:gentext key="Table" text="Tableau"/>
+ <l:gentext key="table" text="Tableau"/>
+ <l:gentext key="tip" text="ASTUCE"/>
+ <l:gentext key="TIP" text="ASTUCE"/>
+ <l:gentext key="Tip" text="Astuce"/>
+ <l:gentext key="Warning" text="Avertissement"/>
+ <l:gentext key="WARNING" text="AVERTISSEMENT"/>
+ <l:gentext key="warning" text="AVERTISSEMENT"/>
+ <l:gentext key="and" text="et"/>
+ <l:gentext key="by" text="par"/>
+ <l:gentext key="called" text="intitul&#233;"/>
+ <l:gentext key="Edited" text="Publi&#233;"/>
+ <l:gentext key="edited" text="Publi&#233;"/>
+ <l:gentext key="Editedby" text="Publi&#233; par"/>
+ <l:gentext key="editedby" text="Publi&#233; par"/>
+ <l:gentext key="in" text="dans"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="notes" text="Notes"/>
+ <l:gentext key="Notes" text="Notes"/>
+ <l:gentext key="Pgs" text="Pages"/>
+ <l:gentext key="pgs" text="Pages"/>
+ <l:gentext key="Revisedby" text="Revu par&#160;: "/>
+ <l:gentext key="revisedby" text="Revu par&#160;: "/>
+ <l:gentext key="TableNotes" text="Remarques"/>
+ <l:gentext key="tablenotes" text="Remarques"/>
+ <l:gentext key="TableofContents" text="Table des mati&#232;res"/>
+ <l:gentext key="tableofcontents" text="Table des mati&#232;res"/>
+ <l:gentext key="the" text=""/>
+ <l:gentext key="unexpectedelementname" text="Nom d'&#233;l&#233;ment non attendu"/>
+ <l:gentext key="unsupported" text="Non reconnu par le syst&#232;me"/>
+ <l:gentext key="xrefto" text="R&#233;f&#233;rence vers"/>
+ <l:gentext key="listofequations" text="Liste des &#233;quations"/>
+ <l:gentext key="ListofEquations" text="Liste des &#233;quations"/>
+ <l:gentext key="ListofExamples" text="Liste des exemples"/>
+ <l:gentext key="listofexamples" text="Liste des exemples"/>
+ <l:gentext key="ListofFigures" text="Liste des illustrations"/>
+ <l:gentext key="listoffigures" text="Liste des illustrations"/>
+ <l:gentext key="ListofProcedures" text="Liste des proc&#233;dures"/>
+ <l:gentext key="listofprocedures" text="Liste des proc&#233;dures"/>
+ <l:gentext key="listoftables" text="Liste des tableaux"/>
+ <l:gentext key="ListofTables" text="Liste des tableaux"/>
+ <l:gentext key="ListofUnknown" text="Liste des inconnues"/>
+ <l:gentext key="listofunknown" text="Liste des inconnues"/>
+ <l:gentext key="nav-home" text="Sommaire"/>
+ <l:gentext key="nav-next" text="Suivant"/>
+ <l:gentext key="nav-next-sibling" text="Avance rapide"/>
+ <l:gentext key="nav-prev" text="Pr&#233;c&#233;dent"/>
+ <l:gentext key="nav-prev-sibling" text="Arri&#232;re rapide"/>
+ <l:gentext key="nav-up" text="Niveau sup&#233;rieur"/>
+ <l:gentext key="nav-toc" text="TdM"/>
+ <l:gentext key="Draft" text="Brouillon"/>
+ <l:gentext key="above" text="au dessus"/>
+ <l:gentext key="below" text="au dessous"/>
+ <l:gentext key="sectioncalled" text="la section intitul&#233;e"/>
+ <l:gentext key="index symbols" text="Symboles"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#226;&#234;&#238;&#244;&#251;&#235;&#239;&#252;&#224;&#232;&#249;&#233;&#231;&#230;&#339;"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#194;&#202;&#206;&#212;&#219;&#203;&#207;&#220;&#192;&#200;&#217;&#201;&#199;&#198;&#338;"/>
+ <l:gentext key="hyphenation-character" text="-"/>
+ <l:gentext key="hyphenation-push-character-count" text="2"/>
+ <l:gentext key="hyphenation-remain-character-count" text="2"/>
+ <l:dingbat key="startquote" text="&#171;"/>
+ <l:dingbat key="endquote" text="&#187;"/>
+ <l:dingbat key="nestedstartquote" text="{``}"/>
+ <l:dingbat key="nestedendquote" text="{''}"/>
+ <l:dingbat key="singlestartquote" text="\guilsinglleft{}"/>
+ <l:dingbat key="singleendquote" text="\guilsinglright{}"/>
+ <l:dingbat key="urlstartquote" text="{\textless}"/>
+ <l:dingbat key="urlendquote" text="{\textgreater}"/>
+ <l:dingbat key="bullet" text="\textbullet{}"/>
+ <l:dingbat key="decimalpoint" text="."/>
+ <l:dingbat key="latexdecimal" text="."/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fr.xml -->
+<!-- The following contexts were merged from two source files. -->
+ <l:context name="naturalinlinelist">
+ <l:template name="start" text=""/>
+ <l:template name="middle" text=", "/>
+ <l:template name="lastoftwo" text=" et "/>
+ <l:template name="lastofmany" text=", et "/>
+ <l:template name="end" text=". "/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fr.xml -->
+ </l:context>
+ <l:context name="naturalblocklist">
+ <l:template name="start" text=""/>
+ <l:template name="middle" text=", "/>
+ <l:template name="lastoftwo" text=", "/>
+ <l:template name="lastofmany" text=", "/>
+ <l:template name="end" text=""/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fr.xml -->
+ </l:context>
+ <l:context name="xref">
+ <l:template name="page.citation" text=" &#224; la page %p"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fr.xml -->
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="R&#160;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Q&#160;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Q&#160;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page" text="(page %p)"/>
+ <l:template name="pageabbrev" text="(p. %p)"/>
+ <l:template name="Page" text="Page %p"/>
+ <l:template name="bridgehead" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="refsection" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="refsect1" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="refsect2" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="refsect3" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect1" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect2" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect3" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect4" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect5" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="section" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="simplesect" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="appendix" text="Annexe&#160;%n"/>
+ <l:template name="chapter" text="Chapitre&#160;%n, %t"/>
+ <l:template name="reference" text="R&#233;f&#233;rence&#160;%n"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fr.xml -->
+ <l:template name="answer" text="R&#160;:&#160;%n"/>
+ <l:template name="bridgehead" text="Section&#160;%n"/>
+ <l:template name="equation" text="&#201;quation&#160;%n"/>
+ <l:template name="example" text="Exemple&#160;%n"/>
+ <l:template name="figure" text="Figure&#160;%n"/>
+ <l:template name="part" text="Partie&#160;%n"/>
+ <l:template name="procedure" text="Proc&#233;dure&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; R&#160;%n"/>
+ <l:template name="qandaentry" text="Q&#160;:&#160;%n"/>
+ <l:template name="question" text="Q&#160;:&#160;%n"/>
+ <l:template name="sect1" text="Section&#160;%n"/>
+ <l:template name="sect2" text="Section&#160;%n"/>
+ <l:template name="sect3" text="Section&#160;%n"/>
+ <l:template name="sect4" text="Section&#160;%n"/>
+ <l:template name="sect5" text="Section&#160;%n"/>
+ <l:template name="section" text="Section&#160;%n"/>
+ <l:template name="table" text="Tableau&#160;%n"/>
+ </l:context>
+ <l:context name="datetime">
+<!-- The following templates override or supplement those lower down. -->
+ <l:template name="format" text="d-m-Y"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fr.xml -->
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x040C French (FRANCE)"/>
+<!-- Any further templates were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/fr.xml -->
+ </l:context>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Annexe&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Chapitre&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#201;quation&#160;%n.&#160;%t"/>
+ <l:template name="example" text="Exemple&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="Figure&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Proc&#233;dure&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tableau&#160;%n.&#160;%t"/>
+ <l:template name="task" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Annexe&#160;%n.&#160;%t"/>
+ <l:template name="article/appendix" text="%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="Chapitre&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Annexe&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="chapter" text="Chapitre&#160;%n, %t"/>
+ <l:template name="equation" text="&#201;quation&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="example" text="Exemple&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="figure" text="Figure&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="part" text="Partie&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="procedure" text="Proc&#233;dure&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="qandadiv" text="Q &amp; R&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="refsect1" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="refsect2" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="refsect3" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="refsection" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect1" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect2" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect3" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect4" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="sect5" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="section" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="simplesect" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+ <l:template name="table" text="Tableau&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" et "/>
+ <l:template name="seplast" text=", et "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Voir "/>
+ <l:template name="seealso" text="Voir aussi "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Public vis&#233;: "/>
+ <l:template name="MsgLevel" text="Niveau: "/>
+ <l:template name="MsgOrig" text="Origine: "/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="janvier"/>
+ <l:template name="February" text="f&#233;vrier"/>
+ <l:template name="March" text="mars"/>
+ <l:template name="April" text="avril"/>
+ <l:template name="May" text="mai"/>
+ <l:template name="June" text="juin"/>
+ <l:template name="July" text="juillet"/>
+ <l:template name="August" text="ao&#251;t"/>
+ <l:template name="September" text="septembre"/>
+ <l:template name="October" text="octobre"/>
+ <l:template name="November" text="novembre"/>
+ <l:template name="December" text="d&#233;cembre"/>
+ <l:template name="Monday" text="lundi"/>
+ <l:template name="Tuesday" text="mardi"/>
+ <l:template name="Wednesday" text="mercredi"/>
+ <l:template name="Thursday" text="jeudi"/>
+ <l:template name="Friday" text="vendredi"/>
+ <l:template name="Saturday" text="samedi"/>
+ <l:template name="Sunday" text="dimanche"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="jan"/>
+ <l:template name="Feb" text="f&#233;v"/>
+ <l:template name="Mar" text="mar"/>
+ <l:template name="Apr" text="avr"/>
+ <l:template name="May" text="mai"/>
+ <l:template name="Jun" text="jun"/>
+ <l:template name="Jul" text="jui"/>
+ <l:template name="Aug" text="ao&#251;"/>
+ <l:template name="Sep" text="sep"/>
+ <l:template name="Oct" text="oct"/>
+ <l:template name="Nov" text="nov"/>
+ <l:template name="Dec" text="d&#233;c"/>
+ <l:template name="Mon" text="lun"/>
+ <l:template name="Tue" text="mar"/>
+ <l:template name="Wed" text="mer"/>
+ <l:template name="Thu" text="jeu"/>
+ <l:template name="Fri" text="ven"/>
+ <l:template name="Sat" text="sam"/>
+ <l:template name="Sun" text="dim"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/gentext.xsl b/docs/xslt/db2latex-xsl/xsl/common/gentext.xsl
new file mode 100644
index 0000000000..c4ac3f2312
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/gentext.xsl
@@ -0,0 +1,716 @@
+<?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: gentext.xsl,v 1.4 2004/01/04 09:26:24 j-devenish Exp $
+ ********************************************************************
+
+ This file is part of the XSL DocBook Stylesheet distribution.
+
+ Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh.
+ ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="appendix.autolabel" select="0"/>
+
+<xsl:template match="*" mode="object.title.template">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'title'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="chapter" mode="object.title.template">
+ <xsl:choose>
+ <xsl:when test="$chapter.autolabel != 0">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'title-numbered'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'title-unnumbered'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="appendix" mode="object.title.template">
+ <xsl:choose>
+ <xsl:when test="$appendix.autolabel != 0">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'title-numbered'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'title-unnumbered'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|simplesect
+ |bridgehead"
+ mode="object.title.template">
+ <xsl:choose>
+ <xsl:when test="$section.autolabel != 0">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'title-numbered'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'title-unnumbered'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="procedure" mode="object.title.template">
+ <xsl:choose>
+ <xsl:when test="$formal.procedures != 0">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'title'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ <xsl:text>.formal</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'title'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.subtitle.template">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'subtitle'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="is.autonumber">
+ <xsl:value-of select="'0'"/>
+</xsl:template>
+
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5"
+ mode="is.autonumber">
+ <xsl:value-of select="$section.autolabel"/>
+</xsl:template>
+
+<xsl:template match="figure|example|table|equation" mode="is.autonumber">
+ <xsl:value-of select="'1'"/>
+</xsl:template>
+
+<xsl:template match="appendix" mode="is.autonumber">
+ <xsl:value-of select="$appendix.autolabel"/>
+</xsl:template>
+
+<xsl:template match="chapter" mode="is.autonumber">
+ <xsl:value-of select="$chapter.autolabel"/>
+</xsl:template>
+
+<xsl:template match="part" mode="is.autonumber">
+ <xsl:value-of select="$part.autolabel"/>
+</xsl:template>
+
+<xsl:template match="preface" mode="is.autonumber">
+ <xsl:value-of select="$preface.autolabel"/>
+</xsl:template>
+
+<xsl:template match="question|answer" mode="is.autonumber">
+ <xsl:choose>
+ <xsl:when test="$qanda.defaultlabel = 'number'
+ and not(label)">
+ <xsl:value-of select="'1'"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="'0'"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="is.autonumber">
+ <xsl:value-of select="$qandadiv.autolabel"/>
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="is.autonumber">
+ <xsl:value-of select="$section.autolabel"/>
+</xsl:template>
+
+<xsl:template match="*" mode="object.xref.template">
+ <xsl:param name="purpose"/>
+ <xsl:param name="xrefstyle"/>
+ <xsl:param name="referrer"/>
+
+ <!-- Is autonumbering on? -->
+ <xsl:variable name="autonumber">
+ <xsl:apply-templates select="." mode="is.autonumber"/>
+ </xsl:variable>
+
+ <xsl:variable name="number-and-title-template">
+ <xsl:call-template name="gentext.template.exists">
+ <xsl:with-param name="context" select="'xref-number-and-title'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:variable name="number-template">
+ <xsl:call-template name="gentext.template.exists">
+ <xsl:with-param name="context" select="'xref-number'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:variable name="context">
+ <xsl:choose>
+ <xsl:when test="$autonumber != 0
+ and $number-and-title-template != 0
+ and $xref.with.number.and.title != 0">
+ <xsl:value-of select="'xref-number-and-title'"/>
+ </xsl:when>
+ <xsl:when test="$autonumber != 0
+ and $number-template != 0">
+ <xsl:value-of select="'xref-number'"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="'xref'"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="$context"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:call-template>
+
+</xsl:template>
+
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:variable name="template">
+ <xsl:apply-templates select="." mode="object.title.template"/>
+ </xsl:variable>
+
+<!--
+ <xsl:message>
+ <xsl:text>object.title.markup: </xsl:text>
+ <xsl:value-of select="local-name(.)"/>
+ <xsl:text>: </xsl:text>
+ <xsl:value-of select="$template"/>
+ </xsl:message>
+-->
+
+ <xsl:call-template name="substitute-markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="template" select="$template"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="*" mode="object.title.markup.textonly">
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="object.title.markup"/>
+ </xsl:variable>
+ <xsl:value-of select="$title"/>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.titleabbrev.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+
+ <!-- Just for consistency in template naming -->
+
+ <xsl:apply-templates select="." mode="titleabbrev.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.subtitle.markup">
+ <xsl:variable name="template">
+ <xsl:apply-templates select="." mode="object.subtitle.template"/>
+ </xsl:variable>
+
+ <xsl:call-template name="substitute-markup">
+ <xsl:with-param name="template" select="$template"/>
+ </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.xref.markup">
+ <xsl:param name="purpose"/>
+ <xsl:param name="xrefstyle"/>
+ <xsl:param name="referrer"/>
+
+ <xsl:variable name="template">
+ <xsl:choose>
+ <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:')">
+ <xsl:call-template name="make.gentext.template">
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="starts-with(normalize-space($xrefstyle), 'template:')">
+ <xsl:value-of select="substring-after(normalize-space($xrefstyle), 'template:')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="object.xref.template">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+<!--
+ <xsl:message>
+ <xsl:text>object.xref.markup: </xsl:text>
+ <xsl:value-of select="local-name(.)"/>
+ <xsl:text>(</xsl:text>
+ <xsl:value-of select="$xrefstyle"/>
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="$purpose"/>
+ <xsl:text>)</xsl:text>
+ <xsl:text>: [</xsl:text>
+ <xsl:value-of select="$template"/>
+ <xsl:text>]</xsl:text>
+ </xsl:message>
+-->
+
+ <xsl:if test="$template = ''">
+ <xsl:message>
+ <xsl:text>object.xref.markup: empty xref template</xsl:text>
+ <xsl:text> for linkend="</xsl:text>
+ <xsl:value-of select="@id"/>
+ <xsl:text>" and @xrefstyle="</xsl:text>
+ <xsl:value-of select="$xrefstyle"/>
+ <xsl:text>"</xsl:text>
+ </xsl:message>
+ </xsl:if>
+
+ <xsl:call-template name="substitute-markup">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ <xsl:with-param name="template" select="$template"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="listitem" mode="object.xref.markup">
+ <xsl:choose>
+ <xsl:when test="parent::orderedlist">
+ <xsl:variable name="template">
+ <xsl:apply-templates select="." mode="object.xref.template"/>
+ </xsl:variable>
+ <xsl:call-template name="substitute-markup">
+ <xsl:with-param name="template" select="$template"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>
+ <xsl:text>Xref is only supported to listitems in an</xsl:text>
+ <xsl:text> orderedlist: </xsl:text>
+ <xsl:value-of select="@id"/>
+ </xsl:message>
+ <xsl:text>???</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="question" mode="object.xref.markup">
+ <xsl:param name="purpose"/>
+ <xsl:param name="xrefstyle"/>
+ <xsl:param name="referrer"/>
+
+ <xsl:variable name="deflabel">
+ <xsl:choose>
+ <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+ <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
+ /@defaultlabel"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$qanda.defaultlabel"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="template">
+ <xsl:choose>
+ <!-- This avoids double Q: Q: in xref when defaultlabel=qanda -->
+ <xsl:when test="$deflabel = 'qanda' and not(label)">%n</xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="object.xref.template">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:call-template name="substitute-markup">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ <xsl:with-param name="template" select="$template"/>
+ </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="substitute-markup">
+ <xsl:param name="template" select="''"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="title" select="''"/>
+ <xsl:param name="subtitle" select="''"/>
+ <xsl:param name="label" select="''"/>
+ <xsl:param name="pagenumber" select="''"/>
+ <xsl:param name="purpose"/>
+ <xsl:param name="xrefstyle"/>
+ <xsl:param name="referrer"/>
+
+ <xsl:choose>
+ <xsl:when test="contains($template, '%')">
+ <xsl:value-of select="substring-before($template, '%')"/>
+ <xsl:variable name="candidate"
+ select="substring(substring-after($template, '%'), 1, 1)"/>
+ <xsl:choose>
+ <xsl:when test="$candidate = 't'">
+ <xsl:apply-templates select="." mode="insert.title.markup">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="title">
+ <xsl:choose>
+ <xsl:when test="$title != ''">
+ <xsl:copy-of select="$title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:when test="$candidate = 's'">
+ <xsl:apply-templates select="." mode="insert.subtitle.markup">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="subtitle">
+ <xsl:choose>
+ <xsl:when test="$subtitle != ''">
+ <xsl:copy-of select="$subtitle"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="subtitle.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:when test="$candidate = 'n'">
+ <xsl:apply-templates select="." mode="insert.label.markup">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="label">
+ <xsl:choose>
+ <xsl:when test="$label != ''">
+ <xsl:copy-of select="$label"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="label.markup"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:when test="$candidate = 'p'">
+ <xsl:apply-templates select="." mode="insert.pagenumber.markup">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="pagenumber">
+ <xsl:choose>
+ <xsl:when test="$pagenumber != ''">
+ <xsl:copy-of select="$pagenumber"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="pagenumber.markup"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:when test="$candidate = 'd'">
+ <xsl:apply-templates select="." mode="insert.direction.markup">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="direction">
+ <xsl:choose>
+ <xsl:when test="$referrer">
+ <xsl:variable name="referent-is-below">
+ <xsl:for-each select="preceding::xref">
+ <xsl:if test="generate-id(.) = generate-id($referrer)">1</xsl:if>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$referent-is-below = ''">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'above'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'below'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>Attempt to use %d in gentext with no referrer!</xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:when test="$candidate = '%' ">
+ <xsl:text>%</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>%</xsl:text><xsl:value-of select="$candidate"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!-- recurse with the rest of the template string -->
+ <xsl:variable name="rest"
+ select="substring($template,
+ string-length(substring-before($template, '%'))+3)"/>
+ <xsl:call-template name="substitute-markup">
+ <xsl:with-param name="template" select="$rest"/>
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="title" select="$title"/>
+ <xsl:with-param name="subtitle" select="$subtitle"/>
+ <xsl:with-param name="label" select="$label"/>
+ <xsl:with-param name="pagenumber" select="$pagenumber"/>
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$template"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="make.gentext.template">
+ <xsl:param name="xrefstyle" select="''"/>
+ <xsl:param name="purpose"/>
+ <xsl:param name="referrer"/>
+ <xsl:param name="lang">
+ <xsl:call-template name="l10n.language"/>
+ </xsl:param>
+
+ <!-- parse xrefstyle to get parts -->
+ <xsl:variable name="parts"
+ select="substring-after(normalize-space($xrefstyle), 'select:')"/>
+
+ <xsl:variable name="labeltype">
+ <xsl:choose>
+ <xsl:when test="contains($parts, 'labelnumber')">
+ <xsl:text>labelnumber</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($parts, 'labelname')">
+ <xsl:text>labelname</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($parts, 'label')">
+ <xsl:text>label</xsl:text>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="titletype">
+ <xsl:choose>
+ <xsl:when test="contains($parts, 'quotedtitle')">
+ <xsl:text>quotedtitle</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($parts, 'title')">
+ <xsl:text>title</xsl:text>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="pagetype">
+ <xsl:choose>
+ <xsl:when test="$insert.xref.page.number = 'no'">
+ <!-- suppress page numbers -->
+ </xsl:when>
+ <xsl:when test="contains($parts, 'nopage')">
+ <xsl:text>nopage</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($parts, 'pagenumber')">
+ <xsl:text>pagenumber</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($parts, 'pageabbrev')">
+ <xsl:text>pageabbrev</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($parts, 'Page')">
+ <xsl:text>Page</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($parts, 'page')">
+ <xsl:text>page</xsl:text>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:if test="$labeltype != ''">
+ <xsl:choose>
+ <xsl:when test="$labeltype = 'labelname'">
+ <xsl:call-template name="gentext"/>
+ </xsl:when>
+ <xsl:when test="$labeltype = 'labelnumber'">
+ <xsl:text>%n</xsl:text>
+ </xsl:when>
+ <xsl:when test="$labeltype = 'label'">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'xref-number'"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:call-template>
+ </xsl:when>
+ </xsl:choose>
+
+ <xsl:choose>
+ <xsl:when test="$titletype != ''">
+ <xsl:value-of select="$xref.label-title.separator"/>
+ </xsl:when>
+ <xsl:when test="$pagetype != ''">
+ <xsl:value-of select="$xref.label-page.separator"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:if>
+
+ <xsl:if test="$titletype != ''">
+ <xsl:choose>
+ <xsl:when test="$titletype = 'title'">
+ <xsl:text>%t</xsl:text>
+ </xsl:when>
+ <xsl:when test="$titletype = 'quotedtitle'">
+ <xsl:call-template name="gentext.dingbat">
+ <xsl:with-param name="dingbat" select="'startquote'"/>
+ </xsl:call-template>
+ <xsl:text>%t</xsl:text>
+ <xsl:call-template name="gentext.dingbat">
+ <xsl:with-param name="dingbat" select="'endquote'"/>
+ </xsl:call-template>
+ </xsl:when>
+ </xsl:choose>
+
+ <xsl:choose>
+ <xsl:when test="$pagetype != '' and $pagetype != 'nopage'">
+ <xsl:value-of select="$xref.title-page.separator"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:if>
+
+ <xsl:if test="$pagetype != ''">
+ <xsl:choose>
+ <!-- special case: use regular xref template -->
+ <xsl:when test="$pagetype = 'nopage'
+ and $labeltype = ''
+ and $titletype = ''">
+ <xsl:apply-templates select="." mode="object.xref.template">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:when test="$pagetype = 'page'">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'xref'"/>
+ <xsl:with-param name="name" select="'page'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$pagetype = 'Page'">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'xref'"/>
+ <xsl:with-param name="name" select="'Page'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$pagetype = 'pageabbrev'">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'xref'"/>
+ <xsl:with-param name="name" select="'pageabbrev'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$pagetype = 'pagenumber'">
+ <xsl:text>%p</xsl:text>
+ </xsl:when>
+ </xsl:choose>
+
+ </xsl:if>
+
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/he.xml b/docs/xslt/db2latex-xsl/xsl/common/he.xml
new file mode 100644
index 0000000000..4ce5e5a622
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/he.xml
@@ -0,0 +1,444 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="he" english-language-name="Hebrew">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/he.xml -->
+ <l:gentext key="Abstract" text="&#1505;&#1497;&#1499;&#1493;&#1501;"/>
+ <l:gentext key="abstract" text="&#1505;&#1497;&#1499;&#1493;&#1501;"/>
+ <l:gentext key="Answer" text="&#1514;:"/>
+ <l:gentext key="answer" text="&#1514;:"/>
+ <l:gentext key="Appendix" text="&#1504;&#1505;&#1508;&#1495;"/>
+ <l:gentext key="appendix" text="&#1504;&#1505;&#1508;&#1495;"/>
+ <l:gentext key="Article" text="&#1502;&#1488;&#1502;&#1512;"/>
+ <l:gentext key="article" text="&#1502;&#1488;&#1502;&#1512;"/>
+ <l:gentext key="Bibliography" text="&#1489;&#1497;&#1489;&#1500;&#1497;&#1493;&#1490;&#1512;&#1508;&#1497;&#1492;"/>
+ <l:gentext key="bibliography" text="&#1489;&#1497;&#1489;&#1500;&#1497;&#1493;&#1490;&#1512;&#1508;&#1497;&#1492;"/>
+ <l:gentext key="Book" text="&#1505;&#1508;&#1512;"/>
+ <l:gentext key="book" text="&#1505;&#1508;&#1512;"/>
+ <l:gentext key="CAUTION" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+ <l:gentext key="Caution" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+ <l:gentext key="caution" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+ <l:gentext key="Chapter" text="&#1508;&#1512;&#1511;"/>
+ <l:gentext key="chapter" text="&#1508;&#1512;&#1511;"/>
+ <l:gentext key="Colophon" text="&#1511;&#1493;&#1500;&#1493;&#1508;&#1493;&#1503;"/>
+ <l:gentext key="colophon" text="&#1511;&#1493;&#1500;&#1493;&#1508;&#1493;&#1503;"/>
+ <l:gentext key="Copyright" text="&#1494;&#1499;&#1493;&#1497;&#1493;&#1514; &#1497;&#1493;&#1510;&#1512;&#1497;&#1501;"/>
+ <l:gentext key="copyright" text="&#1494;&#1499;&#1493;&#1497;&#1493;&#1514; &#1497;&#1493;&#1510;&#1512;&#1497;&#1501;"/>
+ <l:gentext key="Dedication" text="&#1492;&#1511;&#1491;&#1513;&#1492;"/>
+ <l:gentext key="dedication" text="&#1492;&#1511;&#1491;&#1513;&#1492;"/>
+ <l:gentext key="Edition" text="&#1502;&#1492;&#1491;&#1493;&#1512;&#1492;"/>
+ <l:gentext key="edition" text="&#1502;&#1492;&#1491;&#1493;&#1512;&#1492;"/>
+ <l:gentext key="Equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492;"/>
+ <l:gentext key="equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492;"/>
+ <l:gentext key="Example" text="&#1491;&#1493;&#1490;&#1502;&#1492;"/>
+ <l:gentext key="example" text="&#1491;&#1493;&#1490;&#1502;&#1492;"/>
+ <l:gentext key="Figure" text="&#1488;&#1497;&#1493;&#1512;"/>
+ <l:gentext key="figure" text="&#1488;&#1497;&#1493;&#1512;"/>
+ <l:gentext key="Glossary" text="&#1502;&#1497;&#1500;&#1493;&#1503; &#1502;&#1493;&#1504;&#1495;&#1497;&#1501;"/>
+ <l:gentext key="glossary" text="&#1502;&#1497;&#1500;&#1493;&#1503; &#1502;&#1493;&#1504;&#1495;&#1497;&#1501;"/>
+ <l:gentext key="GlossSee" text="&#1512;&#1488;&#1492;"/>
+ <l:gentext key="glosssee" text="&#1512;&#1488;&#1492;"/>
+ <l:gentext key="GlossSeeAlso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+ <l:gentext key="glossseealso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+ <l:gentext key="IMPORTANT" text="&#1495;&#1513;&#1493;&#1489;"/>
+ <l:gentext key="important" text="&#1495;&#1513;&#1493;&#1489;"/>
+ <l:gentext key="Important" text="&#1495;&#1513;&#1493;&#1489;"/>
+ <l:gentext key="Index" text="&#1488;&#1497;&#1504;&#1491;&#1511;&#1505;"/>
+ <l:gentext key="index" text="&#1488;&#1497;&#1504;&#1491;&#1511;&#1505;"/>
+ <l:gentext key="ISBN" text="&#1502;&#1505;&#1508;&#1512; &#1505;&#1508;&#1512; &#1505;&#1496;&#1504;&#1491;&#1512;&#1496;&#1497; &#1489;&#1497;&#1504;&#1500;&#1488;&#1493;&#1502;&#1497;"/>
+ <l:gentext key="isbn" text="&#1502;&#1505;&#1508;&#1512; &#1505;&#1508;&#1512; &#1505;&#1496;&#1504;&#1491;&#1512;&#1496;&#1497; &#1489;&#1497;&#1504;&#1500;&#1488;&#1493;&#1502;&#1497;"/>
+ <l:gentext key="LegalNotice" text="&#1492;&#1493;&#1491;&#1506;&#1492; &#1502;&#1513;&#1508;&#1496;&#1497;&#1514;"/>
+ <l:gentext key="legalnotice" text="&#1492;&#1493;&#1491;&#1506;&#1492; &#1502;&#1513;&#1508;&#1496;&#1497;&#1514;"/>
+ <l:gentext key="MsgAud" text="&#1511;&#1492;&#1500; &#1497;&#1506;&#1491;"/>
+ <l:gentext key="msgaud" text="&#1511;&#1492;&#1500; &#1497;&#1506;&#1491;"/>
+ <l:gentext key="MsgLevel" text="&#1512;&#1502;&#1492;"/>
+ <l:gentext key="msglevel" text="&#1512;&#1502;&#1492;"/>
+ <l:gentext key="MsgOrig" text="&#1502;&#1511;&#1493;&#1512;"/>
+ <l:gentext key="msgorig" text="&#1502;&#1511;&#1493;&#1512;"/>
+ <l:gentext key="NOTE" text="&#1513;&#1497;&#1501; &#1500;&#1489;"/>
+ <l:gentext key="Note" text="&#1513;&#1497;&#1501; &#1500;&#1489;"/>
+ <l:gentext key="note" text="&#1513;&#1497;&#1501; &#1500;&#1489;"/>
+ <l:gentext key="Part" text="&#1495;&#1500;&#1511;"/>
+ <l:gentext key="part" text="&#1495;&#1500;&#1511;"/>
+ <l:gentext key="Preface" text="&#1502;&#1489;&#1493;&#1488;"/>
+ <l:gentext key="preface" text="&#1502;&#1489;&#1493;&#1488;"/>
+ <l:gentext key="Procedure" text="&#1492;&#1500;&#1497;&#1498;"/>
+ <l:gentext key="procedure" text="&#1492;&#1500;&#1497;&#1498;"/>
+ <l:gentext key="ProductionSet" text="&#1497;&#1497;&#1510;&#1493;&#1512;"/>
+ <l:gentext key="Published" text="&#1492;&#1493;&#1510;&#1488; &#1500;&#1488;&#1493;&#1512;"/>
+ <l:gentext key="published" text="&#1492;&#1493;&#1510;&#1488; &#1500;&#1488;&#1493;&#1512;"/>
+ <l:gentext key="Question" text="&#1513;:"/>
+ <l:gentext key="question" text="&#1513;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#1502;&#1512;&#1488;&#1492; &#1502;&#1511;&#1493;&#1501;"/>
+ <l:gentext key="reference" text="&#1502;&#1512;&#1488;&#1492; &#1502;&#1511;&#1493;&#1501;"/>
+ <l:gentext key="RefName" text="&#1513;&#1501;"/>
+ <l:gentext key="refname" text="&#1513;&#1501;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#1514;&#1502;&#1510;&#1497;&#1514;"/>
+ <l:gentext key="refsynopsisdiv" text="&#1514;&#1502;&#1510;&#1497;&#1514;"/>
+ <l:gentext key="RevHistory" text="&#1492;&#1497;&#1505;&#1496;&#1493;&#1512;&#1497;&#1497;&#1514; &#1490;&#1497;&#1512;&#1505;&#1488;&#1493;&#1514;"/>
+ <l:gentext key="revhistory" text="&#1492;&#1497;&#1505;&#1496;&#1493;&#1512;&#1497;&#1497;&#1514; &#1490;&#1497;&#1512;&#1505;&#1488;&#1493;&#1514;"/>
+ <l:gentext key="revision" text="&#1490;&#1497;&#1512;&#1505;&#1492;"/>
+ <l:gentext key="Revision" text="&#1490;&#1497;&#1512;&#1505;&#1492;"/>
+ <l:gentext key="sect1" text="&#1505;&#1506;&#1497;&#1507;"/>
+ <l:gentext key="sect2" text="&#1505;&#1506;&#1497;&#1507;"/>
+ <l:gentext key="sect3" text="&#1505;&#1506;&#1497;&#1507;"/>
+ <l:gentext key="sect4" text="&#1505;&#1506;&#1497;&#1507;"/>
+ <l:gentext key="sect5" text="&#1505;&#1506;&#1497;&#1507;"/>
+ <l:gentext key="section" text="&#1505;&#1506;&#1497;&#1507;"/>
+ <l:gentext key="Section" text="&#1505;&#1506;&#1497;&#1507;"/>
+ <l:gentext key="See" text="&#1512;&#1488;&#1492;"/>
+ <l:gentext key="see" text="&#1512;&#1488;&#1492;"/>
+ <l:gentext key="SeeAlso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+ <l:gentext key="seealso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+ <l:gentext key="Seealso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+ <l:gentext key="set" text="&#1505;&#1497;&#1491;&#1512;&#1492;"/>
+ <l:gentext key="Set" text="&#1505;&#1497;&#1491;&#1512;&#1492;"/>
+ <l:gentext key="setindex" text="&#1488;&#1497;&#1504;&#1511;&#1491;&#1511;&#1505; &#1505;&#1491;&#1512;&#1493;&#1514;"/>
+ <l:gentext key="SetIndex" text="&#1488;&#1497;&#1504;&#1491;&#1511;&#1505; &#1505;&#1491;&#1512;&#1493;&#1514;"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="&#1508;&#1505; &#1510;&#1491;&#1491;&#1497;"/>
+ <l:gentext key="step" text="&#1510;&#1506;&#1491;"/>
+ <l:gentext key="Step" text="&#1510;&#1506;&#1491;"/>
+ <l:gentext key="Table" text="&#1496;&#1489;&#1500;&#1492;"/>
+ <l:gentext key="table" text="&#1496;&#1489;&#1500;&#1492;"/>
+ <l:gentext key="tip" text="&#1506;&#1510;&#1492;"/>
+ <l:gentext key="TIP" text="&#1506;&#1510;&#1492;"/>
+ <l:gentext key="Tip" text="&#1506;&#1510;&#1492;"/>
+ <l:gentext key="Warning" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+ <l:gentext key="warning" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+ <l:gentext key="WARNING" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+ <l:gentext key="and" text="&#1493;"/>
+ <l:gentext key="by" text="&#1502;&#1488;&#1514;"/>
+ <l:gentext key="Edited" text="&#1504;&#1506;&#1512;&#1498;"/>
+ <l:gentext key="edited" text="&#1504;&#1506;&#1512;&#1498;"/>
+ <l:gentext key="Editedby" text="&#1504;&#1506;&#1512;&#1498; &#1506;&#1500; &#1497;&#1491;&#1497;"/>
+ <l:gentext key="editedby" text="&#1504;&#1506;&#1512;&#1498; &#1506;&#1500; &#1497;&#1491;&#1497;"/>
+ <l:gentext key="in" text="&#1489;"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="&#1502;&#1512;&#1499;&#1497;&#1489; &#1513;&#1488;&#1497;&#1504;&#1493; &#1511;&#1497;&#1497;&#1501;"/>
+ <l:gentext key="notes" text="&#1492;&#1506;&#1512;&#1493;&#1514;"/>
+ <l:gentext key="Notes" text="&#1492;&#1506;&#1512;&#1493;&#1514;"/>
+ <l:gentext key="Pgs" text="&#1506;&#1502;&#1493;&#1491;&#1497;&#1501;"/>
+ <l:gentext key="pgs" text="&#1506;&#1502;&#1493;&#1491;&#1497;&#1501;"/>
+ <l:gentext key="Revisedby" text="&#1492;&#1493;&#1490;&#1492; &#1506;&#1500; &#1497;&#1491;&#1497;: "/>
+ <l:gentext key="revisedby" text="&#1492;&#1493;&#1490;&#1492; &#1506;&#1500; &#1497;&#1491;&#1497;: "/>
+ <l:gentext key="TableNotes" text="&#1492;&#1506;&#1512;&#1493;&#1514;"/>
+ <l:gentext key="tablenotes" text="&#1492;&#1506;&#1512;&#1493;&#1514;"/>
+ <l:gentext key="TableofContents" text="&#1514;&#1493;&#1499;&#1503; &#1492;&#1506;&#1504;&#1497;&#1497;&#1504;&#1497;&#1501;"/>
+ <l:gentext key="tableofcontents" text="&#1514;&#1493;&#1499;&#1503; &#1492;&#1506;&#1504;&#1497;&#1497;&#1504;&#1497;&#1501;"/>
+ <l:gentext key="unexpectedelementname" text="&#1513;&#1501; &#1502;&#1512;&#1499;&#1497;&#1489; &#1489;&#1500;&#1514;&#1497; &#1510;&#1508;&#1493;&#1497;"/>
+ <l:gentext key="unsupported" text="&#1500;&#1488; &#1504;&#1514;&#1502;&#1498;"/>
+ <l:gentext key="xrefto" text="&#1492;&#1514;&#1497;&#1497;&#1495;&#1505;&#1493;&#1514; &#1510;&#1493;&#1500;&#1489;&#1514; &#1488;&#1500;"/>
+ <l:gentext key="listofequations" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1502;&#1513;&#1493;&#1493;&#1488;&#1493;&#1514;"/>
+ <l:gentext key="ListofEquations" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1502;&#1513;&#1493;&#1493;&#1488;&#1493;&#1514;"/>
+ <l:gentext key="ListofExamples" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1491;&#1493;&#1490;&#1502;&#1488;&#1493;&#1514;"/>
+ <l:gentext key="listofexamples" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1491;&#1493;&#1490;&#1502;&#1488;&#1493;&#1514;"/>
+ <l:gentext key="ListofFigures" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1488;&#1497;&#1493;&#1512;&#1497;&#1501;"/>
+ <l:gentext key="listoffigures" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1488;&#1497;&#1493;&#1512;&#1497;&#1501;"/>
+ <l:gentext key="listoftables" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1496;&#1489;&#1500;&#1488;&#1493;&#1514;"/>
+ <l:gentext key="ListofTables" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1496;&#1489;&#1500;&#1488;&#1493;&#1514;"/>
+ <l:gentext key="ListofUnknown" text="&#1512;&#1513;&#1497;&#1502;&#1492; &#1513;&#1500; &#1502;&#1512;&#1499;&#1497;&#1489;&#1497;&#1501; &#1500;&#1488; &#1497;&#1491;&#1493;&#1506;&#1497;&#1501;"/>
+ <l:gentext key="listofunknown" text="&#1512;&#1513;&#1497;&#1502;&#1492; &#1513;&#1500; &#1502;&#1512;&#1499;&#1497;&#1489;&#1497;&#1501; &#1500;&#1488; &#1497;&#1491;&#1493;&#1506;&#1497;&#1501;"/>
+ <l:gentext key="nav-home" text="&#1512;&#1488;&#1513;&#1497;"/>
+ <l:gentext key="nav-next" text="&#1492;&#1489;&#1488;"/>
+ <l:gentext key="nav-next-sibling" text="&#1491;&#1500;&#1490; &#1500;&#1505;&#1493;&#1507;"/>
+ <l:gentext key="nav-prev" text="&#1492;&#1511;&#1493;&#1491;&#1501;"/>
+ <l:gentext key="nav-prev-sibling" text="&#1495;&#1494;&#1493;&#1512; &#1500;&#1492;&#1514;&#1495;&#1500;&#1492;"/>
+ <l:gentext key="nav-up" text="&#1500;&#1502;&#1506;&#1500;&#1492;"/>
+ <l:gentext key="sectioncalled" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488;"/>
+ <l:gentext key="Draft" text="&#1496;&#1497;&#1493;&#1496;&#1492;"/>
+ <l:gentext key="above" text="&#1500;&#1502;&#1506;&#1500;&#1492;"/>
+ <l:gentext key="below" text="&#1500;&#1502;&#1496;&#1492;"/>
+ <l:gentext key="index symbols" text="&#1505;&#1502;&#1500;&#1497;&#1501;"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/he.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#1504;&#1505;&#1508;&#1495; %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#1508;&#1512;&#1511; %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492; %n. %t"/>
+ <l:template name="example" text="&#1491;&#1493;&#1490;&#1502;&#1492; %n. %t"/>
+ <l:template name="figure" text="&#1488;&#1497;&#1493;&#1512; %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#1495;&#1500;&#1511; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#1492;&#1500;&#1497;&#1498; %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="&#1497;&#1497;&#1510;&#1493;&#1512; %n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#1496;&#1489;&#1500;&#1492; %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#1504;&#1505;&#1508;&#1495; %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="&#1508;&#1512;&#1511; %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#1514;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#1513;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#1513;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#1514;:&#160;%n"/>
+ <l:template name="appendix" text="&#1504;&#1505;&#1508;&#1495;&#160;%n"/>
+ <l:template name="bridgehead" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+ <l:template name="chapter" text="&#1508;&#1512;&#1511;&#160;%n"/>
+ <l:template name="equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492;&#160;%n"/>
+ <l:template name="example" text="&#1491;&#1493;&#1490;&#1502;&#1492;&#160;%n"/>
+ <l:template name="figure" text="&#1488;&#1497;&#1493;&#1512;&#160;%n"/>
+ <l:template name="part" text="&#1495;&#1500;&#1511;&#160;%n"/>
+ <l:template name="procedure" text="&#1492;&#1500;&#1497;&#1498;&#160;%n"/>
+ <l:template name="productionset" text="&#1497;&#1497;&#1510;&#1493;&#1512;&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#1513;:&#160;%n"/>
+ <l:template name="question" text="&#1513;:&#160;%n"/>
+ <l:template name="sect1" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+ <l:template name="sect2" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+ <l:template name="sect3" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+ <l:template name="sect4" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+ <l:template name="sect5" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+ <l:template name="section" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+ <l:template name="table" text="&#1496;&#1489;&#1500;&#1492;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#1504;&#1505;&#1508;&#1495;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="&#1508;&#1512;&#1511;&#160;%n, %t"/>
+ <l:template name="equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="&#1491;&#1493;&#1490;&#1502;&#1492;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="&#1488;&#1497;&#1493;&#1512;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="&#1495;&#1500;&#1511;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="&#1492;&#1500;&#1497;&#1498;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="&#1497;&#1497;&#1510;&#1493;&#1512;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+ <l:template name="table" text="&#1496;&#1489;&#1500;&#1492;&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#1493; "/>
+ <l:template name="seplast" text=", &#1493; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#1512;&#1488;&#1492; "/>
+ <l:template name="seealso" text="&#1512;&#1488;&#1492; &#1490;&#1501; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#1511;&#1492;&#1500; &#1497;&#1506;&#1491;: "/>
+ <l:template name="MsgLevel" text="&#1512;&#1502;&#1492;: "/>
+ <l:template name="MsgOrig" text="&#1502;&#1511;&#1493;&#1512;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x040d Hebrew (ISRAEL)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/hr.xml b/docs/xslt/db2latex-xsl/xsl/common/hr.xml
new file mode 100644
index 0000000000..c643646d26
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/hr.xml
@@ -0,0 +1,495 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hr" english-language-name="Croatian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/hr.xml -->
+ <l:gentext key="Abstract" text="Sa&#382;etak"/>
+ <l:gentext key="abstract" text="Sa&#382;etak"/>
+ <l:gentext key="Answer" text="Odgovor:"/>
+ <l:gentext key="answer" text="Odgovor:"/>
+ <l:gentext key="Appendix" text="Dodatak"/>
+ <l:gentext key="appendix" text="dodatak"/>
+ <l:gentext key="Article" text="&#268;lanak"/>
+ <l:gentext key="article" text="&#268;lanak"/>
+ <l:gentext key="Bibliography" text="Literatura"/>
+ <l:gentext key="bibliography" text="Literatura"/>
+ <l:gentext key="Book" text="Knjiga"/>
+ <l:gentext key="book" text="Knjiga"/>
+ <l:gentext key="CAUTION" text="OPREZ"/>
+ <l:gentext key="Caution" text="Oprez"/>
+ <l:gentext key="caution" text="Oprez"/>
+ <l:gentext key="Chapter" text="Poglavlje"/>
+ <l:gentext key="chapter" text="poglavlje"/>
+ <l:gentext key="Colophon" text="Impresum"/>
+ <l:gentext key="colophon" text="Impresum"/>
+ <l:gentext key="Copyright" text="Autorska prava"/>
+ <l:gentext key="copyright" text="Autorska prava"/>
+ <l:gentext key="Dedication" text="Posveta"/>
+ <l:gentext key="dedication" text="Posveta"/>
+ <l:gentext key="Edition" text="Izdanje"/>
+ <l:gentext key="edition" text="Izdanje"/>
+ <l:gentext key="Equation" text="Jednad&#382;ba"/>
+ <l:gentext key="equation" text="Jednad&#382;ba"/>
+ <l:gentext key="Example" text="Primjer"/>
+ <l:gentext key="example" text="Primjer"/>
+ <l:gentext key="Figure" text="Slika"/>
+ <l:gentext key="figure" text="Slika"/>
+ <l:gentext key="Glossary" text="Rje&#269;nik"/>
+ <l:gentext key="glossary" text="Rje&#269;nik"/>
+ <l:gentext key="GlossSee" text="Vidi"/>
+ <l:gentext key="glosssee" text="Vidi"/>
+ <l:gentext key="GlossSeeAlso" text="Vidi i"/>
+ <l:gentext key="glossseealso" text="Vidi i"/>
+ <l:gentext key="IMPORTANT" text="VA&#381;NO"/>
+ <l:gentext key="important" text="Va&#382;no"/>
+ <l:gentext key="Important" text="Va&#382;no"/>
+ <l:gentext key="Index" text="Kazalo"/>
+ <l:gentext key="index" text="Kazalo"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Pravne odredbe"/>
+ <l:gentext key="legalnotice" text="Pravne odredbe"/>
+ <l:gentext key="MsgAud" text="Primatelji"/>
+ <l:gentext key="msgaud" text="Primatelji"/>
+ <l:gentext key="MsgLevel" text="Razina"/>
+ <l:gentext key="msglevel" text="Razina"/>
+ <l:gentext key="MsgOrig" text="Izvor"/>
+ <l:gentext key="msgorig" text="Izvor"/>
+ <l:gentext key="NOTE" text="BILJE&#352;KA"/>
+ <l:gentext key="Note" text="Bilje&#353;ka"/>
+ <l:gentext key="note" text="Bilje&#353;ka"/>
+ <l:gentext key="Part" text="Dio"/>
+ <l:gentext key="part" text="Dio"/>
+ <l:gentext key="Preface" text="Predgovor"/>
+ <l:gentext key="preface" text="Predgovor"/>
+ <l:gentext key="Procedure" text="Postupak"/>
+ <l:gentext key="procedure" text="Postupak"/>
+ <l:gentext key="ProductionSet" text="Produkcija"/>
+ <l:gentext key="Published" text="Objavljeno"/>
+ <l:gentext key="published" text="Objavljeno"/>
+ <l:gentext key="Question" text="Pitanje:"/>
+ <l:gentext key="question" text="Pitanje:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Referenca"/>
+ <l:gentext key="reference" text="Referenca"/>
+ <l:gentext key="RefName" text="Ime"/>
+ <l:gentext key="refname" text="Ime"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Pregled"/>
+ <l:gentext key="refsynopsisdiv" text="Pregled"/>
+ <l:gentext key="RevHistory" text="Povijest preinaka"/>
+ <l:gentext key="revhistory" text="Povijest preinaka"/>
+ <l:gentext key="revision" text="Preinaka"/>
+ <l:gentext key="Revision" text="Preinaka"/>
+ <l:gentext key="sect1" text="Odjeljak"/>
+ <l:gentext key="sect2" text="Odjeljak"/>
+ <l:gentext key="sect3" text="Odjeljak"/>
+ <l:gentext key="sect4" text="Odjeljak"/>
+ <l:gentext key="sect5" text="Odjeljak"/>
+ <l:gentext key="section" text="Odjeljak"/>
+ <l:gentext key="Section" text="Odjeljak"/>
+ <l:gentext key="see" text="vidi"/>
+ <l:gentext key="seealso" text="vidi i"/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="setindex" text="Kazalo seta"/>
+ <l:gentext key="SetIndex" text="Kazalo seta"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="step" text="korak"/>
+ <l:gentext key="Step" text="Korak"/>
+ <l:gentext key="Table" text="Tablica"/>
+ <l:gentext key="table" text="Tablica"/>
+ <l:gentext key="tip" text="Savjet"/>
+ <l:gentext key="TIP" text="SAVJET"/>
+ <l:gentext key="Tip" text="Savjet"/>
+ <l:gentext key="Warning" text="Upozorenje"/>
+ <l:gentext key="warning" text="Upozorenje"/>
+ <l:gentext key="WARNING" text="UPOZORENJE"/>
+ <l:gentext key="and" text="i"/>
+ <l:gentext key="by" text="po"/>
+ <l:gentext key="Edited" text="Uredio/la"/>
+ <l:gentext key="edited" text="Uredio/la"/>
+ <l:gentext key="Editedby" text="Uredio/la"/>
+ <l:gentext key="editedby" text="Uredio/la"/>
+ <l:gentext key="in" text="u"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="nepostoje&#263;i element"/>
+ <l:gentext key="notes" text="Bilje&#353;ke"/>
+ <l:gentext key="Notes" text="Bilje&#353;ke"/>
+ <l:gentext key="Pgs" text="Str."/>
+ <l:gentext key="pgs" text="Str."/>
+ <l:gentext key="Revisedby" text="Promijenjeno po: "/>
+ <l:gentext key="revisedby" text="Promijenjeno po: "/>
+ <l:gentext key="TableNotes" text="Napomene"/>
+ <l:gentext key="tablenotes" text="Napomene"/>
+ <l:gentext key="TableofContents" text="Sadr&#382;aj"/>
+ <l:gentext key="tableofcontents" text="Sadr&#382;aj"/>
+ <l:gentext key="unexpectedelementname" text="Neo&#269;ekivano ime elementa"/>
+ <l:gentext key="unsupported" text="nepodr&#382;ano"/>
+ <l:gentext key="xrefto" text="xref za"/>
+ <l:gentext key="listofequations" text="Popis jednad&#382;bi"/>
+ <l:gentext key="ListofEquations" text="Popis jednad&#382;bi"/>
+ <l:gentext key="ListofExamples" text="Popis primjera"/>
+ <l:gentext key="listofexamples" text="Popis primjera"/>
+ <l:gentext key="ListofFigures" text="Popis slika"/>
+ <l:gentext key="listoffigures" text="Popis slika"/>
+ <l:gentext key="ListofProcedures" text="Popis postupaka"/>
+ <l:gentext key="listofprocedures" text="Popis postupaka"/>
+ <l:gentext key="listoftables" text="Popis tablica"/>
+ <l:gentext key="ListofTables" text="Popis tablica "/>
+ <l:gentext key="ListofUnknown" text="Popis nepoznanica"/>
+ <l:gentext key="listofunknown" text="Popis nepoznanica"/>
+ <l:gentext key="nav-home" text="Po&#269;etak"/>
+ <l:gentext key="nav-next" text="Naprijed"/>
+ <l:gentext key="nav-next-sibling" text="Sko&#269;i unaprijed"/>
+ <l:gentext key="nav-prev" text="Natrag"/>
+ <l:gentext key="nav-prev-sibling" text="Sko&#269;i unatrag"/>
+ <l:gentext key="nav-up" text="Gore"/>
+ <l:gentext key="nav-toc" text="Sadr&#382;aj"/>
+ <l:gentext key="Draft" text="Nacrt"/>
+ <l:gentext key="above" text="iznad"/>
+ <l:gentext key="below" text="ispod"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="index symbols" text="Oznake"/>
+ <l:gentext key="lowercase.alpha" text="abc&#269;&#263;d&#273;efghijklmnopqrs&#353;tuvwxyz&#382;"/>
+ <l:gentext key="uppercase.alpha" text="ABC&#268;&#262;D&#272;EFGHIJKLMNOPQRS&#352;TUVWXYZ&#381;"/>
+ <l:gentext key="hyphenation-character" text="&#8208;"/>
+ <l:gentext key="hyphenation-push-character-count" text="2"/>
+ <l:gentext key="hyphenation-remain-character-count" text="2"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/hr.xml -->
+ <l:dingbat key="startquote" text="&#8222;"/>
+ <l:dingbat key="endquote" text="&#8220;"/>
+ <l:dingbat key="nestedstartquote" text="&#8218;"/>
+ <l:dingbat key="nestedendquote" text="&#8216;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Dodatak&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Poglavlje&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Jednad&#382;ba&#160;%n.&#160;%t"/>
+ <l:template name="example" text="Primjer&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="Slika&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Dio&#160;%n.&#160;%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Postupak&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Produkcija&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tablica&#160;%n.&#160;%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Dodatak&#160;%n.&#160;%t"/>
+ <l:template name="article/appendix" text="%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="Poglavlje&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Odgovor:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Pitanje:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Pitanje:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="refsection" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="refsect1" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="refsect2" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="refsect3" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="sect1" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="sect2" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="sect3" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="sect4" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="sect5" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="section" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="simplesect" text="the section called &#8222;%t&#8220;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Odgovor:&#160;%n"/>
+ <l:template name="appendix" text="Dodatak&#160;%n"/>
+ <l:template name="bridgehead" text="Odjeljak&#160;%n"/>
+ <l:template name="chapter" text="Poglavlje&#160;%n"/>
+ <l:template name="equation" text="Jednad&#382;ba&#160;%n"/>
+ <l:template name="example" text="Primjer&#160;%n"/>
+ <l:template name="figure" text="Slika&#160;%n"/>
+ <l:template name="part" text="Dio&#160;%n"/>
+ <l:template name="procedure" text="Postupak&#160;%n"/>
+ <l:template name="productionset" text="Produkcija&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Pitanje:&#160;%n"/>
+ <l:template name="question" text="Pitanje:&#160;%n"/>
+ <l:template name="sect1" text="Odjeljak&#160;%n"/>
+ <l:template name="sect2" text="Odjeljak&#160;%n"/>
+ <l:template name="sect3" text="Odjeljak&#160;%n"/>
+ <l:template name="sect4" text="Odjeljak&#160;%n"/>
+ <l:template name="sect5" text="Odjeljak&#160;%n"/>
+ <l:template name="section" text="Odjeljak&#160;%n"/>
+ <l:template name="table" text="Tablica&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Dodatak&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="chapter" text="Poglavlje&#160;%n, %t"/>
+ <l:template name="equation" text="Jednad&#382;ba&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="example" text="Primjer&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="figure" text="Slika&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="part" text="Dio&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="procedure" text="Postupak&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="productionset" text="Produkcija&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="refsect1" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="refsect2" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="refsect3" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="refsection" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="sect1" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="sect2" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="sect3" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="sect4" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="sect5" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="section" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+ <l:template name="simplesect" text="the section called &#8222;%t&#8220;"/>
+ <l:template name="table" text="Tablica&#160;%n, &#8222;%t&#8220;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" i "/>
+ <l:template name="seplast" text=", i "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Vidi "/>
+ <l:template name="seealso" text="Vidi i "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Primatelji: "/>
+ <l:template name="MsgLevel" text="Razina: "/>
+ <l:template name="MsgOrig" text="Izvor: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="m/d/Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="Sije&#269;anj"/>
+ <l:template name="February" text="Velja&#269;a"/>
+ <l:template name="March" text="O&#382;ujak"/>
+ <l:template name="April" text="Travanj"/>
+ <l:template name="May" text="Svibanj"/>
+ <l:template name="June" text="Lipanj"/>
+ <l:template name="July" text="Srpanj"/>
+ <l:template name="August" text="Kolovoz"/>
+ <l:template name="September" text="Rujan"/>
+ <l:template name="October" text="Listopad"/>
+ <l:template name="November" text="Studeni"/>
+ <l:template name="December" text="Prosinac"/>
+ <l:template name="Monday" text="Ponedjeljak"/>
+ <l:template name="Tuesday" text="Utorak"/>
+ <l:template name="Wednesday" text="Srijeda"/>
+ <l:template name="Thursday" text="&#268;etvrtak"/>
+ <l:template name="Friday" text="Petak"/>
+ <l:template name="Saturday" text="Subota"/>
+ <l:template name="Sunday" text="Nedjelja"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="Sij"/>
+ <l:template name="Feb" text="Velj"/>
+ <l:template name="Mar" text="O&#382;u"/>
+ <l:template name="Apr" text="Tra"/>
+ <l:template name="May" text="Svi"/>
+ <l:template name="Jun" text="Lip"/>
+ <l:template name="Jul" text="Srp"/>
+ <l:template name="Aug" text="Kol"/>
+ <l:template name="Sep" text="Ruj"/>
+ <l:template name="Oct" text="Lis"/>
+ <l:template name="Nov" text="Stu"/>
+ <l:template name="Dec" text="Pro"/>
+ <l:template name="Mon" text="Pon"/>
+ <l:template name="Tue" text="Uto"/>
+ <l:template name="Wed" text="Sri"/>
+ <l:template name="Thu" text="&#268;et"/>
+ <l:template name="Fri" text="Pet"/>
+ <l:template name="Sat" text="Sub"/>
+ <l:template name="Sun" text="Ned"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x041a Croatian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/hu.xml b/docs/xslt/db2latex-xsl/xsl/common/hu.xml
new file mode 100644
index 0000000000..24db854d76
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/hu.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hu" english-language-name="Hungarian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/hu.xml -->
+ <l:gentext key="Abstract" text="Kivonat"/>
+ <l:gentext key="abstract" text="kivonat"/>
+ <l:gentext key="Answer" text="V:"/>
+ <l:gentext key="answer" text="v:"/>
+ <l:gentext key="Appendix" text="F&#252;ggel&#233;k"/>
+ <l:gentext key="appendix" text="f&#252;ggel&#233;k"/>
+ <l:gentext key="Article" text="Cikk"/>
+ <l:gentext key="article" text="cikk"/>
+ <l:gentext key="Bibliography" text="Irodalomjegyz&#233;k"/>
+ <l:gentext key="bibliography" text="irodalomjegyz&#233;k"/>
+ <l:gentext key="Book" text="K&#246;nyv"/>
+ <l:gentext key="book" text="k&#246;nyv"/>
+ <l:gentext key="CAUTION" text="FIGYELEM"/>
+ <l:gentext key="Caution" text="Figyelem"/>
+ <l:gentext key="caution" text="figyelem"/>
+ <l:gentext key="Chapter" text="Fejezet"/>
+ <l:gentext key="chapter" text="fejezet"/>
+ <l:gentext key="Colophon" text="V&#233;gsz&#243;"/>
+ <l:gentext key="colophon" text="v&#233;gsz&#243;"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="copyright"/>
+ <l:gentext key="Dedication" text="Aj&#225;nl&#225;s"/>
+ <l:gentext key="dedication" text="aj&#225;nl&#225;s"/>
+ <l:gentext key="Edition" text="Kiad&#225;s"/>
+ <l:gentext key="edition" text="kiad&#225;s"/>
+ <l:gentext key="Equation" text="Egyenlet"/>
+ <l:gentext key="equation" text="egyenlet"/>
+ <l:gentext key="Example" text="P&#233;lda"/>
+ <l:gentext key="example" text="p&#233;lda"/>
+ <l:gentext key="Figure" text="&#193;bra"/>
+ <l:gentext key="figure" text="&#225;bra"/>
+ <l:gentext key="Glossary" text="Sz&#243;jegyz&#233;k"/>
+ <l:gentext key="glossary" text="sz&#243;jegyz&#233;k"/>
+ <l:gentext key="GlossSee" text="L&#225;sd"/>
+ <l:gentext key="glosssee" text="l&#225;sd"/>
+ <l:gentext key="GlossSeeAlso" text="L&#225;sd m&#233;g"/>
+ <l:gentext key="glossseealso" text="l&#225;sd m&#233;g"/>
+ <l:gentext key="IMPORTANT" text="FONTOS"/>
+ <l:gentext key="Important" text="Fontos"/>
+ <l:gentext key="important" text="fontos"/>
+ <l:gentext key="Index" text="T&#225;rgymutat&#243;"/>
+ <l:gentext key="index" text="t&#225;rgymutat&#243;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="isbn"/>
+ <l:gentext key="LegalNotice" text="Jogi k&#246;zlem&#233;ny"/>
+ <l:gentext key="legalnotice" text="jogi k&#246;zlem&#233;ny"/>
+ <l:gentext key="MsgAud" text="C&#233;lk&#246;z&#246;ns&#233;g"/>
+ <l:gentext key="msgaud" text="c&#233;lk&#246;z&#246;ns&#233;g"/>
+ <l:gentext key="MsgLevel" text="Szint"/>
+ <l:gentext key="msglevel" text="szint"/>
+ <l:gentext key="MsgOrig" text="Eredet"/>
+ <l:gentext key="msgorig" text="eredet"/>
+ <l:gentext key="NOTE" text="MEGJEGYZ&#201;S"/>
+ <l:gentext key="Note" text="Megjegyz&#233;s"/>
+ <l:gentext key="note" text="megjegyz&#233;s"/>
+ <l:gentext key="Part" text="R&#233;sz"/>
+ <l:gentext key="part" text="r&#233;sz"/>
+ <l:gentext key="Preface" text="El&#337;sz&#243;"/>
+ <l:gentext key="preface" text="el&#337;sz&#243;"/>
+ <l:gentext key="Procedure" text="Elj&#225;r&#225;s"/>
+ <l:gentext key="procedure" text="elj&#225;r&#225;s"/>
+ <l:gentext key="ProductionSet" text="Elemcsoport"/>
+ <l:gentext key="Published" text="Megjelent"/>
+ <l:gentext key="published" text="megjelent"/>
+ <l:gentext key="Question" text="K:"/>
+ <l:gentext key="question" text="k:"/>
+ <l:gentext key="RefEntry" text="Bejegyz&#233;s"/>
+ <l:gentext key="refentry" text="bejegyz&#233;s"/>
+ <l:gentext key="Reference" text="Referencia"/>
+ <l:gentext key="reference" text="referencia"/>
+ <l:gentext key="RefName" text="N&#233;v"/>
+ <l:gentext key="refname" text="n&#233;v"/>
+ <l:gentext key="RefSection" text="Szakasz"/>
+ <l:gentext key="refsection" text="szakasz"/>
+ <l:gentext key="RefSynopsisDiv" text="&#193;ttekint&#233;s"/>
+ <l:gentext key="refsynopsisdiv" text="&#225;ttekint&#233;s"/>
+ <l:gentext key="RevHistory" text="Verzi&#243;t&#246;rt&#233;net"/>
+ <l:gentext key="revhistory" text="verzi&#243;t&#246;rt&#233;net"/>
+ <l:gentext key="Revision" text="Verzi&#243;"/>
+ <l:gentext key="revision" text="verzi&#243;"/>
+ <l:gentext key="sect1" text="Szakasz"/>
+ <l:gentext key="sect2" text="Szakasz"/>
+ <l:gentext key="sect3" text="Szakasz"/>
+ <l:gentext key="sect4" text="Szakasz"/>
+ <l:gentext key="sect5" text="Szakasz"/>
+ <l:gentext key="Section" text="Szakasz"/>
+ <l:gentext key="section" text="szakasz"/>
+ <l:gentext key="See" text="L&#225;sd"/>
+ <l:gentext key="see" text="l&#225;sd"/>
+ <l:gentext key="SeeAlso" text="L&#225;sd m&#233;g"/>
+ <l:gentext key="Seealso" text="L&#225;sd m&#233;g"/>
+ <l:gentext key="seealso" text="l&#225;sd m&#233;g"/>
+ <l:gentext key="Set" text="Csoport"/>
+ <l:gentext key="set" text="csoport"/>
+ <l:gentext key="SetIndex" text="Csoportmutat&#243;"/>
+ <l:gentext key="setindex" text="csoportmutat&#243;"/>
+ <l:gentext key="Sidebar" text="Sz&#233;ljegyzet"/>
+ <l:gentext key="sidebar" text="sz&#233;ljegyzet"/>
+ <l:gentext key="Step" text="L&#233;p&#233;s"/>
+ <l:gentext key="step" text="l&#233;p&#233;s"/>
+ <l:gentext key="Table" text="T&#225;bl&#225;zat"/>
+ <l:gentext key="table" text="t&#225;bl&#225;zat"/>
+ <l:gentext key="TIP" text="TIPP"/>
+ <l:gentext key="Tip" text="Tipp"/>
+ <l:gentext key="tip" text="tipp"/>
+ <l:gentext key="WARNING" text="FIGYELEM"/>
+ <l:gentext key="Warning" text="Figyelem"/>
+ <l:gentext key="warning" text="figyelem"/>
+ <l:gentext key="and" text="&#233;s"/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="Edited" text="Szerk."/>
+ <l:gentext key="edited" text="szerk."/>
+ <l:gentext key="Editedby" text="Szerkesztette"/>
+ <l:gentext key="editedby" text="szerkesztette"/>
+ <l:gentext key="in" text=""/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="nem l&#233;tez&#337; elem"/>
+ <l:gentext key="notes" text="megjegyz&#233;sek"/>
+ <l:gentext key="Notes" text="Megjegyz&#233;sek"/>
+ <l:gentext key="Pgs" text="Lsz."/>
+ <l:gentext key="pgs" text="lsz."/>
+ <l:gentext key="Revisedby" text="Megvizsg&#225;lva"/>
+ <l:gentext key="revisedby" text="megvizsg&#225;lva"/>
+ <l:gentext key="TableNotes" text="Megjegyz&#233;sek"/>
+ <l:gentext key="tablenotes" text="megjegyz&#233;sek"/>
+ <l:gentext key="TableofContents" text="Tartalom"/>
+ <l:gentext key="tableofcontents" text="tartalom"/>
+ <l:gentext key="unexpectedelementname" text="nem v&#225;rt elemn&#233;v"/>
+ <l:gentext key="unsupported" text="nem t&#225;mogatott"/>
+ <l:gentext key="xrefto" text="keresztref"/>
+ <l:gentext key="listofequations" text="az egyenletek list&#225;ja"/>
+ <l:gentext key="ListofEquations" text="Az egyenletek list&#225;ja"/>
+ <l:gentext key="ListofExamples" text="A p&#233;ld&#225;k list&#225;ja"/>
+ <l:gentext key="listofexamples" text="a p&#233;ld&#225;k list&#225;ja"/>
+ <l:gentext key="ListofFigures" text="Az &#225;br&#225;k list&#225;ja"/>
+ <l:gentext key="listoffigures" text="az &#225;br&#225;k list&#225;ja"/>
+ <l:gentext key="listoftables" text="a t&#225;bl&#225;zatok list&#225;ja"/>
+ <l:gentext key="ListofTables" text="A t&#225;bl&#225;zatok list&#225;ja"/>
+ <l:gentext key="ListofUnknown" text="Az egy&#233;b elemek list&#225;ja"/>
+ <l:gentext key="listofunknown" text="az egy&#233;b elemek list&#225;ja"/>
+ <l:gentext key="nav-home" text="Tartalom"/>
+ <l:gentext key="nav-next" text="K&#246;vetkez&#337;"/>
+ <l:gentext key="nav-next-sibling" text="Gyors el&#337;re"/>
+ <l:gentext key="nav-prev" text="El&#337;z&#337;"/>
+ <l:gentext key="nav-prev-sibling" text="Gyors vissza"/>
+ <l:gentext key="nav-up" text="Fel"/>
+ <l:gentext key="sectioncalled" text="ilyen nev&#369; szakasz:"/>
+ <l:gentext key="Draft" text="V&#225;zlat"/>
+ <l:gentext key="above" text="fent"/>
+ <l:gentext key="below" text="lent"/>
+ <l:gentext key="index symbols" text="szimb&#243;lummutat&#243;"/>
+ <l:gentext key="lowercase.alpha" text="a&#225;bcde&#233;fghi&#237;jklmno&#243;&#246;&#337;pqrstu&#250;&#252;&#171;vwxyz"/>
+ <l:gentext key="uppercase.alpha" text="A&#193;BCDE&#201;FGHI&#205;JKLMNO&#211;&#214;&#336;PQRSTU&#218;&#220;&#368;VWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/hu.xml -->
+ <l:dingbat key="startquote" text="&#8222;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#187;"/>
+ <l:dingbat key="nestedendquote" text="&#171;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="last-first"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="%n. f&#252;ggel&#233;k - %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%n. fejezet - %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%n. egyenlet - %t"/>
+ <l:template name="example" text="%n. p&#233;lda - %t"/>
+ <l:template name="figure" text="%n. &#225;bra - %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%n. r&#233;sz - %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Elj&#225;r&#225;s&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Elemcsoport&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="%n. t&#225;bl&#225;zat - %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="%n. f&#252;ggel&#233;k - %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%n. fejezet - %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="V:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="K:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="K:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8222;%t&#8221;"/>
+ <l:template name="refsection" text="&#8222;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8222;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8222;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8222;%t&#8221;"/>
+ <l:template name="sect1" text="&#8222;%t&#8221;"/>
+ <l:template name="sect2" text="&#8222;%t&#8221;"/>
+ <l:template name="sect3" text="&#8222;%t&#8221;"/>
+ <l:template name="sect4" text="&#8222;%t&#8221;"/>
+ <l:template name="sect5" text="&#8222;%t&#8221;"/>
+ <l:template name="section" text="&#8222;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8222;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="V:&#160;%n"/>
+ <l:template name="appendix" text="%n. f&#252;ggel&#233;k"/>
+ <l:template name="bridgehead" text="Szakasz&#160;%n"/>
+ <l:template name="chapter" text="%n. fejezet"/>
+ <l:template name="equation" text="Egyenlet&#160;%n"/>
+ <l:template name="example" text="%n. p&#233;lda"/>
+ <l:template name="figure" text="%n. &#225;bra"/>
+ <l:template name="part" text="%n. r&#233;sz"/>
+ <l:template name="procedure" text="Elj&#225;r&#225;s&#160;%n"/>
+ <l:template name="productionset" text="Elemcsoport&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="K:&#160;%n"/>
+ <l:template name="question" text="K:&#160;%n"/>
+ <l:template name="sect1" text="%n. szakasz"/>
+ <l:template name="sect2" text="%n. szakasz"/>
+ <l:template name="sect3" text="%n. szakasz"/>
+ <l:template name="sect4" text="%n. szakasz"/>
+ <l:template name="sect5" text="%n. szakasz"/>
+ <l:template name="section" text="%n. szakasz"/>
+ <l:template name="table" text="T&#225;bl&#225;zat&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="%n. f&#252;ggel&#233;k - %t"/>
+ <l:template name="bridgehead" text="Szakasz&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="chapter" text="%n. fejezet - %t"/>
+ <l:template name="equation" text="Egyenlet&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="example" text="%n. p&#233;lda - %t"/>
+ <l:template name="figure" text="%n. &#225;bra - %t"/>
+ <l:template name="part" text="%n. r&#233;sz - %t"/>
+ <l:template name="procedure" text="Elj&#225;r&#225;s&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="productionset" text="Elemcsoport&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8222;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8222;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8222;%t&#8221;"/>
+ <l:template name="refsection" text="&#8222;%t&#8221;"/>
+ <l:template name="sect1" text="%n. szakasz - %t"/>
+ <l:template name="sect2" text="%n. szakasz - %t"/>
+ <l:template name="sect3" text="%n. szakasz - %t"/>
+ <l:template name="sect4" text="%n. szakasz - %t"/>
+ <l:template name="sect5" text="%n. szakasz - %t"/>
+ <l:template name="section" text="%n. szakasz - %t"/>
+ <l:template name="simplesect" text="&#8222;%t&#8221;"/>
+ <l:template name="table" text="%n. t&#225;bl&#225;zat - %t"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#233;s "/>
+ <l:template name="seplast" text=", &#233;s "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="L&#225;sd "/>
+ <l:template name="seealso" text="L&#225;sd m&#233;g "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="C&#233;lk&#246;z&#246;ns&#233;g: "/>
+ <l:template name="MsgLevel" text="Szint: "/>
+ <l:template name="MsgOrig" text="Eredet: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x040e Hungarian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/id.xml b/docs/xslt/db2latex-xsl/xsl/common/id.xml
new file mode 100644
index 0000000000..736cf5ff79
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/id.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="id" english-language-name="Indonesian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/id.xml -->
+ <l:gentext key="Abstract" text="Abstrak"/>
+ <l:gentext key="abstract" text="Abstrak"/>
+ <l:gentext key="Answer" text="Jawab:"/>
+ <l:gentext key="answer" text="Jawab:"/>
+ <l:gentext key="Appendix" text="Lampiran"/>
+ <l:gentext key="appendix" text="lampiran"/>
+ <l:gentext key="Article" text="Artikel"/>
+ <l:gentext key="article" text="Artikel"/>
+ <l:gentext key="Bibliography" text="Bibliografi"/>
+ <l:gentext key="bibliography" text="Bibliografi"/>
+ <l:gentext key="Book" text="Buku"/>
+ <l:gentext key="book" text="Buku"/>
+ <l:gentext key="CAUTION" text="PERHATIAN"/>
+ <l:gentext key="Caution" text="Perhatian"/>
+ <l:gentext key="caution" text="Perhatian"/>
+ <l:gentext key="Chapter" text="Bab"/>
+ <l:gentext key="chapter" text="bab"/>
+ <l:gentext key="Colophon" text="Kolofon"/>
+ <l:gentext key="colophon" text="Kolofon"/>
+ <l:gentext key="Copyright" text="Hak Cipta"/>
+ <l:gentext key="copyright" text="Hak Cipta"/>
+ <l:gentext key="Dedication" text="Dedikasi"/>
+ <l:gentext key="dedication" text="Dedikasi"/>
+ <l:gentext key="Edition" text="Edisi"/>
+ <l:gentext key="edition" text="Edisi"/>
+ <l:gentext key="Equation" text="Persamaan"/>
+ <l:gentext key="equation" text="Persamaan"/>
+ <l:gentext key="Example" text="Teladan"/>
+ <l:gentext key="example" text="Teladan"/>
+ <l:gentext key="Figure" text="Gambar"/>
+ <l:gentext key="figure" text="Gambar"/>
+ <l:gentext key="Glossary" text="Daftar Istilah"/>
+ <l:gentext key="glossary" text="Daftar Istilah"/>
+ <l:gentext key="GlossSee" text="Lihat"/>
+ <l:gentext key="glosssee" text="Lihat"/>
+ <l:gentext key="GlossSeeAlso" text="Lihat Juga"/>
+ <l:gentext key="glossseealso" text="Lihat Juga"/>
+ <l:gentext key="IMPORTANT" text="PENTING"/>
+ <l:gentext key="Important" text="Penting"/>
+ <l:gentext key="important" text="Penting"/>
+ <l:gentext key="Index" text="Indeks"/>
+ <l:gentext key="index" text="Indeks"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Aspek Hukum"/>
+ <l:gentext key="legalnotice" text="Aspek Hukum"/>
+ <l:gentext key="MsgAud" text="Pemirsa"/>
+ <l:gentext key="msgaud" text="Pemirsa"/>
+ <l:gentext key="MsgLevel" text="Tingkatan"/>
+ <l:gentext key="msglevel" text="Tingkatan"/>
+ <l:gentext key="MsgOrig" text="Asal"/>
+ <l:gentext key="msgorig" text="Asal"/>
+ <l:gentext key="NOTE" text="CATATAN"/>
+ <l:gentext key="Note" text="Catatan"/>
+ <l:gentext key="note" text="Catatan"/>
+ <l:gentext key="Part" text="Bagian"/>
+ <l:gentext key="part" text="Bagian"/>
+ <l:gentext key="Preface" text="Kata Pengantar"/>
+ <l:gentext key="preface" text="Kata Pengantar"/>
+ <l:gentext key="Procedure" text="Prosedur"/>
+ <l:gentext key="procedure" text="Prosedur"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="Diterbitkan"/>
+ <l:gentext key="published" text="Diterbitkan"/>
+ <l:gentext key="Question" text="Tanya:"/>
+ <l:gentext key="question" text="Tanya:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Referensi"/>
+ <l:gentext key="reference" text="Referensi"/>
+ <l:gentext key="RefName" text="Nama"/>
+ <l:gentext key="refname" text="Nama"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Sinopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Sinopsis"/>
+ <l:gentext key="RevHistory" text="Catatan Revisi"/>
+ <l:gentext key="revhistory" text="Catatan Revisi"/>
+ <l:gentext key="Revision" text="Revisi"/>
+ <l:gentext key="revision" text="Revisi"/>
+ <l:gentext key="sect1" text="Bagian"/>
+ <l:gentext key="sect2" text="Bagian"/>
+ <l:gentext key="sect3" text="Bagian"/>
+ <l:gentext key="sect4" text="Bagian"/>
+ <l:gentext key="sect5" text="Bagian"/>
+ <l:gentext key="Section" text="Bagian"/>
+ <l:gentext key="section" text="bagian"/>
+ <l:gentext key="See" text="Lihat"/>
+ <l:gentext key="see" text="Lihat"/>
+ <l:gentext key="SeeAlso" text="Lihat Juga"/>
+ <l:gentext key="Seealso" text="Lihat juga"/>
+ <l:gentext key="seealso" text="Lihat Juga"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="SetIndex" text="Indeks Set"/>
+ <l:gentext key="setindex" text="Indeks Set"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="Step" text="Tahap"/>
+ <l:gentext key="step" text="tahap"/>
+ <l:gentext key="Table" text="Tabel"/>
+ <l:gentext key="table" text="Tabel"/>
+ <l:gentext key="TIP" text="TIP"/>
+ <l:gentext key="Tip" text="Tip"/>
+ <l:gentext key="tip" text="Tip"/>
+ <l:gentext key="WARNING" text="AWAS"/>
+ <l:gentext key="Warning" text="Awas"/>
+ <l:gentext key="warning" text="Awas"/>
+ <l:gentext key="and" text="dan"/>
+ <l:gentext key="by" text="oleh"/>
+ <l:gentext key="Edited" text="disunting"/>
+ <l:gentext key="edited" text="disunting"/>
+ <l:gentext key="Editedby" text="disunting oleh"/>
+ <l:gentext key="editedby" text="disunting oleh"/>
+ <l:gentext key="in" text="di"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="elemen tak tampak"/>
+ <l:gentext key="notes" text="Catatan"/>
+ <l:gentext key="Notes" text="Catatan"/>
+ <l:gentext key="Pgs" text="Hal."/>
+ <l:gentext key="pgs" text="Hal."/>
+ <l:gentext key="Revisedby" text="Direvisi oleh: "/>
+ <l:gentext key="revisedby" text="Direvisi oleh: "/>
+ <l:gentext key="TableNotes" text="Catatan"/>
+ <l:gentext key="tablenotes" text="Catatan"/>
+ <l:gentext key="TableofContents" text="Daftar Isi"/>
+ <l:gentext key="tableofcontents" text="Daftar Isi"/>
+ <l:gentext key="unexpectedelementname" text="Nama Elemen seharusnya tidak ada"/>
+ <l:gentext key="unsupported" text="tidak didukung"/>
+ <l:gentext key="xrefto" text="xref ke"/>
+ <l:gentext key="listofequations" text="Daftar Persamaan"/>
+ <l:gentext key="ListofEquations" text="Daftar Persamaan"/>
+ <l:gentext key="ListofExamples" text="Daftar Teladan"/>
+ <l:gentext key="listofexamples" text="Daftar Teladan"/>
+ <l:gentext key="ListofFigures" text="Daftar Gambar"/>
+ <l:gentext key="listoffigures" text="Daftar Gambar"/>
+ <l:gentext key="listoftables" text="Daftar Tabel"/>
+ <l:gentext key="ListofTables" text="Daftar Tabel"/>
+ <l:gentext key="ListofUnknown" text="Daftar Gaib"/>
+ <l:gentext key="listofunknown" text="Daftar Gaib"/>
+ <l:gentext key="nav-home" text="Depan"/>
+ <l:gentext key="nav-next" text="Lanjut"/>
+ <l:gentext key="nav-next-sibling" text="Lewati"/>
+ <l:gentext key="nav-prev" text="Kembali"/>
+ <l:gentext key="nav-prev-sibling" text="Sebelumnya"/>
+ <l:gentext key="nav-up" text="Induk"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/id.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Lampiran %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Bab %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Persamaan %n. %t"/>
+ <l:template name="example" text="Teladan %n. %t"/>
+ <l:template name="figure" text="Gambar %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Bagian %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Prosedur&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabel %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Lampiran %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Bab %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Jawab:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Tanya:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Tanya:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Jawab:&#160;%n"/>
+ <l:template name="appendix" text="Lampiran&#160;%n"/>
+ <l:template name="bridgehead" text="Bagian&#160;%n"/>
+ <l:template name="chapter" text="Bab&#160;%n"/>
+ <l:template name="equation" text="Persamaan&#160;%n"/>
+ <l:template name="example" text="Teladan&#160;%n"/>
+ <l:template name="figure" text="Gambar&#160;%n"/>
+ <l:template name="part" text="Bagian&#160;%n"/>
+ <l:template name="procedure" text="Prosedur&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Tanya:&#160;%n"/>
+ <l:template name="question" text="Tanya:&#160;%n"/>
+ <l:template name="sect1" text="Bagian&#160;%n"/>
+ <l:template name="sect2" text="Bagian&#160;%n"/>
+ <l:template name="sect3" text="Bagian&#160;%n"/>
+ <l:template name="sect4" text="Bagian&#160;%n"/>
+ <l:template name="sect5" text="Bagian&#160;%n"/>
+ <l:template name="section" text="Bagian&#160;%n"/>
+ <l:template name="table" text="Tabel&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Lampiran&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Bab&#160;%n, %t"/>
+ <l:template name="equation" text="Persamaan&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Teladan&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Gambar&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Prosedur&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" dan "/>
+ <l:template name="seplast" text=", dan "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Lihat "/>
+ <l:template name="seealso" text="Lihat Juga "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Pemirsa: "/>
+ <l:template name="MsgLevel" text="Tingkatan: "/>
+ <l:template name="MsgOrig" text="Asal: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0421 Indonesian (INDONESIA)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/it.xml b/docs/xslt/db2latex-xsl/xsl/common/it.xml
new file mode 100644
index 0000000000..3f49cfb29b
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/it.xml
@@ -0,0 +1,444 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="it" english-language-name="Italian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/it.xml -->
+ <l:gentext key="Abstract" text="Estratto"/>
+ <l:gentext key="abstract" text="Estratto"/>
+ <l:gentext key="Answer" text="R:"/>
+ <l:gentext key="answer" text="R:"/>
+ <l:gentext key="Appendix" text="Appendice"/>
+ <l:gentext key="appendix" text="appendice"/>
+ <l:gentext key="Article" text="Articolo"/>
+ <l:gentext key="article" text="Articolo"/>
+ <l:gentext key="Bibliography" text="Bibliografia"/>
+ <l:gentext key="bibliography" text="Bibliografia"/>
+ <l:gentext key="Book" text="Libro"/>
+ <l:gentext key="book" text="Libro"/>
+ <l:gentext key="CAUTION" text="ATTENZIONE"/>
+ <l:gentext key="Caution" text="Attenzione"/>
+ <l:gentext key="caution" text="Attenzione"/>
+ <l:gentext key="Chapter" text="Capitolo"/>
+ <l:gentext key="chapter" text="capitolo"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Dedica"/>
+ <l:gentext key="dedication" text="Dedica"/>
+ <l:gentext key="Edition" text="Edizione"/>
+ <l:gentext key="edition" text="Edizione"/>
+ <l:gentext key="Equation" text="Equazione"/>
+ <l:gentext key="equation" text="Equazione"/>
+ <l:gentext key="Example" text="Esempio"/>
+ <l:gentext key="example" text="Esempio"/>
+ <l:gentext key="Figure" text="Figura"/>
+ <l:gentext key="figure" text="Figura"/>
+ <l:gentext key="Glossary" text="Glossario"/>
+ <l:gentext key="glossary" text="Glossario"/>
+ <l:gentext key="GlossSee" text="Vedi"/>
+ <l:gentext key="glosssee" text="Vedi"/>
+ <l:gentext key="GlossSeeAlso" text="Vedi Anche"/>
+ <l:gentext key="glossseealso" text="Vedi Anche"/>
+ <l:gentext key="IMPORTANT" text="IMPORTANTE"/>
+ <l:gentext key="important" text="Importante"/>
+ <l:gentext key="Important" text="Importante"/>
+ <l:gentext key="Index" text="Indice"/>
+ <l:gentext key="index" text="Indice"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Note Legali"/>
+ <l:gentext key="legalnotice" text="Note Legali"/>
+ <l:gentext key="MsgAud" text="Pubblico"/>
+ <l:gentext key="msgaud" text="Pubblico"/>
+ <l:gentext key="MsgLevel" text="Livello"/>
+ <l:gentext key="msglevel" text="Livello"/>
+ <l:gentext key="MsgOrig" text="Origine"/>
+ <l:gentext key="msgorig" text="Origine"/>
+ <l:gentext key="NOTE" text="NOTA"/>
+ <l:gentext key="Note" text="Nota"/>
+ <l:gentext key="note" text="Nota"/>
+ <l:gentext key="Part" text="Parte"/>
+ <l:gentext key="part" text="Parte"/>
+ <l:gentext key="Preface" text="Prefazione"/>
+ <l:gentext key="preface" text="Prefazione"/>
+ <l:gentext key="Procedure" text="Procedura"/>
+ <l:gentext key="procedure" text="Procedura"/>
+ <l:gentext key="ProductionSet" text="Produzione"/>
+ <l:gentext key="Published" text="Pubblicato"/>
+ <l:gentext key="published" text="Pubblicato"/>
+ <l:gentext key="Question" text="D:"/>
+ <l:gentext key="question" text="D:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Riferimento"/>
+ <l:gentext key="reference" text="Riferimento"/>
+ <l:gentext key="RefName" text="Nome"/>
+ <l:gentext key="refname" text="Nome"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Sinossi"/>
+ <l:gentext key="refsynopsisdiv" text="Sinossi"/>
+ <l:gentext key="RevHistory" text="Diario delle Revisioni"/>
+ <l:gentext key="revhistory" text="Diario delle Revisioni"/>
+ <l:gentext key="revision" text="Revisione"/>
+ <l:gentext key="Revision" text="Revisione"/>
+ <l:gentext key="sect1" text="Sezione"/>
+ <l:gentext key="sect2" text="Sezione"/>
+ <l:gentext key="sect3" text="Sezione"/>
+ <l:gentext key="sect4" text="Sezione"/>
+ <l:gentext key="sect5" text="Sezione"/>
+ <l:gentext key="section" text="Sezione"/>
+ <l:gentext key="Section" text="Sezione"/>
+ <l:gentext key="See" text="Vd."/>
+ <l:gentext key="see" text="Vd."/>
+ <l:gentext key="SeeAlso" text="Vd. Anche"/>
+ <l:gentext key="seealso" text="Vd. Anche"/>
+ <l:gentext key="Seealso" text="Vd. anche"/>
+ <l:gentext key="set" text="Raccolta"/>
+ <l:gentext key="Set" text="Raccolta"/>
+ <l:gentext key="setindex" text="Indice Raccolta"/>
+ <l:gentext key="SetIndex" text="Indice Raccolta"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="nota a margine"/>
+ <l:gentext key="step" text="passo"/>
+ <l:gentext key="Step" text="Passo"/>
+ <l:gentext key="Table" text="Tabella"/>
+ <l:gentext key="table" text="Tabella"/>
+ <l:gentext key="tip" text="Suggerimento"/>
+ <l:gentext key="TIP" text="SUGGERIMENTO"/>
+ <l:gentext key="Tip" text="Suggerimento"/>
+ <l:gentext key="Warning" text="Avvertimento"/>
+ <l:gentext key="warning" text="avvertimento"/>
+ <l:gentext key="WARNING" text="AVVERTIMENTO"/>
+ <l:gentext key="and" text="e"/>
+ <l:gentext key="by" text="di"/>
+ <l:gentext key="Edited" text="A cura"/>
+ <l:gentext key="edited" text="A cura"/>
+ <l:gentext key="Editedby" text="A cura di"/>
+ <l:gentext key="editedby" text="A cura di"/>
+ <l:gentext key="in" text="in"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="elemento non esistente"/>
+ <l:gentext key="notes" text="Note"/>
+ <l:gentext key="Notes" text="Note"/>
+ <l:gentext key="Pgs" text="pp."/>
+ <l:gentext key="pgs" text="pp."/>
+ <l:gentext key="Revisedby" text="Revisionato da: "/>
+ <l:gentext key="revisedby" text="Revisionato da: "/>
+ <l:gentext key="TableNotes" text="Note"/>
+ <l:gentext key="tablenotes" text="Note"/>
+ <l:gentext key="TableofContents" text="Sommario"/>
+ <l:gentext key="tableofcontents" text="Sommario"/>
+ <l:gentext key="unexpectedelementname" text="Nome elemento inaspettato"/>
+ <l:gentext key="unsupported" text="non supportato"/>
+ <l:gentext key="xrefto" text="riferimento a"/>
+ <l:gentext key="listofequations" text="Lista delle Equazioni"/>
+ <l:gentext key="ListofEquations" text="Lista delle Equazioni"/>
+ <l:gentext key="ListofExamples" text="Lista degli Esempi"/>
+ <l:gentext key="listofexamples" text="Lista degli Esempi"/>
+ <l:gentext key="ListofFigures" text="Lista delle Figure"/>
+ <l:gentext key="listoffigures" text="Lista delle Figure"/>
+ <l:gentext key="listoftables" text="Lista delle Tabelle"/>
+ <l:gentext key="ListofTables" text="Lista delle Tabelle"/>
+ <l:gentext key="ListofUnknown" text="Lista degli Sconosciuti"/>
+ <l:gentext key="listofunknown" text="Lista degli Sconosciuti"/>
+ <l:gentext key="nav-home" text="Partenza"/>
+ <l:gentext key="nav-next" text="Avanti"/>
+ <l:gentext key="nav-next-sibling" text="Salta Avanti"/>
+ <l:gentext key="nav-prev" text="Indietro"/>
+ <l:gentext key="nav-prev-sibling" text="Salta Indietro"/>
+ <l:gentext key="nav-up" text="Risali"/>
+ <l:gentext key="Draft" text="Bozza"/>
+ <l:gentext key="above" text="sopra"/>
+ <l:gentext key="below" text="sotto"/>
+ <l:gentext key="sectioncalled" text="la sezione chiamata"/>
+ <l:gentext key="index symbols" text="Simboli"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/it.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Appendice&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Capitolo&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Equazione&#160;%n.&#160;%t"/>
+ <l:template name="example" text="Esempio&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="Figura&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Parte&#160;%n.&#160;%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedura&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Produzione&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabella&#160;%n.&#160;%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Appendice&#160;%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="Capitolo&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="R:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="D:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="D:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="section" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="la sezione chiamata &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="R:&#160;%n"/>
+ <l:template name="appendix" text="Appendice&#160;%n"/>
+ <l:template name="bridgehead" text="Sezione&#160;%n"/>
+ <l:template name="chapter" text="Capitolo&#160;%n"/>
+ <l:template name="equation" text="Equazione&#160;%n"/>
+ <l:template name="example" text="Esempio&#160;%n"/>
+ <l:template name="figure" text="Figura&#160;%n"/>
+ <l:template name="part" text="Parte&#160;%n"/>
+ <l:template name="procedure" text="Procedura&#160;%n"/>
+ <l:template name="productionset" text="Produzione&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="D:&#160;%n"/>
+ <l:template name="question" text="D:&#160;%n"/>
+ <l:template name="sect1" text="Sezione&#160;%n"/>
+ <l:template name="sect2" text="Sezione&#160;%n"/>
+ <l:template name="sect3" text="Sezione&#160;%n"/>
+ <l:template name="sect4" text="Sezione&#160;%n"/>
+ <l:template name="sect5" text="Sezione&#160;%n"/>
+ <l:template name="section" text="Sezione&#160;%n"/>
+ <l:template name="table" text="Tabella&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Appendice&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Sezione&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Capitolo&#160;%n, %t"/>
+ <l:template name="equation" text="Equazione&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Esempio&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Parte&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procedura&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Produzione&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Sezione&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Sezione&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Sezione&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Sezione&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Sezione&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Sezione&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="la sezione chiamata &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabella&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" e "/>
+ <l:template name="seplast" text=", e "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Vedi "/>
+ <l:template name="seealso" text="Vedi Anche "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Pubblico: "/>
+ <l:template name="MsgLevel" text="Livello: "/>
+ <l:template name="MsgOrig" text="Origine: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0410 Italian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/ja.xml b/docs/xslt/db2latex-xsl/xsl/common/ja.xml
new file mode 100644
index 0000000000..d2e8fb805a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/ja.xml
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ja" english-language-name="Japanese">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ja.xml -->
+ <l:gentext key="Abstract" text="&#27010;&#35201;"/>
+ <l:gentext key="abstract" text="&#27010;&#35201;"/>
+ <l:gentext key="Answer" text="&#31572;&#65306;"/>
+ <l:gentext key="answer" text="&#31572;&#65306;"/>
+ <l:gentext key="Appendix" text="&#20184;&#37682;"/>
+ <l:gentext key="appendix" text="&#20184;&#37682;"/>
+ <l:gentext key="Article" text="&#38917;&#30446;"/>
+ <l:gentext key="article" text="&#38917;&#30446;"/>
+ <l:gentext key="Bibliography" text="&#21442;&#32771;&#25991;&#29486;"/>
+ <l:gentext key="bibliography" text="&#21442;&#32771;&#25991;&#29486;"/>
+ <l:gentext key="Book" text="&#12502;&#12483;&#12463;"/>
+ <l:gentext key="book" text="&#12502;&#12483;&#12463;"/>
+ <l:gentext key="Caution" text="&#27880;&#24847;"/>
+ <l:gentext key="caution" text="&#27880;&#24847;"/>
+ <l:gentext key="CAUTION" text="&#27880;&#24847;"/>
+ <l:gentext key="chapter" text="&#31456;"/>
+ <l:gentext key="Chapter" text="&#31456;"/>
+ <l:gentext key="chapter1" text="&#31532;"/>
+ <l:gentext key="Chapter1" text="&#31532;"/>
+ <l:gentext key="Chapter2" text="&#31456;"/>
+ <l:gentext key="chapter2" text="&#31456;"/>
+ <l:gentext key="Colophon" text="&#22885;&#20184;"/>
+ <l:gentext key="colophon" text="&#22885;&#20184;"/>
+ <l:gentext key="Copyright" text="&#35069;&#20316;&#33879;&#20316;"/>
+ <l:gentext key="copyright" text="&#35069;&#20316;&#33879;&#20316;"/>
+ <l:gentext key="Dedication" text="&#35613;&#36766;"/>
+ <l:gentext key="dedication" text="&#35613;&#36766;"/>
+ <l:gentext key="Edition" text="&#32232;&#38598;"/>
+ <l:gentext key="edition" text="&#32232;&#38598;"/>
+ <l:gentext key="Equation" text="&#24335;"/>
+ <l:gentext key="equation" text="&#24335;"/>
+ <l:gentext key="Example" text="&#20363;"/>
+ <l:gentext key="example" text="&#20363;"/>
+ <l:gentext key="Figure" text="&#22259;"/>
+ <l:gentext key="figure" text="&#22259;"/>
+ <l:gentext key="Glossary" text="&#29992;&#35486;&#38598;"/>
+ <l:gentext key="glossary" text="&#29992;&#35486;&#38598;"/>
+ <l:gentext key="GlossSee" text="&#21442;&#29031;"/>
+ <l:gentext key="glosssee" text="&#21442;&#29031;"/>
+ <l:gentext key="GlossSeeAlso" text="&#21442;&#29031;"/>
+ <l:gentext key="glossseealso" text="&#21442;&#29031;"/>
+ <l:gentext key="IMPORTANT" text="&#37325;&#35201;&#38917;&#30446;"/>
+ <l:gentext key="Important" text="&#37325;&#35201;&#38917;&#30446;"/>
+ <l:gentext key="important" text="&#37325;&#35201;&#38917;&#30446;"/>
+ <l:gentext key="Index" text="&#30446;&#27425;"/>
+ <l:gentext key="index" text="&#30446;&#27425;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text=""/>
+ <l:gentext key="legalnotice" text=""/>
+ <l:gentext key="MsgAud" text="&#23550;&#35937;&#32773;"/>
+ <l:gentext key="msgaud" text="&#23550;&#35937;&#32773;"/>
+ <l:gentext key="MsgLevel" text="&#12524;&#12505;&#12523;"/>
+ <l:gentext key="msglevel" text="&#12524;&#12505;&#12523;"/>
+ <l:gentext key="MsgOrig" text="&#30330;&#20449;&#20803;"/>
+ <l:gentext key="msgorig" text="&#30330;&#20449;&#20803;"/>
+ <l:gentext key="note" text="&#27880;&#24847;"/>
+ <l:gentext key="Note" text="&#27880;&#24847;"/>
+ <l:gentext key="NOTE" text="&#27880;&#24847;"/>
+ <l:gentext key="Part" text="&#12497;&#12540;&#12488;"/>
+ <l:gentext key="part" text="&#12497;&#12540;&#12488;"/>
+ <l:gentext key="Preface" text="&#24207;&#25991;"/>
+ <l:gentext key="preface" text="&#24207;&#25991;"/>
+ <l:gentext key="Procedure" text="&#25163;&#38918;"/>
+ <l:gentext key="procedure" text="&#25163;&#38918;"/>
+ <l:gentext key="ProductionSet" text="&#12503;&#12525;&#12480;&#12463;&#12471;&#12519;&#12531;"/>
+ <l:gentext key="Published" text="&#30330;&#34892;"/>
+ <l:gentext key="published" text="&#30330;&#34892;"/>
+ <l:gentext key="Question" text="&#21839;&#65306;"/>
+ <l:gentext key="question" text="&#21839;&#65306;"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#21442;&#29031;"/>
+ <l:gentext key="reference" text="&#21442;&#29031;"/>
+ <l:gentext key="RefName" text="&#21517;&#21069;"/>
+ <l:gentext key="refname" text="&#21517;&#21069;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#27010;&#35201;"/>
+ <l:gentext key="refsynopsisdiv" text="&#27010;&#35201;"/>
+ <l:gentext key="RevHistory" text="&#25913;&#35330;&#23653;&#27508;"/>
+ <l:gentext key="revhistory" text="&#25913;&#35330;&#23653;&#27508;"/>
+ <l:gentext key="revision" text="&#25913;&#35330;"/>
+ <l:gentext key="Revision" text="&#25913;&#35330;"/>
+ <l:gentext key="sect1" text="&#38917;"/>
+ <l:gentext key="sect2" text="&#38917;"/>
+ <l:gentext key="sect3" text="&#38917;"/>
+ <l:gentext key="sect4" text="&#38917;"/>
+ <l:gentext key="sect5" text="&#38917;"/>
+ <l:gentext key="Section" text="&#38917;"/>
+ <l:gentext key="section" text="&#38917;"/>
+ <l:gentext key="See" text="&#21442;&#29031;"/>
+ <l:gentext key="see" text="&#21442;&#29031;"/>
+ <l:gentext key="seealso" text="&#21442;&#29031;"/>
+ <l:gentext key="SeeAlso" text="&#21442;&#29031;"/>
+ <l:gentext key="Seealso" text="&#21442;&#29031;"/>
+ <l:gentext key="Set" text="&#35373;&#23450;"/>
+ <l:gentext key="set" text="&#35373;&#23450;"/>
+ <l:gentext key="SetIndex" text="&#30446;&#27425;&#35373;&#23450;"/>
+ <l:gentext key="setindex" text="&#30446;&#27425;&#35373;&#23450;"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="&#12469;&#12452;&#12489;&#12496;&#12540;"/>
+ <l:gentext key="step" text="&#12473;&#12486;&#12483;&#12503;"/>
+ <l:gentext key="Step" text="&#12473;&#12486;&#12483;&#12503;"/>
+ <l:gentext key="table" text="&#34920;"/>
+ <l:gentext key="Table" text="&#34920;"/>
+ <l:gentext key="TIP" text="&#12486;&#12451;&#12483;&#12503;"/>
+ <l:gentext key="Tip" text="&#12486;&#12451;&#12483;&#12503;"/>
+ <l:gentext key="tip" text="&#12486;&#12451;&#12483;&#12503;"/>
+ <l:gentext key="WARNING" text="&#35686;&#21578;"/>
+ <l:gentext key="Warning" text="&#35686;&#21578;"/>
+ <l:gentext key="warning" text="&#35686;&#21578;"/>
+ <l:gentext key="and" text="&#12289;"/>
+ <l:gentext key="by" text="&#65306;"/>
+ <l:gentext key="Edited" text="&#20316;&#32773;"/>
+ <l:gentext key="edited" text="&#20316;&#32773;"/>
+ <l:gentext key="Editedby" text="&#20316;&#32773;&#65306;"/>
+ <l:gentext key="editedby" text="&#20316;&#32773;&#65306;"/>
+ <l:gentext key="in" text=""/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="&#35201;&#32032;&#12364;&#23384;&#22312;&#12375;&#12414;&#12379;&#12435;"/>
+ <l:gentext key="notes" text="&#27880;&#24847;"/>
+ <l:gentext key="Notes" text="&#27880;&#24847;"/>
+ <l:gentext key="Pgs" text="&#20583;&#29486;"/>
+ <l:gentext key="pgs" text="&#20583;&#29486;"/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text="&#27880;&#24847;"/>
+ <l:gentext key="tablenotes" text="&#27880;&#24847;"/>
+ <l:gentext key="TableofContents" text="&#30446;&#27425;"/>
+ <l:gentext key="tableofcontents" text="&#30446;&#27425;"/>
+ <l:gentext key="unexpectedelementname" text="&#19981;&#26126;&#12394;&#35201;&#32032;&#21517;"/>
+ <l:gentext key="unsupported" text="&#12469;&#12509;&#12540;&#12488;&#12375;&#12414;&#12379;&#12435;"/>
+ <l:gentext key="xrefto" text="xref to"/>
+ <l:gentext key="listofequations" text="&#24335;&#30446;&#27425;"/>
+ <l:gentext key="ListofEquations" text="&#24335;&#30446;&#27425;"/>
+ <l:gentext key="ListofExamples" text="&#20363;&#30446;&#27425;"/>
+ <l:gentext key="listofexamples" text="&#20363;&#30446;&#27425;"/>
+ <l:gentext key="ListofFigures" text="&#22259;&#30446;&#27425;"/>
+ <l:gentext key="listoffigures" text="&#22259;&#30446;&#27425;"/>
+ <l:gentext key="listoftables" text="&#34920;&#30446;&#27425;"/>
+ <l:gentext key="ListofTables" text="&#34920;&#30446;&#27425;"/>
+ <l:gentext key="ListofUnknown" text="&#19981;&#26126;&#30446;&#27425;"/>
+ <l:gentext key="listofunknown" text="&#19981;&#26126;&#30446;&#27425;"/>
+ <l:gentext key="nav-home" text="&#12507;&#12540;&#12512;"/>
+ <l:gentext key="nav-next" text="&#27425;&#12398;&#12506;&#12540;&#12472;"/>
+ <l:gentext key="nav-next-sibling" text="&#26089;&#36865;&#12426;"/>
+ <l:gentext key="nav-prev" text="&#21069;&#12398;&#12506;&#12540;&#12472;"/>
+ <l:gentext key="nav-prev-sibling" text="&#24059;&#25147;&#12375;"/>
+ <l:gentext key="nav-up" text="&#19978;&#12395;&#25147;&#12427;"/>
+ <l:gentext key="index symbols" text="&#12471;&#12531;&#12508;&#12523;"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ja.xml -->
+ <l:dingbat key="startquote" text="&#12300;"/>
+ <l:dingbat key="endquote" text="&#12301;"/>
+ <l:dingbat key="nestedstartquote" text="&#12302;"/>
+ <l:dingbat key="nestedendquote" text="&#12303;"/>
+ <l:dingbat key="bullet" text="&#9679;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="family-given"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#20184;&#37682; %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#31532;%n&#31456; %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#24335; %n. %t"/>
+ <l:template name="example" text="&#20363; %n. %t"/>
+ <l:template name="figure" text="&#22259; %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#12497;&#12540;&#12488; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#25163;&#38918; %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="&#12503;&#12525;&#12480;&#12463;&#12471;&#12519;&#12531; %n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#34920; %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#20184;&#37682; %n. %t"/>
+ <l:template name="chapter" text="&#31532;%n&#31456; %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#21839;&#65306;&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#21839;&#65306;&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="%t&#38917;"/>
+ <l:template name="refsection" text="%t&#38917;"/>
+ <l:template name="refsect1" text="%t&#38917;"/>
+ <l:template name="refsect2" text="%t&#38917;"/>
+ <l:template name="refsect3" text="%t&#38917;"/>
+ <l:template name="sect1" text="%t&#38917;"/>
+ <l:template name="sect2" text="%t&#38917;"/>
+ <l:template name="sect3" text="%t&#38917;"/>
+ <l:template name="sect4" text="%t&#38917;"/>
+ <l:template name="sect5" text="%t&#38917;"/>
+ <l:template name="section" text="%t&#38917;"/>
+ <l:template name="simplesect" text="%t&#38917;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+ <l:template name="appendix" text="&#20184;&#37682;%n"/>
+ <l:template name="bridgehead" text="&#38917;&#160;%n"/>
+ <l:template name="chapter" text="&#31532;%n&#31456;"/>
+ <l:template name="equation" text="&#24335;&#160;%n"/>
+ <l:template name="example" text="&#20363;&#160;%n"/>
+ <l:template name="figure" text="&#22259;&#160;%n"/>
+ <l:template name="part" text="&#12497;&#12540;&#12488;&#160;%n"/>
+ <l:template name="procedure" text="&#25163;&#38918;&#160;%n"/>
+ <l:template name="productionset" text="&#12503;&#12525;&#12480;&#12463;&#12471;&#12519;&#12531;&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#21839;&#65306;&#160;%n"/>
+ <l:template name="question" text="&#21839;&#65306;&#160;%n"/>
+ <l:template name="sect1" text="&#38917;%n"/>
+ <l:template name="sect2" text="&#38917;%n"/>
+ <l:template name="sect3" text="&#38917;%n"/>
+ <l:template name="sect4" text="&#38917;%n"/>
+ <l:template name="sect5" text="&#38917;%n"/>
+ <l:template name="section" text="&#38917;%n"/>
+ <l:template name="table" text="&#34920;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#20184;&#37682;&#160;%n. %t"/>
+ <l:template name="bridgehead" text="&#38917;&#160;%n. &#12300;%t&#12301;"/>
+ <l:template name="chapter" text="&#31456;&#160;%n. %t"/>
+ <l:template name="equation" text="&#24335;&#160;%n. &#12300;%t&#12301;"/>
+ <l:template name="example" text="&#20363;&#160;%n. &#12300;%t&#12301;"/>
+ <l:template name="figure" text="&#22259;&#160;%n. &#12300;%t&#12301;"/>
+ <l:template name="part" text="&#12497;&#12540;&#12488;&#160;%n. &#12300;%t&#12301;"/>
+ <l:template name="procedure" text="&#25163;&#38918;&#160;%n. &#12300;%t&#12301;"/>
+ <l:template name="productionset" text="&#12503;&#12525;&#12480;&#12463;&#12471;&#12519;&#12531;&#160;%n. &#12300;%t&#12301;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n. &#12300;%t&#12301;"/>
+ <l:template name="refsect1" text="&#12300;%t&#12301;"/>
+ <l:template name="refsect2" text="&#12300;%t&#12301;"/>
+ <l:template name="refsect3" text="&#12300;%t&#12301;"/>
+ <l:template name="refsection" text="&#12300;%t&#12301;"/>
+ <l:template name="sect1" text="&#38917;%n. &#12300;%t&#12301;"/>
+ <l:template name="sect2" text="&#38917;%n. &#12300;%t&#12301;"/>
+ <l:template name="sect3" text="&#38917;%n. &#12300;%t&#12301;"/>
+ <l:template name="sect4" text="&#38917;%n. &#12300;%t&#12301;"/>
+ <l:template name="sect5" text="&#38917;%n. &#12300;%t&#12301;"/>
+ <l:template name="section" text="&#38917;%n. &#12300;%t&#12301;"/>
+ <l:template name="simplesect" text="&#12300;%t&#12301;"/>
+ <l:template name="table" text="&#34920;&#160;%n. &#12300;%t&#12301;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#12289; "/>
+ <l:template name="seplast" text=", &#12289; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#21442;&#29031; "/>
+ <l:template name="seealso" text="&#21442;&#29031; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#23550;&#35937;&#32773;: "/>
+ <l:template name="MsgLevel" text="&#12524;&#12505;&#12523;: "/>
+ <l:template name="MsgOrig" text="&#30330;&#20449;&#20803;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0411 Japanese"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/ko.xml b/docs/xslt/db2latex-xsl/xsl/common/ko.xml
new file mode 100644
index 0000000000..549817910a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/ko.xml
@@ -0,0 +1,441 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ko" english-language-name="Korean">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ko.xml -->
+ <l:gentext key="Abstract" text="&#52488;&#47197;"/>
+ <l:gentext key="abstract" text="&#52488;&#47197;"/>
+ <l:gentext key="Answer" text="&#45813;&#48320;"/>
+ <l:gentext key="answer" text="&#45813;&#48320;"/>
+ <l:gentext key="Appendix" text="&#48512;&#47197;"/>
+ <l:gentext key="appendix" text="&#48512;&#47197;"/>
+ <l:gentext key="Article" text="&#47928;&#49436;"/>
+ <l:gentext key="article" text="&#47928;&#49436;"/>
+ <l:gentext key="Bibliography" text="&#49436;&#51648;&#49324;&#54637;"/>
+ <l:gentext key="bibliography" text="&#49436;&#51648;&#49324;&#54637;"/>
+ <l:gentext key="Book" text="&#52293;"/>
+ <l:gentext key="book" text="&#52293;"/>
+ <l:gentext key="Caution" text="&#44221;&#44256;"/>
+ <l:gentext key="caution" text="&#44221;&#44256;"/>
+ <l:gentext key="CAUTION" text="[&#44221;&#44256;]"/>
+ <l:gentext key="Chapter" text="&#51109;"/>
+ <l:gentext key="chapter" text="&#51109;"/>
+ <l:gentext key="Colophon" text="&#54032;&#44428;"/>
+ <l:gentext key="colophon" text="&#54032;&#44428;"/>
+ <l:gentext key="Copyright" text="&#51200;&#51089;&#44428;"/>
+ <l:gentext key="copyright" text="&#51200;&#51089;&#44428;"/>
+ <l:gentext key="Dedication" text="&#48148;&#52824;&#45716; &#44544;"/>
+ <l:gentext key="dedication" text="&#48148;&#52824;&#45716; &#44544;"/>
+ <l:gentext key="Edition" text="&#50670;&#51020;"/>
+ <l:gentext key="edition" text="&#50670;&#51020;"/>
+ <l:gentext key="Equation" text="&#49688;&#49885;"/>
+ <l:gentext key="equation" text="&#49688;&#49885;"/>
+ <l:gentext key="Example" text="&#50696;"/>
+ <l:gentext key="example" text="&#50696;"/>
+ <l:gentext key="Figure" text="&#44536;&#47548;"/>
+ <l:gentext key="figure" text="&#44536;&#47548;"/>
+ <l:gentext key="Glossary" text="&#50857;&#50612;&#54644;&#49444;"/>
+ <l:gentext key="glossary" text="&#50857;&#50612;&#54644;&#49444;"/>
+ <l:gentext key="GlossSee" text="&#49332;&#54196;&#48380; &#45236;&#50857;"/>
+ <l:gentext key="glosssee" text="&#49332;&#54196;&#48380; &#45236;&#50857;"/>
+ <l:gentext key="GlossSeeAlso" text="&#45796;&#47480; &#49332;&#54196;&#48380; &#45236;&#50857;"/>
+ <l:gentext key="glossseealso" text="&#45796;&#47480; &#49332;&#54196;&#48380; &#45236;&#50857;"/>
+ <l:gentext key="Important" text="&#51473;&#50836;"/>
+ <l:gentext key="important" text="&#51473;&#50836;"/>
+ <l:gentext key="IMPORTANT" text="[&#51473;&#50836;]"/>
+ <l:gentext key="Index" text="&#49353;&#51064;"/>
+ <l:gentext key="index" text="&#49353;&#51064;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="&#48277;&#51201; &#44277;&#51648;"/>
+ <l:gentext key="legalnotice" text="&#48277;&#51201; &#44277;&#51648;"/>
+ <l:gentext key="MsgAud" text="&#48155;&#45716; &#51060;"/>
+ <l:gentext key="msgaud" text="&#48155;&#45716; &#51060;"/>
+ <l:gentext key="MsgLevel" text="&#51473;&#50836;&#46020;"/>
+ <l:gentext key="msglevel" text="&#51473;&#50836;&#46020;"/>
+ <l:gentext key="MsgOrig" text="&#48372;&#45236;&#45716; &#51060;"/>
+ <l:gentext key="msgorig" text="&#48372;&#45236;&#45716; &#51060;"/>
+ <l:gentext key="Note" text="&#52280;&#44256;"/>
+ <l:gentext key="note" text="&#52280;&#44256;"/>
+ <l:gentext key="NOTE" text="[&#52280;&#44256;]"/>
+ <l:gentext key="Part" text="&#48512;"/>
+ <l:gentext key="part" text="&#48512;"/>
+ <l:gentext key="Preface" text="&#49436;&#47928;"/>
+ <l:gentext key="preface" text="&#49436;&#47928;"/>
+ <l:gentext key="Procedure" text="&#51208;&#52264;"/>
+ <l:gentext key="procedure" text="&#51208;&#52264;"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="&#54196;&#45252;"/>
+ <l:gentext key="published" text="&#54196;&#45252;"/>
+ <l:gentext key="Question" text="&#51656;&#47928;"/>
+ <l:gentext key="question" text="&#51656;&#47928;"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#52280;&#44256;&#47928;&#54732;"/>
+ <l:gentext key="reference" text="&#52280;&#44256;&#47928;&#54732;"/>
+ <l:gentext key="RefName" text="&#51228;&#47785;"/>
+ <l:gentext key="refname" text="&#51228;&#47785;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#50836;&#50557;"/>
+ <l:gentext key="refsynopsisdiv" text="&#50836;&#50557;"/>
+ <l:gentext key="RevHistory" text="&#44256;&#52828; &#44284;&#51221;"/>
+ <l:gentext key="revhistory" text="&#44256;&#52828; &#44284;&#51221;"/>
+ <l:gentext key="Revision" text="&#44256;&#52840;"/>
+ <l:gentext key="revision" text="&#44256;&#52840;"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="&#51208;"/>
+ <l:gentext key="section" text="&#51208;"/>
+ <l:gentext key="See" text="&#49332;&#54196;&#48380; &#45236;&#50857;"/>
+ <l:gentext key="see" text="&#49332;&#54196;&#48380; &#45236;&#50857;"/>
+ <l:gentext key="Seealso" text="&#49332;&#54196;&#48380; &#45796;&#47480; &#45236;&#50857;"/>
+ <l:gentext key="SeeAlso" text="[&#49332;&#54196;&#48380; &#45796;&#47480; &#45236;&#50857;]"/>
+ <l:gentext key="seealso" text="[&#49332;&#54196;&#48380; &#45796;&#47480; &#45236;&#50857;]"/>
+ <l:gentext key="Set" text="&#51204;&#51665;"/>
+ <l:gentext key="set" text="&#51204;&#51665;"/>
+ <l:gentext key="SetIndex" text="&#51204;&#51665; &#49353;&#51064;"/>
+ <l:gentext key="setindex" text="&#51204;&#51665; &#49353;&#51064;"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="&#45927;&#48537;&#51076;"/>
+ <l:gentext key="Step" text="&#45800;&#44228;"/>
+ <l:gentext key="step" text="&#45800;&#44228;"/>
+ <l:gentext key="Table" text="&#54364;"/>
+ <l:gentext key="table" text="&#54364;"/>
+ <l:gentext key="Tip" text="&#51089;&#51008; &#51221;&#48372;"/>
+ <l:gentext key="tip" text="&#51089;&#51008; &#51221;&#48372;"/>
+ <l:gentext key="TIP" text="[&#51089;&#51008; &#51221;&#48372;]"/>
+ <l:gentext key="WARNING" text="&#51452;&#51032;!"/>
+ <l:gentext key="Warning" text="&#51452;&#51032;"/>
+ <l:gentext key="warning" text="&#51452;&#51032;"/>
+ <l:gentext key="and" text="&#44536;&#47532;&#44256;"/>
+ <l:gentext key="by" text="&#51648;&#51008;&#51060;"/>
+ <l:gentext key="Edited" text="&#50670;&#51020;"/>
+ <l:gentext key="edited" text="&#50670;&#51020;"/>
+ <l:gentext key="Editedby" text="&#50670;&#51008;&#51060;"/>
+ <l:gentext key="editedby" text="&#50670;&#51008;&#51060;"/>
+ <l:gentext key="in" text="-"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="&#51316;&#51116;&#54616;&#51648; &#50506;&#45716; &#44592;&#52488;&#50836;&#49548;&#51077;&#45768;&#45796;"/>
+ <l:gentext key="notes" text="&#51452;&#49437;"/>
+ <l:gentext key="Notes" text="&#51452;&#49437;"/>
+ <l:gentext key="Pgs" text="Pgs."/>
+ <l:gentext key="pgs" text="Pgs."/>
+ <l:gentext key="Revisedby" text="&#44256;&#52828;&#51060; "/>
+ <l:gentext key="revisedby" text="&#44256;&#52828;&#51060; "/>
+ <l:gentext key="TableNotes" text="&#52280;&#44256;"/>
+ <l:gentext key="tablenotes" text="&#52280;&#44256;"/>
+ <l:gentext key="TableofContents" text="&#52264;&#47168;"/>
+ <l:gentext key="tableofcontents" text="&#52264;&#47168;"/>
+ <l:gentext key="unexpectedelementname" text="&#50508; &#49688; &#50630;&#45716; &#44592;&#52488;&#50836;&#49548; &#51060;&#47492;&#51077;&#45768;&#45796;"/>
+ <l:gentext key="unsupported" text="&#51648;&#50896;&#46104;&#51648; &#50506;&#49845;&#45768;&#45796;"/>
+ <l:gentext key="xrefto" text="&#51060; &#44275;&#51012; &#52280;&#51312;&#54616;&#49464;&#50836; : "/>
+ <l:gentext key="listofequations" text="&#49688;&#49885; &#47785;&#47197;"/>
+ <l:gentext key="ListofEquations" text="&#49688;&#49885; &#47785;&#47197;"/>
+ <l:gentext key="ListofExamples" text="&#50696; &#47785;&#47197;"/>
+ <l:gentext key="listofexamples" text="&#50696; &#47785;&#47197;"/>
+ <l:gentext key="ListofFigures" text="&#44536;&#47548; &#47785;&#47197;"/>
+ <l:gentext key="listoffigures" text="&#44536;&#47548; &#47785;&#47197;"/>
+ <l:gentext key="listoftables" text="&#54364; &#47785;&#47197;"/>
+ <l:gentext key="ListofTables" text="&#54364; &#47785;&#47197;"/>
+ <l:gentext key="ListofUnknown" text="&#44592;&#53440; &#47785;&#47197;"/>
+ <l:gentext key="listofunknown" text="&#44592;&#53440; &#47785;&#47197;"/>
+ <l:gentext key="nav-home" text="&#52376;&#51020;&#51004;&#47196;"/>
+ <l:gentext key="nav-next" text="&#45796;&#51020;"/>
+ <l:gentext key="nav-next-sibling" text="&#45796;&#51020;&#51004;&#47196; &#44148;&#45320;&#46848;"/>
+ <l:gentext key="nav-prev" text="&#51060;&#51204;"/>
+ <l:gentext key="nav-prev-sibling" text="&#51060;&#51204;&#51004;&#47196; &#44148;&#45320;&#46848;"/>
+ <l:gentext key="nav-up" text="&#50948;&#47196;"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ko.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#48512;&#47197; %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%n&#51109;. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#49688;&#49885; %n. %t"/>
+ <l:template name="example" text="&#50696; %n. %t"/>
+ <l:template name="figure" text="&#44536;&#47548; %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%n&#48512;. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#51208;&#52264;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#54364; %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#48512;&#47197; %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="%n&#51109;. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#45813;&#48320;&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#51656;&#47928;&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#51656;&#47928;&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#45813;&#48320;&#160;%n"/>
+ <l:template name="appendix" text="&#48512;&#47197;&#160;%n"/>
+ <l:template name="bridgehead" text="&#51208;&#160;%n"/>
+ <l:template name="chapter" text="%n&#51109;"/>
+ <l:template name="equation" text="&#49688;&#49885;&#160;%n"/>
+ <l:template name="example" text="&#50696;&#160;%n"/>
+ <l:template name="figure" text="&#44536;&#47548;&#160;%n"/>
+ <l:template name="part" text="%n&#48512;"/>
+ <l:template name="procedure" text="&#51208;&#52264;&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#51656;&#47928;&#160;%n"/>
+ <l:template name="question" text="&#51656;&#47928;&#160;%n"/>
+ <l:template name="sect1" text="%n&#51208;"/>
+ <l:template name="sect2" text="%n&#51208;"/>
+ <l:template name="sect3" text="%n&#51208;"/>
+ <l:template name="sect4" text="%n&#51208;"/>
+ <l:template name="sect5" text="%n&#51208;"/>
+ <l:template name="section" text="%n&#51208;"/>
+ <l:template name="table" text="&#54364;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#48512;&#47197;&#160;%n. %t"/>
+ <l:template name="bridgehead" text="&#51208;&#160;%n. &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="%n&#51109;. %t"/>
+ <l:template name="equation" text="&#49688;&#49885;&#160;%n. &#8220;%t&#8221;"/>
+ <l:template name="example" text="&#50696;&#160;%n. &#8220;%t&#8221;"/>
+ <l:template name="figure" text="&#44536;&#47548;&#160;%n. &#8220;%t&#8221;"/>
+ <l:template name="part" text="%n&#48512;. %t"/>
+ <l:template name="procedure" text="&#51208;&#52264;&#160;%n. &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n. &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n. &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="startquote/&gt;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="%n&#51208;. &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="%n&#51208;. &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="%n&#51208;. &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="%n&#51208;. &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="%n&#51208;. &#8220;%t&#8221;"/>
+ <l:template name="section" text="%n&#51208;. &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ <l:template name="table" text="&#54364;&#160;%n. &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#44536;&#47532;&#44256; "/>
+ <l:template name="seplast" text=", &#44536;&#47532;&#44256; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#49332;&#54196;&#48380; &#45236;&#50857; "/>
+ <l:template name="seealso" text="&#45796;&#47480; &#49332;&#54196;&#48380; &#45236;&#50857; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#48155;&#45716; &#51060;: "/>
+ <l:template name="MsgLevel" text="&#51473;&#50836;&#46020;: "/>
+ <l:template name="MsgOrig" text="&#48372;&#45236;&#45716; &#51060;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0412 Korean"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/l10n.dtd b/docs/xslt/db2latex-xsl/xsl/common/l10n.dtd
new file mode 100644
index 0000000000..0e75ed7a0e
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/l10n.dtd
@@ -0,0 +1,63 @@
+<!ENTITY % prefix "l">
+
+<!ENTITY % xmlns "xmlns:%prefix;">
+<!ENTITY % uri "'http://docbook.sourceforge.net/xmlns/l10n/1.0'">
+
+<!ENTITY % i18n "%prefix;:i18n">
+<!ENTITY % l10n "%prefix;:l10n">
+<!ENTITY % gentext "%prefix;:gentext">
+<!ENTITY % dingbat "%prefix;:dingbat">
+<!ENTITY % context "%prefix;:context">
+<!ENTITY % template "%prefix;:template">
+<!ENTITY % letters "%prefix;:letters">
+<!ENTITY % l "%prefix;:l">
+<!ENTITY % lang "lang NMTOKEN #IMPLIED">
+
+<!ELEMENT %i18n; ((%l10n;)+)>
+<!ATTLIST %i18n;
+ %xmlns; CDATA #FIXED "'http://docbook.sourceforge.net/xmlns/l10n/1.0'"
+>
+
+<!ELEMENT %l10n; (%gentext;|%dingbat;|%context;|%letters;)*>
+<!ATTLIST %l10n;
+ %xmlns; CDATA #FIXED "'http://docbook.sourceforge.net/xmlns/l10n/1.0'"
+ language CDATA #REQUIRED
+ english-language-name CDATA #IMPLIED
+>
+
+<!ELEMENT %gentext; EMPTY>
+<!ATTLIST %gentext;
+ %lang;
+ key CDATA #REQUIRED
+ text CDATA #REQUIRED
+>
+
+<!ELEMENT %dingbat; EMPTY>
+<!ATTLIST %dingbat;
+ %lang;
+ key CDATA #REQUIRED
+ text CDATA #REQUIRED
+>
+
+<!ELEMENT %context; ((%template;)+)>
+<!ATTLIST %context;
+ name CDATA #REQUIRED
+>
+
+<!ELEMENT %template; EMPTY>
+<!ATTLIST %template;
+ %lang;
+ name CDATA #REQUIRED
+ text CDATA #REQUIRED
+ style CDATA #IMPLIED
+>
+
+<!ELEMENT %letters; ((%l;)+)>
+<!ATTLIST %letters;
+ %lang;
+>
+
+<!ELEMENT %l; (#PCDATA)>
+<!ATTLIST %l;
+ i CDATA #REQUIRED
+>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/l10n.xml b/docs/xslt/db2latex-xsl/xsl/common/l10n.xml
new file mode 100644
index 0000000000..583f219661
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/l10n.xml
@@ -0,0 +1,89 @@
+<?xml version='1.0'?>
+<!DOCTYPE l:i18n SYSTEM "l10n.dtd" [
+<!ENTITY af SYSTEM "af.xml">
+<!ENTITY bg SYSTEM "bg.xml">
+<!ENTITY bn SYSTEM "bn.xml">
+<!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 eu SYSTEM "eu.xml">
+<!ENTITY fi SYSTEM "fi.xml">
+<!ENTITY fr SYSTEM "fr.xml">
+<!ENTITY he SYSTEM "he.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 la SYSTEM "la.xml">
+<!ENTITY lit SYSTEM "lt.xml">
+<!ENTITY nl SYSTEM "nl.xml">
+<!ENTITY nn SYSTEM "nn.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 sr SYSTEM "sr.xml">
+<!ENTITY sr_Latn SYSTEM "sr_Latn.xml">
+<!ENTITY sv SYSTEM "sv.xml">
+<!ENTITY th SYSTEM "th.xml">
+<!ENTITY tr SYSTEM "tr.xml">
+<!ENTITY uk SYSTEM "uk.xml">
+<!ENTITY vi SYSTEM "vi.xml">
+<!ENTITY xh SYSTEM "xh.xml">
+<!ENTITY zh_cn SYSTEM "zh_cn.xml">
+<!ENTITY zh_tw SYSTEM "zh_tw.xml">
+]>
+<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+&af;
+&bg;
+&bn;
+&ca;
+&cs;
+&da;
+&de;
+&el;
+&en;
+&es;
+&et;
+&eu;
+&fi;
+&fr;
+&he;
+&hu;
+&id;
+&it;
+&ja;
+&ko;
+&la;
+&lit;
+&nl;
+&nn;
+&no;
+&pl;
+&pt;
+&pt_br;
+&ro;
+&ru;
+&sk;
+&sl;
+&sr;
+&sr_Latn;
+&sv;
+&th;
+&tr;
+&uk;
+&vi;
+&xh;
+&zh_cn;
+&zh_tw;
+</l:i18n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/l10n.xsl b/docs/xslt/db2latex-xsl/xsl/common/l10n.xsl
new file mode 100644
index 0000000000..d573bda19e
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/l10n.xsl
@@ -0,0 +1,467 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
+ exclude-result-prefixes="l"
+ version='1.0'>
+
+<!-- ********************************************************************
+ $Id: l10n.xsl,v 1.8 2004/01/28 02:09:23 j-devenish Exp $
+ ********************************************************************
+
+ This file is part of the XSL DocBook Stylesheet distribution.
+
+ This file contains localization templates (for internationalization)
+
+ Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh.
+ ******************************************************************** -->
+
+<xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/>
+<xsl:param name="local.l10n.xml" select="document('')"/>
+<xsl:param name="l10n.gentext.language" select="''"/>
+<xsl:param name="l10n.gentext.default.language" select="'fr'"/>
+<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="mc-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 != 0">
+ <!-- can't do this one step: attributes are unordered! -->
+ <xsl:variable name="lang-scope"
+ select="($target/ancestor-or-self::*[@lang]
+ |$target/ancestor-or-self::*[@xml:lang])[last()]"/>
+ <xsl:variable name="lang-attr"
+ select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/>
+ <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>
+ <!-- can't do this one step: attributes are unordered! -->
+ <xsl:variable name="lang-scope"
+ select="($target/ancestor-or-self::*[@lang]
+ |$target/ancestor-or-self::*[@xml:lang])[last()]"/>
+ <xsl:variable name="lang-attr"
+ select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/>
+
+ <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:variable name="language" select="translate($mc-language,
+ 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
+ 'abcdefghijklmnopqrstuvwxyz')"/>
+
+ <xsl:variable name="adjusted.language">
+ <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:variable>
+
+ <xsl:choose>
+ <xsl:when test="$l10n.xml/l:i18n/l:l10n[@language=$adjusted.language]">
+ <xsl:value-of select="$adjusted.language"/>
+ </xsl:when>
+ <!-- try just the lang code without country -->
+ <xsl:when test="$l10n.xml/l:i18n/l:l10n[@language=substring-before($adjusted.language,'_')]">
+ <xsl:value-of select="substring-before($adjusted.language,'_')"/>
+ </xsl:when>
+ <!-- or use the default -->
+ <xsl:otherwise>
+ <xsl:message>
+ <xsl:text>No localization exists for "</xsl:text>
+ <xsl:value-of select="$adjusted.language"/>
+ <xsl:text>" or "</xsl:text>
+ <xsl:value-of select="substring-before($adjusted.language,'_')"/>
+ <xsl:text>". Using default "</xsl:text>
+ <xsl:value-of select="$l10n.gentext.default.language"/>
+ <xsl:text>".</xsl:text>
+ </xsl:message>
+ <xsl:value-of select="$l10n.gentext.default.language"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="language.attribute">
+ <xsl:param name="node" select="."/>
+
+ <xsl:variable name="language">
+ <xsl:choose>
+ <xsl:when test="$l10n.gentext.language != ''">
+ <xsl:value-of select="$l10n.gentext.language"/>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <!-- can't do this one step: attributes are unordered! -->
+ <xsl:variable name="lang-scope"
+ select="($node/ancestor-or-self::*[@lang]
+ |$node/ancestor-or-self::*[@xml:lang])[last()]"/>
+ <xsl:variable name="lang-attr"
+ select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/>
+
+ <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:if test="$language != ''">
+ <xsl:attribute name="lang">
+ <xsl:value-of select="$language"/>
+ </xsl:attribute>
+ </xsl:if>
+</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="local.l10n.gentext"
+ select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]"/>
+
+ <xsl:variable name="l10n.gentext"
+ select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]"/>
+
+ <xsl:choose>
+ <xsl:when test="count($local.l10n.gentext) &gt; 0">
+ <xsl:value-of select="$local.l10n.gentext/@text"/>
+ </xsl:when>
+ <xsl:when test="count($l10n.gentext) &gt; 0">
+ <xsl:value-of select="$l10n.gentext/@text"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <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</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$lang = 'en'">
+ <xsl:text>.</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>; using "en".</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:message>
+
+ <xsl:value-of select="($l10n.xml/l:i18n/l:l10n[@language='en']/l:gentext[@key=$key])[1]/@text"/>
+ </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">
+ <xsl:with-param name="key" select="'Editedby'"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.by">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'by'"/>
+ </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="local.l10n.dingbat"
+ select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]"/>
+
+ <xsl:variable name="l10n.dingbat"
+ select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]"/>
+
+ <xsl:choose>
+ <xsl:when test="count($local.l10n.dingbat) &gt; 0">
+ <xsl:value-of select="$local.l10n.dingbat/@text"/>
+ </xsl:when>
+ <xsl:when test="count($l10n.dingbat) &gt; 0">
+ <xsl:value-of select="$l10n.dingbat/@text"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <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/l:i18n/l:l10n[@language='en']/l:dingbat[@key=$dingbat])[1]/@text"/>
+ </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">
+ <xsl:with-param name="key" select="'nav-prev'"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.nav.next">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'nav-next'"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.nav.home">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'nav-home'"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.nav.up">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'nav-up'"/>
+ </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="gentext.template">
+ <xsl:param name="context" select="'default'"/>
+ <xsl:param name="name" select="'default'"/>
+ <xsl:param name="origname" select="$name"/>
+ <xsl:param name="purpose"/>
+ <xsl:param name="xrefstyle"/>
+ <xsl:param name="referrer"/>
+ <xsl:param name="lang">
+ <xsl:call-template name="l10n.language"/>
+ </xsl:param>
+
+ <xsl:variable name="local.localization.node"
+ select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang])[1]"/>
+
+ <xsl:variable name="localization.node"
+ select="($l10n.xml/l:i18n/l:l10n[@language=$lang])[1]"/>
+
+ <xsl:if test="count($localization.node) = 0
+ and count($local.localization.node) = 0">
+ <xsl:message>
+ <xsl:text>No "</xsl:text>
+ <xsl:value-of select="$lang"/>
+ <xsl:text>" localization exists.</xsl:text>
+ </xsl:message>
+ </xsl:if>
+
+ <xsl:variable name="local.context.node"
+ select="$local.localization.node/l:context[@name=$context]"/>
+
+ <xsl:variable name="context.node"
+ select="$localization.node/l:context[@name=$context]"/>
+
+ <xsl:variable name="en.context.node"
+ select="$l10n.xml/l:i18n/l:l10n[@language='en']/l:context[@name=$context]"/>
+
+ <xsl:if test="count($context.node) = 0
+ and count($local.context.node) = 0">
+ <xsl:message>
+ <xsl:text>No context named "</xsl:text>
+ <xsl:value-of select="$context"/>
+ <xsl:text>" exists in the "</xsl:text>
+ <xsl:value-of select="$lang"/>
+ <xsl:text>" localization; trying "en".</xsl:text>
+ </xsl:message>
+ </xsl:if>
+
+ <xsl:variable name="local.template.node"
+ select="($local.context.node/l:template[@name=$name
+ and @style
+ and @style=$xrefstyle]
+ |$local.context.node/l:template[@name=$name
+ and not(@style)])[1]"/>
+
+ <xsl:variable name="template.node"
+ select="($context.node/l:template[@name=$name
+ and @style
+ and @style=$xrefstyle]
+ |$context.node/l:template[@name=$name
+ and not(@style)])[1]"/>
+
+ <xsl:variable name="en.template.node"
+ select="($en.context.node/l:template[@name=$name
+ and @style
+ and @style=$xrefstyle]
+ |$en.context.node/l:template[@name=$name
+ and not(@style)])[1]"/>
+
+ <xsl:choose>
+ <xsl:when test="$local.template.node/@text">
+ <xsl:value-of select="$local.template.node/@text"/>
+ </xsl:when>
+ <xsl:when test="$template.node/@text">
+ <xsl:value-of select="$template.node/@text"/>
+ </xsl:when>
+ <xsl:when test="$en.template.node/@text">
+ <xsl:value-of select="$en.template.node/@text"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="contains($name, '/')">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="$context"/>
+ <xsl:with-param name="name" select="substring-after($name, '/')"/>
+ <xsl:with-param name="origname" select="$origname"/>
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ <xsl:with-param name="lang" select="$lang"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>
+ <xsl:text>No template for "</xsl:text>
+ <xsl:value-of select="$origname"/>
+ <xsl:text>" (or any of its leaves) exists
+in the context named "</xsl:text>
+ <xsl:value-of select="$context"/>
+ <xsl:text>" in the "</xsl:text>
+ <xsl:value-of select="$lang"/>
+ <xsl:text>" localization.</xsl:text>
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="gentext.template.exists">
+ <xsl:param name="context" select="'default'"/>
+ <xsl:param name="name" select="'default'"/>
+ <xsl:param name="origname" select="$name"/>
+ <xsl:param name="purpose"/>
+ <xsl:param name="xrefstyle"/>
+ <xsl:param name="referrer"/>
+ <xsl:param name="lang">
+ <xsl:call-template name="l10n.language"/>
+ </xsl:param>
+
+ <xsl:variable name="local.localization.node"
+ select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang])[1]"/>
+
+ <xsl:variable name="localization.node"
+ select="($l10n.xml/l:i18n/l:l10n[@language=$lang])[1]"/>
+
+ <xsl:variable name="local.context.node"
+ select="$local.localization.node/l:context[@name=$context]"/>
+
+ <xsl:variable name="context.node"
+ select="$localization.node/l:context[@name=$context]"/>
+
+ <xsl:variable name="local.template.node"
+ select="($local.context.node/l:template[@name=$name
+ and @style
+ and @style=$xrefstyle]
+ |$local.context.node/l:template[@name=$name
+ and not(@style)])[1]"/>
+
+ <xsl:variable name="template.node"
+ select="($context.node/l:template[@name=$name
+ and @style
+ and @style=$xrefstyle]
+ |$context.node/l:template[@name=$name
+ and not(@style)])[1]"/>
+
+ <xsl:choose>
+ <xsl:when test="$local.template.node/@text">1</xsl:when>
+ <xsl:when test="$template.node/@text">1</xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="contains($name, '/')">
+ <xsl:call-template name="gentext.template.exists">
+ <xsl:with-param name="context" select="$context"/>
+ <xsl:with-param name="name" select="substring-after($name, '/')"/>
+ <xsl:with-param name="origname" select="$origname"/>
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ <xsl:with-param name="lang" select="$lang"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>0</xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/common/la.xml b/docs/xslt/db2latex-xsl/xsl/common/la.xml
new file mode 100644
index 0000000000..fb4120934a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/la.xml
@@ -0,0 +1,492 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="la" english-language-name="Latin">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/la.xml -->
+ <l:gentext key="Abstract" text="Summarium"/>
+ <l:gentext key="abstract" text="summarium"/>
+ <l:gentext key="Answer" text="R:"/>
+ <l:gentext key="answer" text="r:"/>
+ <l:gentext key="Appendix" text="Additamentum"/>
+ <l:gentext key="appendix" text="additamentum"/>
+ <l:gentext key="Article" text="Articulus"/>
+ <l:gentext key="article" text="articulus"/>
+ <l:gentext key="Bibliography" text="Conspectus librorum"/>
+ <l:gentext key="bibliography" text="conspectus librorum"/>
+ <l:gentext key="Book" text="Liber"/>
+ <l:gentext key="book" text="liber"/>
+ <l:gentext key="CAUTION" text="Caveat"/>
+ <l:gentext key="Caution" text="Caveat"/>
+ <l:gentext key="caution" text="caveat"/>
+ <l:gentext key="Chapter" text="Capitulum"/>
+ <l:gentext key="chapter" text="capitulum"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="copyright"/>
+ <l:gentext key="Dedication" text="Dedicatoria"/>
+ <l:gentext key="dedication" text="dedicatoria"/>
+ <l:gentext key="Edition" text="Editio"/>
+ <l:gentext key="edition" text="editio"/>
+ <l:gentext key="Equation" text="Equatio"/>
+ <l:gentext key="equation" text="equatio"/>
+ <l:gentext key="Example" text="Exemplum"/>
+ <l:gentext key="example" text="exemplum"/>
+ <l:gentext key="Figure" text="Descriptio"/>
+ <l:gentext key="figure" text="descriptio"/>
+ <l:gentext key="Glossary" text="Glossarium"/>
+ <l:gentext key="glossary" text="glossarium"/>
+ <l:gentext key="GlossSee" text="Cfr."/>
+ <l:gentext key="glosssee" text="Cfr."/>
+ <l:gentext key="GlossSeeAlso" text="Cfr. autem"/>
+ <l:gentext key="glossseealso" text="cfr. autem"/>
+ <l:gentext key="IMPORTANT" text="GRAVE"/>
+ <l:gentext key="important" text="grave"/>
+ <l:gentext key="Important" text="Grave"/>
+ <l:gentext key="Index" text="Index"/>
+ <l:gentext key="index" text="index"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="isbn"/>
+ <l:gentext key="LegalNotice" text="Nuntius legalis"/>
+ <l:gentext key="legalnotice" text="nuntius legalis"/>
+ <l:gentext key="MsgAud" text="Legentes"/>
+ <l:gentext key="msgaud" text="legentes"/>
+ <l:gentext key="MsgLevel" text="Libra"/>
+ <l:gentext key="msglevel" text="libra"/>
+ <l:gentext key="MsgOrig" text="Fons"/>
+ <l:gentext key="msgorig" text="fons"/>
+ <l:gentext key="NOTE" text="NOTA"/>
+ <l:gentext key="Note" text="Nota"/>
+ <l:gentext key="note" text="nota"/>
+ <l:gentext key="Part" text="Pars"/>
+ <l:gentext key="part" text="pars"/>
+ <l:gentext key="Preface" text="Praefatio"/>
+ <l:gentext key="preface" text="praefatio"/>
+ <l:gentext key="Procedure" text="Progressio"/>
+ <l:gentext key="procedure" text="progressio"/>
+ <l:gentext key="ProductionSet" text="Compositio"/>
+ <l:gentext key="Published" text="Editum"/>
+ <l:gentext key="published" text="editum"/>
+ <l:gentext key="Question" text="Q:"/>
+ <l:gentext key="question" text="q:"/>
+ <l:gentext key="RefEntry" text="Mentionis descriptio"/>
+ <l:gentext key="refentry" text="mentionis descriptio"/>
+ <l:gentext key="Reference" text="Mentio"/>
+ <l:gentext key="reference" text="mentio"/>
+ <l:gentext key="RefName" text="Mentionis signum"/>
+ <l:gentext key="refname" text="mentionis signum"/>
+ <l:gentext key="RefSection" text="Mentionis pars"/>
+ <l:gentext key="refsection" text="mentionis pars"/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Revisionum historia"/>
+ <l:gentext key="revhistory" text="revisionum historia"/>
+ <l:gentext key="revision" text="Revisio"/>
+ <l:gentext key="Revision" text="revisio"/>
+ <l:gentext key="sect1" text="Sectio"/>
+ <l:gentext key="sect2" text="Sectio"/>
+ <l:gentext key="sect3" text="Sectio"/>
+ <l:gentext key="sect4" text="Sectio"/>
+ <l:gentext key="sect5" text="Sectio"/>
+ <l:gentext key="section" text="Sectio"/>
+ <l:gentext key="Section" text="Sectio"/>
+ <l:gentext key="see" text="videtur"/>
+ <l:gentext key="seealso" text="videtur autem"/>
+ <l:gentext key="set" text="complexus"/>
+ <l:gentext key="Set" text="Complexus"/>
+ <l:gentext key="setindex" text="complexi index"/>
+ <l:gentext key="SetIndex" text="Complexi index"/>
+ <l:gentext key="Sidebar" text="Linea a latere posita"/>
+ <l:gentext key="sidebar" text="linea a latere posita"/>
+ <l:gentext key="step" text="peractio"/>
+ <l:gentext key="Step" text="Peractio"/>
+ <l:gentext key="Table" text="Tabula"/>
+ <l:gentext key="table" text="tabula"/>
+ <l:gentext key="tip" text="consilium"/>
+ <l:gentext key="TIP" text="CONSILIUM"/>
+ <l:gentext key="Tip" text="Consilium"/>
+ <l:gentext key="Warning" text="MONITUS"/>
+ <l:gentext key="warning" text="monitus"/>
+ <l:gentext key="WARNING" text="MONITUS"/>
+ <l:gentext key="and" text="et"/>
+ <l:gentext key="by" text="a"/>
+ <l:gentext key="Edited" text="Editum"/>
+ <l:gentext key="edited" text="editum"/>
+ <l:gentext key="Editedby" text="Editum a"/>
+ <l:gentext key="editedby" text="editum a"/>
+ <l:gentext key="in" text="in"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="quod non est"/>
+ <l:gentext key="notes" text="commentaria"/>
+ <l:gentext key="Notes" text="Commentaria"/>
+ <l:gentext key="Pgs" text="Pag."/>
+ <l:gentext key="pgs" text="pag."/>
+ <l:gentext key="Revisedby" text="Excussum a: "/>
+ <l:gentext key="revisedby" text="excussum a: "/>
+ <l:gentext key="TableNotes" text="Tabulae commentaria"/>
+ <l:gentext key="tablenotes" text="tabulae commentaria"/>
+ <l:gentext key="TableofContents" text="Index rerum notabilium"/>
+ <l:gentext key="tableofcontents" text="index rerum notabilium"/>
+ <l:gentext key="unexpectedelementname" text="necopinatum nomen"/>
+ <l:gentext key="unsupported" text="non sustentatus"/>
+ <l:gentext key="xrefto" text="mentio"/>
+ <l:gentext key="listofequations" text="index aequationum"/>
+ <l:gentext key="ListofEquations" text="Index aequationum"/>
+ <l:gentext key="ListofExamples" text="Index exemplorum"/>
+ <l:gentext key="listofexamples" text="index exemplorum"/>
+ <l:gentext key="ListofFigures" text="Index descriptionum"/>
+ <l:gentext key="listoffigures" text="index descriptionum"/>
+ <l:gentext key="ListofProcedures" text="Index progressiorum"/>
+ <l:gentext key="listofprocedures" text="index progressiorum"/>
+ <l:gentext key="listoftables" text="index tabularum"/>
+ <l:gentext key="ListofTables" text="Index tabularum"/>
+ <l:gentext key="ListofUnknown" text="Index ignotorum"/>
+ <l:gentext key="listofunknown" text="index ignotorum"/>
+ <l:gentext key="nav-home" text="Initium"/>
+ <l:gentext key="nav-next" text="Sequens"/>
+ <l:gentext key="nav-next-sibling" text="Procede"/>
+ <l:gentext key="nav-prev" text="Praecedens"/>
+ <l:gentext key="nav-prev-sibling" text="Recede"/>
+ <l:gentext key="nav-up" text="Ascende"/>
+ <l:gentext key="nav-toc" text="Index"/>
+ <l:gentext key="Draft" text="Plagula"/>
+ <l:gentext key="above" text="supra"/>
+ <l:gentext key="below" text="sub"/>
+ <l:gentext key="sectioncalled" text="sectio vocata"/>
+ <l:gentext key="index symbols" text="signa"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+ <l:gentext key="hyphenation-character" text="&#8208;"/>
+ <l:gentext key="hyphenation-push-character-count" text="2"/>
+ <l:gentext key="hyphenation-remain-character-count" text="2"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/la.xml -->
+ <l:dingbat key="startquote" text="&#738;"/>
+ <l:dingbat key="endquote" text="&#1762;"/>
+ <l:dingbat key="nestedstartquote" text="&#8249;"/>
+ <l:dingbat key="nestedendquote" text="&#8250;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Additamentum%n.%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Capitulum%n.%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Equatio%n.%t"/>
+ <l:template name="example" text="Exemplum%n.%t"/>
+ <l:template name="figure" text="Descriptio%n.%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Pars%n.%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Progressio%n.%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Compositio%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabula%n.%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Additamentum%n.%t"/>
+ <l:template name="article/appendix" text="%n.%t"/>
+ <l:template name="bridgehead" text="%n.%t"/>
+ <l:template name="chapter" text="Capitulum%n.%t"/>
+ <l:template name="sect1" text="%n.%t"/>
+ <l:template name="sect2" text="%n.%t"/>
+ <l:template name="sect3" text="%n.%t"/>
+ <l:template name="sect4" text="%n.%t"/>
+ <l:template name="sect5" text="%n.%t"/>
+ <l:template name="section" text="%n.%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="R:%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Q:%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Q:%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="refsection" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="refsect1" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="refsect2" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="refsect3" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="sect1" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="sect2" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="sect3" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="sect4" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="sect5" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="section" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="simplesect" text="sectio vocata &#738;%t&#1762;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="R:%n"/>
+ <l:template name="appendix" text="Additamentum%n"/>
+ <l:template name="bridgehead" text="Sectio%n"/>
+ <l:template name="chapter" text="Capitulum%n"/>
+ <l:template name="equation" text="Equatio%n"/>
+ <l:template name="example" text="Exemplum%n"/>
+ <l:template name="figure" text="Descriptio%n"/>
+ <l:template name="part" text="Pars%n"/>
+ <l:template name="procedure" text="Progressio%n"/>
+ <l:template name="productionset" text="Compositio%n"/>
+ <l:template name="qandadiv" text="Q &amp; A%n"/>
+ <l:template name="qandaentry" text="Q:%n"/>
+ <l:template name="question" text="Q:%n"/>
+ <l:template name="sect1" text="Sectio%n"/>
+ <l:template name="sect2" text="Sectio%n"/>
+ <l:template name="sect3" text="Sectio%n"/>
+ <l:template name="sect4" text="Sectio%n"/>
+ <l:template name="sect5" text="Sectio%n"/>
+ <l:template name="section" text="Sectio%n"/>
+ <l:template name="table" text="Tabula%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Additamentum%n, %t"/>
+ <l:template name="bridgehead" text="Sectio%n, &#738;%t&#1762;"/>
+ <l:template name="chapter" text="Capitulum%n, %t"/>
+ <l:template name="equation" text="Equatio%n, &#738;%t&#1762;"/>
+ <l:template name="example" text="Exemplum%n, &#738;%t&#1762;"/>
+ <l:template name="figure" text="Descriptio%n, &#738;%t&#1762;"/>
+ <l:template name="part" text="Pars%n, &#738;%t&#1762;"/>
+ <l:template name="procedure" text="Progressio%n, &#738;%t&#1762;"/>
+ <l:template name="productionset" text="Compositio%n, &#738;%t&#1762;"/>
+ <l:template name="qandadiv" text="Q &amp; A%n, &#738;%t&#1762;"/>
+ <l:template name="refsect1" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="refsect2" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="refsect3" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="refsection" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="sect1" text="Sectio%n, &#738;%t&#1762;"/>
+ <l:template name="sect2" text="Sectio%n, &#738;%t&#1762;"/>
+ <l:template name="sect3" text="Sectio%n, &#738;%t&#1762;"/>
+ <l:template name="sect4" text="Sectio%n, &#738;%t&#1762;"/>
+ <l:template name="sect5" text="Sectio%n, &#738;%t&#1762;"/>
+ <l:template name="section" text="Sectio%n, &#738;%t&#1762;"/>
+ <l:template name="simplesect" text="sectio vocata &#738;%t&#1762;"/>
+ <l:template name="table" text="Tabula%n, &#738;%t&#1762;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" et "/>
+ <l:template name="seplast" text=", et "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Cfr. "/>
+ <l:template name="seealso" text="Cfr. autem "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Legentes: "/>
+ <l:template name="MsgLevel" text="Libra: "/>
+ <l:template name="MsgOrig" text="Fons: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d/m/Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="Ianuarii"/>
+ <l:template name="February" text="Februarii"/>
+ <l:template name="March" text="Martii"/>
+ <l:template name="April" text="Aprilis"/>
+ <l:template name="May" text="Maii"/>
+ <l:template name="June" text="Iunii"/>
+ <l:template name="July" text="Iulii"/>
+ <l:template name="August" text="Augusti"/>
+ <l:template name="September" text="Septembris"/>
+ <l:template name="October" text="Octobris"/>
+ <l:template name="November" text="Novembris"/>
+ <l:template name="December" text="Decembris"/>
+ <l:template name="Monday" text="Lunae"/>
+ <l:template name="Tuesday" text="Martis"/>
+ <l:template name="Wednesday" text="Mercurii"/>
+ <l:template name="Thursday" text="Iovis"/>
+ <l:template name="Friday" text="Veneris"/>
+ <l:template name="Saturday" text="Sabathi"/>
+ <l:template name="Sunday" text="Dominica"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="Ian"/>
+ <l:template name="Feb" text="Feb"/>
+ <l:template name="Mar" text="Mar"/>
+ <l:template name="Apr" text="Apr"/>
+ <l:template name="May" text="Mai"/>
+ <l:template name="Jun" text="Iun"/>
+ <l:template name="Jul" text="Iul"/>
+ <l:template name="Aug" text="Aug"/>
+ <l:template name="Sep" text="Sep"/>
+ <l:template name="Oct" text="Oct"/>
+ <l:template name="Nov" text="Nov"/>
+ <l:template name="Dec" text="Dec"/>
+ <l:template name="Mon" text="Lun"/>
+ <l:template name="Tue" text="Mar"/>
+ <l:template name="Wed" text="Mer"/>
+ <l:template name="Thu" text="Iov"/>
+ <l:template name="Fri" text="Ven"/>
+ <l:template name="Sat" text="Sab"/>
+ <l:template name="Sun" text="Dom"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/lt.xml b/docs/xslt/db2latex-xsl/xsl/common/lt.xml
new file mode 100644
index 0000000000..6637fb1460
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/lt.xml
@@ -0,0 +1,442 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="lt" english-language-name="Lithuanian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/lt.xml -->
+ <l:gentext key="Abstract" text="Santrauka"/>
+ <l:gentext key="abstract" text="Santrauka"/>
+ <l:gentext key="Answer" text="Ats:"/>
+ <l:gentext key="answer" text="Ats:"/>
+ <l:gentext key="Appendix" text="Priedas"/>
+ <l:gentext key="appendix" text="priedas"/>
+ <l:gentext key="Article" text="Straipsnis"/>
+ <l:gentext key="article" text="Straipsnis"/>
+ <l:gentext key="Bibliography" text="Bibliografija"/>
+ <l:gentext key="bibliography" text="Bibliografija"/>
+ <l:gentext key="Book" text="Knyga"/>
+ <l:gentext key="book" text="Knyga"/>
+ <l:gentext key="CAUTION" text="ATSARGIAI"/>
+ <l:gentext key="Caution" text="Atsargiai"/>
+ <l:gentext key="caution" text="Atsargiai"/>
+ <l:gentext key="Chapter" text="Skyrius"/>
+ <l:gentext key="chapter" text="skyrius"/>
+ <l:gentext key="Colophon" text="&#302;&#382;anga &#303; knyg&#261;"/>
+ <l:gentext key="colophon" text="&#302;&#382;anga &#303; knyg&#336;"/>
+ <l:gentext key="Copyright" text="Autorin&#279;s teis&#279;s"/>
+ <l:gentext key="copyright" text="Autorin&#279;s teis&#279;s"/>
+ <l:gentext key="Dedication" text="Dedikacija"/>
+ <l:gentext key="dedication" text="Dedikacija"/>
+ <l:gentext key="Edition" text="Leidimas"/>
+ <l:gentext key="edition" text="Leidimas"/>
+ <l:gentext key="Equation" text="Lygtis"/>
+ <l:gentext key="equation" text="Lygtis"/>
+ <l:gentext key="Example" text="Pavyzdys"/>
+ <l:gentext key="example" text="Pavyzdys"/>
+ <l:gentext key="Figure" text="Pav."/>
+ <l:gentext key="figure" text="Pav."/>
+ <l:gentext key="Glossary" text="Termin&#371; &#382;odyn&#279;lis"/>
+ <l:gentext key="glossary" text="Termin&#371; &#382;odyn&#279;lis"/>
+ <l:gentext key="GlossSee" text="Termin&#261; &#382;r."/>
+ <l:gentext key="glosssee" text="Termin&#261; &#382;r."/>
+ <l:gentext key="GlossSeeAlso" text="Taip pat &#382;r."/>
+ <l:gentext key="glossseealso" text="Taip pat &#382;r."/>
+ <l:gentext key="IMPORTANT" text="SVARBU"/>
+ <l:gentext key="important" text="Svarbu"/>
+ <l:gentext key="Important" text="Svarbu"/>
+ <l:gentext key="Index" text="Rodykl&#279;"/>
+ <l:gentext key="index" text="Rodykl&#279;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Teisin&#279; pastaba"/>
+ <l:gentext key="legalnotice" text="Teisin&#279; pastaba"/>
+ <l:gentext key="MsgAud" text="Auditorija"/>
+ <l:gentext key="msgaud" text="Auditorija"/>
+ <l:gentext key="MsgLevel" text="Lygmuo"/>
+ <l:gentext key="msglevel" text="Lygmuo"/>
+ <l:gentext key="MsgOrig" text="Kilm&#279;"/>
+ <l:gentext key="msgorig" text="Kilm&#279;"/>
+ <l:gentext key="NOTE" text="PASTABA"/>
+ <l:gentext key="Note" text="Pastaba"/>
+ <l:gentext key="note" text="Pastaba"/>
+ <l:gentext key="Part" text="Dalis"/>
+ <l:gentext key="part" text="Dalis"/>
+ <l:gentext key="Preface" text="&#302;&#382;anga"/>
+ <l:gentext key="preface" text="&#302;&#382;anga"/>
+ <l:gentext key="Procedure" text="Proced&#363;ra"/>
+ <l:gentext key="procedure" text="Proced&#363;ra"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="I&#353;leistas"/>
+ <l:gentext key="published" text="I&#353;leistas"/>
+ <l:gentext key="Question" text="Klausimas:"/>
+ <l:gentext key="question" text="Klausimas:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Nuoroda"/>
+ <l:gentext key="reference" text="Nuoroda"/>
+ <l:gentext key="RefName" text="Pavadinimas"/>
+ <l:gentext key="refname" text="Pavadinimas"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Trumpa ap&#382;valga"/>
+ <l:gentext key="refsynopsisdiv" text="Trumpa ap&#382;valga"/>
+ <l:gentext key="RevHistory" text="Pataisym&#371; istorija"/>
+ <l:gentext key="revhistory" text="Pataisym&#371; istorija"/>
+ <l:gentext key="revision" text="Pataisytas leidimas"/>
+ <l:gentext key="Revision" text="Pataisytas leidimas"/>
+ <l:gentext key="sect1" text="Skyrius"/>
+ <l:gentext key="sect2" text="Skyrius"/>
+ <l:gentext key="sect3" text="Skyrius"/>
+ <l:gentext key="sect4" text="Skyrius"/>
+ <l:gentext key="sect5" text="Skyrius"/>
+ <l:gentext key="section" text="Skyrius"/>
+ <l:gentext key="Section" text="Skyrius"/>
+ <l:gentext key="see" text="&#382;r."/>
+ <l:gentext key="seealso" text="&#382;r."/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="setindex" text="Set Index"/>
+ <l:gentext key="SetIndex" text="Set Index"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="step" text="&#382;ingsnis"/>
+ <l:gentext key="Step" text="&#381;ingsnis"/>
+ <l:gentext key="Table" text="Lentel&#279;"/>
+ <l:gentext key="table" text="Lentel&#279;"/>
+ <l:gentext key="tip" text="Patarimas"/>
+ <l:gentext key="TIP" text="PATARIMAS"/>
+ <l:gentext key="Tip" text="Patarimas"/>
+ <l:gentext key="Warning" text="&#302;sp&#279;jimas"/>
+ <l:gentext key="warning" text="&#302;sp&#279;jimas"/>
+ <l:gentext key="WARNING" text="&#302;SP&#278;JIMAS"/>
+ <l:gentext key="and" text="ir"/>
+ <l:gentext key="by" text="by"/>
+ <l:gentext key="Edited" text="Redaguotas"/>
+ <l:gentext key="edited" text="Redaguotas"/>
+ <l:gentext key="Editedby" text="Redaguotas:"/>
+ <l:gentext key="editedby" text="Redaguotas:"/>
+ <l:gentext key="in" text="in"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="neegzistuojantis elementas"/>
+ <l:gentext key="notes" text="Pastabos"/>
+ <l:gentext key="Notes" text="Pastabos"/>
+ <l:gentext key="Pgs" text="Pgs."/>
+ <l:gentext key="pgs" text="Pgs."/>
+ <l:gentext key="Revisedby" text="Patais&#279;: "/>
+ <l:gentext key="revisedby" text="Patais&#279;: "/>
+ <l:gentext key="TableNotes" text="Lentel&#279;s pastabos"/>
+ <l:gentext key="tablenotes" text="Lentel&#279;s pastabos"/>
+ <l:gentext key="TableofContents" text="T&#363;rinys"/>
+ <l:gentext key="tableofcontents" text="T&#363;rinys"/>
+ <l:gentext key="unexpectedelementname" text="Unexpected element name"/>
+ <l:gentext key="unsupported" text="nepalaikomas"/>
+ <l:gentext key="xrefto" text="xref to"/>
+ <l:gentext key="listofequations" text="Lyg&#269;i&#371; s&#261;ra&#353;as"/>
+ <l:gentext key="ListofEquations" text="Lyg&#269;i&#371; s&#261;ra&#353;as"/>
+ <l:gentext key="ListofExamples" text="Pavyzd&#382;i&#371; s&#261;ra&#353;as"/>
+ <l:gentext key="listofexamples" text="Pavyzd&#382;i&#371; s&#261;ra&#353;as"/>
+ <l:gentext key="ListofFigures" text="Pav. s&#261;ra&#353;as"/>
+ <l:gentext key="listoffigures" text="Pav. s&#261;ra&#353;as"/>
+ <l:gentext key="listoftables" text="Lenteli&#371; s&#261;ra&#353;as"/>
+ <l:gentext key="ListofTables" text="Lenteli&#371; s&#261;ra&#353;as"/>
+ <l:gentext key="ListofUnknown" text="Ne&#382;inomas s&#261;ra&#353;as"/>
+ <l:gentext key="listofunknown" text="Ne&#382;inomas s&#261;ra&#353;as"/>
+ <l:gentext key="nav-home" text="Namai"/>
+ <l:gentext key="nav-next" text="Sekantis"/>
+ <l:gentext key="nav-next-sibling" text="Fast Forward"/>
+ <l:gentext key="nav-prev" text="Paskesnis"/>
+ <l:gentext key="nav-prev-sibling" text="Fast Backward"/>
+ <l:gentext key="nav-up" text="&#302; vir&#353;&#371;"/>
+ <l:gentext key="nav-toc" text="ToC"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/lt.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Priedas&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Skyrius&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Lygtis&#160;%n.&#160;%t"/>
+ <l:template name="example" text="Pavyzdys&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="Pav.&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Dalis&#160;%n.&#160;%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Proced&#363;ra&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Lentel&#279;&#160;%n.&#160;%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Priedas&#160;%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="Skyrius&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Ats:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Klausimas:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Klausimas:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="section" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Ats:&#160;%n"/>
+ <l:template name="appendix" text="Priedas&#160;%n"/>
+ <l:template name="bridgehead" text="Skyrius&#160;%n"/>
+ <l:template name="chapter" text="Skyrius&#160;%n"/>
+ <l:template name="equation" text="Lygtis&#160;%n"/>
+ <l:template name="example" text="Pavyzdys&#160;%n"/>
+ <l:template name="figure" text="Pav.&#160;%n"/>
+ <l:template name="part" text="Dalis&#160;%n"/>
+ <l:template name="procedure" text="Proced&#363;ra&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Klausimas:&#160;%n"/>
+ <l:template name="question" text="Klausimas:&#160;%n"/>
+ <l:template name="sect1" text="Skyrius&#160;%n"/>
+ <l:template name="sect2" text="Skyrius&#160;%n"/>
+ <l:template name="sect3" text="Skyrius&#160;%n"/>
+ <l:template name="sect4" text="Skyrius&#160;%n"/>
+ <l:template name="sect5" text="Skyrius&#160;%n"/>
+ <l:template name="section" text="Skyrius&#160;%n"/>
+ <l:template name="table" text="Lentel&#279;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Priedas&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Skyrius&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Skyrius&#160;%n, %t"/>
+ <l:template name="equation" text="Lygtis&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Pavyzdys&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Pav.&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Dalis&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Proced&#363;ra&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Skyrius&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Skyrius&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Skyrius&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Skyrius&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Skyrius&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Skyrius&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Lentel&#279;&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" ir "/>
+ <l:template name="seplast" text=", ir "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Termin&#261; &#382;r. "/>
+ <l:template name="seealso" text="Taip pat &#382;r. "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Auditorija: "/>
+ <l:template name="MsgLevel" text="Lygmuo: "/>
+ <l:template name="MsgOrig" text="Kilm&#279;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0427 Lithuanian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/nl.xml b/docs/xslt/db2latex-xsl/xsl/common/nl.xml
new file mode 100644
index 0000000000..2099a12fe7
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/nl.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nl" english-language-name="Dutch">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/nl.xml -->
+ <l:gentext key="Abstract" text="Samenvatting"/>
+ <l:gentext key="abstract" text="Samenvatting"/>
+ <l:gentext key="Answer" text="Antwoord:"/>
+ <l:gentext key="answer" text="Antwoord:"/>
+ <l:gentext key="Appendix" text="Aanhangsel"/>
+ <l:gentext key="appendix" text="aanhangsel"/>
+ <l:gentext key="Article" text="Artikel"/>
+ <l:gentext key="article" text="Artikel"/>
+ <l:gentext key="Bibliography" text="Literatuurlijst"/>
+ <l:gentext key="bibliography" text="Literatuurlijst"/>
+ <l:gentext key="Book" text="Boek"/>
+ <l:gentext key="book" text="Boek"/>
+ <l:gentext key="CAUTION" text="LET OP"/>
+ <l:gentext key="Caution" text="Let op"/>
+ <l:gentext key="caution" text="Let op"/>
+ <l:gentext key="Chapter" text="Hoofdstuk"/>
+ <l:gentext key="chapter" text="hoofdstuk"/>
+ <l:gentext key="Colophon" text="Colofon"/>
+ <l:gentext key="colophon" text="Colofon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Opdracht"/>
+ <l:gentext key="dedication" text="Opdracht"/>
+ <l:gentext key="Edition" text="Uitgave"/>
+ <l:gentext key="edition" text="Uitgave"/>
+ <l:gentext key="Equation" text="Vergelijking"/>
+ <l:gentext key="equation" text="Vergelijking"/>
+ <l:gentext key="Example" text="Voorbeeld"/>
+ <l:gentext key="example" text="Voorbeeld"/>
+ <l:gentext key="Figure" text="Figuur"/>
+ <l:gentext key="figure" text="Figuur"/>
+ <l:gentext key="Glossary" text="Woordenlijst"/>
+ <l:gentext key="glossary" text="Woordenlijst"/>
+ <l:gentext key="GlossSee" text="Zie"/>
+ <l:gentext key="glosssee" text="Zie"/>
+ <l:gentext key="GlossSeeAlso" text="Zie ook"/>
+ <l:gentext key="glossseealso" text="Zie ook"/>
+ <l:gentext key="IMPORTANT" text="BELANGRIJK"/>
+ <l:gentext key="Important" text="Belangrijk"/>
+ <l:gentext key="important" text="Belangrijk"/>
+ <l:gentext key="Index" text="Register"/>
+ <l:gentext key="index" text="Register"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Bericht"/>
+ <l:gentext key="legalnotice" text="Bericht"/>
+ <l:gentext key="MsgAud" text="Doelgroep"/>
+ <l:gentext key="msgaud" text="Doelgroep"/>
+ <l:gentext key="MsgLevel" text="Niveau"/>
+ <l:gentext key="msglevel" text="Niveau"/>
+ <l:gentext key="MsgOrig" text="Herkomst"/>
+ <l:gentext key="msgorig" text="Herkomst"/>
+ <l:gentext key="NOTE" text="OPMERKING"/>
+ <l:gentext key="Note" text="Opmerking"/>
+ <l:gentext key="note" text="Opmerking"/>
+ <l:gentext key="Part" text="Deel"/>
+ <l:gentext key="part" text="Deel"/>
+ <l:gentext key="Preface" text="Voorwoord"/>
+ <l:gentext key="preface" text="Voorwoord"/>
+ <l:gentext key="Procedure" text="Procedure"/>
+ <l:gentext key="procedure" text="Procedure"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="Uitgegeven"/>
+ <l:gentext key="published" text="Uitgegeven"/>
+ <l:gentext key="Question" text="Vraag:"/>
+ <l:gentext key="question" text="Vraag:"/>
+ <l:gentext key="RefEntry" text="Referentielemma"/>
+ <l:gentext key="refentry" text="Referentielemma"/>
+ <l:gentext key="Reference" text="Referentie"/>
+ <l:gentext key="reference" text="Referentie"/>
+ <l:gentext key="RefName" text="Referentienaam"/>
+ <l:gentext key="refname" text="Referentienaam"/>
+ <l:gentext key="RefSection" text="Referentieparagraaf"/>
+ <l:gentext key="refsection" text="Referentieparagraaf"/>
+ <l:gentext key="RefSynopsisDiv" text="Referentiesamenvatting"/>
+ <l:gentext key="refsynopsisdiv" text="Referentiesamenvatting"/>
+ <l:gentext key="RevHistory" text="Wijzigingen"/>
+ <l:gentext key="revhistory" text="Wijzigingen"/>
+ <l:gentext key="Revision" text="Herziening"/>
+ <l:gentext key="revision" text="Herziening"/>
+ <l:gentext key="sect1" text="Paragraaf"/>
+ <l:gentext key="sect2" text="Paragraaf"/>
+ <l:gentext key="sect3" text="Paragraaf"/>
+ <l:gentext key="sect4" text="Paragraaf"/>
+ <l:gentext key="sect5" text="Paragraaf"/>
+ <l:gentext key="Section" text="Paragraaf"/>
+ <l:gentext key="section" text="paragraaf"/>
+ <l:gentext key="See" text="Zie"/>
+ <l:gentext key="see" text="Zie"/>
+ <l:gentext key="SeeAlso" text="Zie ook"/>
+ <l:gentext key="Seealso" text="Zie ook"/>
+ <l:gentext key="seealso" text="Zie ook"/>
+ <l:gentext key="Set" text="Verzameling"/>
+ <l:gentext key="set" text="Verzameling"/>
+ <l:gentext key="SetIndex" text="Hoofdregister"/>
+ <l:gentext key="setindex" text="Hoofdregister"/>
+ <l:gentext key="Sidebar" text="Excursie"/>
+ <l:gentext key="sidebar" text="excursie"/>
+ <l:gentext key="Step" text="Stap"/>
+ <l:gentext key="step" text="stap"/>
+ <l:gentext key="Table" text="Tabel"/>
+ <l:gentext key="table" text="Tabel"/>
+ <l:gentext key="TIP" text="TIP"/>
+ <l:gentext key="Tip" text="Tip"/>
+ <l:gentext key="tip" text="Tip"/>
+ <l:gentext key="WARNING" text="WAARSCHUWING"/>
+ <l:gentext key="Warning" text="Waarschuwing"/>
+ <l:gentext key="warning" text="Waarschuwing"/>
+ <l:gentext key="and" text="en"/>
+ <l:gentext key="by" text="door"/>
+ <l:gentext key="Edited" text="Redactie"/>
+ <l:gentext key="edited" text="Redactie"/>
+ <l:gentext key="Editedby" text="Redactie door"/>
+ <l:gentext key="editedby" text="Redactie door"/>
+ <l:gentext key="in" text="in"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="niet bestaand element"/>
+ <l:gentext key="notes" text="Noten"/>
+ <l:gentext key="Notes" text="Noten"/>
+ <l:gentext key="Pgs" text="blz."/>
+ <l:gentext key="pgs" text="blz."/>
+ <l:gentext key="Revisedby" text="Herzien door: "/>
+ <l:gentext key="revisedby" text="Herzien door: "/>
+ <l:gentext key="TableNotes" text="Opmerkingen"/>
+ <l:gentext key="tablenotes" text="Opmerkingen"/>
+ <l:gentext key="TableofContents" text="Inhoudsopgave"/>
+ <l:gentext key="tableofcontents" text="Inhoudsopgave"/>
+ <l:gentext key="unexpectedelementname" text="ONVERWACHT-ELEMENT"/>
+ <l:gentext key="unsupported" text="niet ondersteund"/>
+ <l:gentext key="xrefto" text="verwijzing naar"/>
+ <l:gentext key="listofequations" text="Lijst van vergelijkingen"/>
+ <l:gentext key="ListofEquations" text="Lijst van vergelijkingen"/>
+ <l:gentext key="ListofExamples" text="Lijst van voorbeelden"/>
+ <l:gentext key="listofexamples" text="Lijst van voorbeelden"/>
+ <l:gentext key="ListofFigures" text="Lijst van figuren"/>
+ <l:gentext key="listoffigures" text="Lijst van figuren"/>
+ <l:gentext key="listoftables" text="Lijst van tabellen"/>
+ <l:gentext key="ListofTables" text="Lijst van tabellen"/>
+ <l:gentext key="ListofUnknown" text="Lijst van ???"/>
+ <l:gentext key="listofunknown" text="Lijst van ???"/>
+ <l:gentext key="nav-home" text="Begin"/>
+ <l:gentext key="nav-next" text="Volgende"/>
+ <l:gentext key="nav-next-sibling" text="Verder vooruit"/>
+ <l:gentext key="nav-prev" text="Terug"/>
+ <l:gentext key="nav-prev-sibling" text="Verder terug"/>
+ <l:gentext key="nav-up" text="Omhoog"/>
+ <l:gentext key="Draft" text="Ontwerp"/>
+ <l:gentext key="above" text="boven"/>
+ <l:gentext key="below" text="onder"/>
+ <l:gentext key="index symbols" text="Symbolen"/>
+ <l:gentext key="sectioncalled" text="de paragraaf"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#235;&#239;&#233;"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#203;&#207;&#201;"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/nl.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Aanhangsel %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Hoofdstuk %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Vergelijking %n. %t"/>
+ <l:template name="example" text="Voorbeeld %n. %t"/>
+ <l:template name="figure" text="Figuur %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Deel %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedure&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabel %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Aanhangsel %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="Hoofdstuk %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Antwoord:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Vraag:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Vraag:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="section" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="de paragraaf &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Antwoord:&#160;%n"/>
+ <l:template name="appendix" text="Aanhangsel&#160;%n"/>
+ <l:template name="bridgehead" text="Paragraaf&#160;%n"/>
+ <l:template name="chapter" text="Hoofdstuk&#160;%n"/>
+ <l:template name="equation" text="Vergelijking&#160;%n"/>
+ <l:template name="example" text="Voorbeeld&#160;%n"/>
+ <l:template name="figure" text="Figuur&#160;%n"/>
+ <l:template name="part" text="Deel&#160;%n"/>
+ <l:template name="procedure" text="Procedure&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Vraag:&#160;%n"/>
+ <l:template name="question" text="Vraag:&#160;%n"/>
+ <l:template name="sect1" text="Paragraaf&#160;%n"/>
+ <l:template name="sect2" text="Paragraaf&#160;%n"/>
+ <l:template name="sect3" text="Paragraaf&#160;%n"/>
+ <l:template name="sect4" text="Paragraaf&#160;%n"/>
+ <l:template name="sect5" text="Paragraaf&#160;%n"/>
+ <l:template name="section" text="Paragraaf&#160;%n"/>
+ <l:template name="table" text="Tabel&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Aanhangsel&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Hoofdstuk&#160;%n, %t"/>
+ <l:template name="equation" text="Vergelijking&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Voorbeeld&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figuur&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Deel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procedure&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="de paragraaf &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" en "/>
+ <l:template name="seplast" text=", en "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Zie "/>
+ <l:template name="seealso" text="Zie ook "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Doelgroep: "/>
+ <l:template name="MsgLevel" text="Niveau: "/>
+ <l:template name="MsgOrig" text="Herkomst: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0413 Dutch"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/nn.xml b/docs/xslt/db2latex-xsl/xsl/common/nn.xml
new file mode 100644
index 0000000000..e904826123
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/nn.xml
@@ -0,0 +1,449 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nn" english-language-name="Nynorsk">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/nn.xml -->
+ <l:gentext key="Abstract" text="Samandrag"/>
+ <l:gentext key="abstract" text="Samandrag"/>
+ <l:gentext key="Answer" text="Svar"/>
+ <l:gentext key="answer" text="svar"/>
+ <l:gentext key="Appendix" text="Tillegg"/>
+ <l:gentext key="appendix" text="tillegg"/>
+ <l:gentext key="Article" text="Artikkel"/>
+ <l:gentext key="article" text="artikkel"/>
+ <l:gentext key="Bibliography" text="Bibliografi"/>
+ <l:gentext key="bibliography" text="bibliografi"/>
+ <l:gentext key="Book" text="Bok"/>
+ <l:gentext key="book" text="bok"/>
+ <l:gentext key="CAUTION" text="OBS"/>
+ <l:gentext key="Caution" text="Obs"/>
+ <l:gentext key="caution" text="OBS"/>
+ <l:gentext key="caution" text="OBS"/>
+ <l:gentext key="Chapter" text="Kapittel"/>
+ <l:gentext key="chapter" text="kapittel"/>
+ <l:gentext key="Colophon" text="Kolofon"/>
+ <l:gentext key="colophon" text="kolofon"/>
+ <l:gentext key="Copyright" text="Opphavsrett"/>
+ <l:gentext key="copyright" text="opphavsrett"/>
+ <l:gentext key="Dedication" text="Dedikasjon"/>
+ <l:gentext key="dedication" text="dedikasjon"/>
+ <l:gentext key="Edition" text="Utg&#229;ve"/>
+ <l:gentext key="edition" text="utg&#229;ve"/>
+ <l:gentext key="Equation" text="Formel"/>
+ <l:gentext key="equation" text="formel"/>
+ <l:gentext key="Example" text="D&#248;me"/>
+ <l:gentext key="example" text="d&#248;me"/>
+ <l:gentext key="Figure" text="Figur"/>
+ <l:gentext key="figure" text="figur"/>
+ <l:gentext key="Glossary" text="Ordliste"/>
+ <l:gentext key="glossary" text="ordliste"/>
+ <l:gentext key="GlossSee" text="Sj&#229;"/>
+ <l:gentext key="glosssee" text="sj&#229;"/>
+ <l:gentext key="GlossSeeAlso" text="Sj&#229; &#242;g"/>
+ <l:gentext key="glossseealso" text="sj&#229; &#242;g"/>
+ <l:gentext key="IMPORTANT" text="VIKTIG"/>
+ <l:gentext key="Important" text="Viktig"/>
+ <l:gentext key="important" text="viktig"/>
+ <l:gentext key="important" text="viktig"/>
+ <l:gentext key="Index" text="Indeks"/>
+ <l:gentext key="index" text="indeks"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text=""/>
+ <l:gentext key="legalnotice" text=""/>
+ <l:gentext key="MsgAud" text="Publikum"/>
+ <l:gentext key="msgaud" text="publikum"/>
+ <l:gentext key="MsgLevel" text="Niv&#229;"/>
+ <l:gentext key="msglevel" text="niv&#229;"/>
+ <l:gentext key="MsgOrig" text="Opphav"/>
+ <l:gentext key="msgorig" text="Opphav"/>
+ <l:gentext key="NOTE" text="NOTAT"/>
+ <l:gentext key="Note" text="Notat"/>
+ <l:gentext key="note" text="NOTAT"/>
+ <l:gentext key="note" text="NOTAT"/>
+ <l:gentext key="Part" text="Del"/>
+ <l:gentext key="part" text="del"/>
+ <l:gentext key="Preface" text="Forord"/>
+ <l:gentext key="preface" text="forord"/>
+ <l:gentext key="Procedure" text="Prosedyre"/>
+ <l:gentext key="procedure" text="prosedyre"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="Utgitt"/>
+ <l:gentext key="published" text="utgitt"/>
+ <l:gentext key="Question" text="Sp&#248;rsm&#229;l"/>
+ <l:gentext key="question" text="sp&#248;rsm&#229;l"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Referanse"/>
+ <l:gentext key="reference" text="referanse"/>
+ <l:gentext key="RefName" text="Namn"/>
+ <l:gentext key="refname" text="namn"/>
+ <l:gentext key="RefSection" text="Del"/>
+ <l:gentext key="refsection" text="del"/>
+ <l:gentext key="RefSynopsisDiv" text="Oversyn"/>
+ <l:gentext key="refsynopsisdiv" text="oversyn"/>
+ <l:gentext key="RevHistory" text="Revisjonshistorie"/>
+ <l:gentext key="revhistory" text="revisjonshistorie"/>
+ <l:gentext key="Revision" text="Revisjon"/>
+ <l:gentext key="revision" text="revisjon"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="Del"/>
+ <l:gentext key="section" text="del"/>
+ <l:gentext key="See" text="Sj&#229;"/>
+ <l:gentext key="see" text="sj&#229;"/>
+ <l:gentext key="SeeAlso" text="Sj&#229; &#242;g"/>
+ <l:gentext key="seealso" text="sj&#229; &#242;g"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="set" text="set"/>
+ <l:gentext key="SetIndex" text="Indeks"/>
+ <l:gentext key="setindex" text="Indeks"/>
+ <l:gentext key="Sidebar" text="Sidestolpe"/>
+ <l:gentext key="sidebar" text="sidestolpe"/>
+ <l:gentext key="Step" text="Steg"/>
+ <l:gentext key="step" text="steg"/>
+ <l:gentext key="Table" text="Tabell"/>
+ <l:gentext key="table" text="tabell"/>
+ <l:gentext key="TIP" text="TIPS"/>
+ <l:gentext key="Tip" text="Tips"/>
+ <l:gentext key="tip" text="tips"/>
+ <l:gentext key="tip" text="tips"/>
+ <l:gentext key="WARNING" text="&#197;TVARING"/>
+ <l:gentext key="Warning" text="&#197;tvaring"/>
+ <l:gentext key="warning" text="&#229;tvaring"/>
+ <l:gentext key="warning" text="&#229;tvaring"/>
+ <l:gentext key="Seealso" text="Sj&#229; &#242;g"/>
+ <l:gentext key="seealso" text="sj&#229; &#242;g"/>
+ <l:gentext key="TableofContents" text="Innhald"/>
+ <l:gentext key="tableofcontents" text="Innhald"/>
+ <l:gentext key="in" text="i"/>
+ <l:gentext key="by" text="av"/>
+ <l:gentext key="Edited" text="Redigert"/>
+ <l:gentext key="edited" text="redigert"/>
+ <l:gentext key="Editedby" text="Redigert av"/>
+ <l:gentext key="editedby" text="redigert av"/>
+ <l:gentext key="and" text="og"/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="Notes" text="Merknader"/>
+ <l:gentext key="notes" text="merknader"/>
+ <l:gentext key="TableNotes" text="Merknader"/>
+ <l:gentext key="tablenotes" text="merknader"/>
+ <l:gentext key="nonexistantelement" text="ikkje-eksisterande element"/>
+ <l:gentext key="Pgs" text="Sider"/>
+ <l:gentext key="pgs" text="sider"/>
+ <l:gentext key="unsupported" text="ikkje st&#248;tta"/>
+ <l:gentext key="xrefto" text="xref til"/>
+ <l:gentext key="unexpectedelementname" text="UVENTA-ELEMENTNAVN"/>
+ <l:gentext key="Revisedby" text="Revidert av: "/>
+ <l:gentext key="revisedby" text="revidert av: "/>
+ <l:gentext key="ListofTables" text="Tabelloversikt"/>
+ <l:gentext key="listoftables" text="tabelloversikt"/>
+ <l:gentext key="ListofExamples" text="D&#248;meoversikt"/>
+ <l:gentext key="listofexamples" text="d&#248;meoversikt"/>
+ <l:gentext key="ListofFigures" text="Figuroversikt"/>
+ <l:gentext key="listoffigures" text="figuroversikt"/>
+ <l:gentext key="ListofEquations" text="Formeloversikt"/>
+ <l:gentext key="listofequations" text="formeloversikt"/>
+ <l:gentext key="ListofUnknown" text="???-oversikt"/>
+ <l:gentext key="listofunknown" text="???-oversikt"/>
+ <l:gentext key="nav-prev" text="Att"/>
+ <l:gentext key="nav-prev-sibling" text="Raskt bakover"/>
+ <l:gentext key="nav-next-sibling" text="Raskt framover"/>
+ <l:gentext key="nav-next" text="Fram"/>
+ <l:gentext key="nav-up" text="Opp"/>
+ <l:gentext key="nav-home" text="Heim"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/nn.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Tillegg %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Kapittel %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Formel %n. %t"/>
+ <l:template name="example" text="D&#248;me %n. %t"/>
+ <l:template name="figure" text="Figur %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Del %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Prosedyre&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabell %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Tillegg %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Kapittel %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Svar&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Sp&#248;rsm&#229;l&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Sp&#248;rsm&#229;l&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Svar&#160;%n"/>
+ <l:template name="appendix" text="Tillegg&#160;%n"/>
+ <l:template name="bridgehead" text="Del&#160;%n"/>
+ <l:template name="chapter" text="Kapittel&#160;%n"/>
+ <l:template name="equation" text="Formel&#160;%n"/>
+ <l:template name="example" text="D&#248;me&#160;%n"/>
+ <l:template name="figure" text="Figur&#160;%n"/>
+ <l:template name="part" text="Del&#160;%n"/>
+ <l:template name="procedure" text="Prosedyre&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Sp&#248;rsm&#229;l&#160;%n"/>
+ <l:template name="question" text="Sp&#248;rsm&#229;l&#160;%n"/>
+ <l:template name="sect1" text="Del&#160;%n"/>
+ <l:template name="sect2" text="Del&#160;%n"/>
+ <l:template name="sect3" text="Del&#160;%n"/>
+ <l:template name="sect4" text="Del&#160;%n"/>
+ <l:template name="sect5" text="Del&#160;%n"/>
+ <l:template name="section" text="Del&#160;%n"/>
+ <l:template name="table" text="Tabell&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Tillegg&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Kapittel&#160;%n, %t"/>
+ <l:template name="equation" text="Formel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="D&#248;me&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figur&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Prosedyre&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabell&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" og "/>
+ <l:template name="seplast" text=", og "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Sj&#229; "/>
+ <l:template name="seealso" text="Sj&#229; &#242;g "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgLevel" text="Niv&#229;: "/>
+ <l:template name="MsgOrig" text="Opphav: "/>
+ <l:template name="MsgAud" text="Publikum: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0814 Norwegian (Nynorsk)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/no.xml b/docs/xslt/db2latex-xsl/xsl/common/no.xml
new file mode 100644
index 0000000000..3c6f344515
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/no.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="no" english-language-name="Norwegian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/no.xml -->
+ <l:gentext key="Abstract" text="Abstract"/>
+ <l:gentext key="abstract" text="Abstract"/>
+ <l:gentext key="Answer" text="A:"/>
+ <l:gentext key="answer" text="A:"/>
+ <l:gentext key="Appendix" text="Tillegg"/>
+ <l:gentext key="appendix" text="Tillegg"/>
+ <l:gentext key="Article" text=""/>
+ <l:gentext key="article" text=""/>
+ <l:gentext key="Bibliography" text="Bibliografi"/>
+ <l:gentext key="bibliography" text="Bibliografi"/>
+ <l:gentext key="Book" text=""/>
+ <l:gentext key="book" text=""/>
+ <l:gentext key="CAUTION" text="OBS"/>
+ <l:gentext key="Caution" text="Obs"/>
+ <l:gentext key="caution" text="Obs"/>
+ <l:gentext key="Chapter" text="Kapittel"/>
+ <l:gentext key="chapter" text="Kapittel"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Dedikasjon"/>
+ <l:gentext key="dedication" text="Dedikasjon"/>
+ <l:gentext key="Edition" text=""/>
+ <l:gentext key="edition" text=""/>
+ <l:gentext key="Equation" text="Formel"/>
+ <l:gentext key="equation" text="Formel"/>
+ <l:gentext key="Example" text="Eksempel"/>
+ <l:gentext key="example" text="Eksempel"/>
+ <l:gentext key="Figure" text="Figur"/>
+ <l:gentext key="figure" text="Figur"/>
+ <l:gentext key="Glossary" text="Ordliste"/>
+ <l:gentext key="glossary" text="Ordliste"/>
+ <l:gentext key="GlossSee" text="Se"/>
+ <l:gentext key="glosssee" text="Se"/>
+ <l:gentext key="GlossSeeAlso" text="Se Ogs&#229;"/>
+ <l:gentext key="glossseealso" text="Se Ogs&#229;"/>
+ <l:gentext key="IMPORTANT" text="VIKTIG"/>
+ <l:gentext key="Important" text="Viktig"/>
+ <l:gentext key="important" text="Viktig"/>
+ <l:gentext key="Index" text="Indeks"/>
+ <l:gentext key="index" text="Indeks"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text=""/>
+ <l:gentext key="legalnotice" text=""/>
+ <l:gentext key="MsgAud" text="Publikum"/>
+ <l:gentext key="msgaud" text="Publikum"/>
+ <l:gentext key="MsgLevel" text="Niv&#229;"/>
+ <l:gentext key="msglevel" text="Niv&#229;"/>
+ <l:gentext key="MsgOrig" text="Opphav"/>
+ <l:gentext key="msgorig" text="Opphav"/>
+ <l:gentext key="NOTE" text="NOTAT"/>
+ <l:gentext key="Note" text="Notat"/>
+ <l:gentext key="note" text="Notat"/>
+ <l:gentext key="Part" text="Del"/>
+ <l:gentext key="part" text="Del"/>
+ <l:gentext key="Preface" text="Forord"/>
+ <l:gentext key="preface" text="Forord"/>
+ <l:gentext key="Procedure" text="Prosedyre"/>
+ <l:gentext key="procedure" text="Prosedyre"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text=""/>
+ <l:gentext key="published" text=""/>
+ <l:gentext key="Question" text="Q:"/>
+ <l:gentext key="question" text="Q:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Referanse"/>
+ <l:gentext key="reference" text="Referanse"/>
+ <l:gentext key="RefName" text="Navn"/>
+ <l:gentext key="refname" text="Navn"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Revisjonshistorie"/>
+ <l:gentext key="revhistory" text="Revisjonshistorie"/>
+ <l:gentext key="Revision" text="Revisjon"/>
+ <l:gentext key="revision" text="Revisjon"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="Seksjon"/>
+ <l:gentext key="section" text="seksjon"/>
+ <l:gentext key="See" text="Se"/>
+ <l:gentext key="see" text="Se"/>
+ <l:gentext key="SeeAlso" text="Se Ogs&#229;"/>
+ <l:gentext key="Seealso" text="Se ogs&#229;"/>
+ <l:gentext key="seealso" text="Se Ogs&#229;"/>
+ <l:gentext key="Set" text=""/>
+ <l:gentext key="set" text=""/>
+ <l:gentext key="SetIndex" text="Indeks"/>
+ <l:gentext key="setindex" text="Indeks"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text=""/>
+ <l:gentext key="Step" text="Steg"/>
+ <l:gentext key="step" text="steg"/>
+ <l:gentext key="Table" text="Tabell"/>
+ <l:gentext key="table" text="Tabell"/>
+ <l:gentext key="TIP" text="TIPS"/>
+ <l:gentext key="Tip" text="Tips"/>
+ <l:gentext key="tip" text="Tips"/>
+ <l:gentext key="WARNING" text="ADVARSEL"/>
+ <l:gentext key="Warning" text="Advarsel"/>
+ <l:gentext key="warning" text="Advarsel"/>
+ <l:gentext key="and" text="og"/>
+ <l:gentext key="by" text="av"/>
+ <l:gentext key="Edited" text="Redigert"/>
+ <l:gentext key="edited" text="Redigert"/>
+ <l:gentext key="Editedby" text="Redigert av"/>
+ <l:gentext key="editedby" text="Redigert av"/>
+ <l:gentext key="in" text="i"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="ikke-eksisterende element"/>
+ <l:gentext key="notes" text="Sluttnotater"/>
+ <l:gentext key="Notes" text="Sluttnotater"/>
+ <l:gentext key="Pgs" text="Sdr."/>
+ <l:gentext key="pgs" text="Sdr."/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text="Notater"/>
+ <l:gentext key="tablenotes" text="Notater"/>
+ <l:gentext key="TableofContents" text="Innholdsfortegnelse"/>
+ <l:gentext key="tableofcontents" text="Innholdsfortegnelse"/>
+ <l:gentext key="unexpectedelementname" text="UVENTET-ELEMENTNAVN"/>
+ <l:gentext key="unsupported" text="ikke st&#248;ttet"/>
+ <l:gentext key="xrefto" text="xref til"/>
+ <l:gentext key="listofequations" text="Formeloversikt"/>
+ <l:gentext key="ListofEquations" text="Formeloversikt"/>
+ <l:gentext key="ListofExamples" text="Eksempeloversikt"/>
+ <l:gentext key="listofexamples" text="Eksempeloversikt"/>
+ <l:gentext key="ListofFigures" text="Figuroversikt"/>
+ <l:gentext key="listoffigures" text="Figuroversikt"/>
+ <l:gentext key="listoftables" text="Tabelloversikt"/>
+ <l:gentext key="ListofTables" text="Tabelloversikt"/>
+ <l:gentext key="ListofUnknown" text="???-oversikt"/>
+ <l:gentext key="listofunknown" text="???-oversikt"/>
+ <l:gentext key="nav-home" text="Hjem"/>
+ <l:gentext key="nav-next" text="Neste"/>
+ <l:gentext key="nav-next-sibling" text="Raskt Fremover"/>
+ <l:gentext key="nav-prev" text="Forrige"/>
+ <l:gentext key="nav-prev-sibling" text="Raskt Bakover"/>
+ <l:gentext key="nav-up" text="Opp"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/no.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Tillegg %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Kapittel %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Formel %n. %t"/>
+ <l:template name="example" text="Eksempel %n. %t"/>
+ <l:template name="figure" text="Figur %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Del %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Prosedyre&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabell %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Tillegg %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Kapittel %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="Tillegg&#160;%n"/>
+ <l:template name="bridgehead" text="Seksjon&#160;%n"/>
+ <l:template name="chapter" text="Kapittel&#160;%n"/>
+ <l:template name="equation" text="Formel&#160;%n"/>
+ <l:template name="example" text="Eksempel&#160;%n"/>
+ <l:template name="figure" text="Figur&#160;%n"/>
+ <l:template name="part" text="Del&#160;%n"/>
+ <l:template name="procedure" text="Prosedyre&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="sect1" text="Seksjon&#160;%n"/>
+ <l:template name="sect2" text="Seksjon&#160;%n"/>
+ <l:template name="sect3" text="Seksjon&#160;%n"/>
+ <l:template name="sect4" text="Seksjon&#160;%n"/>
+ <l:template name="sect5" text="Seksjon&#160;%n"/>
+ <l:template name="section" text="Seksjon&#160;%n"/>
+ <l:template name="table" text="Tabell&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Tillegg&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Kapittel&#160;%n, %t"/>
+ <l:template name="equation" text="Formel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Eksempel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figur&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Prosedyre&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabell&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" og "/>
+ <l:template name="seplast" text=", og "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Se "/>
+ <l:template name="seealso" text="Se Ogs&#229; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Publikum: "/>
+ <l:template name="MsgLevel" text="Niv&#229;: "/>
+ <l:template name="MsgOrig" text="Opphav: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0414 Norwegian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/pl.xml b/docs/xslt/db2latex-xsl/xsl/common/pl.xml
new file mode 100644
index 0000000000..f45a4413b7
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/pl.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pl" english-language-name="Polish">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/pl.xml -->
+ <l:gentext key="Abstract" text="Abstrakt"/>
+ <l:gentext key="abstract" text="Abstrakt"/>
+ <l:gentext key="Answer" text="Odp:"/>
+ <l:gentext key="answer" text="Odp:"/>
+ <l:gentext key="Appendix" text="Dodatek"/>
+ <l:gentext key="appendix" text="dodatek"/>
+ <l:gentext key="Article" text="Artyku&#322;"/>
+ <l:gentext key="article" text="Artyku&#322;"/>
+ <l:gentext key="Bibliography" text="Bibliografia"/>
+ <l:gentext key="bibliography" text="Bibliografia"/>
+ <l:gentext key="Book" text="Ksi&#261;&#380;ka"/>
+ <l:gentext key="book" text="Ksi&#261;&#380;ka"/>
+ <l:gentext key="CAUTION" text="PRZYPADEK"/>
+ <l:gentext key="Caution" text="Uwaga!"/>
+ <l:gentext key="caution" text="Uwaga!"/>
+ <l:gentext key="Chapter" text="Rozdzia&#322;"/>
+ <l:gentext key="chapter" text="rozdzia&#322;;"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Dedykacja"/>
+ <l:gentext key="dedication" text="Dedykacja"/>
+ <l:gentext key="Edition" text="Wydanie"/>
+ <l:gentext key="edition" text="Wydanie"/>
+ <l:gentext key="Equation" text="R&#243;wnanie"/>
+ <l:gentext key="equation" text="R&#243;wnanie"/>
+ <l:gentext key="Example" text="Przyk&#322;ad"/>
+ <l:gentext key="example" text="Przyk&#322;ad"/>
+ <l:gentext key="Figure" text="Rysunek"/>
+ <l:gentext key="figure" text="Rysunek"/>
+ <l:gentext key="Glossary" text="Glossary"/>
+ <l:gentext key="glossary" text="Glossary"/>
+ <l:gentext key="GlossSee" text="Patrz"/>
+ <l:gentext key="glosssee" text="Patrz"/>
+ <l:gentext key="GlossSeeAlso" text="Patrz te&#380;"/>
+ <l:gentext key="glossseealso" text="Patrz te&#380;"/>
+ <l:gentext key="IMPORTANT" text="WA&#379;NE"/>
+ <l:gentext key="Important" text="WA&#379;NE"/>
+ <l:gentext key="important" text="WA&#379;NE"/>
+ <l:gentext key="Index" text="Indeks"/>
+ <l:gentext key="index" text="Indeks"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text=""/>
+ <l:gentext key="legalnotice" text=""/>
+ <l:gentext key="MsgAud" text="Odbiorcy"/>
+ <l:gentext key="msgaud" text="Odbiorcy"/>
+ <l:gentext key="MsgLevel" text="Poziom"/>
+ <l:gentext key="msglevel" text="Poziom"/>
+ <l:gentext key="MsgOrig" text="Nadawca"/>
+ <l:gentext key="msgorig" text="Nadawca"/>
+ <l:gentext key="NOTE" text="Notatka"/>
+ <l:gentext key="Note" text="Notatka"/>
+ <l:gentext key="note" text="Notatka"/>
+ <l:gentext key="Part" text="Cz&#281;&#347;&#263;"/>
+ <l:gentext key="part" text="Cz&#281;&#347;&#263;"/>
+ <l:gentext key="Preface" text="Przedmowa"/>
+ <l:gentext key="preface" text="Przedmowa"/>
+ <l:gentext key="Procedure" text="Procedura"/>
+ <l:gentext key="procedure" text="Procedura"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="Data wydania"/>
+ <l:gentext key="published" text="Data wydania"/>
+ <l:gentext key="question" text="Pyt:"/>
+ <l:gentext key="Question" text="Pyt:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Materia&#322;y &#378;r&#243;d&#322;owe"/>
+ <l:gentext key="reference" text="Materia&#322;y &#378;r&#243;d&#322;owe"/>
+ <l:gentext key="RefName" text="Nazwa"/>
+ <l:gentext key="refname" text="Nazwa"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Historia zmian"/>
+ <l:gentext key="revhistory" text="Historia zmian"/>
+ <l:gentext key="Revision" text="Zmiana"/>
+ <l:gentext key="revision" text="Zmiana"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="Sekcja"/>
+ <l:gentext key="section" text="sekcja"/>
+ <l:gentext key="See" text="Patrz"/>
+ <l:gentext key="see" text="Patrz"/>
+ <l:gentext key="SeeAlso" text="Patrz te&#380;"/>
+ <l:gentext key="Seealso" text="Patrz te&#380;"/>
+ <l:gentext key="seealso" text="Patrz te&#380;"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="SetIndex" text="Indeks"/>
+ <l:gentext key="setindex" text="Indeks"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text=""/>
+ <l:gentext key="Step" text="krok"/>
+ <l:gentext key="step" text="krok"/>
+ <l:gentext key="Table" text="Tabela"/>
+ <l:gentext key="table" text="Tabela"/>
+ <l:gentext key="TIP" text="Podpowied&#378;"/>
+ <l:gentext key="Tip" text="Podpowied&#378;"/>
+ <l:gentext key="tip" text="Podpowied&#378;"/>
+ <l:gentext key="WARNING" text="Ostrze&#380;enie"/>
+ <l:gentext key="Warning" text="Ostrze&#380;enie"/>
+ <l:gentext key="warning" text="Ostrze&#380;enie"/>
+ <l:gentext key="and" text="i"/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="Edited" text="Edited"/>
+ <l:gentext key="edited" text="Edited"/>
+ <l:gentext key="Editedby" text="Redakcja: "/>
+ <l:gentext key="editedby" text="Redakcja: "/>
+ <l:gentext key="in" text="w"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="nie istniej&#261;cy element"/>
+ <l:gentext key="notes" text="Przypisy"/>
+ <l:gentext key="Notes" text="Przypisy"/>
+ <l:gentext key="Pgs" text="stron"/>
+ <l:gentext key="pgs" text="stron"/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text="Przypisy"/>
+ <l:gentext key="tablenotes" text="Przypisy"/>
+ <l:gentext key="TableofContents" text="Spis tre&#347;ci"/>
+ <l:gentext key="tableofcontents" text="Spis tre&#347;ci"/>
+ <l:gentext key="unexpectedelementname" text="Unexpected element name"/>
+ <l:gentext key="unsupported" text="nie wspierany"/>
+ <l:gentext key="xrefto" text="xref to"/>
+ <l:gentext key="listofequations" text="Spis r&#243;wna&#324;"/>
+ <l:gentext key="ListofEquations" text="Spis r&#243;wna&#324;"/>
+ <l:gentext key="ListofExamples" text="Spis przyk&#322;ad&#243;w"/>
+ <l:gentext key="listofexamples" text="Spis przyk&#322;ad&#243;w"/>
+ <l:gentext key="ListofFigures" text="Spis rysunk&#243;w"/>
+ <l:gentext key="listoffigures" text="Spis rysunk&#243;w"/>
+ <l:gentext key="listoftables" text="Spis tabel"/>
+ <l:gentext key="ListofTables" text="Spis tabel"/>
+ <l:gentext key="ListofUnknown" text="Spis ???"/>
+ <l:gentext key="listofunknown" text="Spis ???"/>
+ <l:gentext key="nav-home" text="Spis tre&#347;ci"/>
+ <l:gentext key="nav-next" text="Nast&#281;pny"/>
+ <l:gentext key="nav-next-sibling" text="Nast&#281;pny rozdzia&#322;"/>
+ <l:gentext key="nav-prev" text="Poprzedni"/>
+ <l:gentext key="nav-prev-sibling" text="Poprzedni rozdzia&#322;"/>
+ <l:gentext key="nav-up" text="Pocz&#261;tek rozdzia&#322;u"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/pl.xml -->
+ <l:dingbat key="startquote" text="&#8222;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#171;"/>
+ <l:dingbat key="nestedendquote" text="&#187;"/>
+ <l:dingbat key="bullet" text="&#2022;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Dodatek %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Rozdzia&#322; %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="R&#243;wnanie %n. %t"/>
+ <l:template name="example" text="Przyk&#322;ad %n. %t"/>
+ <l:template name="figure" text="Rysunek %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Cz&#281;&#347;&#263; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedura&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabela %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Dodatek %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Rozdzia&#322; %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Odp:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Pyt:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Pyt:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8222;%t&#8221;"/>
+ <l:template name="refsection" text="&#8222;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8222;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8222;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8222;%t&#8221;"/>
+ <l:template name="sect1" text="&#8222;%t&#8221;"/>
+ <l:template name="sect2" text="&#8222;%t&#8221;"/>
+ <l:template name="sect3" text="&#8222;%t&#8221;"/>
+ <l:template name="sect4" text="&#8222;%t&#8221;"/>
+ <l:template name="sect5" text="&#8222;%t&#8221;"/>
+ <l:template name="section" text="&#8222;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8222;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Odp:&#160;%n"/>
+ <l:template name="appendix" text="Dodatek&#160;%n"/>
+ <l:template name="bridgehead" text="Sekcja&#160;%n"/>
+ <l:template name="chapter" text="Rozdzia&#322;&#160;%n"/>
+ <l:template name="equation" text="R&#243;wnanie&#160;%n"/>
+ <l:template name="example" text="Przyk&#322;ad&#160;%n"/>
+ <l:template name="figure" text="Rysunek&#160;%n"/>
+ <l:template name="part" text="Cz&#281;&#347;&#263;&#160;%n"/>
+ <l:template name="procedure" text="Procedura&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Pyt:&#160;%n"/>
+ <l:template name="question" text="Pyt:&#160;%n"/>
+ <l:template name="sect1" text="Sekcja&#160;%n"/>
+ <l:template name="sect2" text="Sekcja&#160;%n"/>
+ <l:template name="sect3" text="Sekcja&#160;%n"/>
+ <l:template name="sect4" text="Sekcja&#160;%n"/>
+ <l:template name="sect5" text="Sekcja&#160;%n"/>
+ <l:template name="section" text="Sekcja&#160;%n"/>
+ <l:template name="table" text="Tabela&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Dodatek&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="chapter" text="Rozdzia&#322;&#160;%n, %t"/>
+ <l:template name="equation" text="R&#243;wnanie&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="example" text="Przyk&#322;ad&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="figure" text="Rysunek&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="part" text="Cz&#281;&#347;&#263;&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="procedure" text="Procedura&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8222;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8222;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8222;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8222;%t&#8221;"/>
+ <l:template name="sect1" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="sect2" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="sect3" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="sect4" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="sect5" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="section" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8222;%t&#8221;"/>
+ <l:template name="table" text="Tabela&#160;%n, &#8222;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" i "/>
+ <l:template name="seplast" text=", i "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Patrz "/>
+ <l:template name="seealso" text="Patrz te&#380; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Odbiorcy: "/>
+ <l:template name="MsgLevel" text="Poziom: "/>
+ <l:template name="MsgOrig" text="Nadawca: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0415 Polish"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/pt.xml b/docs/xslt/db2latex-xsl/xsl/common/pt.xml
new file mode 100644
index 0000000000..1c03625c13
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/pt.xml
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt" english-language-name="Portuguese">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/pt.xml -->
+ <l:gentext key="Abstract" text="Resumo"/>
+ <l:gentext key="abstract" text="Resumo"/>
+ <l:gentext key="Answer" text="R:"/>
+ <l:gentext key="answer" text="R:"/>
+ <l:gentext key="Appendix" text="Ap&#234;ndice"/>
+ <l:gentext key="appendix" text="ap&#234;ndice"/>
+ <l:gentext key="Article" text="Artigo"/>
+ <l:gentext key="article" text="Artigo"/>
+ <l:gentext key="Bibliography" text="Bibliografia"/>
+ <l:gentext key="bibliography" text="Bibliografia"/>
+ <l:gentext key="Book" text="Livro"/>
+ <l:gentext key="book" text="Livro"/>
+ <l:gentext key="CAUTION" text="CAUTELA"/>
+ <l:gentext key="Caution" text="Cautela"/>
+ <l:gentext key="caution" text="Cautela"/>
+ <l:gentext key="Chapter" text="Cap&#237;tulo"/>
+ <l:gentext key="chapter" text="cap&#237;tulo"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Dedicat&#243;ria"/>
+ <l:gentext key="dedication" text="Dedicat&#243;ria"/>
+ <l:gentext key="Edition" text="Edi&#231;&#227;o"/>
+ <l:gentext key="edition" text="Edi&#231;&#227;o"/>
+ <l:gentext key="Equation" text="Equa&#231;&#227;o"/>
+ <l:gentext key="equation" text="Equa&#231;&#227;o"/>
+ <l:gentext key="Example" text="Exemplo"/>
+ <l:gentext key="example" text="Exemplo"/>
+ <l:gentext key="Figure" text="Figura"/>
+ <l:gentext key="figure" text="Figura"/>
+ <l:gentext key="Glossary" text="Gloss&#193;rio"/>
+ <l:gentext key="glossary" text="Gloss&#193;rio"/>
+ <l:gentext key="GlossSee" text="Ver"/>
+ <l:gentext key="glosssee" text="Ver"/>
+ <l:gentext key="GlossSeeAlso" text="Ver Tamb&#233;m"/>
+ <l:gentext key="glossseealso" text="Ver Tamb&#233;m"/>
+ <l:gentext key="IMPORTANT" text="IMPORTANTE"/>
+ <l:gentext key="Important" text="Importante"/>
+ <l:gentext key="important" text="Importante"/>
+ <l:gentext key="Index" text="&#205;ndice Remissivo"/>
+ <l:gentext key="index" text="&#205;ndice Remissivo"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Aviso Legal"/>
+ <l:gentext key="legalnotice" text="Aviso Legal"/>
+ <l:gentext key="MsgAud" text="Audi&#234;ncia"/>
+ <l:gentext key="msgaud" text="Audi&#234;ncia"/>
+ <l:gentext key="MsgLevel" text="N&#237;vel"/>
+ <l:gentext key="msglevel" text="N&#237;vel"/>
+ <l:gentext key="MsgOrig" text="Origem"/>
+ <l:gentext key="msgorig" text="Origem"/>
+ <l:gentext key="NOTE" text="NOTA"/>
+ <l:gentext key="Note" text="Nota"/>
+ <l:gentext key="note" text="Nota"/>
+ <l:gentext key="Part" text="Parte"/>
+ <l:gentext key="part" text="Parte"/>
+ <l:gentext key="Preface" text="Pref&#225;cio"/>
+ <l:gentext key="preface" text="Pref&#225;cio"/>
+ <l:gentext key="Procedure" text="Procedimento"/>
+ <l:gentext key="procedure" text="Procedimento"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="PubDate" text="Editado"/>
+ <l:gentext key="pubdate" text="Editado"/>
+ <l:gentext key="Published" text="Publicado"/>
+ <l:gentext key="published" text="Publicado"/>
+ <l:gentext key="Question" text="P:"/>
+ <l:gentext key="question" text="P:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Refer&#234;ncia"/>
+ <l:gentext key="reference" text="Refer&#234;ncia"/>
+ <l:gentext key="RefName" text="Nome"/>
+ <l:gentext key="refname" text="Nome"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Sinopse"/>
+ <l:gentext key="refsynopsisdiv" text="Sinopse"/>
+ <l:gentext key="RevHistory" text="Historial de Revis&#245;es"/>
+ <l:gentext key="revhistory" text="Historial de Revis&#245;es"/>
+ <l:gentext key="Revision" text="Revis&#227;o"/>
+ <l:gentext key="revision" text="Revis&#227;o"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="Sec&#231;&#227;o"/>
+ <l:gentext key="section" text="sec&#231;&#227;o"/>
+ <l:gentext key="See" text="Ver"/>
+ <l:gentext key="see" text="Ver"/>
+ <l:gentext key="SeeAlso" text="Ver Tamb&#233;m"/>
+ <l:gentext key="Seealso" text="ver tamb&#233;m"/>
+ <l:gentext key="seealso" text="Ver Tamb&#233;m"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="SetIndex" text="Set Index"/>
+ <l:gentext key="setindex" text="Set Index"/>
+ <l:gentext key="Sidebar" text="Sidebar"/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="Step" text="Passo"/>
+ <l:gentext key="step" text="passo"/>
+ <l:gentext key="Table" text="Tabela"/>
+ <l:gentext key="table" text="Tabela"/>
+ <l:gentext key="TIP" text="DICA"/>
+ <l:gentext key="Tip" text="Dica"/>
+ <l:gentext key="tip" text="Dica"/>
+ <l:gentext key="WARNING" text="ATEN&#199;&#195;O"/>
+ <l:gentext key="Warning" text="Aten&#231;&#227;o"/>
+ <l:gentext key="warning" text="Aten&#231;&#227;o"/>
+ <l:gentext key="and" text="e"/>
+ <l:gentext key="by" text="por"/>
+ <l:gentext key="Edited" text="Editado"/>
+ <l:gentext key="edited" text="Editado"/>
+ <l:gentext key="Editedby" text="Editado por"/>
+ <l:gentext key="editedby" text="Editado por"/>
+ <l:gentext key="in" text=""/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="non-existant element"/>
+ <l:gentext key="notes" text="Notas"/>
+ <l:gentext key="Notes" text="Notas"/>
+ <l:gentext key="Pgs" text="P&#225;ginas"/>
+ <l:gentext key="pgs" text="P&#225;ginas"/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text="Notas"/>
+ <l:gentext key="tablenotes" text="Notas"/>
+ <l:gentext key="TableofContents" text="&#205;ndice"/>
+ <l:gentext key="tableofcontents" text="&#205;ndice"/>
+ <l:gentext key="unexpectedelementname" text="Unexpected element name"/>
+ <l:gentext key="unsupported" text="unsupported"/>
+ <l:gentext key="xrefto" text="xref to"/>
+ <l:gentext key="listofequations" text="Lista de Equa&#231;&#245;es"/>
+ <l:gentext key="ListofEquations" text="Lista de Equa&#231;&#245;es"/>
+ <l:gentext key="ListofExamples" text="Lista de Exemplos"/>
+ <l:gentext key="listofexamples" text="Lista de Exemplos"/>
+ <l:gentext key="ListofFigures" text="Lista de Figuras"/>
+ <l:gentext key="listoffigures" text="Lista de Figuras"/>
+ <l:gentext key="listoftables" text="Lista de Tabelas"/>
+ <l:gentext key="ListofTables" text="Lista de Tabelas"/>
+ <l:gentext key="ListofUnknown" text="List of ???"/>
+ <l:gentext key="listofunknown" text="List of ???"/>
+ <l:gentext key="nav-home" text="Home"/>
+ <l:gentext key="nav-next" text="Next"/>
+ <l:gentext key="nav-next-sibling" text="Fast Forward"/>
+ <l:gentext key="nav-prev" text="Prev"/>
+ <l:gentext key="nav-prev-sibling" text="Fast Backward"/>
+ <l:gentext key="nav-up" text="Up"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/pt.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Ap&#234;ndice %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Equa&#231;&#227;o %n. %t"/>
+ <l:template name="example" text="Exemplo %n. %t"/>
+ <l:template name="figure" text="Figura %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Parte %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedimento&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Pergunta %n"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabela %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Ap&#234;ndice %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="R:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="P:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="P:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="R:&#160;%n"/>
+ <l:template name="appendix" text="Ap&#234;ndice&#160;%n"/>
+ <l:template name="bridgehead" text="Sec&#231;&#227;o&#160;%n"/>
+ <l:template name="chapter" text="Cap&#237;tulo&#160;%n"/>
+ <l:template name="equation" text="Equa&#231;&#227;o&#160;%n"/>
+ <l:template name="example" text="Exemplo&#160;%n"/>
+ <l:template name="figure" text="Figura&#160;%n"/>
+ <l:template name="part" text="Parte&#160;%n"/>
+ <l:template name="procedure" text="Procedimento&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="P:&#160;%n"/>
+ <l:template name="question" text="P:&#160;%n"/>
+ <l:template name="sect1" text="Sec&#231;&#227;o&#160;%n"/>
+ <l:template name="sect2" text="Sec&#231;&#227;o&#160;%n"/>
+ <l:template name="sect3" text="Sec&#231;&#227;o&#160;%n"/>
+ <l:template name="sect4" text="Sec&#231;&#227;o&#160;%n"/>
+ <l:template name="sect5" text="Sec&#231;&#227;o&#160;%n"/>
+ <l:template name="section" text="Sec&#231;&#227;o&#160;%n"/>
+ <l:template name="table" text="Tabela&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Ap&#234;ndice&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Cap&#237;tulo&#160;%n, %t"/>
+ <l:template name="equation" text="Equa&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Exemplo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Parte&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procedimento&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" e "/>
+ <l:template name="seplast" text=", e "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Ver "/>
+ <l:template name="seealso" text="Ver Tamb&#233;m "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Audi&#234;ncia: "/>
+ <l:template name="MsgLevel" text="N&#237;vel: "/>
+ <l:template name="MsgOrig" text="Origem: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0816 Portuguese (PORTUGAL)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/pt_br.xml b/docs/xslt/db2latex-xsl/xsl/common/pt_br.xml
new file mode 100644
index 0000000000..3413cf46a1
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/pt_br.xml
@@ -0,0 +1,442 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt_br" english-language-name="Portuguese (Brazil)">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/pt_br.xml -->
+ <l:gentext key="Abstract" text="Resumo"/>
+ <l:gentext key="abstract" text="Resumo"/>
+ <l:gentext key="Answer" text="R:"/>
+ <l:gentext key="answer" text="R:"/>
+ <l:gentext key="Appendix" text="Ap&#234;ndice"/>
+ <l:gentext key="appendix" text="ap&#234;ndice"/>
+ <l:gentext key="Article" text="Artigo"/>
+ <l:gentext key="article" text="Artigo"/>
+ <l:gentext key="Bibliography" text="Bibliografia"/>
+ <l:gentext key="bibliography" text="Bibliografia"/>
+ <l:gentext key="Book" text="Livro"/>
+ <l:gentext key="book" text="Livro"/>
+ <l:gentext key="CAUTION" text="CUIDADO"/>
+ <l:gentext key="Caution" text="Cuidado"/>
+ <l:gentext key="caution" text="Cuidado"/>
+ <l:gentext key="Chapter" text="Cap&#237;tulo"/>
+ <l:gentext key="chapter" text="cap&#237;tulo"/>
+ <l:gentext key="Colophon" text="Considera&#231;&#245;es finais"/>
+ <l:gentext key="colophon" text="Considera&#231;&#245;es finais"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Dedicat&#243;ria"/>
+ <l:gentext key="dedication" text="Dedicat&#243;ria"/>
+ <l:gentext key="Edition" text="Edi&#231;&#227;o"/>
+ <l:gentext key="edition" text="Edi&#231;&#227;o"/>
+ <l:gentext key="Equation" text="Equa&#231;&#227;o"/>
+ <l:gentext key="equation" text="Equa&#231;&#227;o"/>
+ <l:gentext key="Example" text="Exemplo"/>
+ <l:gentext key="example" text="Exemplo"/>
+ <l:gentext key="Figure" text="Figura"/>
+ <l:gentext key="figure" text="Figura"/>
+ <l:gentext key="Glossary" text="Gloss&#225;rio"/>
+ <l:gentext key="glossary" text="Gloss&#225;rio"/>
+ <l:gentext key="GlossSee" text="Ver"/>
+ <l:gentext key="glosssee" text="Ver"/>
+ <l:gentext key="GlossSeeAlso" text="Ver Tamb&#233;m"/>
+ <l:gentext key="glossseealso" text="Ver Tamb&#233;m"/>
+ <l:gentext key="IMPORTANT" text="IMPORTANTE"/>
+ <l:gentext key="Important" text="Importante"/>
+ <l:gentext key="important" text="Importante"/>
+ <l:gentext key="Index" text="&#205;ndice Remissivo"/>
+ <l:gentext key="index" text="&#205;ndice Remissivo"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Nota Legal"/>
+ <l:gentext key="legalnotice" text="Nota Legal"/>
+ <l:gentext key="MsgAud" text="Audi&#234;ncia"/>
+ <l:gentext key="msgaud" text="Audi&#234;ncia"/>
+ <l:gentext key="MsgLevel" text="N&#237;vel"/>
+ <l:gentext key="msglevel" text="N&#237;vel"/>
+ <l:gentext key="MsgOrig" text="Origem"/>
+ <l:gentext key="msgorig" text="Origem"/>
+ <l:gentext key="NOTE" text="NOTA"/>
+ <l:gentext key="Note" text="Nota"/>
+ <l:gentext key="note" text="Nota"/>
+ <l:gentext key="Part" text="Parte"/>
+ <l:gentext key="part" text="Parte"/>
+ <l:gentext key="Preface" text="Pref&#225;cio"/>
+ <l:gentext key="preface" text="Pref&#225;cio"/>
+ <l:gentext key="Procedure" text="Procedimento"/>
+ <l:gentext key="procedure" text="Procedimento"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="PubDate" text="Data de Publica&#231;&#227;o"/>
+ <l:gentext key="pubdate" text="Data de Publica&#231;&#227;o"/>
+ <l:gentext key="Published" text="Publicado"/>
+ <l:gentext key="published" text="Publicado"/>
+ <l:gentext key="Question" text="P:"/>
+ <l:gentext key="question" text="P:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Refer&#234;ncia"/>
+ <l:gentext key="reference" text="Refer&#234;ncia"/>
+ <l:gentext key="RefName" text="Nome"/>
+ <l:gentext key="refname" text="Nome"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Sinopse"/>
+ <l:gentext key="refsynopsisdiv" text="Sinopse"/>
+ <l:gentext key="RevHistory" text="Hist&#243;rico de Revis&#245;es"/>
+ <l:gentext key="revhistory" text="Hist&#243;rico de Revis&#245;es"/>
+ <l:gentext key="Revision" text="Revis&#227;o"/>
+ <l:gentext key="revision" text="Revis&#227;o"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="Se&#231;&#227;o"/>
+ <l:gentext key="section" text="se&#231;&#227;o"/>
+ <l:gentext key="See" text="Ver"/>
+ <l:gentext key="see" text="Ver"/>
+ <l:gentext key="SeeAlso" text="Ver Tamb&#233;m"/>
+ <l:gentext key="Seealso" text="ver tamb&#233;m"/>
+ <l:gentext key="seealso" text="Ver Tamb&#233;m"/>
+ <l:gentext key="Set" text="Conjunto"/>
+ <l:gentext key="set" text="Conjunto"/>
+ <l:gentext key="SetIndex" text="&#205;ndice do Conjunto"/>
+ <l:gentext key="setindex" text="&#205;ndice do Conjunto"/>
+ <l:gentext key="Sidebar" text="Quadro Lateral"/>
+ <l:gentext key="sidebar" text="quadro lateral"/>
+ <l:gentext key="Step" text="Passo"/>
+ <l:gentext key="step" text="passo"/>
+ <l:gentext key="Table" text="Tabela"/>
+ <l:gentext key="table" text="Tabela"/>
+ <l:gentext key="TIP" text="DICA"/>
+ <l:gentext key="Tip" text="Dica"/>
+ <l:gentext key="tip" text="Dica"/>
+ <l:gentext key="WARNING" text="ATEN&#199;&#195;O"/>
+ <l:gentext key="Warning" text="Aten&#231;&#227;o"/>
+ <l:gentext key="warning" text="Aten&#231;&#227;o"/>
+ <l:gentext key="and" text="e"/>
+ <l:gentext key="by" text="por"/>
+ <l:gentext key="edited" text="Editado"/>
+ <l:gentext key="Edited" text="Editado"/>
+ <l:gentext key="editedby" text="Editado por"/>
+ <l:gentext key="Editedby" text="Editado por"/>
+ <l:gentext key="in" text=""/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="elemento inexistente"/>
+ <l:gentext key="Notes" text="Notas"/>
+ <l:gentext key="notes" text="Notas"/>
+ <l:gentext key="Pgs" text="P&#225;ginas"/>
+ <l:gentext key="pgs" text="P&#225;ginas"/>
+ <l:gentext key="Revisedby" text="Revisado por: "/>
+ <l:gentext key="revisedby" text="Revisado por: "/>
+ <l:gentext key="tablenotes" text="Notas"/>
+ <l:gentext key="TableNotes" text="Notas"/>
+ <l:gentext key="TableofContents" text="&#205;ndice"/>
+ <l:gentext key="tableofcontents" text="&#205;ndice"/>
+ <l:gentext key="unexpectedelementname" text="Nome de elemento inesperado"/>
+ <l:gentext key="unsupported" text="n&#227;o suportado"/>
+ <l:gentext key="xrefto" text="refer&#234;ncia para"/>
+ <l:gentext key="listofequations" text="Lista de Equa&#231;&#245;es"/>
+ <l:gentext key="ListofEquations" text="Lista de Equa&#231;&#245;es"/>
+ <l:gentext key="ListofExamples" text="Lista de Exemplos"/>
+ <l:gentext key="listofexamples" text="Lista de Exemplos"/>
+ <l:gentext key="ListofFigures" text="Lista de Figuras"/>
+ <l:gentext key="listoffigures" text="Lista de Figuras"/>
+ <l:gentext key="listoftables" text="Lista de Tabelas"/>
+ <l:gentext key="ListofTables" text="Lista de Tabelas"/>
+ <l:gentext key="ListofUnknown" text="Lista de ???"/>
+ <l:gentext key="listofunknown" text="Lista de ???"/>
+ <l:gentext key="nav-home" text="Principal"/>
+ <l:gentext key="nav-next" text="Pr&#243;xima"/>
+ <l:gentext key="nav-next-sibling" text="Fim"/>
+ <l:gentext key="nav-prev" text="Anterior"/>
+ <l:gentext key="nav-prev-sibling" text="In&#237;cio"/>
+ <l:gentext key="nav-up" text="Acima"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/pt_br.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Ap&#234;ndice %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Equa&#231;&#227;o %n. %t"/>
+ <l:template name="example" text="Exemplo %n. %t"/>
+ <l:template name="figure" text="Figura %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Parte %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedimento&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabela %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Ap&#234;ndice %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="R:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="P:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="P:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="R:&#160;%n"/>
+ <l:template name="appendix" text="Ap&#234;ndice&#160;%n"/>
+ <l:template name="bridgehead" text="Se&#231;&#227;o&#160;%n"/>
+ <l:template name="chapter" text="Cap&#237;tulo&#160;%n"/>
+ <l:template name="equation" text="Equa&#231;&#227;o&#160;%n"/>
+ <l:template name="example" text="Exemplo&#160;%n"/>
+ <l:template name="figure" text="Figura&#160;%n"/>
+ <l:template name="part" text="Parte&#160;%n"/>
+ <l:template name="procedure" text="Procedimento&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="P:&#160;%n"/>
+ <l:template name="question" text="P:&#160;%n"/>
+ <l:template name="sect1" text="Se&#231;&#227;o&#160;%n"/>
+ <l:template name="sect2" text="Se&#231;&#227;o&#160;%n"/>
+ <l:template name="sect3" text="Se&#231;&#227;o&#160;%n"/>
+ <l:template name="sect4" text="Se&#231;&#227;o&#160;%n"/>
+ <l:template name="sect5" text="Se&#231;&#227;o&#160;%n"/>
+ <l:template name="section" text="Se&#231;&#227;o&#160;%n"/>
+ <l:template name="table" text="Tabela&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Ap&#234;ndice&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Cap&#237;tulo&#160;%n, %t"/>
+ <l:template name="equation" text="Equa&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Exemplo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Parte&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procedimento&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" e "/>
+ <l:template name="seplast" text=", e "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Ver "/>
+ <l:template name="seealso" text="Ver Tamb&#233;m "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Audi&#234;ncia: "/>
+ <l:template name="MsgLevel" text="N&#237;vel: "/>
+ <l:template name="MsgOrig" text="Origem: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0416 Portuguese (BRAZIL)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/ro.xml b/docs/xslt/db2latex-xsl/xsl/common/ro.xml
new file mode 100644
index 0000000000..cab9383442
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/ro.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ro" english-language-name="Romanian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ro.xml -->
+ <l:gentext key="Abstract" text="Rezumat"/>
+ <l:gentext key="abstract" text="Rezumat"/>
+ <l:gentext key="Answer" text="A:"/>
+ <l:gentext key="answer" text="A:"/>
+ <l:gentext key="Appendix" text="Anexa"/>
+ <l:gentext key="appendix" text="anexa"/>
+ <l:gentext key="Article" text="Articol"/>
+ <l:gentext key="article" text="Articol"/>
+ <l:gentext key="Bibliography" text="Bibliografie"/>
+ <l:gentext key="bibliography" text="Bibliografie"/>
+ <l:gentext key="Book" text="Carte"/>
+ <l:gentext key="book" text="Carte"/>
+ <l:gentext key="CAUTION" text="ATEN&#222;IE"/>
+ <l:gentext key="Caution" text="Aten&#254;ie"/>
+ <l:gentext key="caution" text="Aten&#254;ie"/>
+ <l:gentext key="Chapter" text="Cap."/>
+ <l:gentext key="chapter" text="cap."/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Dedica&#254;ie"/>
+ <l:gentext key="dedication" text="Dedica&#254;ie"/>
+ <l:gentext key="Edition" text="Edi&#254;ie"/>
+ <l:gentext key="edition" text="Edi&#254;ie"/>
+ <l:gentext key="Equation" text="ecua&#254;ia"/>
+ <l:gentext key="equation" text="ecua&#254;ia"/>
+ <l:gentext key="Example" text="Exemplu"/>
+ <l:gentext key="example" text="Exemplu"/>
+ <l:gentext key="Figure" text="Fig."/>
+ <l:gentext key="figure" text="Fig."/>
+ <l:gentext key="Glossary" text="Glosar"/>
+ <l:gentext key="glossary" text="Glosar"/>
+ <l:gentext key="GlossSee" text="Vezi"/>
+ <l:gentext key="glosssee" text="Vezi"/>
+ <l:gentext key="GlossSeeAlso" text="Vezi &#351;i"/>
+ <l:gentext key="glossseealso" text="Vezi &#351;i"/>
+ <l:gentext key="IMPORTANT" text="IMPORTANT"/>
+ <l:gentext key="Important" text="Important"/>
+ <l:gentext key="important" text="Important"/>
+ <l:gentext key="Index" text="Index"/>
+ <l:gentext key="index" text="Index"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text=""/>
+ <l:gentext key="legalnotice" text=""/>
+ <l:gentext key="MsgAud" text=""/>
+ <l:gentext key="msgaud" text=""/>
+ <l:gentext key="MsgLevel" text="Nivel"/>
+ <l:gentext key="msglevel" text="Nivel"/>
+ <l:gentext key="MsgOrig" text="Origine"/>
+ <l:gentext key="msgorig" text="Origine"/>
+ <l:gentext key="NOTE" text="NOT&#195;"/>
+ <l:gentext key="Note" text="Not&#227;"/>
+ <l:gentext key="note" text="Not&#227;"/>
+ <l:gentext key="Part" text="Parte"/>
+ <l:gentext key="part" text="Parte"/>
+ <l:gentext key="Preface" text="Prefa&#254;&#227;"/>
+ <l:gentext key="preface" text="Prefa&#254;&#227;"/>
+ <l:gentext key="Procedure" text="Procedur&#227;"/>
+ <l:gentext key="procedure" text="Procedur&#227;"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="Publicat"/>
+ <l:gentext key="published" text="Publicat"/>
+ <l:gentext key="Question" text="Q:"/>
+ <l:gentext key="question" text="Q:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Referin&#254;&#227;"/>
+ <l:gentext key="reference" text="Referin&#254;&#227;"/>
+ <l:gentext key="RefName" text="Nume"/>
+ <l:gentext key="refname" text="Nume"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Rezumat"/>
+ <l:gentext key="refsynopsisdiv" text="Rezumat"/>
+ <l:gentext key="RevHistory" text="Istoricul versiunilor"/>
+ <l:gentext key="revhistory" text="Istoricul versiunilor"/>
+ <l:gentext key="Revision" text="Versiune"/>
+ <l:gentext key="revision" text="Versiune"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="Sec&#254;iune"/>
+ <l:gentext key="section" text="sec."/>
+ <l:gentext key="See" text="Vezi"/>
+ <l:gentext key="see" text="Vezi"/>
+ <l:gentext key="SeeAlso" text="Vezi &#351;i"/>
+ <l:gentext key="Seealso" text="Vezi &#351;i"/>
+ <l:gentext key="seealso" text="Vezi &#351;i"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="SetIndex" text="Index"/>
+ <l:gentext key="setindex" text="Index"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="Step" text="Opera&#254;ie"/>
+ <l:gentext key="step" text="opera&#254;iune"/>
+ <l:gentext key="Table" text="Tabel"/>
+ <l:gentext key="table" text="Tabel"/>
+ <l:gentext key="TIP" text="INDICA&#222;IE"/>
+ <l:gentext key="Tip" text="Indica&#254;ie"/>
+ <l:gentext key="tip" text="Indica&#254;ie"/>
+ <l:gentext key="WARNING" text="AVERTISMENT"/>
+ <l:gentext key="Warning" text="Avertisment"/>
+ <l:gentext key="warning" text="Avertisment"/>
+ <l:gentext key="and" text="&#351;i"/>
+ <l:gentext key="by" text="de"/>
+ <l:gentext key="Edited" text="Publicat"/>
+ <l:gentext key="edited" text="Publicat"/>
+ <l:gentext key="Editedby" text="Publicat de"/>
+ <l:gentext key="editedby" text="Publicat de"/>
+ <l:gentext key="in" text="&#238;n"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="element inexistent"/>
+ <l:gentext key="notes" text="Note"/>
+ <l:gentext key="Notes" text="Note"/>
+ <l:gentext key="Pgs" text="Pagini"/>
+ <l:gentext key="pgs" text="Pagini"/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text="Remarci"/>
+ <l:gentext key="tablenotes" text="Remarci"/>
+ <l:gentext key="TableofContents" text="Cuprins"/>
+ <l:gentext key="tableofcontents" text="Cuprins"/>
+ <l:gentext key="unexpectedelementname" text="Nume de element nea&#351;teptat"/>
+ <l:gentext key="unsupported" text="nerecunoscut de sisitem"/>
+ <l:gentext key="xrefto" text="referin&#254;&#227; c&#227;tre"/>
+ <l:gentext key="listofequations" text="List&#227; de ecua&#254;ii"/>
+ <l:gentext key="ListofEquations" text="List&#227; de ecua&#254;ii"/>
+ <l:gentext key="ListofExamples" text="List&#227; de exemple"/>
+ <l:gentext key="listofexamples" text="List&#227; de exemple"/>
+ <l:gentext key="ListofFigures" text="List&#227; de figuri"/>
+ <l:gentext key="listoffigures" text="List&#227; de figuri"/>
+ <l:gentext key="listoftables" text="List&#227; de tabele"/>
+ <l:gentext key="ListofTables" text="List&#227; de tabele"/>
+ <l:gentext key="ListofUnknown" text="List&#227; de necunoscute"/>
+ <l:gentext key="listofunknown" text="List&#227; de necunoscute"/>
+ <l:gentext key="nav-home" text="Acas&#227;"/>
+ <l:gentext key="nav-next" text="&#206;nainte"/>
+ <l:gentext key="nav-next-sibling" text="Repede &#239;nainte"/>
+ <l:gentext key="nav-prev" text="&#206;napoi"/>
+ <l:gentext key="nav-prev-sibling" text="Repede &#238;napoi"/>
+ <l:gentext key="nav-up" text="Sus"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ro.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Anexa %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Cap. %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="ecua&#254;ia %n. %t"/>
+ <l:template name="example" text="Exemplu %n. %t"/>
+ <l:template name="figure" text="Fig. %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Parte %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedur&#227;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabel %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Anexa %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Cap. %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="Anexa&#160;%n"/>
+ <l:template name="bridgehead" text="Sec&#254;iune&#160;%n"/>
+ <l:template name="chapter" text="Cap.&#160;%n"/>
+ <l:template name="equation" text="ecua&#254;ia&#160;%n"/>
+ <l:template name="example" text="Exemplu&#160;%n"/>
+ <l:template name="figure" text="Fig.&#160;%n"/>
+ <l:template name="part" text="Parte&#160;%n"/>
+ <l:template name="procedure" text="Procedur&#227;&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="sect1" text="Sec&#254;iune&#160;%n"/>
+ <l:template name="sect2" text="Sec&#254;iune&#160;%n"/>
+ <l:template name="sect3" text="Sec&#254;iune&#160;%n"/>
+ <l:template name="sect4" text="Sec&#254;iune&#160;%n"/>
+ <l:template name="sect5" text="Sec&#254;iune&#160;%n"/>
+ <l:template name="section" text="Sec&#254;iune&#160;%n"/>
+ <l:template name="table" text="Tabel&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Anexa&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Sec&#254;iune&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Cap.&#160;%n, %t"/>
+ <l:template name="equation" text="ecua&#254;ia&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Exemplu&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Fig.&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Parte&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procedur&#227;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Sec&#254;iune&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Sec&#254;iune&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Sec&#254;iune&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Sec&#254;iune&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Sec&#254;iune&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Sec&#254;iune&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#351;i "/>
+ <l:template name="seplast" text=", &#351;i "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Vezi "/>
+ <l:template name="seealso" text="Vezi &#351;i "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text=": "/>
+ <l:template name="MsgLevel" text="Nivel: "/>
+ <l:template name="MsgOrig" text="Origine: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0418 Romanian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/ru.xml b/docs/xslt/db2latex-xsl/xsl/common/ru.xml
new file mode 100644
index 0000000000..ad5dd822ad
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/ru.xml
@@ -0,0 +1,517 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ru" english-language-name="Russian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ru.xml -->
+ <l:gentext key="Abstract" text="&#1040;&#1085;&#1085;&#1086;&#1090;&#1072;&#1094;&#1080;&#1103;"/>
+ <l:gentext key="abstract" text="&#1040;&#1085;&#1085;&#1086;&#1090;&#1072;&#1094;&#1080;&#1103;"/>
+ <l:gentext key="Answer" text="&#1054;:"/>
+ <l:gentext key="answer" text="&#1054;:"/>
+ <l:gentext key="Appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="appendix" text="&#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Appendix.abr" text="&#1055;&#1088;&#1080;&#1083;."/>
+ <l:gentext key="appendix.abr" text="&#1055;&#1088;&#1080;&#1083;."/>
+ <l:gentext key="Article" text="&#1057;&#1090;&#1072;&#1090;&#1100;&#1103;"/>
+ <l:gentext key="article" text="&#1057;&#1090;&#1072;&#1090;&#1100;&#1103;"/>
+ <l:gentext key="Audience" text="&#1040;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1080;&#1103;"/>
+ <l:gentext key="audience" text="&#1040;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1080;&#1103;"/>
+ <l:gentext key="Bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="Book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+ <l:gentext key="book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+ <l:gentext key="CAUTION" text="&#1055;&#1056;&#1045;&#1044;&#1054;&#1057;&#1058;&#1045;&#1056;&#1045;&#1046;&#1045;&#1053;&#1048;&#1045;"/>
+ <l:gentext key="Caution" text="&#1055;&#1088;&#1077;&#1076;&#1086;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="caution" text="&#1055;&#1088;&#1077;&#1076;&#1086;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;"/>
+ <l:gentext key="chapter" text="&#1075;&#1083;&#1072;&#1074;&#1072;"/>
+ <l:gentext key="Chapter.abr" text="&#1043;&#1083;."/>
+ <l:gentext key="chapter.abr" text="&#1043;&#1083;."/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="&#1055;&#1086;&#1089;&#1074;&#1103;&#1097;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="dedication" text="&#1055;&#1086;&#1089;&#1074;&#1103;&#1097;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Edition" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1103;"/>
+ <l:gentext key="edition" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1103;"/>
+ <l:gentext key="Equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+ <l:gentext key="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+ <l:gentext key="Equation.abr" text="&#1060;."/>
+ <l:gentext key="equation.abr" text="&#1060;."/>
+ <l:gentext key="Example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+ <l:gentext key="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+ <l:gentext key="Example.abr" text="&#1055;&#1088;&#1080;&#1084;."/>
+ <l:gentext key="example.abr" text="&#1055;&#1088;&#1080;&#1084;."/>
+ <l:gentext key="Figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;"/>
+ <l:gentext key="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;"/>
+ <l:gentext key="Figure.abr" text="&#1056;&#1080;&#1089;."/>
+ <l:gentext key="figure.abr" text="&#1056;&#1080;&#1089;."/>
+ <l:gentext key="Glossary" text="&#1043;&#1083;&#1086;&#1089;&#1089;&#1072;&#1088;&#1080;&#1081;"/>
+ <l:gentext key="glossary" text="&#1043;&#1083;&#1086;&#1089;&#1089;&#1072;&#1088;&#1080;&#1081;"/>
+ <l:gentext key="GlossSee" text="&#1057;&#1084;."/>
+ <l:gentext key="glosssee" text="&#1057;&#1084;."/>
+ <l:gentext key="GlossSeeAlso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+ <l:gentext key="glossseealso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+ <l:gentext key="IMPORTANT" text="&#1042;&#1040;&#1046;&#1053;&#1054;"/>
+ <l:gentext key="Important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+ <l:gentext key="important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+ <l:gentext key="Index" text="&#1055;&#1088;&#1077;&#1076;&#1084;&#1077;&#1090;&#1085;&#1099;&#1081; &#1091;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;&#1100;"/>
+ <l:gentext key="index" text="&#1055;&#1088;&#1077;&#1076;&#1084;&#1077;&#1090;&#1085;&#1099;&#1081; &#1091;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;&#1100;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080;&#1077; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+ <l:gentext key="legalnotice" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080;&#1077; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+ <l:gentext key="Level" text="&#1059;&#1088;&#1086;&#1074;&#1077;&#1085;&#1100;"/>
+ <l:gentext key="level" text="&#1059;&#1088;&#1086;&#1074;&#1077;&#1085;&#1100;"/>
+ <l:gentext key="MsgAud" text="Audience"/>
+ <l:gentext key="msgaud" text="Audience"/>
+ <l:gentext key="MsgLevel" text="Level"/>
+ <l:gentext key="msglevel" text="Level"/>
+ <l:gentext key="MsgOrig" text="Origin"/>
+ <l:gentext key="msgorig" text="Origin"/>
+ <l:gentext key="Name" text="&#1048;&#1084;&#1103;"/>
+ <l:gentext key="name" text="&#1048;&#1084;&#1103;"/>
+ <l:gentext key="NOTE" text="&#1047;&#1040;&#1052;&#1045;&#1063;&#1040;&#1053;&#1048;&#1045;"/>
+ <l:gentext key="Note" text="&#1047;&#1072;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="note" text="&#1047;&#1072;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Origin" text="&#1048;&#1089;&#1090;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="origin" text="&#1048;&#1089;&#1090;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="Part" text="&#1063;&#1072;&#1089;&#1090;&#1100;"/>
+ <l:gentext key="part" text="&#1063;&#1072;&#1089;&#1090;&#1100;"/>
+ <l:gentext key="Part.abr" text="&#1063;."/>
+ <l:gentext key="part.abr" text="&#1063;."/>
+ <l:gentext key="Preface" text="&#1055;&#1088;&#1077;&#1076;&#1080;&#1089;&#1083;&#1086;&#1074;&#1080;&#1077;"/>
+ <l:gentext key="preface" text="&#1055;&#1088;&#1077;&#1076;&#1080;&#1089;&#1083;&#1086;&#1074;&#1080;&#1077;"/>
+ <l:gentext key="Procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="Procedure.abr" text="&#1055;&#1088;&#1086;&#1094;."/>
+ <l:gentext key="procedure.abr" text="&#1055;&#1088;&#1086;&#1094;."/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="&#1054;&#1087;&#1091;&#1073;&#1083;&#1080;&#1082;&#1086;&#1074;&#1072;&#1085;&#1086;"/>
+ <l:gentext key="published" text="&#1054;&#1087;&#1091;&#1073;&#1083;&#1080;&#1082;&#1086;&#1074;&#1072;&#1085;&#1086;"/>
+ <l:gentext key="Question" text="&#1042;:"/>
+ <l:gentext key="question" text="&#1042;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#1057;&#1089;&#1099;&#1083;&#1082;&#1072;"/>
+ <l:gentext key="reference" text="&#1057;&#1089;&#1099;&#1083;&#1082;&#1072;"/>
+ <l:gentext key="RefName" text="&#1053;&#1072;&#1079;&#1074;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="refname" text="&#1053;&#1072;&#1079;&#1074;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#1057;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1089;"/>
+ <l:gentext key="refsynopsisdiv" text="&#1057;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1089;"/>
+ <l:gentext key="RevHistory" text="&#1048;&#1089;&#1090;&#1086;&#1088;&#1080;&#1103; &#1087;&#1077;&#1088;&#1077;&#1080;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103;"/>
+ <l:gentext key="revhistory" text="&#1048;&#1089;&#1090;&#1086;&#1088;&#1080;&#1103; &#1087;&#1077;&#1088;&#1077;&#1080;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103;"/>
+ <l:gentext key="Revision" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="revision" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="Section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="section" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="Section.abr" text="&#1056;&#1072;&#1079;&#1076;."/>
+ <l:gentext key="section.abr" text="&#1056;&#1072;&#1079;&#1076;."/>
+ <l:gentext key="See" text="&#1057;&#1084;."/>
+ <l:gentext key="see" text="&#1057;&#1084;."/>
+ <l:gentext key="SeeAlso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+ <l:gentext key="Seealso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+ <l:gentext key="seealso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+ <l:gentext key="Set" text="&#1055;&#1086;&#1076;&#1073;&#1086;&#1088;&#1082;&#1072;"/>
+ <l:gentext key="set" text="&#1055;&#1086;&#1076;&#1073;&#1086;&#1088;&#1082;&#1072;"/>
+ <l:gentext key="SetIndex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1087;&#1086;&#1076;&#1073;&#1086;&#1088;&#1082;&#1080;"/>
+ <l:gentext key="setindex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1087;&#1086;&#1076;&#1073;&#1086;&#1088;&#1082;&#1080;"/>
+ <l:gentext key="Sidebar" text="&#1042;&#1099;&#1076;&#1077;&#1083;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="sidebar" text="&#1074;&#1099;&#1076;&#1077;&#1083;&#1077;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="Step" text="&#1064;&#1072;&#1075;"/>
+ <l:gentext key="step" text="&#1096;&#1072;&#1075;"/>
+ <l:gentext key="Table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;"/>
+ <l:gentext key="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;"/>
+ <l:gentext key="Table.abr" text="&#1058;&#1072;&#1073;&#1083;."/>
+ <l:gentext key="table.abr" text="&#1058;&#1072;&#1073;&#1083;."/>
+ <l:gentext key="TIP" text="&#1055;&#1054;&#1044;&#1057;&#1050;&#1040;&#1047;&#1050;&#1040;"/>
+ <l:gentext key="Tip" text="&#1055;&#1086;&#1076;&#1089;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+ <l:gentext key="tip" text="&#1055;&#1086;&#1076;&#1089;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+ <l:gentext key="WARNING" text="&#1042;&#1053;&#1048;&#1052;&#1040;&#1053;&#1048;&#1045;"/>
+ <l:gentext key="Warning" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="warning" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="and" text=""/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="called" text=""/>
+ <l:gentext key="edited" text="&#1055;&#1086;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1077;&#1081;"/>
+ <l:gentext key="Edited" text="&#1055;&#1086;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1077;&#1081;"/>
+ <l:gentext key="Editedby" text="&#1055;&#1086;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1077;&#1081;"/>
+ <l:gentext key="editedby" text="&#1055;&#1086;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1077;&#1081;"/>
+ <l:gentext key="in" text="&#1074;"/>
+ <l:gentext key="TableofContents" text="&#1057;&#1086;&#1076;&#1077;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="tableofcontents" text="&#1057;&#1086;&#1076;&#1077;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="Notes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1103;"/>
+ <l:gentext key="notes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1103;"/>
+ <l:gentext key="TableNotes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1103;"/>
+ <l:gentext key="tablenotes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1103;"/>
+ <l:gentext key="nonexistantelement" text="non-existant element"/>
+ <l:gentext key="pgs" text="&#1057;&#1090;&#1088;."/>
+ <l:gentext key="Pgs" text="&#1057;&#1090;&#1088;."/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="the" text=""/>
+ <l:gentext key="unexpectedelementname" text="unexpected element name"/>
+ <l:gentext key="unsupported" text="unsupported"/>
+ <l:gentext key="xrefto" text="xref to"/>
+ <l:gentext key="listofequations" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;"/>
+ <l:gentext key="ListofEquations" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;"/>
+ <l:gentext key="ListofExamples" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1086;&#1074;"/>
+ <l:gentext key="listofexamples" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1086;&#1074;"/>
+ <l:gentext key="ListofFigures" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1080;&#1083;&#1083;&#1102;&#1089;&#1090;&#1088;&#1072;&#1094;&#1080;&#1081;"/>
+ <l:gentext key="listoffigures" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1080;&#1083;&#1083;&#1102;&#1089;&#1090;&#1088;&#1072;&#1094;&#1080;&#1081;"/>
+ <l:gentext key="listoftables" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;"/>
+ <l:gentext key="ListofTables" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;"/>
+ <l:gentext key="ListofUnknown" text="&#1053;&#1077;&#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1077;&#1085;&#1085;&#1099;&#1081; &#1089;&#1087;&#1080;&#1089;&#1086;&#1082;"/>
+ <l:gentext key="listofunknown" text="&#1053;&#1077;&#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1077;&#1085;&#1085;&#1099;&#1081; &#1089;&#1087;&#1080;&#1089;&#1086;&#1082;"/>
+ <l:gentext key="nav-next" text="&#1057;&#1083;&#1077;&#1076;."/>
+ <l:gentext key="nav-next-sibling" text="&#1057;&#1083;&#1077;&#1076;. &#1087;&#1086;&#1076;&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="nav-prev" text="&#1055;&#1088;&#1077;&#1076;."/>
+ <l:gentext key="nav-prev-sibling" text="&#1055;&#1088;&#1077;&#1076;. &#1087;&#1086;&#1076;&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+ <l:gentext key="x-nav-next" text="&#1057;&#1083;&#1077;&#1076;."/>
+ <l:gentext key="nav-home" text="&#1053;&#1072;&#1095;&#1072;&#1083;&#1086;"/>
+ <l:gentext key="nav-up" text="&#1059;&#1088;&#1086;&#1074;&#1077;&#1085;&#1100; &#1074;&#1099;&#1096;&#1077;"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="&#1063;&#1077;&#1088;&#1085;&#1086;&#1074;&#1080;&#1082;"/>
+ <l:gentext key="above" text="&#1074;&#1099;&#1096;&#1077;"/>
+ <l:gentext key="below" text="&#1085;&#1080;&#1078;&#1077;"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="&#1072;&#1073;&#1074;&#1075;&#1076;&#1077;&#1105;&#1078;&#1079;&#1080;&#1081;&#1082;&#1083;&#1084;&#1085;&#1086;&#1087;&#1088;&#1089;&#1090;&#1091;&#1092;&#1093;&#1094;&#1095;&#1096;&#1097;&#1098;&#1099;&#1100;&#1101;&#1102;&#1103;"/>
+ <l:gentext key="uppercase.alpha" text="&#1040;&#1041;&#1042;&#1043;&#1044;&#1045;&#1025;&#1046;&#1047;&#1048;&#1049;&#1050;&#1051;&#1052;&#1053;&#1054;&#1055;&#1056;&#1057;&#1058;&#1059;&#1060;&#1061;&#1062;&#1063;&#1064;&#1065;&#1066;&#1067;&#1068;&#1069;&#1070;&#1071;"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/ru.xml -->
+ <l:dingbat key="startquote" text="&#171;"/>
+ <l:dingbat key="endquote" text="&#187;"/>
+ <l:dingbat key="nestedstartquote" text="&#8222;"/>
+ <l:dingbat key="nestedendquote" text="&#8220;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077; %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072; %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072; %n. %t"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088; %n. %t"/>
+ <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082; %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1100; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072; %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077; %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072; %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#1054;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#1042;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#1042;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#171;%t&#187;"/>
+ <l:template name="refsection" text="&#171;%t&#187;"/>
+ <l:template name="refsect1" text="&#171;%t&#187;"/>
+ <l:template name="refsect2" text="&#171;%t&#187;"/>
+ <l:template name="refsect3" text="&#171;%t&#187;"/>
+ <l:template name="sect1" text="&#171;%t&#187;"/>
+ <l:template name="sect2" text="&#171;%t&#187;"/>
+ <l:template name="sect3" text="&#171;%t&#187;"/>
+ <l:template name="sect4" text="&#171;%t&#187;"/>
+ <l:template name="sect5" text="&#171;%t&#187;"/>
+ <l:template name="section" text="&#171;%t&#187;"/>
+ <l:template name="simplesect" text="&#171;%t&#187;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#1054;:&#160;%n"/>
+ <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n"/>
+ <l:template name="bridgehead" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n"/>
+ <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n"/>
+ <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;&#160;%n"/>
+ <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1100;&#160;%n"/>
+ <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#1042;:&#160;%n"/>
+ <l:template name="question" text="&#1042;:&#160;%n"/>
+ <l:template name="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n, %t"/>
+ <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1100;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#171;%t&#187;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#171;%t&#187;"/>
+ <l:template name="refsect1" text="the section called &#171;%t&#187;"/>
+ <l:template name="refsect2" text="the section called &#171;%t&#187;"/>
+ <l:template name="refsect3" text="the section called &#171;%t&#187;"/>
+ <l:template name="refsection" text="the section called &#171;%t&#187;"/>
+ <l:template name="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+ <l:template name="simplesect" text="the section called &#171;%t&#187;"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n, &#171;%t&#187;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" "/>
+ <l:template name="seplast" text=", "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#1057;&#1084;. "/>
+ <l:template name="seealso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Audience: "/>
+ <l:template name="MsgLevel" text="Level: "/>
+ <l:template name="MsgOrig" text="Origin: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="m/d/Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="&#1103;&#1085;&#1074;&#1072;&#1088;&#1103;"/>
+ <l:template name="February" text="&#1092;&#1077;&#1074;&#1088;&#1072;&#1083;&#1103;"/>
+ <l:template name="March" text="&#1084;&#1072;&#1088;&#1090;&#1072;"/>
+ <l:template name="April" text="&#1072;&#1087;&#1088;&#1077;&#1083;&#1103;"/>
+ <l:template name="May" text="&#1084;&#1072;&#1103;"/>
+ <l:template name="June" text="&#1080;&#1102;&#1085;&#1103;"/>
+ <l:template name="July" text="&#1080;&#1102;&#1083;&#1103;"/>
+ <l:template name="August" text="&#1072;&#1074;&#1075;&#1091;&#1089;&#1090;&#1072;"/>
+ <l:template name="September" text="&#1089;&#1077;&#1085;&#1090;&#1103;&#1073;&#1088;&#1103;"/>
+ <l:template name="October" text="&#1086;&#1082;&#1090;&#1103;&#1073;&#1088;&#1103;"/>
+ <l:template name="November" text="&#1085;&#1086;&#1103;&#1073;&#1088;&#1103;"/>
+ <l:template name="December" text="&#1076;&#1077;&#1082;&#1072;&#1073;&#1088;&#1103;"/>
+ <l:template name="Monday" text="&#1087;&#1086;&#1085;&#1077;&#1076;&#1077;&#1083;&#1100;&#1085;&#1080;&#1082;"/>
+ <l:template name="Tuesday" text="&#1074;&#1090;&#1086;&#1088;&#1085;&#1080;&#1082;"/>
+ <l:template name="Wednesday" text="&#1089;&#1088;&#1077;&#1076;&#1072;"/>
+ <l:template name="Thursday" text="&#1095;&#1077;&#1090;&#1074;&#1101;&#1088;&#1075;"/>
+ <l:template name="Friday" text="&#1087;&#1103;&#1090;&#1085;&#1080;&#1094;&#1072;"/>
+ <l:template name="Saturday" text="&#1089;&#1091;&#1073;&#1073;&#1086;&#1090;&#1072;"/>
+ <l:template name="Sunday" text="&#1074;&#1086;&#1089;&#1082;&#1088;&#1077;&#1089;&#1077;&#1085;&#1100;&#1077;"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="&#1071;&#1085;&#1074;"/>
+ <l:template name="Feb" text="&#1060;&#1077;&#1074;"/>
+ <l:template name="Mar" text="&#1052;&#1072;&#1088;"/>
+ <l:template name="Apr" text="&#1040;&#1087;&#1088;"/>
+ <l:template name="May" text="&#1052;&#1072;&#1081;"/>
+ <l:template name="Jun" text="&#1048;&#1102;&#1085;"/>
+ <l:template name="Jul" text="&#1048;&#1102;&#1083;"/>
+ <l:template name="Aug" text="&#1040;&#1074;&#1075;"/>
+ <l:template name="Sep" text="&#1057;&#1077;&#1085;"/>
+ <l:template name="Oct" text="&#1054;&#1082;&#1090;"/>
+ <l:template name="Nov" text="&#1053;&#1086;&#1103;"/>
+ <l:template name="Dec" text="&#1044;&#1077;&#1082;"/>
+ <l:template name="Mon" text="&#1055;&#1085;&#1076;"/>
+ <l:template name="Tue" text="&#1042;&#1090;&#1088;"/>
+ <l:template name="Wed" text="&#1057;&#1088;&#1076;"/>
+ <l:template name="Thu" text="&#1063;&#1090;&#1074;"/>
+ <l:template name="Fri" text="&#1055;&#1090;&#1085;"/>
+ <l:template name="Sat" text="&#1057;&#1073;&#1090;"/>
+ <l:template name="Sun" text="&#1042;&#1089;&#1082;"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0419 Russian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/sk.xml b/docs/xslt/db2latex-xsl/xsl/common/sk.xml
new file mode 100644
index 0000000000..581a1d4d2c
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/sk.xml
@@ -0,0 +1,488 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sk" english-language-name="Slovak">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sk.xml -->
+ <l:gentext key="Abstract" text="Abstrakt"/>
+ <l:gentext key="abstract" text="Abstrakt"/>
+ <l:gentext key="Answer" text="A:"/>
+ <l:gentext key="answer" text="A:"/>
+ <l:gentext key="Appendix" text="Dodatok"/>
+ <l:gentext key="appendix" text="dodatok"/>
+ <l:gentext key="Article" text="&#268;l&#225;nok"/>
+ <l:gentext key="article" text="&#268;l&#225;nok"/>
+ <l:gentext key="Bibliography" text="Bibliografia"/>
+ <l:gentext key="bibliography" text="Bibliografia"/>
+ <l:gentext key="Book" text="Kniha"/>
+ <l:gentext key="book" text="Kniha"/>
+ <l:gentext key="CAUTION" text="V&#221;STRAHA"/>
+ <l:gentext key="Caution" text="V&#253;straha"/>
+ <l:gentext key="caution" text="V&#253;straha"/>
+ <l:gentext key="Chapter" text="Kapitola"/>
+ <l:gentext key="chapter" text="kapitola"/>
+ <l:gentext key="Colophon" text="Tir&#225;&#382;"/>
+ <l:gentext key="colophon" text="Tir&#225;&#382;"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Venovanie"/>
+ <l:gentext key="dedication" text="Venovanie"/>
+ <l:gentext key="Edition" text="Vydanie"/>
+ <l:gentext key="edition" text="Vydanie"/>
+ <l:gentext key="Equation" text="Rovnica"/>
+ <l:gentext key="equation" text="Rovnica"/>
+ <l:gentext key="Example" text="Pr&#237;klad"/>
+ <l:gentext key="example" text="Pr&#237;klad"/>
+ <l:gentext key="Figure" text="Obr&#225;zok"/>
+ <l:gentext key="figure" text="Obr&#225;zok"/>
+ <l:gentext key="Glossary" text="Slovn&#237;k"/>
+ <l:gentext key="glossary" text="Slovn&#237;k"/>
+ <l:gentext key="GlossSee" text="Pozri"/>
+ <l:gentext key="glosssee" text="Pozri"/>
+ <l:gentext key="GlossSeeAlso" text="Pozri tie&#382;"/>
+ <l:gentext key="glossseealso" text="Pozri tie&#382;"/>
+ <l:gentext key="IMPORTANT" text="D&#212;LE&#381;IT&#201;"/>
+ <l:gentext key="Important" text="D&#244;le&#382;it&#233;"/>
+ <l:gentext key="important" text="D&#244;le&#382;it&#233;"/>
+ <l:gentext key="Index" text="Zoznam"/>
+ <l:gentext key="index" text="Zoznam"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Pr&#225;vna pozn&#225;mka"/>
+ <l:gentext key="legalnotice" text="Pr&#225;vna pozn&#225;mka"/>
+ <l:gentext key="MsgAud" text="Publikum"/>
+ <l:gentext key="msgaud" text="Publikum"/>
+ <l:gentext key="MsgLevel" text="&#218;rove&#328;"/>
+ <l:gentext key="msglevel" text="&#218;rove&#328;"/>
+ <l:gentext key="MsgOrig" text="P&#244;vod"/>
+ <l:gentext key="msgorig" text="P&#244;vod"/>
+ <l:gentext key="NOTE" text="POZN&#193;MKA"/>
+ <l:gentext key="Note" text="Pozn&#225;mka"/>
+ <l:gentext key="note" text="Pozn&#225;mka"/>
+ <l:gentext key="Part" text="&#268;as&#357;"/>
+ <l:gentext key="part" text="&#268;as&#357;"/>
+ <l:gentext key="Preface" text="&#218;vod"/>
+ <l:gentext key="preface" text="&#218;vod"/>
+ <l:gentext key="Procedure" text="Postup"/>
+ <l:gentext key="procedure" text="Postup"/>
+ <l:gentext key="ProductionSet" text="Produkcia"/>
+ <l:gentext key="Published" text="Vydan&#233;"/>
+ <l:gentext key="published" text="Vydan&#233;"/>
+ <l:gentext key="Question" text="Q:"/>
+ <l:gentext key="question" text="Q:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Odkaz"/>
+ <l:gentext key="reference" text="Odkaz"/>
+ <l:gentext key="RefName" text="Meno"/>
+ <l:gentext key="refname" text="Meno"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Preh&#318;ad"/>
+ <l:gentext key="refsynopsisdiv" text="Preh&#318;ad"/>
+ <l:gentext key="RevHistory" text="Preh&#318;ad rev&#237;zi&#237;"/>
+ <l:gentext key="revhistory" text="Preh&#318;ad rev&#237;zi&#237;"/>
+ <l:gentext key="Revision" text="Rev&#237;zia"/>
+ <l:gentext key="revision" text="Rev&#237;zia"/>
+ <l:gentext key="sect1" text="Oddiel"/>
+ <l:gentext key="sect2" text="Oddiel"/>
+ <l:gentext key="sect3" text="Oddiel"/>
+ <l:gentext key="sect4" text="Oddiel"/>
+ <l:gentext key="sect5" text="Oddiel"/>
+ <l:gentext key="Section" text="Oddiel"/>
+ <l:gentext key="section" text="oddiel"/>
+ <l:gentext key="See" text="Pozri"/>
+ <l:gentext key="see" text="Pozri"/>
+ <l:gentext key="SeeAlso" text="Pozri tie&#382;"/>
+ <l:gentext key="Seealso" text="Pozri tie&#382;"/>
+ <l:gentext key="seealso" text="Pozri tie&#382;"/>
+ <l:gentext key="Set" text="Nastavi&#357;"/>
+ <l:gentext key="set" text="Nastavi&#357;"/>
+ <l:gentext key="SetIndex" text="Nastavi&#357; index"/>
+ <l:gentext key="setindex" text="nastavi&#357; index"/>
+ <l:gentext key="Sidebar" text="Margin&#225;lia"/>
+ <l:gentext key="sidebar" text="margin&#225;lia"/>
+ <l:gentext key="Step" text="Krok"/>
+ <l:gentext key="step" text="krok"/>
+ <l:gentext key="Table" text="Tabu&#318;ka"/>
+ <l:gentext key="table" text="Tabu&#318;ka"/>
+ <l:gentext key="TIP" text="TIP"/>
+ <l:gentext key="Tip" text="Tip"/>
+ <l:gentext key="tip" text="Tip"/>
+ <l:gentext key="WARNING" text="VAROVANIE"/>
+ <l:gentext key="Warning" text="Varovanie"/>
+ <l:gentext key="warning" text="Varovanie"/>
+ <l:gentext key="and" text="a"/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="Edited" text="Vydan&#233;"/>
+ <l:gentext key="edited" text="Vydan&#233;"/>
+ <l:gentext key="Editedby" text="Zostavil: "/>
+ <l:gentext key="editedby" text="Zostavil: "/>
+ <l:gentext key="in" text="v"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="neexistuj&#250;ci prvok"/>
+ <l:gentext key="notes" text="Pozn&#225;mky"/>
+ <l:gentext key="Notes" text="Pozn&#225;mky"/>
+ <l:gentext key="Pgs" text="Str."/>
+ <l:gentext key="pgs" text="Str."/>
+ <l:gentext key="Revisedby" text="Revidoval: "/>
+ <l:gentext key="revisedby" text="Revidoval: "/>
+ <l:gentext key="TableNotes" text="Pozn&#225;mky"/>
+ <l:gentext key="tablenotes" text="Pozn&#225;mky"/>
+ <l:gentext key="TableofContents" text="Obsah"/>
+ <l:gentext key="tableofcontents" text="Obsah"/>
+ <l:gentext key="unexpectedelementname" text="Neo&#269;ak&#225;van&#233; meno prvku"/>
+ <l:gentext key="unsupported" text="nepodporovan&#253;"/>
+ <l:gentext key="xrefto" text="xref k"/>
+ <l:gentext key="listofequations" text="Zoznam rovn&#237;c"/>
+ <l:gentext key="ListofEquations" text="Zoznam rovn&#237;c"/>
+ <l:gentext key="ListofExamples" text="Zoznam pr&#237;kladov"/>
+ <l:gentext key="listofexamples" text="Zoznam pr&#237;kladov"/>
+ <l:gentext key="ListofFigures" text="Zoznam obr&#225;zkov"/>
+ <l:gentext key="listoffigures" text="Zoznam obr&#225;zkov"/>
+ <l:gentext key="listoftables" text="Zoznam tabuliek"/>
+ <l:gentext key="ListofTables" text="Zoznam tabuliek"/>
+ <l:gentext key="ListofUnknown" text="Zoznam nezn&#225;meho"/>
+ <l:gentext key="listofunknown" text="Zoznam nezn&#225;meho"/>
+ <l:gentext key="nav-home" text="Domov"/>
+ <l:gentext key="nav-next" text="Nasleduj&#250;ci"/>
+ <l:gentext key="nav-next-sibling" text="R&#253;chlo dopredu"/>
+ <l:gentext key="nav-prev" text="Predch&#225;dzaj&#250;ci"/>
+ <l:gentext key="nav-prev-sibling" text="R&#253;chlo nazp&#228;t"/>
+ <l:gentext key="nav-up" text="Hore"/>
+ <l:gentext key="sectioncalled" text="oddiel nazvan&#253;"/>
+ <l:gentext key="Draft" text="Koncept"/>
+ <l:gentext key="above" text="nad"/>
+ <l:gentext key="below" text="pod"/>
+ <l:gentext key="index symbols" text="Symboly"/>
+ <l:gentext key="lowercase.alpha" text="a&#225;&#228;bc&#269;d&#271;e&#233;fghi&#237;jkl&#314;&#318;mn&#328;o&#243;&#244;pqr&#341;s&#353;t&#357;u&#250;vwxy&#253;z&#382;"/>
+ <l:gentext key="uppercase.alpha" text="A&#193;&#196;BC&#268;D&#270;E&#201;FGHI&#205;JKL&#313;&#317;MN&#327;O&#211;&#212;PQR&#340;S&#352;T&#356;U&#218;VWXY&#221;Z&#381;"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sk.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Dodatok %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Kapitola %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Rovnica %n. %t"/>
+ <l:template name="example" text="Pr&#237;klad %n. %t"/>
+ <l:template name="figure" text="Obr&#225;zok %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#268;as&#357; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Postup&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Produkcia&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabu&#318;ka %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Dodatok %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Kapitola %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="Dodatok&#160;%n"/>
+ <l:template name="bridgehead" text="Oddiel&#160;%n"/>
+ <l:template name="chapter" text="Kapitola&#160;%n"/>
+ <l:template name="equation" text="Rovnica&#160;%n"/>
+ <l:template name="example" text="Pr&#237;klad&#160;%n"/>
+ <l:template name="figure" text="Obr&#225;zok&#160;%n"/>
+ <l:template name="part" text="&#268;as&#357;&#160;%n"/>
+ <l:template name="procedure" text="Postup&#160;%n"/>
+ <l:template name="productionset" text="Produkcia&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Q:&#160;%n"/>
+ <l:template name="question" text="Q:&#160;%n"/>
+ <l:template name="sect1" text="Oddiel&#160;%n"/>
+ <l:template name="sect2" text="Oddiel&#160;%n"/>
+ <l:template name="sect3" text="Oddiel&#160;%n"/>
+ <l:template name="sect4" text="Oddiel&#160;%n"/>
+ <l:template name="sect5" text="Oddiel&#160;%n"/>
+ <l:template name="section" text="Oddiel&#160;%n"/>
+ <l:template name="table" text="Tabu&#318;ka&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Dodatok&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Kapitola&#160;%n, %t"/>
+ <l:template name="equation" text="Rovnica&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Pr&#237;klad&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Obr&#225;zok&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="&#268;as&#357;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Postup&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Produkcia&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabu&#318;ka&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" a "/>
+ <l:template name="seplast" text=", a "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Pozri "/>
+ <l:template name="seealso" text="Pozri tie&#382; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Publikum: "/>
+ <l:template name="MsgLevel" text="&#218;rove&#328;: "/>
+ <l:template name="MsgOrig" text="P&#244;vod: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d.&#160;B Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="janu&#225;ra"/>
+ <l:template name="February" text="febru&#225;ra"/>
+ <l:template name="March" text="marca"/>
+ <l:template name="April" text="apr&#237;la"/>
+ <l:template name="May" text="m&#225;ja"/>
+ <l:template name="June" text="j&#250;na"/>
+ <l:template name="July" text="j&#250;la"/>
+ <l:template name="August" text="augusta"/>
+ <l:template name="September" text="septembra"/>
+ <l:template name="October" text="okt&#243;bra"/>
+ <l:template name="November" text="novembra"/>
+ <l:template name="December" text="decembra"/>
+ <l:template name="Monday" text="pondelok"/>
+ <l:template name="Tuesday" text="utorok"/>
+ <l:template name="Wednesday" text="streda"/>
+ <l:template name="Thursday" text="&#353;tvrtok"/>
+ <l:template name="Friday" text="piatok"/>
+ <l:template name="Saturday" text="sobota"/>
+ <l:template name="Sunday" text="nede&#318;a"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="jan"/>
+ <l:template name="Feb" text="feb"/>
+ <l:template name="Mar" text="mar"/>
+ <l:template name="Apr" text="apr"/>
+ <l:template name="May" text="m&#225;j"/>
+ <l:template name="Jun" text="j&#250;n"/>
+ <l:template name="Jul" text="j&#250;l"/>
+ <l:template name="Aug" text="aug"/>
+ <l:template name="Sep" text="sep"/>
+ <l:template name="Oct" text="okt"/>
+ <l:template name="Nov" text="nov"/>
+ <l:template name="Dec" text="dec"/>
+ <l:template name="Mon" text="po"/>
+ <l:template name="Tue" text="ut"/>
+ <l:template name="Wed" text="st"/>
+ <l:template name="Thu" text="&#353;t"/>
+ <l:template name="Fri" text="pi"/>
+ <l:template name="Sat" text="so"/>
+ <l:template name="Sun" text="ne"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x041b Slovak"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/sl.xml b/docs/xslt/db2latex-xsl/xsl/common/sl.xml
new file mode 100644
index 0000000000..1f417c4c02
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/sl.xml
@@ -0,0 +1,444 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sl" english-language-name="Slovenian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sl.xml -->
+ <l:gentext key="Abstract" text="Povzetek"/>
+ <l:gentext key="abstract" text="Povzetek"/>
+ <l:gentext key="Answer" text="O:"/>
+ <l:gentext key="answer" text="O:"/>
+ <l:gentext key="Appendix" text="Dodatek"/>
+ <l:gentext key="appendix" text="dodatek"/>
+ <l:gentext key="Article" text="&#268;lanek"/>
+ <l:gentext key="article" text="&#268;lanek"/>
+ <l:gentext key="Bibliography" text="Literatura"/>
+ <l:gentext key="bibliography" text="Literatura"/>
+ <l:gentext key="Book" text="Knjiga"/>
+ <l:gentext key="book" text="Knjiga"/>
+ <l:gentext key="Caution" text="Opozorilo"/>
+ <l:gentext key="caution" text="Opozorilo"/>
+ <l:gentext key="CAUTION" text="OPOZORILO"/>
+ <l:gentext key="Chapter" text="Poglavje"/>
+ <l:gentext key="chapter" text="poglavje"/>
+ <l:gentext key="Colophon" text="Kolofon"/>
+ <l:gentext key="colophon" text="Kolofon"/>
+ <l:gentext key="Copyright" text="Pravna za&#353;&#269;ita"/>
+ <l:gentext key="copyright" text="Pravna za&#353;&#269;ita"/>
+ <l:gentext key="Dedication" text="Posvetilo"/>
+ <l:gentext key="dedication" text="Posvetilo"/>
+ <l:gentext key="Edition" text="Izdaja"/>
+ <l:gentext key="edition" text="Izdaja"/>
+ <l:gentext key="Equation" text="Ena&#269;ba"/>
+ <l:gentext key="equation" text="Ena&#269;ba"/>
+ <l:gentext key="Example" text="Primer"/>
+ <l:gentext key="example" text="Primer"/>
+ <l:gentext key="Figure" text="Slika"/>
+ <l:gentext key="figure" text="Slika"/>
+ <l:gentext key="Glossary" text="Slovar&#269;ek"/>
+ <l:gentext key="glossary" text="Slovar&#269;ek"/>
+ <l:gentext key="GlossSee" text="glej"/>
+ <l:gentext key="glosssee" text="glej"/>
+ <l:gentext key="GlossSeeAlso" text="glej tudi"/>
+ <l:gentext key="glossseealso" text="glej tudi"/>
+ <l:gentext key="IMPORTANT" text="POMEMBNO"/>
+ <l:gentext key="Important" text="Pomembno"/>
+ <l:gentext key="important" text="Pomembno"/>
+ <l:gentext key="Index" text="Stvarno kazalo"/>
+ <l:gentext key="index" text="Stvarno kazalo"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Pravno sporo&#269;ilo"/>
+ <l:gentext key="legalnotice" text="Pravno sporo&#269;ilo"/>
+ <l:gentext key="MsgAud" text="Ob&#269;instvo"/>
+ <l:gentext key="msgaud" text="Ob&#269;instvo"/>
+ <l:gentext key="MsgLevel" text="Raven"/>
+ <l:gentext key="msglevel" text="Raven"/>
+ <l:gentext key="MsgOrig" text="Izvor"/>
+ <l:gentext key="msgorig" text="Izvor"/>
+ <l:gentext key="note" text="Opomba"/>
+ <l:gentext key="NOTE" text="OPOMBA"/>
+ <l:gentext key="Note" text="Opomba"/>
+ <l:gentext key="Part" text="Del"/>
+ <l:gentext key="part" text="Del"/>
+ <l:gentext key="Preface" text="Predgovor"/>
+ <l:gentext key="preface" text="Predgovor"/>
+ <l:gentext key="Procedure" text="Postopek"/>
+ <l:gentext key="procedure" text="Postopek"/>
+ <l:gentext key="ProductionSet" text="Izdelava"/>
+ <l:gentext key="Published" text="Izdano"/>
+ <l:gentext key="published" text="Izdano"/>
+ <l:gentext key="Question" text="V:"/>
+ <l:gentext key="question" text="V:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Sklic"/>
+ <l:gentext key="reference" text="Sklic"/>
+ <l:gentext key="RefName" text="Ime"/>
+ <l:gentext key="refname" text="Ime"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Sinopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Sinopsis"/>
+ <l:gentext key="RevHistory" text="Zgodovina razli&#269;ic"/>
+ <l:gentext key="revhistory" text="Zgodovina razli&#269;ic"/>
+ <l:gentext key="Revision" text="Razli&#269;ica"/>
+ <l:gentext key="revision" text="Razli&#269;ica"/>
+ <l:gentext key="sect1" text="Razdelek"/>
+ <l:gentext key="sect2" text="Razdelek"/>
+ <l:gentext key="sect3" text="Razdelek"/>
+ <l:gentext key="sect4" text="Razdelek"/>
+ <l:gentext key="sect5" text="Razdelek"/>
+ <l:gentext key="Section" text="Razdelek"/>
+ <l:gentext key="section" text="razdelek"/>
+ <l:gentext key="see" text="glej"/>
+ <l:gentext key="See" text="glej"/>
+ <l:gentext key="Seealso" text="Glej tudi"/>
+ <l:gentext key="seealso" text="glej tudi"/>
+ <l:gentext key="SeeAlso" text="glej tudi"/>
+ <l:gentext key="Set" text="Postavi"/>
+ <l:gentext key="set" text="Postavi"/>
+ <l:gentext key="SetIndex" text="Postavi stvarno kazalo"/>
+ <l:gentext key="setindex" text="Postavi stvarno kazalo"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="step" text="korak"/>
+ <l:gentext key="Step" text="Korak"/>
+ <l:gentext key="table" text="Tabela"/>
+ <l:gentext key="Table" text="Tabela"/>
+ <l:gentext key="TIP" text="NAMIG"/>
+ <l:gentext key="Tip" text="Namig"/>
+ <l:gentext key="tip" text="Namig"/>
+ <l:gentext key="WARNING" text="POZOR"/>
+ <l:gentext key="Warning" text="Pozor"/>
+ <l:gentext key="warning" text="Pozor"/>
+ <l:gentext key="and" text="in"/>
+ <l:gentext key="by" text="od"/>
+ <l:gentext key="Edited" text="Urejeno"/>
+ <l:gentext key="edited" text="Urejeno"/>
+ <l:gentext key="Editedby" text="Uredil"/>
+ <l:gentext key="editedby" text="Uredil"/>
+ <l:gentext key="in" text="v"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="neobstoje&#269;i element"/>
+ <l:gentext key="Notes" text="Notes"/>
+ <l:gentext key="notes" text="Notes"/>
+ <l:gentext key="Pgs" text="Str."/>
+ <l:gentext key="pgs" text="Str."/>
+ <l:gentext key="Revisedby" text="Pregledal: "/>
+ <l:gentext key="revisedby" text="Pregledal: "/>
+ <l:gentext key="TableNotes" text="Notes"/>
+ <l:gentext key="tablenotes" text="Notes"/>
+ <l:gentext key="TableofContents" text="Kazalo"/>
+ <l:gentext key="tableofcontents" text="Kazalo"/>
+ <l:gentext key="unexpectedelementname" text="Nepri&#269;akovano ime elementa"/>
+ <l:gentext key="unsupported" text="nepodprto"/>
+ <l:gentext key="xrefto" text="xref na"/>
+ <l:gentext key="listofequations" text="Seznam ena&#269;b"/>
+ <l:gentext key="ListofEquations" text="Seznam ena&#269;b"/>
+ <l:gentext key="ListofExamples" text="Seznam primerov"/>
+ <l:gentext key="listofexamples" text="Seznam primerov"/>
+ <l:gentext key="ListofFigures" text="Seznam slik"/>
+ <l:gentext key="listoffigures" text="Seznam slik"/>
+ <l:gentext key="listoftables" text="Seznam tabel"/>
+ <l:gentext key="ListofTables" text="Seznam tabel"/>
+ <l:gentext key="ListofUnknown" text="Seznam neznanih stvari"/>
+ <l:gentext key="listofunknown" text="Seznam neznanih stvari"/>
+ <l:gentext key="nav-home" text="Domov"/>
+ <l:gentext key="nav-next" text="Naprej"/>
+ <l:gentext key="nav-next-sibling" text="Hitro naprej"/>
+ <l:gentext key="nav-prev" text="Nazaj"/>
+ <l:gentext key="nav-prev-sibling" text="Hitro nazaj"/>
+ <l:gentext key="nav-up" text="Gor"/>
+ <l:gentext key="sectioncalled" text="razdelek, imenovan"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Simboli"/>
+ <l:gentext key="lowercase.alpha" text="abc&#269;defghijklmnopqrs&#353;tuvwxyz&#382;"/>
+ <l:gentext key="uppercase.alpha" text="ABC&#268;DEFGHIJKLMNOPQRS&#352;TUVWXYZ&#381;"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sl.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Dodatek %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Poglavje %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Ena&#269;ba %n. %t"/>
+ <l:template name="example" text="Primer %n. %t"/>
+ <l:template name="figure" text="Slika %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Del %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Postopek %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Izdelava %n"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabela %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Dodatek %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Poglavje %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="O:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="V:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="V:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="O:&#160;%n"/>
+ <l:template name="appendix" text="Dodatek&#160;%n"/>
+ <l:template name="bridgehead" text="Razdelek&#160;%n"/>
+ <l:template name="chapter" text="Poglavje&#160;%n"/>
+ <l:template name="equation" text="Ena&#269;ba&#160;%n"/>
+ <l:template name="example" text="Primer&#160;%n"/>
+ <l:template name="figure" text="Slika&#160;%n"/>
+ <l:template name="part" text="Del&#160;%n"/>
+ <l:template name="procedure" text="Postopek&#160;%n"/>
+ <l:template name="productionset" text="Izdelava&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="V:&#160;%n"/>
+ <l:template name="question" text="V:&#160;%n"/>
+ <l:template name="sect1" text="Razdelek&#160;%n"/>
+ <l:template name="sect2" text="Razdelek&#160;%n"/>
+ <l:template name="sect3" text="Razdelek&#160;%n"/>
+ <l:template name="sect4" text="Razdelek&#160;%n"/>
+ <l:template name="sect5" text="Razdelek&#160;%n"/>
+ <l:template name="section" text="Razdelek&#160;%n"/>
+ <l:template name="table" text="Tabela&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Dodatek&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Poglavje&#160;%n, %t"/>
+ <l:template name="equation" text="Ena&#269;ba&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Primer&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Slika&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Postopek&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Izdelava&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="razdelek, imenovan &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="razdelek, imenovan &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="razdelek, imenovan &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="razdelek, imenovan &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="razdelek, imenovan &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" in "/>
+ <l:template name="seplast" text=", in "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="glej "/>
+ <l:template name="seealso" text="glej tudi "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Ob&#269;instvo: "/>
+ <l:template name="MsgLevel" text="Raven: "/>
+ <l:template name="MsgOrig" text="Izvor: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0424 Slovenian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/sr.xml b/docs/xslt/db2latex-xsl/xsl/common/sr.xml
new file mode 100644
index 0000000000..af8e59879c
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/sr.xml
@@ -0,0 +1,510 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sr" english-language-name="Serbian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sr.xml -->
+ <l:gentext key="Abstract" text="&#1055;&#1088;&#1077;&#1075;&#1083;&#1077;&#1076;"/>
+ <l:gentext key="abstract" text="&#1087;&#1088;&#1077;&#1075;&#1083;&#1077;&#1076;"/>
+ <l:gentext key="Answer" text="&#1054;:"/>
+ <l:gentext key="answer" text="&#1086;:"/>
+ <l:gentext key="Appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;"/>
+ <l:gentext key="appendix" text="&#1076;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;"/>
+ <l:gentext key="Article" text="&#1063;&#1083;&#1072;&#1085;&#1072;&#1082;"/>
+ <l:gentext key="article" text="&#1095;&#1083;&#1072;&#1085;&#1072;&#1082;"/>
+ <l:gentext key="Bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="bibliography" text="&#1083;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="Book" text="&#1050;&#1114;&#1080;&#1075;&#1072;"/>
+ <l:gentext key="book" text="&#1082;&#1114;&#1080;&#1075;&#1072;"/>
+ <l:gentext key="CAUTION" text="&#1059;&#1055;&#1054;&#1047;&#1054;&#1056;&#1045;&#1034;&#1045;"/>
+ <l:gentext key="Caution" text="&#1059;&#1087;&#1086;&#1079;&#1086;&#1088;&#1077;&#1114;&#1077;"/>
+ <l:gentext key="caution" text="&#1091;&#1087;&#1086;&#1079;&#1086;&#1088;&#1077;&#1114;&#1077;"/>
+ <l:gentext key="Chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;"/>
+ <l:gentext key="chapter" text="&#1087;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;"/>
+ <l:gentext key="Colophon" text="Colophon" lang="en"/>
+ <l:gentext key="colophon" text="Colophon" lang="en"/>
+ <l:gentext key="Copyright" text="Copyright" lang="en"/>
+ <l:gentext key="copyright" text="Copyright" lang="en"/>
+ <l:gentext key="Dedication" text="&#1055;&#1086;&#1089;&#1074;&#1077;&#1090;&#1072;"/>
+ <l:gentext key="dedication" text="&#1087;&#1086;&#1089;&#1074;&#1077;&#1090;&#1072;"/>
+ <l:gentext key="Edition" text="&#1048;&#1079;&#1076;&#1072;&#1114;&#1077;"/>
+ <l:gentext key="edition" text="&#1080;&#1079;&#1076;&#1072;&#1114;&#1077;"/>
+ <l:gentext key="Equation" text="&#1032;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;"/>
+ <l:gentext key="equation" text="&#1112;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;"/>
+ <l:gentext key="Example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+ <l:gentext key="example" text="&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+ <l:gentext key="Figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="figure" text="&#1092;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="Glossary" text="&#1056;&#1077;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="glossary" text="&#1088;&#1077;&#1095;&#1085;&#1080;&#1082;"/>
+ <l:gentext key="GlossSee" text="&#1042;&#1080;&#1076;&#1080;"/>
+ <l:gentext key="glosssee" text="&#1074;&#1080;&#1076;&#1080;"/>
+ <l:gentext key="GlossSeeAlso" text="&#1042;&#1080;&#1076;&#1080; &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+ <l:gentext key="glossseealso" text="&#1074;&#1080;&#1076;&#1080; &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+ <l:gentext key="IMPORTANT" text="&#1042;&#1040;&#1046;&#1053;&#1054;"/>
+ <l:gentext key="important" text="&#1074;&#1072;&#1078;&#1085;&#1086;"/>
+ <l:gentext key="Important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+ <l:gentext key="Index" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089;"/>
+ <l:gentext key="index" text="&#1080;&#1085;&#1076;&#1077;&#1082;&#1089;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Legal Notice" lang="en"/>
+ <l:gentext key="legalnotice" text="Legal Notice" lang="en"/>
+ <l:gentext key="MsgAud" text="&#1055;&#1091;&#1073;&#1083;&#1080;&#1082;&#1072;"/>
+ <l:gentext key="msgaud" text="&#1087;&#1091;&#1073;&#1083;&#1080;&#1082;&#1072;"/>
+ <l:gentext key="MsgLevel" text="&#1053;&#1080;&#1074;&#1086;"/>
+ <l:gentext key="msglevel" text="&#1085;&#1080;&#1074;&#1086;"/>
+ <l:gentext key="MsgOrig" text="&#1048;&#1079;&#1074;&#1086;&#1088;"/>
+ <l:gentext key="msgorig" text="&#1080;&#1079;&#1074;&#1086;&#1088;"/>
+ <l:gentext key="NOTE" text="&#1055;&#1056;&#1048;&#1052;&#1045;&#1044;&#1041;&#1040;"/>
+ <l:gentext key="Note" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1072;"/>
+ <l:gentext key="note" text="&#1087;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1072;"/>
+ <l:gentext key="Part" text="&#1044;&#1077;&#1086;"/>
+ <l:gentext key="part" text="&#1076;&#1077;&#1086;"/>
+ <l:gentext key="Preface" text="&#1055;&#1088;&#1077;&#1076;&#1075;&#1086;&#1074;&#1086;&#1088;"/>
+ <l:gentext key="preface" text="&#1087;&#1088;&#1077;&#1076;&#1075;&#1086;&#1074;&#1086;&#1088;"/>
+ <l:gentext key="Procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="procedure" text="&#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="ProductionSet" text="Production" lang="en"/>
+ <l:gentext key="PubDate" text="&#1044;&#1072;&#1090;&#1091;&#1084; &#1080;&#1079;&#1076;&#1072;&#1074;&#1072;&#1114;&#1072;"/>
+ <l:gentext key="pubdate" text="&#1076;&#1072;&#1090;&#1091;&#1084; &#1080;&#1079;&#1076;&#1072;&#1074;&#1072;&#1114;&#1072;"/>
+ <l:gentext key="Published" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1086;"/>
+ <l:gentext key="published" text="&#1080;&#1079;&#1076;&#1072;&#1085;&#1086;"/>
+ <l:gentext key="Qandadiv" text="&#1055; &#1080; &#1054;"/>
+ <l:gentext key="qandadiv" text="&#1087; &#1080; &#1086;"/>
+ <l:gentext key="Question" text="&#1055;:"/>
+ <l:gentext key="question" text="&#1087;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#1056;&#1077;&#1092;&#1077;&#1088;&#1077;&#1085;&#1094;&#1072;"/>
+ <l:gentext key="reference" text="&#1088;&#1077;&#1092;&#1077;&#1088;&#1077;&#1085;&#1094;&#1072;"/>
+ <l:gentext key="RefName" text="&#1048;&#1084;&#1077;"/>
+ <l:gentext key="refname" text="&#1080;&#1084;&#1077;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#1050;&#1088;&#1072;&#1090;&#1072;&#1082; &#1089;&#1072;&#1076;&#1088;&#1078;&#1072;&#1112;"/>
+ <l:gentext key="refsynopsisdiv" text="&#1082;&#1088;&#1072;&#1090;&#1072;&#1082; &#1089;&#1072;&#1076;&#1088;&#1078;&#1072;&#1112;"/>
+ <l:gentext key="RevHistory" text="&#1048;&#1089;&#1090;&#1086;&#1088;&#1080;&#1112;&#1072; &#1088;&#1077;&#1074;&#1080;&#1079;&#1080;&#1112;&#1072;"/>
+ <l:gentext key="revhistory" text="&#1080;&#1089;&#1090;&#1086;&#1088;&#1080;&#1112;&#1072; &#1088;&#1077;&#1074;&#1080;&#1079;&#1080;&#1112;&#1072;"/>
+ <l:gentext key="revision" text="&#1088;&#1077;&#1074;&#1080;&#1079;&#1080;&#1112;&#1072;"/>
+ <l:gentext key="Revision" text="&#1056;&#1077;&#1074;&#1080;&#1079;&#1080;&#1112;&#1072;"/>
+ <l:gentext key="sect1" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+ <l:gentext key="sect2" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+ <l:gentext key="sect3" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+ <l:gentext key="sect4" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+ <l:gentext key="sect5" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+ <l:gentext key="section" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+ <l:gentext key="Section" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+ <l:gentext key="see" text="&#1074;&#1080;&#1076;&#1080;"/>
+ <l:gentext key="See" text="&#1042;&#1080;&#1076;&#1080;"/>
+ <l:gentext key="seealso" text="&#1074;&#1080;&#1076;&#1080; &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+ <l:gentext key="Seealso" text="&#1042;&#1080;&#1076;&#1080; &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+ <l:gentext key="SeeAlso" text="&#1042;&#1080;&#1076;&#1080; &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+ <l:gentext key="set" text="&#1089;&#1082;&#1091;&#1087;"/>
+ <l:gentext key="Set" text="&#1057;&#1082;&#1091;&#1087;"/>
+ <l:gentext key="setindex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1089;&#1082;&#1091;&#1087;&#1072;"/>
+ <l:gentext key="SetIndex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1089;&#1082;&#1091;&#1087;&#1072;"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="&#1087;&#1086;&#1074;&#1088;&#1096; &#1087;&#1086;&#1089;&#1090;&#1088;&#1072;&#1085;&#1094;&#1077;"/>
+ <l:gentext key="step" text="&#1082;&#1086;&#1088;&#1072;&#1082;"/>
+ <l:gentext key="Step" text="&#1050;&#1086;&#1088;&#1072;&#1082;"/>
+ <l:gentext key="Table" text="&#1058;&#1072;&#1073;&#1077;&#1083;&#1072;"/>
+ <l:gentext key="table" text="&#1090;&#1072;&#1073;&#1077;&#1083;&#1072;"/>
+ <l:gentext key="tip" text="&#1089;&#1072;&#1074;&#1077;&#1090;"/>
+ <l:gentext key="TIP" text="&#1057;&#1040;&#1042;&#1045;&#1058;"/>
+ <l:gentext key="Tip" text="&#1057;&#1072;&#1074;&#1077;&#1090;"/>
+ <l:gentext key="Warning" text="&#1059;&#1087;&#1086;&#1079;&#1086;&#1088;&#1077;&#1114;&#1077;"/>
+ <l:gentext key="warning" text="&#1091;&#1087;&#1086;&#1079;&#1086;&#1088;&#1077;&#1114;&#1077;"/>
+ <l:gentext key="WARNING" text="&#1059;&#1055;&#1054;&#1047;&#1054;&#1056;&#1045;&#1034;&#1045;"/>
+ <l:gentext key="and" text="&#1080;"/>
+ <l:gentext key="by" text="&#1086;&#1076;"/>
+ <l:gentext key="called" text="&#1087;&#1086;&#1076; &#1080;&#1084;&#1077;&#1085;&#1086;&#1084;"/>
+ <l:gentext key="Edited" text="&#1059;&#1088;&#1077;&#1106;&#1077;&#1085;&#1086;"/>
+ <l:gentext key="edited" text="&#1091;&#1088;&#1077;&#1106;&#1077;&#1085;&#1086;"/>
+ <l:gentext key="Editedby" text="&#1059;&#1088;&#1077;&#1076;&#1080;&#1086;(&#1083;&#1072;)"/>
+ <l:gentext key="editedby" text="&#1059;&#1088;&#1077;&#1076;&#1080;&#1086;(&#1083;&#1072;)"/>
+ <l:gentext key="in" text="&#1091;"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="&#1085;&#1077;&#1087;&#1086;&#1089;&#1090;&#1086;&#1112;&#1077;&#1115;&#1080; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;"/>
+ <l:gentext key="notes" text="&#1087;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1077;"/>
+ <l:gentext key="Notes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1077;"/>
+ <l:gentext key="Pgs" text="&#1057;&#1090;&#1088;."/>
+ <l:gentext key="pgs" text="&#1089;&#1090;&#1088;."/>
+ <l:gentext key="Revisedby" text="&#1055;&#1088;&#1077;&#1075;&#1083;&#1077;&#1076;&#1072;&#1086;(&#1083;&#1072;): "/>
+ <l:gentext key="revisedby" text="&#1087;&#1088;&#1077;&#1075;&#1083;&#1077;&#1076;&#1072;&#1086;(&#1083;&#1072;): "/>
+ <l:gentext key="TableNotes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1077;"/>
+ <l:gentext key="tablenotes" text="&#1087;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1077;"/>
+ <l:gentext key="TableofContents" text="&#1057;&#1072;&#1076;&#1088;&#1078;&#1072;&#1112;"/>
+ <l:gentext key="tableofcontents" text="&#1089;&#1072;&#1076;&#1088;&#1078;&#1072;&#1112;"/>
+ <l:gentext key="the" text=""/>
+ <l:gentext key="unexpectedelementname" text="&#1085;&#1077;&#1086;&#1095;&#1077;&#1082;&#1080;&#1074;&#1072;&#1085;&#1086; &#1080;&#1084;&#1077; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;&#1072;"/>
+ <l:gentext key="unsupported" text="&#1085;&#1080;&#1112;&#1077; &#1087;&#1086;&#1076;&#1088;&#1078;&#1072;&#1085;&#1086;"/>
+ <l:gentext key="xrefto" text="&#1091;&#1085;&#1072;&#1082;&#1088;&#1089;&#1085;&#1072; &#1088;&#1077;&#1092;&#1077;&#1088;&#1077;&#1085;&#1094;&#1072; &#1085;&#1072;"/>
+ <l:gentext key="listofequations" text="&#1083;&#1080;&#1089;&#1090;&#1072; &#1112;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;"/>
+ <l:gentext key="ListofEquations" text="&#1051;&#1080;&#1089;&#1090;&#1072; &#1112;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;"/>
+ <l:gentext key="ListofExamples" text="&#1051;&#1080;&#1089;&#1090;&#1072; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1072;"/>
+ <l:gentext key="listofexamples" text="&#1083;&#1080;&#1089;&#1090;&#1072; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1072;"/>
+ <l:gentext key="ListofFigures" text="&#1051;&#1080;&#1089;&#1090;&#1072; &#1092;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="listoffigures" text="&#1083;&#1080;&#1089;&#1090;&#1072; &#1092;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="ListofProcedures" text="&#1051;&#1080;&#1089;&#1090;&#1072; &#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="listofprocedures" text="&#1083;&#1080;&#1089;&#1090;&#1072; &#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="listoftables" text="&#1083;&#1080;&#1089;&#1090;&#1072; &#1090;&#1072;&#1073;&#1077;&#1083;&#1072;"/>
+ <l:gentext key="ListofTables" text="&#1051;&#1080;&#1089;&#1090;&#1072; &#1090;&#1072;&#1073;&#1077;&#1083;&#1072;"/>
+ <l:gentext key="ListofUnknown" text="&#1051;&#1080;&#1089;&#1090;&#1072; &#1085;&#1077;&#1087;&#1086;&#1079;&#1085;&#1072;&#1090;&#1080;&#1093;"/>
+ <l:gentext key="listofunknown" text="&#1083;&#1080;&#1089;&#1090;&#1072; &#1085;&#1077;&#1087;&#1086;&#1079;&#1085;&#1072;&#1090;&#1080;&#1093;"/>
+ <l:gentext key="nav-home" text="&#1055;&#1086;&#1095;&#1077;&#1090;&#1072;&#1082;"/>
+ <l:gentext key="nav-next" text="&#1057;&#1083;&#1077;&#1076;&#1077;&#1115;&#1077;"/>
+ <l:gentext key="nav-next-sibling" text="&#1041;&#1088;&#1079;&#1086; &#1085;&#1072;&#1087;&#1088;&#1077;&#1076;"/>
+ <l:gentext key="nav-prev" text="&#1055;&#1088;&#1077;&#1090;&#1093;&#1086;&#1076;&#1085;&#1086;"/>
+ <l:gentext key="nav-prev-sibling" text="&#1041;&#1088;&#1079;&#1086; &#1085;&#1072;&#1079;&#1072;&#1076;"/>
+ <l:gentext key="nav-up" text="&#1042;&#1088;&#1093;"/>
+ <l:gentext key="nav-toc" text="&#1057;&#1072;&#1076;&#1088;."/>
+ <l:gentext key="Draft" text="&#1053;&#1072;&#1094;&#1088;&#1090;"/>
+ <l:gentext key="above" text="&#1080;&#1079;&#1085;&#1072;&#1076;"/>
+ <l:gentext key="below" text="&#1080;&#1089;&#1087;&#1086;&#1076;"/>
+ <l:gentext key="sectioncalled" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#1080;&#1084;&#1077;&#1085;&#1086;&#1084;"/>
+ <l:gentext key="index symbols" text="&#1057;&#1080;&#1084;&#1073;&#1086;&#1083;&#1080;"/>
+ <l:gentext key="lowercase.alpha" text="&#1072;&#1073;&#1074;&#1075;&#1076;&#1106;&#1077;&#1078;&#1079;&#1080;&#1112;&#1082;&#1083;&#1113;&#1084;&#1085;&#1114;&#1086;&#1087;&#1088;&#1089;&#1090;&#1115;&#1091;&#1092;&#1093;&#1094;&#1095;&#1119;&#1096;"/>
+ <l:gentext key="uppercase.alpha" text="&#1040;&#1041;&#1042;&#1043;&#1044;&#1026;&#1045;&#1046;&#1047;&#1048;&#1032;&#1050;&#1051;&#1033;&#1052;&#1053;&#1034;&#1054;&#1055;&#1056;&#1057;&#1058;&#1035;&#1059;&#1060;&#1061;&#1062;&#1063;&#1039;&#1064;"/>
+ <l:gentext key="hyphenation-character" text="-"/>
+ <l:gentext key="hyphenation-push-character-count" text="2"/>
+ <l:gentext key="hyphenation-remain-character-count" text="2"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sr.xml -->
+ <l:dingbat key="startquote" text="&#8222;"/>
+ <l:dingbat key="endquote" text="&#8220;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="singlestartquote" text="&#8216;"/>
+ <l:dingbat key="singleendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="&#1080;&#1084;&#1077;-&#1087;&#1088;&#1077;&#1079;&#1080;&#1084;&#1077;"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#1032;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#1044;&#1077;&#1086;&#160;%n.&#160;%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n&quot; &#10;lang=&quot;en"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1077;&#1083;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="task" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;&#160;%n.&#160;%t"/>
+ <l:template name="article/appendix" text="%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#1054;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#1055;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#1055;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="page" text="(&#1089;&#1090;&#1088;&#1072;&#1085;&#1072; %p)"/>
+ <l:template name="pageabbrev" text="(&#1089;&#1090;&#1088;. %p)"/>
+ <l:template name="Page" text="&#1057;&#1090;&#1088;&#1072;&#1085;&#1072; %p"/>
+ <l:template name="bridgehead" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="refsection" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="refsect1" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="refsect2" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="refsect3" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="sect1" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="sect2" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="sect3" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="sect4" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="sect5" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="section" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="simplesect" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#1054;:&#160;%n"/>
+ <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;&#160;%n"/>
+ <l:template name="bridgehead" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+ <l:template name="chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;&#160;%n"/>
+ <l:template name="equation" text="&#1032;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;&#160;%n"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n"/>
+ <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n"/>
+ <l:template name="part" text="&#1044;&#1077;&#1086;&#160;%n"/>
+ <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n&quot; lang=&quot;en"/>
+ <l:template name="qandadiv" text="&#1055; &#1080; &#1054;&#160;%n"/>
+ <l:template name="qandaentry" text="&#1055;:&#160;%n"/>
+ <l:template name="question" text="&#1055;:&#160;%n"/>
+ <l:template name="sect1" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+ <l:template name="sect2" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+ <l:template name="sect3" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+ <l:template name="sect4" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+ <l:template name="sect5" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+ <l:template name="section" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1077;&#1083;&#1072;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;&#160;%n, &#10;%t"/>
+ <l:template name="equation" text="&#1032;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="part" text="&#1044;&#1077;&#1086;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#10;&#8222;%t&#8220;&quot; lang=&quot;en"/>
+ <l:template name="qandadiv" text="&#1055; &#1080; &#1054;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="refsect1" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="refsect2" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="refsect3" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="refsection" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="sect1" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="sect2" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="sect3" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="sect4" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="sect5" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="section" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ <l:template name="simplesect" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#10;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1077;&#1083;&#1072;&#160;%n, &#10;&#8222;%t&#8220;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#1080; "/>
+ <l:template name="seplast" text=", &#1080; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#1042;&#1080;&#1076;&#1080; "/>
+ <l:template name="seealso" text="&#1042;&#1080;&#1076;&#1080; &#10;&#1090;&#1072;&#1082;&#1086;&#1106;&#1077; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#1055;&#1091;&#1073;&#1083;&#1080;&#1082;&#1072;: "/>
+ <l:template name="MsgLevel" text="&#1053;&#1080;&#1074;&#1086;: "/>
+ <l:template name="MsgOrig" text="&#1048;&#1079;&#1074;&#1086;&#1088;: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d.m.Y."/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="&#1112;&#1072;&#1085;&#1091;&#1072;&#1088;"/>
+ <l:template name="February" text="&#1092;&#1077;&#1073;&#1088;&#1091;&#1072;&#1088;"/>
+ <l:template name="March" text="&#1084;&#1072;&#1088;&#1090;"/>
+ <l:template name="April" text="&#1072;&#1087;&#1088;&#1080;&#1083;"/>
+ <l:template name="May" text="&#1084;&#1072;&#1112;"/>
+ <l:template name="June" text="&#1112;&#1091;&#1085;"/>
+ <l:template name="July" text="&#1112;&#1091;&#1083;"/>
+ <l:template name="August" text="&#1072;&#1074;&#1075;&#1091;&#1089;&#1090;"/>
+ <l:template name="September" text="&#1089;&#1077;&#1087;&#1090;&#1077;&#1084;&#1073;&#1072;&#1088;"/>
+ <l:template name="October" text="&#1086;&#1082;&#1090;&#1086;&#1073;&#1072;&#1088;"/>
+ <l:template name="November" text="&#1085;&#1086;&#1074;&#1077;&#1084;&#1073;&#1072;&#1088;"/>
+ <l:template name="December" text="&#1076;&#1077;&#1094;&#1077;&#1084;&#1073;&#1072;&#1088;"/>
+ <l:template name="Monday" text="&#1087;&#1086;&#1085;&#1077;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+ <l:template name="Tuesday" text="&#1091;&#1090;&#1086;&#1088;&#1072;&#1082;"/>
+ <l:template name="Wednesday" text="&#1089;&#1088;&#1077;&#1076;&#1072;"/>
+ <l:template name="Thursday" text="&#1095;&#1077;&#1090;&#1074;&#1088;&#1090;&#1072;&#1082;"/>
+ <l:template name="Friday" text="&#1087;&#1077;&#1090;&#1072;&#1082;"/>
+ <l:template name="Saturday" text="&#1089;&#1091;&#1073;&#1086;&#1090;&#1072;"/>
+ <l:template name="Sunday" text="&#1085;&#1077;&#1076;&#1077;&#1113;&#1072;"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="&#1112;&#1072;&#1085;"/>
+ <l:template name="Feb" text="&#1092;&#1077;&#1073;"/>
+ <l:template name="Mar" text="&#1084;&#1072;&#1088;"/>
+ <l:template name="Apr" text="&#1072;&#1087;&#1088;"/>
+ <l:template name="May" text="&#1084;&#1072;&#1112;"/>
+ <l:template name="Jun" text="&#1112;&#1091;&#1085;"/>
+ <l:template name="Jul" text="&#1112;&#1091;&#1083;"/>
+ <l:template name="Aug" text="&#1072;&#1074;&#1075;"/>
+ <l:template name="Sep" text="&#1089;&#1077;&#1087;"/>
+ <l:template name="Oct" text="&#1086;&#1082;&#1090;"/>
+ <l:template name="Nov" text="&#1085;&#1086;&#1074;"/>
+ <l:template name="Dec" text="&#1076;&#1077;&#1094;"/>
+ <l:template name="Mon" text="&#1087;&#1086;&#1085;"/>
+ <l:template name="Tue" text="&#1091;&#1090;&#1086;"/>
+ <l:template name="Wed" text="&#1089;&#1088;&#1077;"/>
+ <l:template name="Thu" text="&#1095;&#1077;&#1090;"/>
+ <l:template name="Fri" text="&#1087;&#1077;&#1090;"/>
+ <l:template name="Sat" text="&#1089;&#1091;&#1073;"/>
+ <l:template name="Sun" text="&#1085;&#1077;&#1076;"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x081a Serbian (Cyrillic)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/sr_Latn.xml b/docs/xslt/db2latex-xsl/xsl/common/sr_Latn.xml
new file mode 100644
index 0000000000..9afa066ec7
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/sr_Latn.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sr_Latn" english-language-name="Serbian in Latin script">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sr_Latn.xml -->
+ <l:gentext key="Abstract" text="Pregled"/>
+ <l:gentext key="abstract" text="Pregled"/>
+ <l:gentext key="Answer" text="O:"/>
+ <l:gentext key="answer" text="O:"/>
+ <l:gentext key="Appendix" text="Dodatak"/>
+ <l:gentext key="appendix" text="dodatak"/>
+ <l:gentext key="Article" text="&#268;lanak"/>
+ <l:gentext key="article" text="&#268;lanak"/>
+ <l:gentext key="Bibliography" text="Literatura"/>
+ <l:gentext key="bibliography" text="Literatura"/>
+ <l:gentext key="Book" text="Knjiga"/>
+ <l:gentext key="book" text="Knjiga"/>
+ <l:gentext key="CAUTION" text="UPOZORENJE"/>
+ <l:gentext key="Caution" text="Upozorenje"/>
+ <l:gentext key="caution" text="Upozorenje"/>
+ <l:gentext key="Chapter" text="Poglavlje"/>
+ <l:gentext key="chapter" text="poglavlje"/>
+ <l:gentext key="Colophon" text="Kolofon"/>
+ <l:gentext key="colophon" text="Kolofon"/>
+ <l:gentext key="Copyright" text="Pravna za&#353;tita"/>
+ <l:gentext key="copyright" text="Pravna za&#353;tita"/>
+ <l:gentext key="Dedication" text="Posveta"/>
+ <l:gentext key="dedication" text="Posveta"/>
+ <l:gentext key="Edition" text="Izdanje"/>
+ <l:gentext key="edition" text="Izdanje"/>
+ <l:gentext key="Equation" text="Jedna&#269;ina"/>
+ <l:gentext key="equation" text="Jedna&#269;ina"/>
+ <l:gentext key="Example" text="Primer"/>
+ <l:gentext key="example" text="Primer"/>
+ <l:gentext key="Figure" text="Slika"/>
+ <l:gentext key="figure" text="Slika"/>
+ <l:gentext key="Glossary" text="Re&#269;nik"/>
+ <l:gentext key="glossary" text="Re&#269;nik"/>
+ <l:gentext key="GlossSee" text="Vidi"/>
+ <l:gentext key="glosssee" text="Vidi"/>
+ <l:gentext key="GlossSeeAlso" text="Vidi tako&#273;e"/>
+ <l:gentext key="glossseealso" text="Vidi tako&#273;e"/>
+ <l:gentext key="IMPORTANT" text="VA&#381;NO"/>
+ <l:gentext key="Important" text="Va&#382;no"/>
+ <l:gentext key="important" text="Va&#382;no"/>
+ <l:gentext key="Index" text="Indeks"/>
+ <l:gentext key="index" text="Indeks"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Pravno obave&#353;tenje"/>
+ <l:gentext key="legalnotice" text="Pravno obave&#353;tenje"/>
+ <l:gentext key="MsgAud" text="MsgAud"/>
+ <l:gentext key="msgaud" text="MsgAud"/>
+ <l:gentext key="MsgLevel" text="Nivo"/>
+ <l:gentext key="msglevel" text="Nivo"/>
+ <l:gentext key="MsgOrig" text="Izvor"/>
+ <l:gentext key="msgorig" text="Izvor"/>
+ <l:gentext key="NOTE" text="PRIMEDBA"/>
+ <l:gentext key="Note" text="Primedba"/>
+ <l:gentext key="note" text="Primedba"/>
+ <l:gentext key="Part" text="Deo"/>
+ <l:gentext key="part" text="Deo"/>
+ <l:gentext key="Preface" text="Predgovor"/>
+ <l:gentext key="preface" text="Predgovor"/>
+ <l:gentext key="Procedure" text="Postupak"/>
+ <l:gentext key="procedure" text="Postupak"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="Izdato"/>
+ <l:gentext key="published" text="Izdato"/>
+ <l:gentext key="Question" text="P:"/>
+ <l:gentext key="question" text="P:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Referenca"/>
+ <l:gentext key="reference" text="Referenca"/>
+ <l:gentext key="RefName" text="Ime"/>
+ <l:gentext key="refname" text="Ime"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Sinopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Sinopsis"/>
+ <l:gentext key="RevHistory" text="Istorija revizija"/>
+ <l:gentext key="revhistory" text="Istorija revizija"/>
+ <l:gentext key="Revision" text="Revizija"/>
+ <l:gentext key="revision" text="Revizija"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="Odeljak"/>
+ <l:gentext key="section" text="sekcija"/>
+ <l:gentext key="See" text="vidi"/>
+ <l:gentext key="see" text="vidi"/>
+ <l:gentext key="SeeAlso" text="vidi tako&#273;e"/>
+ <l:gentext key="Seealso" text="Vidi tako&#273;e"/>
+ <l:gentext key="seealso" text="vidi tako&#273;e"/>
+ <l:gentext key="Set" text="Postavi"/>
+ <l:gentext key="set" text="Postavi"/>
+ <l:gentext key="SetIndex" text="Postavi indeks"/>
+ <l:gentext key="setindex" text="Postavi indeks"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="Step" text="Korak"/>
+ <l:gentext key="step" text="korak"/>
+ <l:gentext key="Table" text="Tabela"/>
+ <l:gentext key="table" text="Tabela"/>
+ <l:gentext key="TIP" text="SAVET"/>
+ <l:gentext key="Tip" text="Savet"/>
+ <l:gentext key="tip" text="Savet"/>
+ <l:gentext key="WARNING" text="UPOZORENJE"/>
+ <l:gentext key="Warning" text="Upozorenje"/>
+ <l:gentext key="warning" text="Upozorenje"/>
+ <l:gentext key="and" text="i"/>
+ <l:gentext key="by" text="od"/>
+ <l:gentext key="Edited" text="Ure&#273;eno"/>
+ <l:gentext key="edited" text="Ure&#273;eno"/>
+ <l:gentext key="Editedby" text="Ure&#273;eno od"/>
+ <l:gentext key="editedby" text="Ure&#273;eno od"/>
+ <l:gentext key="in" text="u"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="nepostoje&#263;i element"/>
+ <l:gentext key="notes" text="Notes"/>
+ <l:gentext key="Notes" text="Notes"/>
+ <l:gentext key="Pgs" text="Str."/>
+ <l:gentext key="pgs" text="Str."/>
+ <l:gentext key="Revisedby" text="Revised by: "/>
+ <l:gentext key="revisedby" text="Revised by: "/>
+ <l:gentext key="TableNotes" text="Notes"/>
+ <l:gentext key="tablenotes" text="Notes"/>
+ <l:gentext key="TableofContents" text="Sadr&#382;aj"/>
+ <l:gentext key="tableofcontents" text="Sadr&#382;aj"/>
+ <l:gentext key="unexpectedelementname" text="Neo&#269;ekivano ime elementa"/>
+ <l:gentext key="unsupported" text="nepodr&#382;ano"/>
+ <l:gentext key="xrefto" text="xref na"/>
+ <l:gentext key="listofequations" text="Spisak jedna&#269;ina"/>
+ <l:gentext key="ListofEquations" text="Spisak jedna&#269;ina"/>
+ <l:gentext key="ListofExamples" text="Spisak primera"/>
+ <l:gentext key="listofexamples" text="Spisak primera"/>
+ <l:gentext key="ListofFigures" text="Spisak slika"/>
+ <l:gentext key="listoffigures" text="Spisak slika"/>
+ <l:gentext key="listoftables" text="Spisak tabela"/>
+ <l:gentext key="ListofTables" text="Spisak tabela"/>
+ <l:gentext key="ListofUnknown" text="Spisak nepoznanica"/>
+ <l:gentext key="listofunknown" text="Spisak nepoznanica"/>
+ <l:gentext key="nav-home" text="Ku&#263;i"/>
+ <l:gentext key="nav-next" text="Napred"/>
+ <l:gentext key="nav-next-sibling" text="Brzo napred"/>
+ <l:gentext key="nav-prev" text="Nazad"/>
+ <l:gentext key="nav-prev-sibling" text="Brzo nazad"/>
+ <l:gentext key="nav-up" text="Gore"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sr_Latn.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Dodatak %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Poglavlje %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Jedna&#269;ina %n. %t"/>
+ <l:template name="example" text="Primer %n. %t"/>
+ <l:template name="figure" text="Slika %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Deo %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Postupak&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabela %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Dodatak %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Poglavlje %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="O:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="P:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="P:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="O:&#160;%n"/>
+ <l:template name="appendix" text="Dodatak&#160;%n"/>
+ <l:template name="bridgehead" text="Odeljak&#160;%n"/>
+ <l:template name="chapter" text="Poglavlje&#160;%n"/>
+ <l:template name="equation" text="Jedna&#269;ina&#160;%n"/>
+ <l:template name="example" text="Primer&#160;%n"/>
+ <l:template name="figure" text="Slika&#160;%n"/>
+ <l:template name="part" text="Deo&#160;%n"/>
+ <l:template name="procedure" text="Postupak&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="P:&#160;%n"/>
+ <l:template name="question" text="P:&#160;%n"/>
+ <l:template name="sect1" text="Odeljak&#160;%n"/>
+ <l:template name="sect2" text="Odeljak&#160;%n"/>
+ <l:template name="sect3" text="Odeljak&#160;%n"/>
+ <l:template name="sect4" text="Odeljak&#160;%n"/>
+ <l:template name="sect5" text="Odeljak&#160;%n"/>
+ <l:template name="section" text="Odeljak&#160;%n"/>
+ <l:template name="table" text="Tabela&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Dodatak&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Poglavlje&#160;%n, %t"/>
+ <l:template name="equation" text="Jedna&#269;ina&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Primer&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Slika&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Deo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Postupak&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" i "/>
+ <l:template name="seplast" text=", i "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Vidi "/>
+ <l:template name="seealso" text="Vidi tako&#273;e "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="MsgAud: "/>
+ <l:template name="MsgLevel" text="Nivo: "/>
+ <l:template name="MsgOrig" text="Izvor: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x081a Serbian (Latin)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/subtitles.xsl b/docs/xslt/db2latex-xsl/xsl/common/subtitles.xsl
new file mode 100644
index 0000000000..7126b00993
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/subtitles.xsl
@@ -0,0 +1,140 @@
+<?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: subtitles.xsl,v 1.2 2004/01/04 09:25:57 j-devenish Exp $
+ ********************************************************************
+
+ This file is part of the XSL DocBook Stylesheet distribution.
+
+ Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh.
+ ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- subtitle markup -->
+
+<doc:mode mode="subtitle.markup" xmlns="">
+<refpurpose>Provides access to element subtitles</refpurpose>
+<refdescription>
+<para>Processing an element in the
+<literal role="mode">subtitle.markup</literal> mode produces the
+subtitle of the element.
+</para>
+</refdescription>
+</doc:mode>
+
+<xsl:template match="*" mode="subtitle.markup">
+ <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.markup">
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="set" mode="subtitle.markup">
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:apply-templates select="(setinfo/subtitle|subtitle)[1]"
+ mode="subtitle.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="book" mode="subtitle.markup">
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:apply-templates select="(bookinfo/subtitle|subtitle)[1]"
+ mode="subtitle.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="part" mode="subtitle.markup">
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:apply-templates select="(partinfo/subtitle
+ |docinfo/subtitle
+ |subtitle)[1]"
+ mode="subtitle.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="preface|chapter|appendix" mode="subtitle.markup">
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:apply-templates select="(docinfo/subtitle
+ |prefaceinfo/subtitle
+ |chapterinfo/subtitle
+ |appendixinfo/subtitle
+ |subtitle)[1]"
+ mode="subtitle.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="article" mode="subtitle.markup">
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:apply-templates select="(artheader/subtitle
+ |articleinfo/subtitle
+ |subtitle)[1]"
+ mode="subtitle.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="dedication|colophon" mode="subtitle.markup">
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:apply-templates select="subtitle"
+ mode="subtitle.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="reference" mode="subtitle.markup">
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:apply-templates select="(referenceinfo/subtitle
+ |docinfo/subtitle
+ |subtitle)[1]"
+ mode="subtitle.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refentry" mode="subtitle.markup">
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:apply-templates select="(refentryinfo/subtitle
+ |docinfo/subtitle)[1]"
+ mode="subtitle.markup">
+ <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.markup">
+ <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.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/common/sv.xml b/docs/xslt/db2latex-xsl/xsl/common/sv.xml
new file mode 100644
index 0000000000..6101b453a5
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/sv.xml
@@ -0,0 +1,487 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sv" english-language-name="Swedish">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sv.xml -->
+ <l:gentext key="Abstract" text="Sammanfattning"/>
+ <l:gentext key="abstract" text="Sammanfattning"/>
+ <l:gentext key="Answer" text="A:"/>
+ <l:gentext key="answer" text="A:"/>
+ <l:gentext key="Appendix" text="Appendix"/>
+ <l:gentext key="appendix" text="appendix"/>
+ <l:gentext key="Article" text="Artikel"/>
+ <l:gentext key="article" text="Artikel"/>
+ <l:gentext key="Bibliography" text="Bibliografi"/>
+ <l:gentext key="bibliography" text="Bibliografi"/>
+ <l:gentext key="Book" text="Bok"/>
+ <l:gentext key="book" text="Bok"/>
+ <l:gentext key="CAUTION" text="OBSERVERA"/>
+ <l:gentext key="Caution" text="Observera"/>
+ <l:gentext key="caution" text="Observera"/>
+ <l:gentext key="Chapter" text="Kapitel"/>
+ <l:gentext key="chapter" text="kapitel"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="Copyright"/>
+ <l:gentext key="copyright" text="Copyright"/>
+ <l:gentext key="Dedication" text="Dedikation"/>
+ <l:gentext key="dedication" text="Dedikation"/>
+ <l:gentext key="Edition" text="Utg&#229;va"/>
+ <l:gentext key="edition" text="Utg&#229;va"/>
+ <l:gentext key="Equation" text="Ekvation"/>
+ <l:gentext key="equation" text="Ekvation"/>
+ <l:gentext key="Example" text="Exempel"/>
+ <l:gentext key="example" text="Exempel"/>
+ <l:gentext key="Figure" text="Figur"/>
+ <l:gentext key="figure" text="Figur"/>
+ <l:gentext key="Glossary" text="Gloslista"/>
+ <l:gentext key="glossary" text="Gloslista"/>
+ <l:gentext key="GlossSee" text="Se"/>
+ <l:gentext key="glosssee" text="Se"/>
+ <l:gentext key="GlossSeeAlso" text="Se &#196;ven"/>
+ <l:gentext key="glossseealso" text="Se &#196;ven"/>
+ <l:gentext key="IMPORTANT" text="VIKTIGT"/>
+ <l:gentext key="Important" text="Viktigt"/>
+ <l:gentext key="important" text="Viktigt"/>
+ <l:gentext key="Index" text="Index"/>
+ <l:gentext key="index" text="Index"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Legal Notice"/>
+ <l:gentext key="legalnotice" text="Legal Notice"/>
+ <l:gentext key="MsgAud" text="M&#229;lgrupp"/>
+ <l:gentext key="msgaud" text="M&#229;lgrupp"/>
+ <l:gentext key="MsgLevel" text="Niv&#229;"/>
+ <l:gentext key="msglevel" text="Niv&#229;"/>
+ <l:gentext key="MsgOrig" text="Ursprung"/>
+ <l:gentext key="msgorig" text="Ursprung"/>
+ <l:gentext key="NOTE" text="NOT"/>
+ <l:gentext key="Note" text="Not"/>
+ <l:gentext key="note" text="Not"/>
+ <l:gentext key="Part" text="Del"/>
+ <l:gentext key="part" text="Del"/>
+ <l:gentext key="Preface" text="F&#246;retal"/>
+ <l:gentext key="preface" text="F&#246;retal"/>
+ <l:gentext key="Procedure" text="Procedur"/>
+ <l:gentext key="procedure" text="Procedur"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="Publicerad"/>
+ <l:gentext key="published" text="Publicerad"/>
+ <l:gentext key="Question" text="Fr&#229;ga:"/>
+ <l:gentext key="question" text="Fr&#229;ga:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Referens"/>
+ <l:gentext key="reference" text="Referens"/>
+ <l:gentext key="RefName" text="Namn"/>
+ <l:gentext key="refname" text="Namn"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Revisionshistorik"/>
+ <l:gentext key="revhistory" text="Revisionshistorik"/>
+ <l:gentext key="Revision" text="Revision"/>
+ <l:gentext key="revision" text="Revision"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="Avsnitt"/>
+ <l:gentext key="section" text="avsnitt"/>
+ <l:gentext key="See" text="Se"/>
+ <l:gentext key="see" text="se"/>
+ <l:gentext key="SeeAlso" text="Se &#196;ven"/>
+ <l:gentext key="seealso" text="se &#228;ven"/>
+ <l:gentext key="Seealso" text="Se &#228;ven"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="SetIndex" text="Set Index"/>
+ <l:gentext key="setindex" text="Set Index"/>
+ <l:gentext key="Sidebar" text="Sidebar"/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="Step" text="Steg"/>
+ <l:gentext key="step" text="steg"/>
+ <l:gentext key="Table" text="Tabell"/>
+ <l:gentext key="table" text="Tabell"/>
+ <l:gentext key="TIP" text="TIPS"/>
+ <l:gentext key="Tip" text="Tips"/>
+ <l:gentext key="tip" text="Tips"/>
+ <l:gentext key="WARNING" text="VARNING"/>
+ <l:gentext key="Warning" text="Varning"/>
+ <l:gentext key="warning" text="Varning"/>
+ <l:gentext key="and" text="och"/>
+ <l:gentext key="by" text="av"/>
+ <l:gentext key="called" text="kallas"/>
+ <l:gentext key="Edited" text="Redigerad"/>
+ <l:gentext key="edited" text="Redigerad"/>
+ <l:gentext key="Editedby" text="Redigerad av"/>
+ <l:gentext key="editedby" text="Redigerad av"/>
+ <l:gentext key="in" text="i"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="icke-existerande element"/>
+ <l:gentext key="Notes" text="Noter"/>
+ <l:gentext key="notes" text="Noter"/>
+ <l:gentext key="Pgs" text="Sid."/>
+ <l:gentext key="pgs" text="Sid."/>
+ <l:gentext key="Revisedby" text="Reviderad av: "/>
+ <l:gentext key="revisedby" text="Reviderad av: "/>
+ <l:gentext key="TableNotes" text="Noter"/>
+ <l:gentext key="tablenotes" text="Noter"/>
+ <l:gentext key="TableofContents" text="Inneh&#229;llsf&#246;rteckning"/>
+ <l:gentext key="tableofcontents" text="Inneh&#229;llsf&#246;rteckning"/>
+ <l:gentext key="the" text=""/>
+ <l:gentext key="unexpectedelementname" text="Ov&#228;ntat elementnamn"/>
+ <l:gentext key="unsupported" text="unsupported"/>
+ <l:gentext key="xrefto" text="korsreferens till"/>
+ <l:gentext key="ListofEquations" text="Ekvationsf&#246;rteckning"/>
+ <l:gentext key="listofequations" text="Ekvationsf&#246;rteckning"/>
+ <l:gentext key="ListofExamples" text="Exempelf&#246;rteckning"/>
+ <l:gentext key="listofexamples" text="Exempelf&#246;rteckning"/>
+ <l:gentext key="ListofFigures" text="Figurf&#246;rteckning"/>
+ <l:gentext key="listoffigures" text="Figurf&#246;rteckning"/>
+ <l:gentext key="ListofTables" text="Tabellf&#246;rteckning"/>
+ <l:gentext key="listoftables" text="Tabellf&#246;rteckning"/>
+ <l:gentext key="ListofUnknown" text="F&#246;rteckning av ok&#228;nda"/>
+ <l:gentext key="listofunknown" text="F&#246;rteckning av ok&#228;nda"/>
+ <l:gentext key="nav-home" text="Hem"/>
+ <l:gentext key="nav-next" text="N&#228;sta"/>
+ <l:gentext key="nav-next-sibling" text="Snabbt fram&#229;t"/>
+ <l:gentext key="nav-prev" text="F&#246;reg&#229;ende"/>
+ <l:gentext key="nav-prev-sibling" text="Snabbt bak&#229;t"/>
+ <l:gentext key="nav-up" text="Upp"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/sv.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Appendix %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Kapitel %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Ekvation %n. %t"/>
+ <l:template name="example" text="Exempel %n. %t"/>
+ <l:template name="figure" text="Figur %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Del %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Procedur&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tabell %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Appendix %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="Kapitel %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Fr&#229;ga:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Fr&#229;ga:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="A:&#160;%n"/>
+ <l:template name="appendix" text="Appendix&#160;%n"/>
+ <l:template name="bridgehead" text="Avsnitt&#160;%n"/>
+ <l:template name="chapter" text="Kapitel&#160;%n"/>
+ <l:template name="equation" text="Ekvation&#160;%n"/>
+ <l:template name="example" text="Exempel&#160;%n"/>
+ <l:template name="figure" text="Figur&#160;%n"/>
+ <l:template name="part" text="Del&#160;%n"/>
+ <l:template name="procedure" text="Procedur&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="Fr&#229;ga:&#160;%n"/>
+ <l:template name="question" text="Fr&#229;ga:&#160;%n"/>
+ <l:template name="sect1" text="Avsnitt&#160;%n"/>
+ <l:template name="sect2" text="Avsnitt&#160;%n"/>
+ <l:template name="sect3" text="Avsnitt&#160;%n"/>
+ <l:template name="sect4" text="Avsnitt&#160;%n"/>
+ <l:template name="sect5" text="Avsnitt&#160;%n"/>
+ <l:template name="section" text="Avsnitt&#160;%n"/>
+ <l:template name="table" text="Tabell&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Appendix&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Avsnitt&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Kapitel&#160;%n, %t"/>
+ <l:template name="equation" text="Ekvation&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Exempel&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Figur&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Del&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Procedur&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Avsnitt&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Avsnitt&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Avsnitt&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Avsnitt&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Avsnitt&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Avsnitt&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tabell&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" och "/>
+ <l:template name="seplast" text=", och "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Se "/>
+ <l:template name="seealso" text="Se &#196;ven "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="M&#229;lgrupp: "/>
+ <l:template name="MsgLevel" text="Niv&#229;: "/>
+ <l:template name="MsgOrig" text="Ursprung: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d-m-Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="Januari"/>
+ <l:template name="February" text="Februari"/>
+ <l:template name="March" text="Mars"/>
+ <l:template name="April" text="April"/>
+ <l:template name="May" text="Maj"/>
+ <l:template name="June" text="Juni"/>
+ <l:template name="July" text="Juli"/>
+ <l:template name="August" text="Augusti"/>
+ <l:template name="September" text="September"/>
+ <l:template name="October" text="Oktober"/>
+ <l:template name="November" text="November"/>
+ <l:template name="December" text="December"/>
+ <l:template name="Monday" text="M&#229;ndag"/>
+ <l:template name="Tuesday" text="Tisdag"/>
+ <l:template name="Wednesday" text="Onsdag"/>
+ <l:template name="Thursday" text="Torsdag"/>
+ <l:template name="Friday" text="Fredag"/>
+ <l:template name="Saturday" text="L&#246;rdag"/>
+ <l:template name="Sunday" text="S&#246;ndag"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="Jan"/>
+ <l:template name="Feb" text="Feb"/>
+ <l:template name="Mar" text="Mar"/>
+ <l:template name="Apr" text="Apr"/>
+ <l:template name="May" text="Maj"/>
+ <l:template name="Jun" text="Jun"/>
+ <l:template name="Jul" text="Jul"/>
+ <l:template name="Aug" text="Aug"/>
+ <l:template name="Sep" text="Sep"/>
+ <l:template name="Oct" text="Okt"/>
+ <l:template name="Nov" text="Nov"/>
+ <l:template name="Dec" text="Dec"/>
+ <l:template name="Mon" text="Mon"/>
+ <l:template name="Tue" text="Tis"/>
+ <l:template name="Wed" text="Ons"/>
+ <l:template name="Thu" text="Tor"/>
+ <l:template name="Fri" text="Fre"/>
+ <l:template name="Sat" text="L&#246;r"/>
+ <l:template name="Sun" text="S&#246;n"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x041d Swedish"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/th.xml b/docs/xslt/db2latex-xsl/xsl/common/th.xml
new file mode 100644
index 0000000000..847d59e203
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/th.xml
@@ -0,0 +1,444 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="th" english-language-name="Thai">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/th.xml -->
+ <l:gentext key="Abstract" text="&#3610;&#3607;&#3588;&#3633;&#3604;&#3618;&#3656;&#3629;"/>
+ <l:gentext key="abstract" text="&#3610;&#3607;&#3588;&#3633;&#3604;&#3618;&#3656;&#3629;"/>
+ <l:gentext key="Answer" text="&#3605;&#3629;&#3610;:"/>
+ <l:gentext key="answer" text="&#3605;&#3629;&#3610;:"/>
+ <l:gentext key="Appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585;"/>
+ <l:gentext key="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585;"/>
+ <l:gentext key="Article" text="&#3610;&#3607;&#3588;&#3623;&#3634;&#3617;"/>
+ <l:gentext key="article" text="&#3610;&#3607;&#3588;&#3623;&#3634;&#3617;"/>
+ <l:gentext key="Bibliography" text="&#3610;&#3619;&#3619;&#3603;&#3634;&#3609;&#3640;&#3585;&#3619;&#3617;"/>
+ <l:gentext key="bibliography" text="&#3610;&#3619;&#3619;&#3603;&#3634;&#3609;&#3640;&#3585;&#3619;&#3617;"/>
+ <l:gentext key="Book" text="&#3627;&#3609;&#3633;&#3591;&#3626;&#3639;&#3629;"/>
+ <l:gentext key="book" text="&#3627;&#3609;&#3633;&#3591;&#3626;&#3639;&#3629;"/>
+ <l:gentext key="CAUTION" text="&#3588;&#3635;&#3648;&#3605;&#3639;&#3629;&#3609;"/>
+ <l:gentext key="Caution" text="&#3588;&#3635;&#3648;&#3605;&#3639;&#3629;&#3609;"/>
+ <l:gentext key="caution" text="&#3588;&#3635;&#3648;&#3605;&#3639;&#3629;&#3609;"/>
+ <l:gentext key="Chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="Colophon" text="&#3648;&#3610;&#3639;&#3657;&#3629;&#3591;&#3627;&#3621;&#3633;&#3591;"/>
+ <l:gentext key="colophon" text="&#3648;&#3610;&#3639;&#3657;&#3629;&#3591;&#3627;&#3621;&#3633;&#3591;"/>
+ <l:gentext key="Copyright" text="&#3626;&#3591;&#3623;&#3609;&#3626;&#3636;&#3586;&#3626;&#3636;&#3607;&#3608;&#3636;&#3660;"/>
+ <l:gentext key="copyright" text="&#3626;&#3591;&#3623;&#3609;&#3626;&#3636;&#3586;&#3626;&#3636;&#3607;&#3608;&#3636;&#3660;"/>
+ <l:gentext key="Dedication" text="&#3588;&#3635;&#3629;&#3640;&#3607;&#3636;&#3624;"/>
+ <l:gentext key="dedication" text="&#3588;&#3635;&#3629;&#3640;&#3607;&#3636;&#3624;"/>
+ <l:gentext key="Edition" text="&#3593;&#3610;&#3633;&#3610;"/>
+ <l:gentext key="edition" text="&#3593;&#3610;&#3633;&#3610;"/>
+ <l:gentext key="Equation" text="&#3626;&#3617;&#3585;&#3634;&#3619;"/>
+ <l:gentext key="equation" text="&#3626;&#3617;&#3585;&#3634;&#3619;"/>
+ <l:gentext key="Example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;"/>
+ <l:gentext key="example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;"/>
+ <l:gentext key="Figure" text="&#3619;&#3641;&#3611;"/>
+ <l:gentext key="figure" text="&#3619;&#3641;&#3611;"/>
+ <l:gentext key="Glossary" text="&#3629;&#3616;&#3636;&#3607;&#3634;&#3609;&#3624;&#3633;&#3614;&#3607;&#3660;"/>
+ <l:gentext key="glossary" text="&#3629;&#3616;&#3636;&#3607;&#3634;&#3609;&#3624;&#3633;&#3614;&#3607;&#3660;"/>
+ <l:gentext key="GlossSee" text="&#3604;&#3641;"/>
+ <l:gentext key="glosssee" text="&#3604;&#3641;"/>
+ <l:gentext key="GlossSeeAlso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+ <l:gentext key="glossseealso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+ <l:gentext key="IMPORTANT" text="&#3586;&#3657;&#3629;&#3588;&#3623;&#3619;&#3592;&#3635;"/>
+ <l:gentext key="important" text="&#3586;&#3657;&#3629;&#3588;&#3623;&#3619;&#3592;&#3635;"/>
+ <l:gentext key="Important" text="&#3586;&#3657;&#3629;&#3588;&#3623;&#3619;&#3592;&#3635;"/>
+ <l:gentext key="Index" text="&#3604;&#3619;&#3619;&#3594;&#3609;&#3637;"/>
+ <l:gentext key="index" text="&#3604;&#3619;&#3619;&#3594;&#3609;&#3637;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="&#3586;&#3657;&#3629;&#3612;&#3641;&#3585;&#3614;&#3633;&#3609;&#3605;&#3634;&#3617;&#3585;&#3598;&#3627;&#3617;&#3634;&#3618;"/>
+ <l:gentext key="legalnotice" text="&#3586;&#3657;&#3629;&#3612;&#3641;&#3585;&#3614;&#3633;&#3609;&#3605;&#3634;&#3617;&#3585;&#3598;&#3627;&#3617;&#3634;&#3618;"/>
+ <l:gentext key="MsgAud" text="&#3612;&#3641;&#3657;&#3629;&#3656;&#3634;&#3609;"/>
+ <l:gentext key="msgaud" text="&#3612;&#3641;&#3657;&#3629;&#3656;&#3634;&#3609;"/>
+ <l:gentext key="MsgLevel" text="&#3619;&#3632;&#3604;&#3633;&#3610;"/>
+ <l:gentext key="msglevel" text="&#3619;&#3632;&#3604;&#3633;&#3610;"/>
+ <l:gentext key="MsgOrig" text="&#3607;&#3637;&#3656;&#3617;&#3634;"/>
+ <l:gentext key="msgorig" text="&#3607;&#3637;&#3656;&#3617;&#3634;"/>
+ <l:gentext key="NOTE" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+ <l:gentext key="Note" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+ <l:gentext key="note" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+ <l:gentext key="Part" text="&#3616;&#3634;&#3588;"/>
+ <l:gentext key="part" text="&#3616;&#3634;&#3588;"/>
+ <l:gentext key="Preface" text="&#3588;&#3635;&#3609;&#3635;"/>
+ <l:gentext key="preface" text="&#3588;&#3635;&#3609;&#3635;"/>
+ <l:gentext key="Procedure" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619;"/>
+ <l:gentext key="procedure" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619;"/>
+ <l:gentext key="ProductionSet" text="&#3612;&#3621;&#3636;&#3605;"/>
+ <l:gentext key="Published" text="&#3605;&#3637;&#3614;&#3636;&#3617;&#3614;&#3660;"/>
+ <l:gentext key="published" text="&#3605;&#3637;&#3614;&#3636;&#3617;&#3614;&#3660;"/>
+ <l:gentext key="Question" text="&#3606;&#3634;&#3617;:"/>
+ <l:gentext key="question" text="&#3606;&#3634;&#3617;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#3627;&#3609;&#3633;&#3591;&#3626;&#3639;&#3629;&#3629;&#3657;&#3634;&#3591;&#3629;&#3636;&#3591;"/>
+ <l:gentext key="reference" text="&#3627;&#3609;&#3633;&#3591;&#3626;&#3639;&#3629;&#3629;&#3657;&#3634;&#3591;&#3629;&#3636;&#3591;"/>
+ <l:gentext key="RefName" text="&#3594;&#3639;&#3656;&#3629;"/>
+ <l:gentext key="refname" text="&#3594;&#3639;&#3656;&#3629;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#3626;&#3634;&#3619;&#3632;&#3626;&#3635;&#3588;&#3633;&#3597;"/>
+ <l:gentext key="refsynopsisdiv" text="&#3626;&#3634;&#3619;&#3632;&#3626;&#3635;&#3588;&#3633;&#3597;"/>
+ <l:gentext key="RevHistory" text="&#3610;&#3633;&#3609;&#3607;&#3638;&#3585;&#3619;&#3640;&#3656;&#3609;"/>
+ <l:gentext key="revhistory" text="&#3610;&#3633;&#3609;&#3607;&#3638;&#3585;&#3619;&#3640;&#3656;&#3609;"/>
+ <l:gentext key="revision" text="&#3619;&#3640;&#3656;&#3609;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="Revision" text="&#3619;&#3640;&#3656;&#3609;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="sect1" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="sect2" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="sect3" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="sect4" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="sect5" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="section" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="Section" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+ <l:gentext key="See" text="&#3604;&#3641;"/>
+ <l:gentext key="see" text="&#3604;&#3641;"/>
+ <l:gentext key="SeeAlso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+ <l:gentext key="seealso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+ <l:gentext key="Seealso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+ <l:gentext key="set" text="&#3594;&#3640;&#3604;"/>
+ <l:gentext key="Set" text="&#3594;&#3640;&#3604;"/>
+ <l:gentext key="setindex" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3594;&#3640;&#3604;"/>
+ <l:gentext key="SetIndex" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3594;&#3640;&#3604;"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="step" text="&#3621;&#3635;&#3604;&#3633;&#3610;"/>
+ <l:gentext key="Step" text="&#3621;&#3635;&#3604;&#3633;&#3610;"/>
+ <l:gentext key="Table" text="&#3605;&#3634;&#3619;&#3634;&#3591;"/>
+ <l:gentext key="table" text="&#3605;&#3634;&#3619;&#3634;&#3591;"/>
+ <l:gentext key="tip" text="&#3588;&#3635;&#3649;&#3609;&#3632;&#3609;&#3635;"/>
+ <l:gentext key="TIP" text="&#3588;&#3635;&#3649;&#3609;&#3632;&#3609;&#3635;"/>
+ <l:gentext key="Tip" text="&#3588;&#3635;&#3649;&#3609;&#3632;&#3609;&#3635;"/>
+ <l:gentext key="Warning" text="&#3650;&#3611;&#3619;&#3604;&#3619;&#3632;&#3623;&#3633;&#3591;"/>
+ <l:gentext key="warning" text="&#3650;&#3611;&#3619;&#3604;&#3619;&#3632;&#3623;&#3633;&#3591;"/>
+ <l:gentext key="WARNING" text="&#3650;&#3611;&#3619;&#3604;&#3619;&#3632;&#3623;&#3633;&#3591;"/>
+ <l:gentext key="and" text="&#3649;&#3621;&#3632;"/>
+ <l:gentext key="by" text="&#3650;&#3604;&#3618;"/>
+ <l:gentext key="Edited" text="&#3648;&#3619;&#3637;&#3618;&#3610;&#3648;&#3619;&#3637;&#3618;&#3591;"/>
+ <l:gentext key="edited" text="&#3648;&#3619;&#3637;&#3618;&#3610;&#3648;&#3619;&#3637;&#3618;&#3591;"/>
+ <l:gentext key="Editedby" text="&#3648;&#3619;&#3637;&#3618;&#3610;&#3648;&#3619;&#3637;&#3618;&#3591;&#3650;&#3604;&#3610;"/>
+ <l:gentext key="editedby" text="&#3648;&#3619;&#3637;&#3618;&#3610;&#3648;&#3619;&#3637;&#3618;&#3591;&#3650;&#3604;&#3610;"/>
+ <l:gentext key="in" text="&#3651;&#3609;"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="&#3652;&#3617;&#3656;&#3614;&#3610;&#3626;&#3656;&#3623;&#3609;&#3607;&#3637;&#3656;&#3605;&#3657;&#3629;&#3591;&#3585;&#3634;&#3619;"/>
+ <l:gentext key="notes" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+ <l:gentext key="Notes" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+ <l:gentext key="Pgs" text="&#3627;&#3609;&#3657;&#3634;"/>
+ <l:gentext key="pgs" text="&#3627;&#3609;&#3657;&#3634;"/>
+ <l:gentext key="Revisedby" text="&#3649;&#3585;&#3657;&#3652;&#3586;&#3611;&#3619;&#3633;&#3610;&#3611;&#3619;&#3640;&#3591;&#3650;&#3604;&#3618;: "/>
+ <l:gentext key="revisedby" text="&#3649;&#3585;&#3657;&#3652;&#3586;&#3611;&#3619;&#3633;&#3610;&#3611;&#3619;&#3640;&#3591;&#3650;&#3604;&#3618;: "/>
+ <l:gentext key="TableNotes" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+ <l:gentext key="tablenotes" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+ <l:gentext key="TableofContents" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;"/>
+ <l:gentext key="tableofcontents" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;"/>
+ <l:gentext key="unexpectedelementname" text="&#3614;&#3610;&#3626;&#3656;&#3623;&#3609;&#3607;&#3637;&#3656;&#3652;&#3617;&#3656;&#3605;&#3657;&#3629;&#3591;&#3585;&#3634;&#3619;"/>
+ <l:gentext key="unsupported" text="&#3652;&#3617;&#3656;&#3626;&#3609;&#3633;&#3610;&#3626;&#3609;&#3640;&#3609;"/>
+ <l:gentext key="xrefto" text="xref to"/>
+ <l:gentext key="listofequations" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3626;&#3617;&#3585;&#3634;&#3619;"/>
+ <l:gentext key="ListofEquations" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3626;&#3617;&#3585;&#3634;&#3619;"/>
+ <l:gentext key="ListofExamples" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;"/>
+ <l:gentext key="listofexamples" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;"/>
+ <l:gentext key="ListofFigures" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3619;&#3641;&#3611;"/>
+ <l:gentext key="listoffigures" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3619;&#3641;&#3611;"/>
+ <l:gentext key="listoftables" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3605;&#3634;&#3619;&#3634;&#3591;"/>
+ <l:gentext key="ListofTables" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3605;&#3634;&#3619;&#3634;&#3591;"/>
+ <l:gentext key="ListofUnknown" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3629;&#3639;&#3656;&#3609; &#3654;"/>
+ <l:gentext key="listofunknown" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3629;&#3639;&#3656;&#3609; &#3654;"/>
+ <l:gentext key="nav-home" text="&#3627;&#3609;&#3657;&#3634;&#3649;&#3619;&#3585;"/>
+ <l:gentext key="nav-next" text="&#3605;&#3656;&#3629;&#3652;&#3611;"/>
+ <l:gentext key="nav-next-sibling" text="&#3605;&#3656;&#3629;&#3652;&#3611;"/>
+ <l:gentext key="nav-prev" text="&#3585;&#3656;&#3629;&#3609;&#3627;&#3609;&#3657;&#3634;"/>
+ <l:gentext key="nav-prev-sibling" text="&#3585;&#3656;&#3629;&#3609;&#3627;&#3609;&#3657;&#3634;"/>
+ <l:gentext key="nav-up" text="&#3585;&#3621;&#3633;&#3610;"/>
+ <l:gentext key="sectioncalled" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634;"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="&#3626;&#3633;&#3597;&#3621;&#3633;&#3585;&#3625;&#3603;&#3660;"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/th.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585; %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656; %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#3626;&#3617;&#3585;&#3634;&#3619; %n. %t"/>
+ <l:template name="example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591; %n. %t"/>
+ <l:template name="figure" text="&#3619;&#3641;&#3611; %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#3616;&#3634;&#3588; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619; %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="&#3612;&#3621;&#3636;&#3605; %n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#3605;&#3634;&#3619;&#3634;&#3591; %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585; %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656; %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#3605;&#3629;&#3610;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#3606;&#3634;&#3617;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#3606;&#3634;&#3617;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#3605;&#3629;&#3610;:&#160;%n"/>
+ <l:template name="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585;&#160;%n"/>
+ <l:template name="bridgehead" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+ <l:template name="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656;&#160;%n"/>
+ <l:template name="equation" text="&#3626;&#3617;&#3585;&#3634;&#3619;&#160;%n"/>
+ <l:template name="example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;&#160;%n"/>
+ <l:template name="figure" text="&#3619;&#3641;&#3611;&#160;%n"/>
+ <l:template name="part" text="&#3616;&#3634;&#3588;&#160;%n"/>
+ <l:template name="procedure" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619;&#160;%n"/>
+ <l:template name="productionset" text="&#3612;&#3621;&#3636;&#3605;&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#3606;&#3634;&#3617;:&#160;%n"/>
+ <l:template name="question" text="&#3606;&#3634;&#3617;:&#160;%n"/>
+ <l:template name="sect1" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+ <l:template name="sect2" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+ <l:template name="sect3" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+ <l:template name="sect4" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+ <l:template name="sect5" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+ <l:template name="section" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+ <l:template name="table" text="&#3605;&#3634;&#3619;&#3634;&#3591;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656;&#160;%n, %t"/>
+ <l:template name="equation" text="&#3626;&#3617;&#3585;&#3634;&#3619;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="&#3619;&#3641;&#3611;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="&#3616;&#3634;&#3588;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="&#3612;&#3621;&#3636;&#3605;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3648;&#3657;&#3619;&#3637;&#3618;&#3585;&#3623;&#3656;&#3634; &#8220;%t&#8221;"/>
+ <l:template name="table" text="&#3605;&#3634;&#3619;&#3634;&#3591;&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#3649;&#3621;&#3632; "/>
+ <l:template name="seplast" text=", &#3649;&#3621;&#3632; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#3604;&#3641; "/>
+ <l:template name="seealso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#3612;&#3641;&#3657;&#3629;&#3656;&#3634;&#3609;: "/>
+ <l:template name="MsgLevel" text="&#3619;&#3632;&#3604;&#3633;&#3610;: "/>
+ <l:template name="MsgOrig" text="&#3607;&#3637;&#3656;&#3617;&#3634;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x041e Thai"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/titles.xsl b/docs/xslt/db2latex-xsl/xsl/common/titles.xsl
new file mode 100644
index 0000000000..628741c2fb
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/titles.xsl
@@ -0,0 +1,595 @@
+<?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: titles.xsl,v 1.2 2004/01/04 09:25:57 j-devenish Exp $
+ ********************************************************************
+
+ This file is part of the XSL DocBook Stylesheet distribution.
+
+ Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh.
+ ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- title markup -->
+
+<doc:mode mode="title.markup" xmlns="">
+<refpurpose>Provides access to element titles</refpurpose>
+<refdescription>
+<para>Processing an element in the
+<literal role="mode">title.markup</literal> mode produces the
+title of the element. This does not include the label.
+</para>
+</refdescription>
+</doc:mode>
+
+<xsl:template match="*" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:param name="verbose" select="1"/>
+
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:apply-templates select="title[1]" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:when test="local-name(.) = 'partintro'">
+ <!-- partintro's don't have titles, use the parent (part or reference)
+ title instead. -->
+ <xsl:apply-templates select="parent::*" mode="title.markup"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="$verbose">
+ <xsl:message>
+ <xsl:text>Request for title of element with no title: </xsl:text>
+ <xsl:value-of select="name(.)"/>
+ <xsl:if test="@id">
+ <xsl:text> (id="</xsl:text>
+ <xsl:value-of select="@id"/>
+ <xsl:text>")</xsl:text>
+ </xsl:if>
+ </xsl:message>
+ </xsl:if>
+ <xsl:text>???TITLE???</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="title" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+
+ <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:template>
+
+<!-- only occurs in HTML Tables! -->
+<xsl:template match="caption" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+
+ <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:template>
+
+<xsl:template match="set" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:apply-templates select="(setinfo/title|title)[1]"
+ mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="book" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:apply-templates select="(bookinfo/title|title)[1]"
+ mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="part" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:apply-templates select="(partinfo/title|docinfo/title|title)[1]"
+ mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="preface|chapter|appendix" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+
+<!--
+ <xsl:message>
+ <xsl:value-of select="name(.)"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="$allow-anchors"/>
+ </xsl:message>
+-->
+
+ <xsl:variable name="title" select="(docinfo/title
+ |prefaceinfo/title
+ |chapterinfo/title
+ |appendixinfo/title
+ |title)[1]"/>
+ <xsl:apply-templates select="$title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="dedication" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:apply-templates select="title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Dedication'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="colophon" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:apply-templates select="title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Colophon'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="article" mode="title.markup">
+ <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.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="reference" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:apply-templates select="(referenceinfo/title|docinfo/title|title)[1]"
+ mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refentry" mode="title.markup">
+ <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.markup"/>
+ </xsl:when>
+ <xsl:when test="$refname">
+ <xsl:apply-templates select="$refname[1]" mode="title.markup"/>
+ </xsl:when>
+ <xsl:otherwise>REFENTRY WITHOUT TITLE???</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:copy-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="refentrytitle|refname" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <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:template>
+
+<xsl:template match="section
+ |sect1|sect2|sect3|sect4|sect5
+ |refsect1|refsect2|refsect3
+ |simplesect"
+ mode="title.markup">
+ <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.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="title.markup">
+ <xsl:apply-templates mode="title.markup"/>
+</xsl:template>
+
+<xsl:template match="refsynopsisdiv" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:apply-templates select="title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'RefSynopsisDiv'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="bibliography" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:variable name="title" select="(bibliographyinfo/title|title)[1]"/>
+ <xsl:choose>
+ <xsl:when test="$title">
+ <xsl:apply-templates select="$title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Bibliography'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossary" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:variable name="title" select="(glossaryinfo/title|title)[1]"/>
+ <xsl:choose>
+ <xsl:when test="$title">
+ <xsl:apply-templates select="$title" mode="title.markup">
+ <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="glossentry" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:apply-templates select="glossterm" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="glossterm" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+
+ <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:template>
+
+<xsl:template match="index" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:variable name="title" select="(indexinfo/title|title)[1]"/>
+ <xsl:choose>
+ <xsl:when test="$title">
+ <xsl:apply-templates select="$title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Index'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="setindex" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:variable name="title" select="(setindexinfo/title|title)[1]"/>
+ <xsl:choose>
+ <xsl:when test="$title">
+ <xsl:apply-templates select="$title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'SetIndex'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="figure|example|equation" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:apply-templates select="title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="table" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:apply-templates select="title|caption" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="procedure" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:apply-templates select="title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="abstract" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:apply-templates select="title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Abstract'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="caution|tip|warning|important|note" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:variable name="title" select="title[1]"/>
+ <xsl:choose>
+ <xsl:when test="$title">
+ <xsl:apply-templates select="$title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key">
+ <xsl:choose>
+ <xsl:when test="local-name(.)='note'">Note</xsl:when>
+ <xsl:when test="local-name(.)='important'">Important</xsl:when>
+ <xsl:when test="local-name(.)='caution'">Caution</xsl:when>
+ <xsl:when test="local-name(.)='warning'">Warning</xsl:when>
+ <xsl:when test="local-name(.)='tip'">Tip</xsl:when>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="question" mode="title.markup">
+ <!-- questions don't have titles -->
+ <xsl:text>Question</xsl:text>
+</xsl:template>
+
+<xsl:template match="answer" mode="title.markup">
+ <!-- answers don't have titles -->
+ <xsl:text>Answer</xsl:text>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="title.markup">
+ <!-- qandaentrys are represented by the first question in them -->
+ <xsl:text>Question</xsl:text>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:apply-templates select="title" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'LegalNotice'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="titleabbrev.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:param name="verbose" select="1"/>
+
+ <xsl:choose>
+ <xsl:when test="titleabbrev">
+ <xsl:apply-templates select="titleabbrev[1]" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="preface|chapter|appendix" mode="titleabbrev.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:param name="verbose" select="1"/>
+
+ <xsl:variable name="titleabbrev" select="(docinfo/titleabbrev
+ |prefaceinfo/titleabbrev
+ |chapterinfo/titleabbrev
+ |appendixinfo/titleabbrev
+ |titleabbrev)[1]"/>
+
+ <xsl:choose>
+ <xsl:when test="$titleabbrev">
+ <xsl:apply-templates select="$titleabbrev" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="article" mode="titleabbrev.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:param name="verbose" select="1"/>
+
+ <xsl:variable name="titleabbrev" select="(artheader/titleabbrev
+ |articleinfo/titleabbrev
+ |titleabbrev)[1]"/>
+
+ <xsl:choose>
+ <xsl:when test="$titleabbrev">
+ <xsl:apply-templates select="$titleabbrev" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="section
+ |sect1|sect2|sect3|sect4|sect5
+ |refsect1|refsect2|refsect3
+ |simplesect"
+ mode="titleabbrev.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+ <xsl:param name="verbose" select="1"/>
+
+ <xsl:variable name="titleabbrev" select="(sectioninfo/titleabbrev
+ |sect1info/titleabbrev
+ |sect2info/titleabbrev
+ |sect3info/titleabbrev
+ |sect4info/titleabbrev
+ |sect5info/titleabbrev
+ |refsect1info/titleabbrev
+ |refsect2info/titleabbrev
+ |refsect3info/titleabbrev
+ |titleabbrev)[1]"/>
+
+ <xsl:choose>
+ <xsl:when test="$titleabbrev">
+ <xsl:apply-templates select="$titleabbrev" mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="title.markup">
+ <xsl:param name="allow-anchors" select="0"/>
+
+ <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:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="no.anchor.mode">
+ <xsl:apply-templates mode="no.anchor.mode"/>
+</xsl:template>
+
+<xsl:template match="footnote" mode="no.anchor.mode">
+ <!-- nop, suppressed -->
+</xsl:template>
+
+<xsl:template match="anchor" mode="no.anchor.mode">
+ <!-- nop, suppressed -->
+</xsl:template>
+
+<xsl:template match="ulink" mode="no.anchor.mode">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="link" mode="no.anchor.mode">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="olink" mode="no.anchor.mode">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="no.anchor.mode">
+ <!-- nop, suppressed -->
+</xsl:template>
+
+<xsl:template match="xref" mode="no.anchor.mode">
+ <!-- FIXME: this should generate the text without the link... -->
+</xsl:template>
+
+<!-- ============================================================ -->
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/common/tr.xml b/docs/xslt/db2latex-xsl/xsl/common/tr.xml
new file mode 100644
index 0000000000..f531ca4a16
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/tr.xml
@@ -0,0 +1,510 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="tr" english-language-name="Turkish">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/tr.xml -->
+ <l:gentext key="Abstract" text="&#214;zet"/>
+ <l:gentext key="abstract" text="&#214;zet"/>
+ <l:gentext key="Answer" text="Cevap:"/>
+ <l:gentext key="answer" text="Cevap:"/>
+ <l:gentext key="Appendix" text="Ek"/>
+ <l:gentext key="appendix" text="ek"/>
+ <l:gentext key="Article" text="Makale"/>
+ <l:gentext key="article" text="Makale"/>
+ <l:gentext key="Bibliography" text="Kaynak&#231;a"/>
+ <l:gentext key="bibliography" text="Kaynak&#231;a"/>
+ <l:gentext key="Book" text="Kitap"/>
+ <l:gentext key="book" text="Kitap"/>
+ <l:gentext key="CAUTION" text="D&#304;KKAT"/>
+ <l:gentext key="Caution" text="Dikkat"/>
+ <l:gentext key="caution" text="Dikkat"/>
+ <l:gentext key="Chapter" text="B&#246;l&#252;m"/>
+ <l:gentext key="chapter" text="b&#246;l&#252;m"/>
+ <l:gentext key="Colophon" text="Kitap hakk&#305;nda"/>
+ <l:gentext key="colophon" text="Kitap hakk&#305;nda"/>
+ <l:gentext key="Copyright" text="Telif Hakk&#305;"/>
+ <l:gentext key="copyright" text="Telif Hakk&#305;"/>
+ <l:gentext key="Dedication" text="&#304;thaf"/>
+ <l:gentext key="dedication" text="&#304;thaf"/>
+ <l:gentext key="Edition" text="Bask&#305;"/>
+ <l:gentext key="edition" text="Bask&#305;"/>
+ <l:gentext key="Equation" text="Denklem"/>
+ <l:gentext key="equation" text="Denklem"/>
+ <l:gentext key="Example" text="&#214;rnek"/>
+ <l:gentext key="example" text="&#214;rnek"/>
+ <l:gentext key="Figure" text="&#350;ekil"/>
+ <l:gentext key="figure" text="&#350;ekil"/>
+ <l:gentext key="Glossary" text="S&#246;zl&#252;k"/>
+ <l:gentext key="glossary" text="S&#246;zl&#252;k"/>
+ <l:gentext key="GlossSee" text="Bkz."/>
+ <l:gentext key="glosssee" text="Bkz."/>
+ <l:gentext key="GlossSeeAlso" text="Bkz."/>
+ <l:gentext key="glossseealso" text="Bkz."/>
+ <l:gentext key="IMPORTANT" text="&#214;NEML&#304;"/>
+ <l:gentext key="important" text="&#214;nemli"/>
+ <l:gentext key="Important" text="&#214;nemli"/>
+ <l:gentext key="Index" text="Dizin"/>
+ <l:gentext key="index" text="Dizin"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Yasal Uyar&#305;"/>
+ <l:gentext key="legalnotice" text="Yasal Uyar&#305;"/>
+ <l:gentext key="MsgAud" text="Hedef Okuyucu"/>
+ <l:gentext key="msgaud" text="Hedef Okuyucu"/>
+ <l:gentext key="MsgLevel" text="Level"/>
+ <l:gentext key="msglevel" text="D&#252;zey"/>
+ <l:gentext key="MsgOrig" text="D&#252;zey"/>
+ <l:gentext key="msgorig" text="Kaynak"/>
+ <l:gentext key="NOTE" text="NOT"/>
+ <l:gentext key="Note" text="Not"/>
+ <l:gentext key="note" text="Not"/>
+ <l:gentext key="Part" text="K&#305;s&#305;m"/>
+ <l:gentext key="part" text="K&#305;s&#305;m"/>
+ <l:gentext key="Preface" text="&#214;ns&#246;z"/>
+ <l:gentext key="preface" text="&#214;ns&#246;z"/>
+ <l:gentext key="Procedure" text="Y&#246;nerge"/>
+ <l:gentext key="procedure" text="Y&#246;nerge"/>
+ <l:gentext key="ProductionSet" text="Prod&#252;ksiyon"/>
+ <l:gentext key="PubDate" text="Yay&#305;mlanma Tarihi"/>
+ <l:gentext key="pubdate" text="Yay&#305;mlanma Tarihi"/>
+ <l:gentext key="Published" text="Yay&#305;mlanma"/>
+ <l:gentext key="published" text="Yay&#305;mlanma"/>
+ <l:gentext key="Qandadiv" text="S ve C"/>
+ <l:gentext key="qandadiv" text="S ve C"/>
+ <l:gentext key="Question" text="Soru:"/>
+ <l:gentext key="question" text="Soru:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Referans"/>
+ <l:gentext key="reference" text="Referans"/>
+ <l:gentext key="RefName" text="Referans Ad&#305;"/>
+ <l:gentext key="refname" text="Referans Ad&#305;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+ <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+ <l:gentext key="RevHistory" text="Bask&#305; Tarih&#231;esi"/>
+ <l:gentext key="revhistory" text="Bask&#305; Tarih&#231;esi"/>
+ <l:gentext key="revision" text="Bask&#305;"/>
+ <l:gentext key="Revision" text="Bask&#305;"/>
+ <l:gentext key="sect1" text="K&#305;s&#305;m"/>
+ <l:gentext key="sect2" text="K&#305;s&#305;m"/>
+ <l:gentext key="sect3" text="K&#305;s&#305;m"/>
+ <l:gentext key="sect4" text="K&#305;s&#305;m"/>
+ <l:gentext key="sect5" text="K&#305;s&#305;m"/>
+ <l:gentext key="section" text="K&#305;s&#305;m"/>
+ <l:gentext key="Section" text="K&#305;s&#305;m"/>
+ <l:gentext key="see" text="Bkz."/>
+ <l:gentext key="See" text="Bkz."/>
+ <l:gentext key="seealso" text="Bkz."/>
+ <l:gentext key="Seealso" text="Bak&#305;n&#305;z"/>
+ <l:gentext key="SeeAlso" text="Bak&#305;n&#305;z"/>
+ <l:gentext key="set" text="Tak&#305;m"/>
+ <l:gentext key="Set" text="Tak&#305;m"/>
+ <l:gentext key="setindex" text="Tak&#305;m Dizini"/>
+ <l:gentext key="SetIndex" text="Tak&#305;m Dizini"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text=""/>
+ <l:gentext key="step" text="ad&#305;m"/>
+ <l:gentext key="Step" text="Ad&#305;m"/>
+ <l:gentext key="Table" text="Tablo"/>
+ <l:gentext key="table" text="Tablo"/>
+ <l:gentext key="tip" text="&#304;pucu"/>
+ <l:gentext key="TIP" text="&#304;PUCU"/>
+ <l:gentext key="Tip" text="&#304;pucu"/>
+ <l:gentext key="Warning" text="Uyar&#305;"/>
+ <l:gentext key="warning" text="Uyar&#305;"/>
+ <l:gentext key="WARNING" text="UYARI"/>
+ <l:gentext key="and" text="ve"/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="called" text=""/>
+ <l:gentext key="Edited" text="Yay&#305;na haz&#305;rlayan"/>
+ <l:gentext key="edited" text="yay&#305;na haz&#305;rlayan"/>
+ <l:gentext key="Editedby" text="Yay&#305;na haz&#305;rlayan"/>
+ <l:gentext key="editedby" text="yay&#305;na haz&#305;rlayan"/>
+ <l:gentext key="in" text=""/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="varolmayan eleman"/>
+ <l:gentext key="notes" text="Notlar"/>
+ <l:gentext key="Notes" text="Notlar"/>
+ <l:gentext key="Pgs" text="Sayfa"/>
+ <l:gentext key="pgs" text="Sayfa"/>
+ <l:gentext key="Revisedby" text="D&#252;zeltmeler: "/>
+ <l:gentext key="revisedby" text="D&#252;zeltmeler: "/>
+ <l:gentext key="TableNotes" text="Notlar"/>
+ <l:gentext key="tablenotes" text="Notlar"/>
+ <l:gentext key="the" text=""/>
+ <l:gentext key="TableofContents" text="&#304;&#231;indekiler"/>
+ <l:gentext key="tableofcontents" text="&#304;&#231;indekiler"/>
+ <l:gentext key="unexpectedelementname" text="Beklenmeyen eleman ad&#305;"/>
+ <l:gentext key="unsupported" text="desteklenmiyor"/>
+ <l:gentext key="xrefto" text=""/>
+ <l:gentext key="listofequations" text="Denklemler"/>
+ <l:gentext key="ListofEquations" text="Denklemler"/>
+ <l:gentext key="ListofExamples" text="&#214;rnekler"/>
+ <l:gentext key="listofexamples" text="&#214;rnekler"/>
+ <l:gentext key="ListofFigures" text="&#350;ekiller"/>
+ <l:gentext key="listoffigures" text="&#350;ekiller"/>
+ <l:gentext key="listoftables" text="Tablolar"/>
+ <l:gentext key="ListofTables" text="Tablolar"/>
+ <l:gentext key="ListofProcedures" text="Y&#246;nergeler"/>
+ <l:gentext key="listofprocedures" text="Y&#246;nergeler"/>
+ <l:gentext key="ListofUnknown" text="Bilinmeyenler"/>
+ <l:gentext key="listofunknown" text="Bilinmeyenler"/>
+ <l:gentext key="nav-home" text="Ba&#351;lang&#305;&#231;"/>
+ <l:gentext key="nav-next" text="Sonraki"/>
+ <l:gentext key="nav-next-sibling" text="Sonraki B&#246;l&#252;m"/>
+ <l:gentext key="nav-prev" text="&#214;nceki"/>
+ <l:gentext key="nav-prev-sibling" text="&#214;nceki B&#246;l&#252;m"/>
+ <l:gentext key="nav-up" text="Yukar&#305;"/>
+ <l:gentext key="nav-toc" text="&#304;&#231;indekiler"/>
+ <l:gentext key="sectioncalled" text=""/>
+ <l:gentext key="Draft" text="Taslak"/>
+ <l:gentext key="above" text="&#252;st&#252;nde"/>
+ <l:gentext key="below" text="alt&#305;nda"/>
+ <l:gentext key="index symbols" text="Semboller"/>
+ <l:gentext key="lowercase.alpha" text="abc&#231;defg&#287;h&#305;ijklmno&#246;prs&#351;tu&#252;vyz"/>
+ <l:gentext key="uppercase.alpha" text="ABC&#199;DEFG&#286;HI&#304;JKLMNO&#214;PRS&#350;TU&#220;VYZ"/>
+ <l:gentext key="hyphenation-character" text="-"/>
+ <l:gentext key="hyphenation-push-character-count" text="3"/>
+ <l:gentext key="hyphenation-remain-character-count" text="2"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/tr.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="singlestartquote" text="&#8216;"/>
+ <l:dingbat key="singleendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Ek %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="B&#246;l&#252;m %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Denklem %n. %t"/>
+ <l:template name="example" text="&#214;rnek %n. %t"/>
+ <l:template name="figure" text="&#350;ekil %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="glossentry" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="K&#305;s&#305;m %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Y&#246;nerge %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Prod&#252;ksiyon %n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Tablo %n. %t"/>
+ <l:template name="task" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article/appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Ek %n. %t"/>
+ <l:template name="article/appendix" text="%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="B&#246;l&#252;m %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="Cevap: %n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="Soru: %n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="Soru: %n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="page" text="(sayfa %p)"/>
+ <l:template name="pageabbrev" text="(shf. %p)"/>
+ <l:template name="Page" text="Sayfa %p"/>
+ <l:template name="bridgehead" text=" &#8220;%t&#8221;"/>
+ <l:template name="refsection" text=" &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text=" &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text=" &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text=" &#8220;%t&#8221;"/>
+ <l:template name="sect1" text=" &#8220;%t&#8221;"/>
+ <l:template name="sect2" text=" &#8220;%t&#8221;"/>
+ <l:template name="sect3" text=" &#8220;%t&#8221;"/>
+ <l:template name="sect4" text=" &#8220;%t&#8221;"/>
+ <l:template name="sect5" text=" &#8220;%t&#8221;"/>
+ <l:template name="section" text=" &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text=" &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="Cevap:&#160;%n"/>
+ <l:template name="appendix" text="Ek&#160;%n"/>
+ <l:template name="bridgehead" text="K&#305;s&#305;m&#160;%n"/>
+ <l:template name="chapter" text="B&#246;l&#252;m&#160;%n"/>
+ <l:template name="equation" text="Denklem&#160;%n"/>
+ <l:template name="example" text="&#214;rnek&#160;%n"/>
+ <l:template name="figure" text="&#350;ekil&#160;%n"/>
+ <l:template name="part" text="K&#305;s&#305;m&#160;%n"/>
+ <l:template name="procedure" text="Y&#246;nerge&#160;%n"/>
+ <l:template name="productionset" text="Prod&#252;ksiyon&#160;%n"/>
+ <l:template name="qandadiv" text="S ve C&#160;%n"/>
+ <l:template name="qandaentry" text="Soru:&#160;%n"/>
+ <l:template name="question" text="Soru:&#160;%n"/>
+ <l:template name="sect1" text="K&#305;s&#305;m&#160;%n"/>
+ <l:template name="sect2" text="K&#305;s&#305;m&#160;%n"/>
+ <l:template name="sect3" text="K&#305;s&#305;m&#160;%n"/>
+ <l:template name="sect4" text="K&#305;s&#305;m&#160;%n"/>
+ <l:template name="sect5" text="K&#305;s&#305;m&#160;%n"/>
+ <l:template name="section" text="K&#305;s&#305;m&#160;%n"/>
+ <l:template name="table" text="Tablo&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Ek&#160;%n, %t"/>
+ <l:template name="bridgehead" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="B&#246;l&#252;m&#160;%n, %t"/>
+ <l:template name="equation" text="Denklem&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="&#214;rnek&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="&#350;ekil&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Y&#246;nerge&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Prod&#252;ksiyon&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="S ve C&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text=" &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text=" &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text=" &#8220;%t&#8221;"/>
+ <l:template name="refsection" text=" &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text=" &#8220;%t&#8221;"/>
+ <l:template name="table" text="Tablo&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" ve "/>
+ <l:template name="seplast" text=", ve "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Bkz. "/>
+ <l:template name="seealso" text="Bkz. "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Hedef Okuyucu: "/>
+ <l:template name="MsgLevel" text="Level: "/>
+ <l:template name="MsgOrig" text="D&#252;zey: "/>
+ </l:context>
+ <l:context name="datetime">
+ <l:template name="format" text="d/m/Y"/>
+ </l:context>
+ <l:context name="datetime-full">
+ <l:template name="January" text="Ocak"/>
+ <l:template name="February" text="&#350;ubat"/>
+ <l:template name="March" text="Mart"/>
+ <l:template name="April" text="Nisan"/>
+ <l:template name="May" text="May&#305;s"/>
+ <l:template name="June" text="Haziran"/>
+ <l:template name="July" text="Temmuz"/>
+ <l:template name="August" text="A&#287;ustos"/>
+ <l:template name="September" text="Eyl&#252;l"/>
+ <l:template name="October" text="Ekim"/>
+ <l:template name="November" text="Kas&#305;m"/>
+ <l:template name="December" text="Aral&#305;k"/>
+ <l:template name="Monday" text="Pazartesi"/>
+ <l:template name="Tuesday" text="Sal&#305;"/>
+ <l:template name="Wednesday" text="&#199;ar&#351;amba"/>
+ <l:template name="Thursday" text="Per&#351;embe"/>
+ <l:template name="Friday" text="Cuma"/>
+ <l:template name="Saturday" text="Cumartesi"/>
+ <l:template name="Sunday" text="Pazar"/>
+ </l:context>
+ <l:context name="datetime-abbrev">
+ <l:template name="Jan" text="Oca"/>
+ <l:template name="Feb" text="&#350;ub"/>
+ <l:template name="Mar" text="Mar"/>
+ <l:template name="Apr" text="Nis"/>
+ <l:template name="May" text="May"/>
+ <l:template name="Jun" text="Haz"/>
+ <l:template name="Jul" text="Tem"/>
+ <l:template name="Aug" text="A&#287;u"/>
+ <l:template name="Sep" text="Eyl"/>
+ <l:template name="Oct" text="Eki"/>
+ <l:template name="Nov" text="Kas"/>
+ <l:template name="Dec" text="Ara"/>
+ <l:template name="Mon" text="Pzt"/>
+ <l:template name="Tue" text="Sal"/>
+ <l:template name="Wed" text="&#199;ar"/>
+ <l:template name="Thu" text="Per"/>
+ <l:template name="Fri" text="Cum"/>
+ <l:template name="Sat" text="Cts"/>
+ <l:template name="Sun" text="Paz"/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x041f Turkish"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/uk.xml b/docs/xslt/db2latex-xsl/xsl/common/uk.xml
new file mode 100644
index 0000000000..2d245a9776
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/uk.xml
@@ -0,0 +1,473 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="uk" english-language-name="Ukranian">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/uk.xml -->
+ <l:gentext key="Abstract" text="&#1040;&#1085;&#1086;&#1090;&#1072;&#1094;&#1110;&#1103;"/>
+ <l:gentext key="abstract" text="&#1040;&#1085;&#1086;&#1090;&#1072;&#1094;&#1110;&#1103;"/>
+ <l:gentext key="Answer" text="&#1042;:"/>
+ <l:gentext key="answer" text="&#1074;:"/>
+ <l:gentext key="Appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082;"/>
+ <l:gentext key="appendix" text="&#1076;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082;"/>
+ <l:gentext key="Appendix.abr" text="&#1044;&#1086;&#1076;."/>
+ <l:gentext key="appendix.abr" text="&#1076;&#1086;&#1076;."/>
+ <l:gentext key="Article" text="&#1057;&#1090;&#1072;&#1090;&#1090;&#1103;"/>
+ <l:gentext key="article" text="&#1089;&#1090;&#1072;&#1090;&#1090;&#1103;"/>
+ <l:gentext key="Audience" text="&#1040;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1110;&#1103;"/>
+ <l:gentext key="audience" text="&#1040;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1110;&#1103;"/>
+ <l:gentext key="Bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="bibliography" text="&#1083;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="Book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+ <l:gentext key="book" text="&#1082;&#1085;&#1080;&#1075;&#1072;"/>
+ <l:gentext key="CAUTION" text="&#1047;&#1040;&#1057;&#1058;&#1045;&#1056;&#1045;&#1046;&#1045;&#1053;&#1053;&#1071;"/>
+ <l:gentext key="Caution" text="&#1047;&#1072;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="caution" text="&#1079;&#1072;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="Chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083;"/>
+ <l:gentext key="chapter" text="&#1088;&#1086;&#1079;&#1076;&#1110;&#1083;"/>
+ <l:gentext key="Chapter.abr" text="&#1056;&#1086;&#1079;&#1076;."/>
+ <l:gentext key="chapter.abr" text="&#1088;&#1086;&#1079;&#1076;."/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1100;&#1082;&#1077; &#1087;&#1088;&#1072;&#1074;&#1086;"/>
+ <l:gentext key="copyright" text="&#1072;&#1074;&#1090;&#1086;&#1088;&#1089;&#1100;&#1082;&#1077; &#1087;&#1088;&#1072;&#1074;&#1086;"/>
+ <l:gentext key="Dedication" text="&#1055;&#1088;&#1080;&#1089;&#1074;&#1103;&#1095;&#1077;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="dedication" text="&#1087;&#1088;&#1080;&#1089;&#1074;&#1103;&#1095;&#1077;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="Edition" text="&#1042;&#1080;&#1076;&#1072;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="edition" text="&#1074;&#1080;&#1076;&#1072;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="Equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+ <l:gentext key="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+ <l:gentext key="Equation.abr" text="&#1060;."/>
+ <l:gentext key="equation.abr" text="&#1060;."/>
+ <l:gentext key="Example" text="&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;"/>
+ <l:gentext key="example" text="&#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;"/>
+ <l:gentext key="Example.abr" text="&#1055;&#1088;&#1080;&#1082;&#1083;."/>
+ <l:gentext key="example.abr" text="&#1087;&#1088;&#1080;&#1082;&#1083;."/>
+ <l:gentext key="Figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;"/>
+ <l:gentext key="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;"/>
+ <l:gentext key="Figure.abr" text="&#1056;&#1080;&#1089;."/>
+ <l:gentext key="figure.abr" text="&#1056;&#1080;&#1089;."/>
+ <l:gentext key="Glossary" text="&#1043;&#1083;&#1086;&#1089;&#1072;&#1088;&#1110;&#1081;"/>
+ <l:gentext key="glossary" text="&#1075;&#1083;&#1086;&#1089;&#1072;&#1088;&#1110;&#1081;"/>
+ <l:gentext key="GlossSee" text="&#1044;&#1080;&#1074;."/>
+ <l:gentext key="glosssee" text="&#1076;&#1080;&#1074;."/>
+ <l:gentext key="GlossSeeAlso" text="&#1044;&#1080;&#1074;. &#1090;&#1072;&#1082;&#1086;&#1078;"/>
+ <l:gentext key="glossSeeAlso" text="&#1076;&#1080;&#1074;. &#1090;&#1072;&#1082;&#1086;&#1078;"/>
+ <l:gentext key="glossseealso" text="&#1076;&#1080;&#1074;. &#1090;&#1072;&#1082;&#1086;&#1078;"/>
+ <l:gentext key="IMPORTANT" text="&#1042;&#1040;&#1046;&#1051;&#1048;&#1042;&#1054;"/>
+ <l:gentext key="Important" text="&#1042;&#1072;&#1078;&#1083;&#1080;&#1074;&#1086;"/>
+ <l:gentext key="important" text="&#1074;&#1072;&#1078;&#1083;&#1080;&#1074;&#1086;"/>
+ <l:gentext key="Index" text="&#1055;&#1088;&#1077;&#1076;&#1084;&#1077;&#1090;&#1085;&#1099;&#1081; &#1087;&#1086;&#1082;&#1072;&#1078;chcy;&#1080;&#1082;"/>
+ <l:gentext key="index" text="&#1087;&#1088;&#1077;&#1076;&#1084;&#1077;&#1090;&#1085;&#1099;&#1081; &#1087;&#1086;&#1082;&#1072;&#1078;chcy;&#1080;&#1082;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="&#1055;&#1088;&#1072;&#1074;&#1086;&#1074;&#1072; &#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1072;"/>
+ <l:gentext key="legalnotice" text="&#1087;&#1088;&#1072;&#1074;&#1086;&#1074;&#1072; &#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1072;"/>
+ <l:gentext key="Level" text="&#1056;&#1110;&#1074;&#1077;&#1085;&#1100;"/>
+ <l:gentext key="level" text="&#1088;&#1110;&#1074;&#1077;&#1085;&#1100;"/>
+ <l:gentext key="MsgAud" text="&#1040;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1110;&#1103;"/>
+ <l:gentext key="msgaud" text="&#1072;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1110;&#1103;"/>
+ <l:gentext key="MsgLevel" text="&#1056;&#1110;&#1074;&#1077;&#1085;&#1100;"/>
+ <l:gentext key="msglevel" text="&#1088;&#1110;&#1074;&#1077;&#1085;&#1100;"/>
+ <l:gentext key="MsgOrig" text="&#1044;&#1078;&#1077;&#1088;&#1077;&#1083;&#1086;"/>
+ <l:gentext key="msgorig" text="&#1076;&#1078;&#1077;&#1088;&#1077;&#1083;&#1086;"/>
+ <l:gentext key="Name" text="&#1030;&#1084;';&#1103;"/>
+ <l:gentext key="name" text="&#1110;&#1084;';&#1103;"/>
+ <l:gentext key="NOTE" text="&#1055;&#1056;&#1048;&#1052;&#1030;&#1058;&#1050;&#1040;"/>
+ <l:gentext key="Note" text="&#1055;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1072;"/>
+ <l:gentext key="note" text="&#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1072;"/>
+ <l:gentext key="Origin" text="&#1044;&#1078;&#1077;&#1088;&#1077;&#1083;&#1086;"/>
+ <l:gentext key="origin" text="&#1076;&#1078;&#1077;&#1088;&#1077;&#1083;&#1086;"/>
+ <l:gentext key="Part" text="&#1063;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072;"/>
+ <l:gentext key="part" text="&#1095;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072;"/>
+ <l:gentext key="Part.abr" text="&#1063;."/>
+ <l:gentext key="part.abr" text="&#1063;."/>
+ <l:gentext key="Preface" text="&#1055;&#1077;&#1088;&#1077;&#1076;&#1084;&#1086;&#1074;&#1072;"/>
+ <l:gentext key="preface" text="&#1087;&#1077;&#1088;&#1077;&#1076;&#1084;&#1086;&#1074;&#1072;"/>
+ <l:gentext key="Procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+ <l:gentext key="Procedure.abr" text="&#1055;&#1088;&#1086;&#1094;."/>
+ <l:gentext key="procedure.abr" text="&#1055;&#1088;&#1086;&#1094;."/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="&#1054;&#1087;&#1091;&#1073;&#1083;&#1110;&#1082;&#1086;&#1074;&#1072;&#1085;&#1086;"/>
+ <l:gentext key="published" text="&#1086;&#1087;&#1091;&#1073;&#1083;&#1110;&#1082;&#1086;&#1074;&#1072;&#1085;&#1086;"/>
+ <l:gentext key="Question" text="&#1055;"/>
+ <l:gentext key="question" text="&#1087;"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#1055;&#1086;&#1089;&#1080;&#1083;&#1072;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="reference" text="&#1087;&#1086;&#1089;&#1080;&#1083;&#1072;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="RefName" text="Name"/>
+ <l:gentext key="refname" text="Name"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#1050;&#1086;&#1088;&#1086;&#1090;&#1082;&#1080;&#1081; &#1086;&#1075;&#1083;&#1103;&#1076;"/>
+ <l:gentext key="refsynopsisdiv" text="&#1082;&#1086;&#1088;&#1086;&#1090;&#1082;&#1080;&#1081; &#1086;&#1075;&#1083;&#1103;&#1076;"/>
+ <l:gentext key="RevHistory" text="&#1054;&#1087;&#1080;&#1089; zcy;&#1084;&#1110;&#1085;"/>
+ <l:gentext key="revhistory" text="&#1086;&#1087;&#1080;&#1089; zcy;&#1084;&#1110;&#1085;"/>
+ <l:gentext key="Revision" text="&#1055;&#1077;&#1088;&#1077;&#1075;&#1083;&#1103;&#1076;"/>
+ <l:gentext key="revision" text="&#1087;&#1077;&#1088;&#1077;&#1075;&#1083;&#1103;&#1076;"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;"/>
+ <l:gentext key="section" text="&#1087;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;"/>
+ <l:gentext key="Section.abr" text="&#1055;&#1072;&#1088;."/>
+ <l:gentext key="section.abr" text="&#1087;&#1072;&#1088;."/>
+ <l:gentext key="See" text="&#1044;&#1080;&#1074;."/>
+ <l:gentext key="see" text="&#1076;&#1080;&#1074;."/>
+ <l:gentext key="SeeAlso" text="&#1044;&#1080;&#1074;. tcy;&#1072;&#1082;&#1086;&#1078;"/>
+ <l:gentext key="Seealso" text="&#1044;&#1080;&#1074;. tcy;&#1072;&#1082;&#1086;&#1078;"/>
+ <l:gentext key="seealso" text="&#1089;&#1080;&#1074;. tcy;&#1072;&#1082;&#1086;&#1078;"/>
+ <l:gentext key="Set" text="&#1042;&#1080;&#1073;&#1110;&#1088;&#1082;&#1072;"/>
+ <l:gentext key="set" text="&#1074;&#1080;&#1073;&#1110;&#1088;&#1082;&#1072;"/>
+ <l:gentext key="SetIndex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1074;&#1080;&#1073;&#1110;&#1088;&#1082;&#1080;"/>
+ <l:gentext key="setindex" text="&#1080;&#1085;&#1076;&#1077;&#1082;&#1089; &#1074;&#1080;&#1073;&#1110;&#1088;&#1082;&#1080;"/>
+ <l:gentext key="Sidebar" text="&#1042;&#1099;&#1076;&#1110;&#1083;&#1077;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="sidebar" text="&#1074;&#1099;&#1076;&#1110;&#1083;&#1077;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="Step" text="&#1050;&#1088;&#1086;&#1082;"/>
+ <l:gentext key="step" text="&#1082;&#1088;&#1086;&#1082;"/>
+ <l:gentext key="Table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103;"/>
+ <l:gentext key="table" text="&#1090;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103;"/>
+ <l:gentext key="Table.abr" text="&#1058;&#1072;&#1073;&#1083;."/>
+ <l:gentext key="table.abr" text="&#1090;&#1072;&#1073;&#1083;."/>
+ <l:gentext key="TIP" text="&#1055;&#1030;&#1044;&#1050;&#1040;&#1047;&#1050;&#1040;"/>
+ <l:gentext key="Tip" text="&#1055;&#1110;&#1076;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+ <l:gentext key="tip" text="&#1087;&#1110;&#1076;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+ <l:gentext key="WARNING" text="&#1047;&#1040;&#1057;&#1058;&#1045;&#1056;&#1045;&#1046;&#1045;&#1053;&#1053;&#1071;"/>
+ <l:gentext key="Warning" text="&#1047;&#1072;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="warning" text="&#1079;&#1072;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1085;&#1103;"/>
+ <l:gentext key="and" text=""/>
+ <l:gentext key="by" text=""/>
+ <l:gentext key="called" text=""/>
+ <l:gentext key="edited" text="&#1087;&#1080;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1110;&#1108;&#1102;"/>
+ <l:gentext key="Edited" text="&#1055;&#1080;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1110;&#1108;&#1102;"/>
+ <l:gentext key="Editedby" text="&#1055;&#1080;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1110;&#1108;&#1102;"/>
+ <l:gentext key="editedby" text="&#1087;&#1080;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1110;&#1108;&#1102;"/>
+ <l:gentext key="in" text="&#1074;"/>
+ <l:gentext key="TableofContents" text="&#1047;&#1084;&#1110;&#1089;&#1090;"/>
+ <l:gentext key="tableofcontents" text="&#1079;&#1084;&#1110;&#1089;&#1090;"/>
+ <l:gentext key="lastlistcomma" text="."/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="Notes" text="&#1055;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1080;"/>
+ <l:gentext key="notes" text="&#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1080;"/>
+ <l:gentext key="TableNotes" text="&#1055;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1080;"/>
+ <l:gentext key="tablenotes" text="&#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1080;"/>
+ <l:gentext key="nonexistantelement" text="non-existant element"/>
+ <l:gentext key="pgs" text="&#1089;&#1090;&#1086;&#1088;."/>
+ <l:gentext key="Pgs" text="&#1057;&#1090;&#1086;&#1088;."/>
+ <l:gentext key="Revisedby" text="&#1050;&#1086;&#1088;&#1077;&#1082;&#1090;&#1091;&#1088;&#1072;:;"/>
+ <l:gentext key="revisedby" text="&#1082;&#1086;&#1088;&#1077;&#1082;&#1090;&#1091;&#1088;&#1072;:;"/>
+ <l:gentext key="the" text=""/>
+ <l:gentext key="unexpectedelementname" text="unexpected element name"/>
+ <l:gentext key="unsupported" text="unsupported"/>
+ <l:gentext key="xrefto" text="xref to"/>
+ <l:gentext key="listofequations" text="&#1089;&#1087;&#1080;&#1089;&#1086;&#1082; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;"/>
+ <l:gentext key="ListofEquations" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;"/>
+ <l:gentext key="ListofExamples" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;&#1110;&#1074;"/>
+ <l:gentext key="listofexamples" text="&#1089;&#1087;&#1080;&#1089;&#1086;&#1082; &#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;&#1110;&#1074;"/>
+ <l:gentext key="ListofFigures" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1110;&#1083;&#1102;&#1089;&#1090;&#1088;&#1072;&#1094;&#1110;&#1081;"/>
+ <l:gentext key="listoffigures" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1110;&#1083;&#1102;&#1089;&#1090;&#1088;&#1072;&#1094;&#1110;&#1081;"/>
+ <l:gentext key="listoftables" text="&#1089;&#1087;&#1080;&#1089;&#1086;&#1082; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;&#1100;"/>
+ <l:gentext key="ListofTables" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;;&#1100;"/>
+ <l:gentext key="ListofUnknown" text="&#1053;&#1077;&#1074;&#1080;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1081; &#1089;&#1087;&#1080;&#1089;&#1086;&#1082;"/>
+ <l:gentext key="listofunknown" text="&#1085;&#1077;&#1074;&#1080;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1081; &#1089;&#1087;&#1080;&#1089;&#1086;&#1082;"/>
+ <l:gentext key="nav-next" text="&#1076;&#1072;&#1083;&#1110;"/>
+ <l:gentext key="nav-next-sibling" text="&#1076;&#1072;&#1083;&#1110; &#1087;&#1086; &#1088;&#1110;&#1074;&#1085;&#1102;"/>
+ <l:gentext key="nav-prev" text="&#1085;&#1072;&#1079;&#1072;&#1076;"/>
+ <l:gentext key="nav-prev-sibling" text="&#1085;&#1072;&#1079;&#1072;&#1076; &#1087;&#1086; &#1088;&#1110;&#1074;&#1085;&#1102;"/>
+ <l:gentext key="x-nav-next" text="&#1076;&#1072;&#1083;&#1110;"/>
+ <l:gentext key="nav-home" text="&#1055;&#1086;&#1095;&#1072;&#1090;&#1086;&#1082;"/>
+ <l:gentext key="nav-up" text="&#1044;&#1086;&#1075;&#1086;&#1088;&#1080;"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/uk.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082; %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083; %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072; %n. %t"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076; %n. %t"/>
+ <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082; %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103; %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082; %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083; %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#1042;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#1055;&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#1055;&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+ <l:template name="refsection" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#8220;%t&#8221;"/>
+ <l:template name="section" text="&#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#1042;:&#160;%n"/>
+ <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082;&#160;%n"/>
+ <l:template name="bridgehead" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+ <l:template name="chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083;&#160;%n"/>
+ <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;&#160;%n"/>
+ <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;&#160;%n"/>
+ <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072;&#160;%n"/>
+ <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#1055;&#160;%n"/>
+ <l:template name="question" text="&#1055;&#160;%n"/>
+ <l:template name="sect1" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+ <l:template name="sect2" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+ <l:template name="sect3" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+ <l:template name="sect4" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+ <l:template name="sect5" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+ <l:template name="section" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083;&#160;%n, %t"/>
+ <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+ <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103;&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" "/>
+ <l:template name="seplast" text=". "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#1044;&#1080;&#1074;. "/>
+ <l:template name="seealso" text="&#1044;&#1080;&#1074;. &#1090;&#1072;&#1082;&#1086;&#1078; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#1040;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1110;&#1103;: "/>
+ <l:template name="MsgLevel" text="&#1056;&#1110;&#1074;&#1077;&#1085;&#1100;: "/>
+ <l:template name="MsgOrig" text="&#1044;&#1078;&#1077;&#1088;&#1077;&#1083;&#1086;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0422 Ukrainian"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/vi.xml b/docs/xslt/db2latex-xsl/xsl/common/vi.xml
new file mode 100644
index 0000000000..2485b0a20e
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/vi.xml
@@ -0,0 +1,442 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="vi" english-language-name="Vietnamese">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/vi.xml -->
+ <l:gentext key="Abstract" text="T&#7893;ng quan"/>
+ <l:gentext key="abstract" text="T&#7893;ng quan"/>
+ <l:gentext key="Answer" text="&#272;:"/>
+ <l:gentext key="answer" text="&#272;:"/>
+ <l:gentext key="Appendix" text="Ph&#7909; l&#7909;c"/>
+ <l:gentext key="appendix" text="ph&#7909; l&#7909;c"/>
+ <l:gentext key="Article" text="B&#224;i vi&#7871;t"/>
+ <l:gentext key="article" text="B&#224;i vi&#7871;t"/>
+ <l:gentext key="Bibliography" text="Th&#432; m&#7909;c"/>
+ <l:gentext key="bibliography" text="Th&#432; m&#7909;c"/>
+ <l:gentext key="Book" text="S&#225;ch"/>
+ <l:gentext key="book" text="S&#225;ch"/>
+ <l:gentext key="CAUTION" text="C&#7848;N TH&#7852;N"/>
+ <l:gentext key="Caution" text="C&#7849;n th&#7853;n"/>
+ <l:gentext key="caution" text="C&#7849;n th&#7853;n"/>
+ <l:gentext key="Chapter" text="Ch&#432;&#417;ng"/>
+ <l:gentext key="chapter" text="ch&#432;&#417;ng"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="B&#7843;n quy&#7873;n"/>
+ <l:gentext key="copyright" text="B&#7843;n quy&#7873;n"/>
+ <l:gentext key="Dedication" text="T&#7863;ng"/>
+ <l:gentext key="dedication" text="T&#7863;ng"/>
+ <l:gentext key="Edition" text="Edition"/>
+ <l:gentext key="edition" text="Edition"/>
+ <l:gentext key="Equation" text="Ph&#432;&#417;ng tr&#236;nh"/>
+ <l:gentext key="equation" text="Ph&#432;&#417;ng tr&#236;nh"/>
+ <l:gentext key="Example" text="V&#237; d&#7909;"/>
+ <l:gentext key="example" text="V&#237; d&#7909;"/>
+ <l:gentext key="Figure" text="H&#236;nh"/>
+ <l:gentext key="figure" text="H&#236;nh"/>
+ <l:gentext key="Glossary" text="Thu&#7853;t ng&#7919;"/>
+ <l:gentext key="glossary" text="Thu&#7853;t ng&#7919;"/>
+ <l:gentext key="GlossSee" text="Xem"/>
+ <l:gentext key="glosssee" text="Xem"/>
+ <l:gentext key="GlossSeeAlso" text="Xem th&#234;m"/>
+ <l:gentext key="glossseealso" text="Xem th&#234;m"/>
+ <l:gentext key="IMPORTANT" text="QUAN TR&#7884;NG"/>
+ <l:gentext key="important" text="Quan tr&#7885;ng"/>
+ <l:gentext key="Important" text="Quan tr&#7885;ng"/>
+ <l:gentext key="Index" text="Ch&#7881; m&#7909;c"/>
+ <l:gentext key="index" text="Ch&#7881; m&#7909;c"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="Legal Notice"/>
+ <l:gentext key="legalnotice" text="Legal Notice"/>
+ <l:gentext key="MsgAud" text="&#272;&#7885;c gi&#7843;"/>
+ <l:gentext key="msgaud" text="&#272;&#7885;c gi&#7843;"/>
+ <l:gentext key="MsgLevel" text="C&#7845;p"/>
+ <l:gentext key="msglevel" text="C&#7845;p"/>
+ <l:gentext key="MsgOrig" text="G&#7889;c"/>
+ <l:gentext key="msgorig" text="G&#7889;c"/>
+ <l:gentext key="NOTE" text="GHI CH&#218;"/>
+ <l:gentext key="Note" text="Ghi ch&#250;"/>
+ <l:gentext key="note" text="Ghi ch&#250;"/>
+ <l:gentext key="Part" text="Ph&#7847;n"/>
+ <l:gentext key="part" text="Ph&#7847;n"/>
+ <l:gentext key="Preface" text="M&#7903; &#273;&#7847;u"/>
+ <l:gentext key="preface" text="M&#7903; &#273;&#7847;u"/>
+ <l:gentext key="Procedure" text="Th&#7911; t&#7909;c"/>
+ <l:gentext key="procedure" text="Th&#7911; t&#7909;c"/>
+ <l:gentext key="ProductionSet" text="S&#7843;n ph&#7849;m"/>
+ <l:gentext key="Published" text="Xu&#7845;t b&#7843;n"/>
+ <l:gentext key="published" text="Xu&#7845;t b&#7843;n"/>
+ <l:gentext key="Question" text="H:"/>
+ <l:gentext key="question" text="H:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Tham kh&#7843;o"/>
+ <l:gentext key="reference" text="Tham kh&#7843;o"/>
+ <l:gentext key="RefName" text="T&#234;n"/>
+ <l:gentext key="refname" text="T&#234;n"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="T&#243;m t&#7855;t"/>
+ <l:gentext key="refsynopsisdiv" text="T&#243;m t&#7855;t"/>
+ <l:gentext key="RevHistory" text="Revision History"/>
+ <l:gentext key="revhistory" text="Revision History"/>
+ <l:gentext key="revision" text="B&#7843;n hi&#7879;u ch&#7881;nh"/>
+ <l:gentext key="Revision" text="B&#7843;n hi&#7879;u ch&#7881;nh"/>
+ <l:gentext key="sect1" text="Ph&#7847;n"/>
+ <l:gentext key="sect2" text="Ph&#7847;n"/>
+ <l:gentext key="sect3" text="Ph&#7847;n"/>
+ <l:gentext key="sect4" text="Ph&#7847;n"/>
+ <l:gentext key="sect5" text="Ph&#7847;n"/>
+ <l:gentext key="section" text="Ph&#7847;n"/>
+ <l:gentext key="Section" text="Ph&#7847;n"/>
+ <l:gentext key="see" text="xem"/>
+ <l:gentext key="seealso" text="xem th&#234;m"/>
+ <l:gentext key="set" text="&#272;&#7863;t"/>
+ <l:gentext key="Set" text="&#272;&#7863;t"/>
+ <l:gentext key="setindex" text="&#272;&#7863;t ch&#7881; m&#7909;c"/>
+ <l:gentext key="SetIndex" text="&#272;&#7863;t ch&#7881; m&#7909;c"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="thanh b&#234;n"/>
+ <l:gentext key="step" text="b&#432;&#7899;c"/>
+ <l:gentext key="Step" text="B&#432;&#7899;c"/>
+ <l:gentext key="Table" text="B&#7843;ng"/>
+ <l:gentext key="table" text="B&#7843;ng"/>
+ <l:gentext key="tip" text="M&#7865;o"/>
+ <l:gentext key="TIP" text="M&#7864;O"/>
+ <l:gentext key="Tip" text="M&#7865;o"/>
+ <l:gentext key="Warning" text="C&#7843;nh b&#225;o"/>
+ <l:gentext key="warning" text="C&#7843;nh b&#225;o"/>
+ <l:gentext key="WARNING" text="C&#7842;NH B&#193;O"/>
+ <l:gentext key="and" text="v&#224;"/>
+ <l:gentext key="by" text="b&#7903;i"/>
+ <l:gentext key="Edited" text="&#272;&#432;&#7907;c bi&#234;n so&#7841;n"/>
+ <l:gentext key="edited" text="&#272;&#432;&#7907;c bi&#234;n so&#7841;n"/>
+ <l:gentext key="Editedby" text="&#272;&#432;&#7907;c bi&#234;n so&#7841;n b&#7903;i"/>
+ <l:gentext key="editedby" text="&#272;&#432;&#7907;c bi&#234;n so&#7841;n b&#7903;i"/>
+ <l:gentext key="in" text="trong"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="ph&#7847;n t&#7917; kh&#244;ng c&#243;"/>
+ <l:gentext key="notes" text="Ghi ch&#250;"/>
+ <l:gentext key="Notes" text="Ghi ch&#250;"/>
+ <l:gentext key="Pgs" text="Pgs."/>
+ <l:gentext key="pgs" text="Pgs."/>
+ <l:gentext key="Revisedby" text="Hi&#7879;u ch&#7881;nh b&#7903;i: "/>
+ <l:gentext key="revisedby" text="Hi&#7879;u ch&#7881;nh b&#7903;i: "/>
+ <l:gentext key="TableNotes" text="Ghi ch&#250;"/>
+ <l:gentext key="tablenotes" text="Ghi ch&#250;"/>
+ <l:gentext key="TableofContents" text="M&#7909;c l&#7909;c"/>
+ <l:gentext key="tableofcontents" text="M&#7909;c l&#7909;c"/>
+ <l:gentext key="unexpectedelementname" text="T&#234;n ph&#7847;n t&#7917; kh&#244;ng &#273;&#250;ng"/>
+ <l:gentext key="unsupported" text="kh&#244;ng h&#7895; tr&#7907;"/>
+ <l:gentext key="xrefto" text="xref t&#7899;i"/>
+ <l:gentext key="listofequations" text="Danh s&#225;ch Ph&#432;&#417;ng tr&#236;nh"/>
+ <l:gentext key="ListofEquations" text="Danh s&#225;ch Ph&#432;&#417;ng tr&#236;nh"/>
+ <l:gentext key="ListofExamples" text="Danh s&#225;ch V&#237; d&#7909;"/>
+ <l:gentext key="listofexamples" text="Danh s&#225;ch V&#237; d&#7909;"/>
+ <l:gentext key="ListofFigures" text="Danh s&#225;ch H&#236;nh"/>
+ <l:gentext key="listoffigures" text="Danh s&#225;ch H&#236;nh"/>
+ <l:gentext key="listoftables" text="Danh s&#225;ch B&#7843;ng"/>
+ <l:gentext key="ListofTables" text="Danh s&#225;ch B&#7843;ng"/>
+ <l:gentext key="ListofUnknown" text="Danh s&#225;ch L&#7841;"/>
+ <l:gentext key="listofunknown" text="Danh s&#225;ch L&#7841;"/>
+ <l:gentext key="nav-home" text="&#272;&#7847;u"/>
+ <l:gentext key="nav-next" text="K&#7871; ti&#7871;p"/>
+ <l:gentext key="nav-next-sibling" text="T&#7899;i nhanh"/>
+ <l:gentext key="nav-prev" text="Tr&#432;&#7899;c &#273;&#243;"/>
+ <l:gentext key="nav-prev-sibling" text="L&#249;i nhanh"/>
+ <l:gentext key="nav-up" text="L&#234;n"/>
+ <l:gentext key="nav-toc" text="M&#7909;c l&#7909;c"/>
+ <l:gentext key="Draft" text="B&#7843;n th&#7843;o"/>
+ <l:gentext key="above" text="tr&#234;n"/>
+ <l:gentext key="below" text="d&#432;&#7899;i"/>
+ <l:gentext key="sectioncalled" text="ph&#7847;n"/>
+ <l:gentext key="index symbols" text="K&#253; hi&#7879;u"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/vi.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="last-first"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Ph&#7909; l&#7909;c&#160;%n.&#160;%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Ch&#432;&#417;ng&#160;%n.&#160;%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Ph&#432;&#417;ng tr&#236;nh&#160;%n.&#160;%t"/>
+ <l:template name="example" text="V&#237; d&#7909;&#160;%n.&#160;%t"/>
+ <l:template name="figure" text="H&#236;nh&#160;%n.&#160;%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Ph&#7847;n&#160;%n.&#160;%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Th&#7911; t&#7909;c&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="S&#7843;n ph&#7849;m&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="B&#7843;ng&#160;%n.&#160;%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Ph&#7909; l&#7909;c&#160;%n.&#160;%t"/>
+ <l:template name="bridgehead" text="%n.&#160;%t"/>
+ <l:template name="chapter" text="Ch&#432;&#417;ng&#160;%n.&#160;%t"/>
+ <l:template name="sect1" text="%n.&#160;%t"/>
+ <l:template name="sect2" text="%n.&#160;%t"/>
+ <l:template name="sect3" text="%n.&#160;%t"/>
+ <l:template name="sect4" text="%n.&#160;%t"/>
+ <l:template name="sect5" text="%n.&#160;%t"/>
+ <l:template name="section" text="%n.&#160;%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#272;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="H:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="H:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="section" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="ph&#7847;n &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#272;:&#160;%n"/>
+ <l:template name="appendix" text="Ph&#7909; l&#7909;c&#160;%n"/>
+ <l:template name="bridgehead" text="Ph&#7847;n&#160;%n"/>
+ <l:template name="chapter" text="Ch&#432;&#417;ng&#160;%n"/>
+ <l:template name="equation" text="Ph&#432;&#417;ng tr&#236;nh&#160;%n"/>
+ <l:template name="example" text="V&#237; d&#7909;&#160;%n"/>
+ <l:template name="figure" text="H&#236;nh&#160;%n"/>
+ <l:template name="part" text="Ph&#7847;n&#160;%n"/>
+ <l:template name="procedure" text="Th&#7911; t&#7909;c&#160;%n"/>
+ <l:template name="productionset" text="S&#7843;n ph&#7849;m&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="H:&#160;%n"/>
+ <l:template name="question" text="H:&#160;%n"/>
+ <l:template name="sect1" text="Ph&#7847;n&#160;%n"/>
+ <l:template name="sect2" text="Ph&#7847;n&#160;%n"/>
+ <l:template name="sect3" text="Ph&#7847;n&#160;%n"/>
+ <l:template name="sect4" text="Ph&#7847;n&#160;%n"/>
+ <l:template name="sect5" text="Ph&#7847;n&#160;%n"/>
+ <l:template name="section" text="Ph&#7847;n&#160;%n"/>
+ <l:template name="table" text="B&#7843;ng&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Ph&#7909; l&#7909;c&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Ch&#432;&#417;ng&#160;%n, %t"/>
+ <l:template name="equation" text="Ph&#432;&#417;ng tr&#236;nh&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="V&#237; d&#7909;&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="H&#236;nh&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Th&#7911; t&#7909;c&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="S&#7843;n ph&#7849;m&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="ph&#7847;n &#8220;%t&#8221;"/>
+ <l:template name="table" text="B&#7843;ng&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" v&#224; "/>
+ <l:template name="seplast" text=", v&#224; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Xem "/>
+ <l:template name="seealso" text="Xem th&#234;m "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#272;&#7885;c gi&#7843;: "/>
+ <l:template name="MsgLevel" text="C&#7845;p: "/>
+ <l:template name="MsgOrig" text="G&#7889;c: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x242a Vietnamese"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/xh.xml b/docs/xslt/db2latex-xsl/xsl/common/xh.xml
new file mode 100644
index 0000000000..1b47d7207a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/xh.xml
@@ -0,0 +1,441 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="xh" english-language-name="Xhosa">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/xh.xml -->
+ <l:gentext key="Abstract" text="Isiqalo"/>
+ <l:gentext key="abstract" text="Isiqalo"/>
+ <l:gentext key="Answer" text="I:"/>
+ <l:gentext key="answer" text="I:"/>
+ <l:gentext key="Appendix" text="Isivalo"/>
+ <l:gentext key="appendix" text="isivalo"/>
+ <l:gentext key="Article" text="Umba"/>
+ <l:gentext key="article" text="Umba"/>
+ <l:gentext key="Bibliography" text="Ezobunzululwazi"/>
+ <l:gentext key="bibliography" text="Ezobunzululwazi"/>
+ <l:gentext key="Book" text="Incwadi"/>
+ <l:gentext key="book" text="Incwadi"/>
+ <l:gentext key="CAUTION" text="ISILUMKISO"/>
+ <l:gentext key="Caution" text="Isilumkiso"/>
+ <l:gentext key="caution" text="Isilumkiso"/>
+ <l:gentext key="Chapter" text="Isiqendu"/>
+ <l:gentext key="chapter" text="isiqendu"/>
+ <l:gentext key="Colophon" text="Ikolophon"/>
+ <l:gentext key="colophon" text="Ikolophon"/>
+ <l:gentext key="Copyright" text="Ushicilelo olusemthethweni"/>
+ <l:gentext key="copyright" text="Ushicilelo olusemthethweni"/>
+ <l:gentext key="Dedication" text="Ulwaziso"/>
+ <l:gentext key="dedication" text="Ulwaziso"/>
+ <l:gentext key="Edition" text="Uhlelo"/>
+ <l:gentext key="edition" text="Uhlelo"/>
+ <l:gentext key="Equation" text="Ulinganiselo"/>
+ <l:gentext key="equation" text="Ulinganiselo"/>
+ <l:gentext key="Example" text="Umzekelo"/>
+ <l:gentext key="example" text="Umzekelo"/>
+ <l:gentext key="Figure" text="Ulungu"/>
+ <l:gentext key="figure" text="Ulungu"/>
+ <l:gentext key="Glossary" text="Inkcazelo yamagama"/>
+ <l:gentext key="glossary" text="Inkcazelo yamagama"/>
+ <l:gentext key="GlossSee" text="Bona"/>
+ <l:gentext key="glosssee" text="Bona"/>
+ <l:gentext key="GlossSeeAlso" text="Bona Kwakhona"/>
+ <l:gentext key="glossseealso" text="Bona Kwakhona"/>
+ <l:gentext key="IMPORTANT" text="IBALULEKILE"/>
+ <l:gentext key="important" text="Ibalulekile"/>
+ <l:gentext key="Important" text="Ibalulekile"/>
+ <l:gentext key="Index" text="Isalathiso"/>
+ <l:gentext key="index" text="Isalathiso"/>
+ <l:gentext key="ISBN" text="iISBN"/>
+ <l:gentext key="isbn" text="iISBN"/>
+ <l:gentext key="LegalNotice" text="Isaziso Esesimthethweni"/>
+ <l:gentext key="legalnotice" text="Isaziso Esesimthethweni"/>
+ <l:gentext key="MsgAud" text="Ababhali"/>
+ <l:gentext key="msgaud" text="Ababhali"/>
+ <l:gentext key="MsgLevel" text="Umphakamo"/>
+ <l:gentext key="msglevel" text="Umphakamo"/>
+ <l:gentext key="MsgOrig" text="Uqobo"/>
+ <l:gentext key="msgorig" text="Uqobo"/>
+ <l:gentext key="NOTE" text="QAPHELA"/>
+ <l:gentext key="Note" text="Qaphela"/>
+ <l:gentext key="note" text="Qaphela"/>
+ <l:gentext key="Part" text="Inxenye"/>
+ <l:gentext key="part" text="Inxenye"/>
+ <l:gentext key="Preface" text="Isihloko"/>
+ <l:gentext key="preface" text="Isihloko"/>
+ <l:gentext key="Procedure" text="Inkqubo"/>
+ <l:gentext key="procedure" text="Inkqubo"/>
+ <l:gentext key="ProductionSet" text="Imveliso"/>
+ <l:gentext key="Published" text="Ipapashwe"/>
+ <l:gentext key="published" text="Ipapashwe"/>
+ <l:gentext key="Question" text="U:"/>
+ <l:gentext key="question" text="U:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="Uthelekiso"/>
+ <l:gentext key="reference" text="Uthelekiso"/>
+ <l:gentext key="RefName" text="Igama lothelekiso"/>
+ <l:gentext key="refname" text="Igama lothelekiso"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="Isinopsisi"/>
+ <l:gentext key="refsynopsisdiv" text="Isinopsisi"/>
+ <l:gentext key="RevHistory" text="Imbali yophindo"/>
+ <l:gentext key="revhistory" text="Imbali yophindo"/>
+ <l:gentext key="revision" text="Iphindo"/>
+ <l:gentext key="Revision" text="Iphindo"/>
+ <l:gentext key="sect1" text="Icandelo"/>
+ <l:gentext key="sect2" text="Icandelo"/>
+ <l:gentext key="sect3" text="Icandelo"/>
+ <l:gentext key="sect4" text="Icandelo"/>
+ <l:gentext key="sect5" text="Icandelo"/>
+ <l:gentext key="section" text="Icandelo"/>
+ <l:gentext key="Section" text="Icandelo"/>
+ <l:gentext key="See" text="Bona"/>
+ <l:gentext key="see" text="Bona"/>
+ <l:gentext key="SeeAlso" text="Bona Kwakhona"/>
+ <l:gentext key="seealso" text="Bona Kwakhona"/>
+ <l:gentext key="Seealso" text="Bona Kwakhona"/>
+ <l:gentext key="set" text="Cwangcisa"/>
+ <l:gentext key="Set" text="Cwangcisa"/>
+ <l:gentext key="setindex" text="Cwangcisa Isalathiso"/>
+ <l:gentext key="SetIndex" text="Cwangcisa Isalathiso"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="ibar esecaleni"/>
+ <l:gentext key="step" text="inqwanqwa"/>
+ <l:gentext key="Step" text="Inqwanqwa"/>
+ <l:gentext key="Table" text="Indlela Yokwenza Imigca"/>
+ <l:gentext key="table" text="Indlela Yokwenza Imigca"/>
+ <l:gentext key="tip" text="Incam"/>
+ <l:gentext key="TIP" text="INCAM"/>
+ <l:gentext key="Tip" text="Incam"/>
+ <l:gentext key="Warning" text="Isilumkiso"/>
+ <l:gentext key="warning" text="Isilumkiso"/>
+ <l:gentext key="WARNING" text="ISILUMKISO"/>
+ <l:gentext key="and" text="no"/>
+ <l:gentext key="by" text="by"/>
+ <l:gentext key="Edited" text="Ihleliwe"/>
+ <l:gentext key="edited" text="Ihleliwe"/>
+ <l:gentext key="Editedby" text="Ihlelwe"/>
+ <l:gentext key="editedby" text="Ihlelwe"/>
+ <l:gentext key="in" text="in"/>
+ <l:gentext key="lastlistcomma" text=", "/>
+ <l:gentext key="listcomma" text=", "/>
+ <l:gentext key="nonexistantelement" text="isiqalelo esingekhayo"/>
+ <l:gentext key="notes" text="Iziqaphelo"/>
+ <l:gentext key="Notes" text="Iziqaphelo"/>
+ <l:gentext key="Pgs" text="Amaphepha"/>
+ <l:gentext key="pgs" text="Amaphepha"/>
+ <l:gentext key="Revisedby" text="Iphindwe ngu: "/>
+ <l:gentext key="revisedby" text="Iphindwe ngu:"/>
+ <l:gentext key="TableNotes" text="Iziqaphelo"/>
+ <l:gentext key="tablenotes" text="Iziqaphelo"/>
+ <l:gentext key="TableofContents" text="Imigca Yemixholo"/>
+ <l:gentext key="tableofcontents" text="Imigca Yemixholo"/>
+ <l:gentext key="unexpectedelementname" text="Igama lesiqalelo esingalindelwanga"/>
+ <l:gentext key="unsupported" text="ayixhaswanga"/>
+ <l:gentext key="xrefto" text="thelekiso ku"/>
+ <l:gentext key="listofequations" text="Uluhlu Lemilinganiselo"/>
+ <l:gentext key="ListofEquations" text="Uluhlu Lemilinganiselo"/>
+ <l:gentext key="ListofExamples" text="Uluhlu Lemizekelo"/>
+ <l:gentext key="listofexamples" text="Uluhlu Lemizekelo"/>
+ <l:gentext key="ListofFigures" text="Uluhlu Lamalungu"/>
+ <l:gentext key="listoffigures" text="Uluhlu Lamalungu"/>
+ <l:gentext key="listoftables" text="Uluhlu Lendlela Yokwenza Imigca"/>
+ <l:gentext key="ListofTables" text="Uluhlu Lendlela Yokwenza Imigca"/>
+ <l:gentext key="ListofUnknown" text="Uluhlu Lokungaziwayo"/>
+ <l:gentext key="listofunknown" text="Uluhlu Lokungaziwayo"/>
+ <l:gentext key="nav-home" text="Ikhaya"/>
+ <l:gentext key="nav-next" text="Elandelayo"/>
+ <l:gentext key="nav-next-sibling" text="Yisa Phambili"/>
+ <l:gentext key="nav-prev" text="Edlulileyo"/>
+ <l:gentext key="nav-prev-sibling" text="Yisa Emva"/>
+ <l:gentext key="nav-up" text="Phezulu"/>
+ <l:gentext key="sectioncalled" text="icandelo libizwa ngokuba"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Iimpawu"/>
+ <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+ <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/xh.xml -->
+ <l:dingbat key="startquote" text="&#8220;"/>
+ <l:dingbat key="endquote" text="&#8221;"/>
+ <l:dingbat key="nestedstartquote" text="&#8216;"/>
+ <l:dingbat key="nestedendquote" text="&#8217;"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="Isivalo %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="Isiqendu %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="Ulinganiselo %n. %t"/>
+ <l:template name="example" text="Umzekelo %n. %t"/>
+ <l:template name="figure" text="Ulungu %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="Inxenye %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="Inkqubo %n. %t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Imveliso %n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsection" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="Indlela Yokwenza Imigca %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text=""/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="Isivalo %n. %t"/>
+ <l:template name="bridgehead" text="%n. %t"/>
+ <l:template name="chapter" text="Isiqendu %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsection" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="I:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="U:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="U:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="section" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="I:&#160;%n"/>
+ <l:template name="appendix" text="Isivalo&#160;%n"/>
+ <l:template name="bridgehead" text="Icandelo&#160;%n"/>
+ <l:template name="chapter" text="Isiqendu&#160;%n"/>
+ <l:template name="equation" text="Ulinganiselo&#160;%n"/>
+ <l:template name="example" text="Umzekelo&#160;%n"/>
+ <l:template name="figure" text="Ulungu&#160;%n"/>
+ <l:template name="part" text="Inxenye&#160;%n"/>
+ <l:template name="procedure" text="Inkqubo&#160;%n"/>
+ <l:template name="productionset" text="Imveliso&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="U:&#160;%n"/>
+ <l:template name="question" text="U:&#160;%n"/>
+ <l:template name="sect1" text="Icandelo&#160;%n"/>
+ <l:template name="sect2" text="Icandelo&#160;%n"/>
+ <l:template name="sect3" text="Icandelo&#160;%n"/>
+ <l:template name="sect4" text="Icandelo&#160;%n"/>
+ <l:template name="sect5" text="Icandelo&#160;%n"/>
+ <l:template name="section" text="Icandelo&#160;%n"/>
+ <l:template name="table" text="Indlela Yokwenza Imigca&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="Isivalo&#160;%n, %t"/>
+ <l:template name="bridgehead" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="chapter" text="Isiqendu&#160;%n, %t"/>
+ <l:template name="equation" text="Ulinganiselo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="example" text="Umzekelo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="figure" text="Ulungu&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="part" text="Inxenye&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="procedure" text="Inkqubo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="productionset" text="Imveliso&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="refsect1" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="refsect2" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="refsect3" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="refsection" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="sect1" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect2" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect3" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect4" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="sect5" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="section" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+ <l:template name="simplesect" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+ <l:template name="table" text="Indlela Yokwenza Imigca&#160;%n, &#8220;%t&#8221;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=" no "/>
+ <l:template name="sep2" text=" no "/>
+ <l:template name="seplast" text=" no "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="Bona "/>
+ <l:template name="seealso" text="Bona Kwakhona "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="Ababhali: "/>
+ <l:template name="MsgLevel" text="Umphakamo: "/>
+ <l:template name="MsgOrig" text="Uqobo: "/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/zh_cn.xml b/docs/xslt/db2latex-xsl/xsl/common/zh_cn.xml
new file mode 100644
index 0000000000..6cd9e733a3
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/zh_cn.xml
@@ -0,0 +1,438 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_cn" english-language-name="Chinese (Continental)">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/zh_cn.xml -->
+ <l:gentext key="Abstract" text="&#25688;&#35201;"/>
+ <l:gentext key="abstract" text="&#25688;&#35201;"/>
+ <l:gentext key="Answer" text="&#31572;:"/>
+ <l:gentext key="answer" text="&#31572;:"/>
+ <l:gentext key="Appendix" text="&#38468;&#24405;"/>
+ <l:gentext key="appendix" text="&#38468;&#24405;"/>
+ <l:gentext key="Article" text="&#25991;&#31456;"/>
+ <l:gentext key="article" text="&#25991;&#31456;"/>
+ <l:gentext key="Bibliography" text="&#21442;&#32771;&#20070;&#30446;"/>
+ <l:gentext key="bibliography" text="&#21442;&#32771;&#20070;&#30446;"/>
+ <l:gentext key="Book" text="&#20070;&#30446;"/>
+ <l:gentext key="book" text="&#20070;&#30446;"/>
+ <l:gentext key="CAUTION" text="&#27880;&#24847;"/>
+ <l:gentext key="Caution" text="&#27880;&#24847;"/>
+ <l:gentext key="caution" text="&#27880;&#24847;"/>
+ <l:gentext key="Chapter" text="&#31456;"/>
+ <l:gentext key="chapter" text="&#31456;"/>
+ <l:gentext key="Colophon" text="Colophon"/>
+ <l:gentext key="colophon" text="Colophon"/>
+ <l:gentext key="Copyright" text="&#29256;&#26435;"/>
+ <l:gentext key="copyright" text="&#29256;&#26435;"/>
+ <l:gentext key="Dedication" text="&#22857;&#29486;"/>
+ <l:gentext key="dedication" text="&#22857;&#29486;"/>
+ <l:gentext key="Edition" text="&#29256;"/>
+ <l:gentext key="edition" text="&#29256;"/>
+ <l:gentext key="Equation" text="&#26041;&#31243;"/>
+ <l:gentext key="equation" text="&#26041;&#31243;"/>
+ <l:gentext key="Example" text="&#20363;&#23376;"/>
+ <l:gentext key="example" text="&#20363;&#23376;"/>
+ <l:gentext key="Figure" text="&#22270;&#24418;"/>
+ <l:gentext key="figure" text="&#22270;&#24418;"/>
+ <l:gentext key="Glossary" text="&#26415;&#35821;&#34920;"/>
+ <l:gentext key="glossary" text="&#26415;&#35821;&#34920;"/>
+ <l:gentext key="GlossSee" text="&#35265;"/>
+ <l:gentext key="glosssee" text="&#35265;"/>
+ <l:gentext key="GlossSeeAlso" text="&#21478;&#35265;"/>
+ <l:gentext key="glossseealso" text="&#21478;&#35265;"/>
+ <l:gentext key="IMPORTANT" text="&#37325;&#35201;"/>
+ <l:gentext key="Important" text="&#37325;&#35201;"/>
+ <l:gentext key="important" text="&#37325;&#35201;"/>
+ <l:gentext key="Index" text="&#32034;&#24341;"/>
+ <l:gentext key="index" text="&#32034;&#24341;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="&#27861;&#24459;&#24067;&#21578;"/>
+ <l:gentext key="legalnotice" text="&#27861;&#24459;&#24067;&#21578;"/>
+ <l:gentext key="MsgAud" text="&#35835;&#32773;"/>
+ <l:gentext key="msgaud" text="&#35835;&#32773;"/>
+ <l:gentext key="MsgLevel" text="&#38590;&#24230;"/>
+ <l:gentext key="msglevel" text="&#38590;&#24230;"/>
+ <l:gentext key="MsgOrig" text="&#20986;&#22788;"/>
+ <l:gentext key="msgorig" text="&#20986;&#22788;"/>
+ <l:gentext key="NOTE" text="&#27880;"/>
+ <l:gentext key="Note" text="&#27880;"/>
+ <l:gentext key="note" text="&#27880;"/>
+ <l:gentext key="Part" text="&#37096;&#20998;"/>
+ <l:gentext key="part" text="&#37096;&#20998;"/>
+ <l:gentext key="Preface" text="&#21069;&#35328;"/>
+ <l:gentext key="preface" text="&#21069;&#35328;"/>
+ <l:gentext key="Procedure" text="&#36807;&#31243;"/>
+ <l:gentext key="procedure" text="&#36807;&#31243;"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="&#20986;&#29256;"/>
+ <l:gentext key="published" text="&#20986;&#29256;"/>
+ <l:gentext key="Question" text="&#38382;:"/>
+ <l:gentext key="question" text="&#38382;:"/>
+ <l:gentext key="RefEntry" text=""/>
+ <l:gentext key="refentry" text=""/>
+ <l:gentext key="Reference" text="&#21442;&#32771;"/>
+ <l:gentext key="reference" text="&#21442;&#32771;"/>
+ <l:gentext key="RefName" text="&#21517;&#23383;"/>
+ <l:gentext key="refname" text="&#21517;&#23383;"/>
+ <l:gentext key="RefSection" text=""/>
+ <l:gentext key="refsection" text=""/>
+ <l:gentext key="RefSynopsisDiv" text="&#22823;&#32434;"/>
+ <l:gentext key="refsynopsisdiv" text="&#22823;&#32434;"/>
+ <l:gentext key="RevHistory" text="&#20462;&#35746;&#21382;&#21490;"/>
+ <l:gentext key="revhistory" text="&#20462;&#35746;&#21382;&#21490;"/>
+ <l:gentext key="Revision" text="&#20462;&#35746;"/>
+ <l:gentext key="revision" text="&#20462;&#35746;"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="&#33410;"/>
+ <l:gentext key="section" text="&#33410;"/>
+ <l:gentext key="See" text="&#35265;"/>
+ <l:gentext key="see" text="&#35265;"/>
+ <l:gentext key="SeeAlso" text="&#21478;&#35265;"/>
+ <l:gentext key="Seealso" text="&#21478;&#35265;"/>
+ <l:gentext key="seealso" text="&#21478;&#35265;"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="SetIndex" text="Set Index"/>
+ <l:gentext key="setindex" text="Set Index"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text="sidebar"/>
+ <l:gentext key="Step" text="&#27493;&#39588;"/>
+ <l:gentext key="step" text="&#27493;&#39588;"/>
+ <l:gentext key="Table" text="&#34920;&#26684;"/>
+ <l:gentext key="table" text="&#34920;&#26684;"/>
+ <l:gentext key="TIP" text="&#25552;&#31034;"/>
+ <l:gentext key="Tip" text="&#25552;&#31034;"/>
+ <l:gentext key="tip" text="&#25552;&#31034;"/>
+ <l:gentext key="WARNING" text="&#35686;&#21578;"/>
+ <l:gentext key="Warning" text="&#35686;&#21578;"/>
+ <l:gentext key="warning" text="&#35686;&#21578;"/>
+ <l:gentext key="and" text="&#21644;"/>
+ <l:gentext key="by" text="&#30001;"/>
+ <l:gentext key="Edited" text="&#32534;&#36753;"/>
+ <l:gentext key="edited" text="&#32534;&#36753;"/>
+ <l:gentext key="Editedby" text="&#32534;&#36753;"/>
+ <l:gentext key="editedby" text="&#32534;&#36753;"/>
+ <l:gentext key="in" text="&#22312;"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="&#19981;&#23384;&#22312;&#30340;&#20803;&#32032;"/>
+ <l:gentext key="Notes" text="&#27880;"/>
+ <l:gentext key="notes" text="&#27880;"/>
+ <l:gentext key="Pgs" text="&#39029;"/>
+ <l:gentext key="pgs" text="&#39029;"/>
+ <l:gentext key="Revisedby" text="&#20462;&#35746;"/>
+ <l:gentext key="revisedby" text="&#20462;&#35746;"/>
+ <l:gentext key="TableNotes" text="&#27880;"/>
+ <l:gentext key="tablenotes" text="&#27880;"/>
+ <l:gentext key="TableofContents" text="&#30446;&#24405;"/>
+ <l:gentext key="tableofcontents" text="&#30446;&#24405;"/>
+ <l:gentext key="unexpectedelementname" text="&#26410;&#39044;&#26009;&#21040;&#30340;&#20803;&#32032;&#21517;"/>
+ <l:gentext key="unsupported" text="&#19981;&#25903;&#25345;"/>
+ <l:gentext key="xrefto" text="&#21442;&#29031;"/>
+ <l:gentext key="ListofEquations" text="&#26041;&#31243;&#24335;&#21015;&#34920;"/>
+ <l:gentext key="listofequations" text="&#26041;&#31243;&#24335;&#21015;&#34920;"/>
+ <l:gentext key="ListofExamples" text="&#31034;&#20363;&#21015;&#34920;"/>
+ <l:gentext key="listofexamples" text="&#31034;&#20363;&#21015;&#34920;"/>
+ <l:gentext key="ListofFigures" text="&#22270;&#24418;&#21015;&#34920;"/>
+ <l:gentext key="listoffigures" text="&#22270;&#24418;&#21015;&#34920;"/>
+ <l:gentext key="ListofTables" text="&#34920;&#26684;&#21015;&#34920;"/>
+ <l:gentext key="listoftables" text="&#34920;&#26684;&#21015;&#34920;"/>
+ <l:gentext key="ListofUnknown" text="&#20854;&#20182;&#20869;&#23481;&#21015;&#34920;"/>
+ <l:gentext key="listofunknown" text="&#20854;&#20182;&#20869;&#23481;&#21015;&#34920;"/>
+ <l:gentext key="nav-home" text="&#36215;&#28857;"/>
+ <l:gentext key="nav-next" text="&#21069;&#36827;"/>
+ <l:gentext key="nav-next-sibling" text="&#24555;&#36895;&#21069;&#36827;"/>
+ <l:gentext key="nav-prev" text="&#21518;&#36864;"/>
+ <l:gentext key="nav-prev-sibling" text="&#24555;&#36895;&#21518;&#36864;"/>
+ <l:gentext key="nav-up" text="&#19978;&#19968;&#32423;"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/zh_cn.xml -->
+ <l:dingbat key="startquote" text="&quot;"/>
+ <l:dingbat key="endquote" text="&quot;"/>
+ <l:dingbat key="nestedstartquote" text="'"/>
+ <l:dingbat key="nestedendquote" text="'"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#38468;&#24405; %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#31456; %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#26041;&#31243; %n. %t"/>
+ <l:template name="example" text="&#20363;&#23376; %n. %t"/>
+ <l:template name="figure" text="&#22270;&#24418; %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#37096;&#20998; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#36807;&#31243;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#34920;&#26684; %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#38468;&#24405; %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="&#31456; %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#31572;:&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#38382;:&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#38382;:&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&quot;%t&quot;"/>
+ <l:template name="refsect1" text="&quot;%t&quot;"/>
+ <l:template name="refsect2" text="&quot;%t&quot;"/>
+ <l:template name="refsect3" text="&quot;%t&quot;"/>
+ <l:template name="sect1" text="&quot;%t&quot;"/>
+ <l:template name="sect2" text="&quot;%t&quot;"/>
+ <l:template name="sect3" text="&quot;%t&quot;"/>
+ <l:template name="sect4" text="&quot;%t&quot;"/>
+ <l:template name="sect5" text="&quot;%t&quot;"/>
+ <l:template name="section" text="&quot;%t&quot;"/>
+ <l:template name="simplesect" text="&quot;%t&quot;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#31572;:&#160;%n"/>
+ <l:template name="appendix" text="&#38468;&#24405;&#160;%n"/>
+ <l:template name="bridgehead" text="&#33410;&#160;%n"/>
+ <l:template name="chapter" text="&#31456;&#160;%n"/>
+ <l:template name="equation" text="&#26041;&#31243;&#160;%n"/>
+ <l:template name="example" text="&#20363;&#23376;&#160;%n"/>
+ <l:template name="figure" text="&#22270;&#24418;&#160;%n"/>
+ <l:template name="part" text="&#37096;&#20998;&#160;%n"/>
+ <l:template name="procedure" text="&#36807;&#31243;&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#38382;:&#160;%n"/>
+ <l:template name="question" text="&#38382;:&#160;%n"/>
+ <l:template name="sect1" text="&#33410;&#160;%n"/>
+ <l:template name="sect2" text="&#33410;&#160;%n"/>
+ <l:template name="sect3" text="&#33410;&#160;%n"/>
+ <l:template name="sect4" text="&#33410;&#160;%n"/>
+ <l:template name="sect5" text="&#33410;&#160;%n"/>
+ <l:template name="section" text="&#33410;&#160;%n"/>
+ <l:template name="table" text="&#34920;&#26684;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#38468;&#24405;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#33410;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="chapter" text="&#31456;&#160;%n, %t"/>
+ <l:template name="equation" text="&#26041;&#31243;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="example" text="&#20363;&#23376;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="figure" text="&#22270;&#24418;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="part" text="&#37096;&#20998;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="procedure" text="&#36807;&#31243;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="productionset" text="Production&#160;%n, &quot;%t&quot;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &quot;%t&quot;"/>
+ <l:template name="refsect1" text="the section called &quot;%t&quot;"/>
+ <l:template name="refsect2" text="the section called &quot;%t&quot;"/>
+ <l:template name="refsect3" text="the section called &quot;%t&quot;"/>
+ <l:template name="refsection" text="the section called &quot;%t&quot;"/>
+ <l:template name="sect1" text="&#33410;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="sect2" text="&#33410;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="sect3" text="&#33410;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="sect4" text="&#33410;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="sect5" text="&#33410;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="section" text="&#33410;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="simplesect" text="the section called &quot;%t&quot;"/>
+ <l:template name="table" text="&#34920;&#26684;&#160;%n, &quot;%t&quot;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#21644; "/>
+ <l:template name="seplast" text=", &#21644; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#35265; "/>
+ <l:template name="seealso" text="&#21478;&#35265; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#35835;&#32773;: "/>
+ <l:template name="MsgLevel" text="&#38590;&#24230;: "/>
+ <l:template name="MsgOrig" text="&#20986;&#22788;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0804 Chinese (CHINA)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/common/zh_tw.xml b/docs/xslt/db2latex-xsl/xsl/common/zh_tw.xml
new file mode 100644
index 0000000000..42b3e1b513
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/common/zh_tw.xml
@@ -0,0 +1,439 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_tw" english-language-name="Chinese (Traditional)">
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<!-- -->
+<!-- Any further gentexts were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/zh_tw.xml -->
+ <l:gentext key="Abstract" text="&#25688;&#35201;"/>
+ <l:gentext key="abstract" text="&#25688;&#35201;"/>
+ <l:gentext key="Answer" text="&#31572;&#65306;"/>
+ <l:gentext key="answer" text="&#31572;&#65306;"/>
+ <l:gentext key="Appendix" text="&#38468;&#37636;"/>
+ <l:gentext key="appendix" text="&#38468;&#37636;"/>
+ <l:gentext key="Article" text="&#25991;&#31456;"/>
+ <l:gentext key="article" text="&#25991;&#31456;"/>
+ <l:gentext key="Bibliography" text="&#21443;&#32771;&#25991;&#29563;"/>
+ <l:gentext key="bibliography" text="&#21443;&#32771;&#25991;&#29563;"/>
+ <l:gentext key="Book" text="&#26360;&#30446;"/>
+ <l:gentext key="book" text="&#26360;&#30446;"/>
+ <l:gentext key="CAUTION" text="&#27880;&#24847;"/>
+ <l:gentext key="Caution" text="&#27880;&#24847;"/>
+ <l:gentext key="caution" text="&#27880;&#24847;"/>
+ <l:gentext key="Chapter" text="&#31456;"/>
+ <l:gentext key="chapter" text="&#31456;"/>
+ <l:gentext key="Colophon" text="&#29256;&#26412;&#35352;&#37636;"/>
+ <l:gentext key="colophon" text="&#29256;&#26412;&#35352;&#37636;"/>
+ <l:gentext key="Copyright" text="&#29256;&#27402;"/>
+ <l:gentext key="copyright" text="&#29256;&#27402;"/>
+ <l:gentext key="Dedication" text="&#22857;&#29563;"/>
+ <l:gentext key="dedication" text="&#22857;&#29563;"/>
+ <l:gentext key="Edition" text="&#29256;"/>
+ <l:gentext key="edition" text="&#29256;"/>
+ <l:gentext key="Equation" text="&#26041;&#31243;&#24335;"/>
+ <l:gentext key="equation" text="&#26041;&#31243;&#24335;"/>
+ <l:gentext key="Example" text="&#31684;&#20363;"/>
+ <l:gentext key="example" text="&#31684;&#20363;"/>
+ <l:gentext key="Figure" text="&#22294;&#24418;"/>
+ <l:gentext key="figure" text="&#22294;&#24418;"/>
+ <l:gentext key="Glossary" text="&#23567;&#36781;&#24409;"/>
+ <l:gentext key="glossary" text="&#23567;&#36781;&#24409;"/>
+ <l:gentext key="GlossSee" text="&#21443;&#35211;"/>
+ <l:gentext key="glosssee" text="&#21443;&#35211;"/>
+ <l:gentext key="GlossSeeAlso" text="&#21478;&#21443;&#35211;"/>
+ <l:gentext key="glossseealso" text="&#21478;&#21443;&#35211;"/>
+ <l:gentext key="IMPORTANT" text="&#37325;&#35201;"/>
+ <l:gentext key="Important" text="&#37325;&#35201;"/>
+ <l:gentext key="important" text="&#37325;&#35201;"/>
+ <l:gentext key="Index" text="&#32034;&#24341;"/>
+ <l:gentext key="index" text="&#32034;&#24341;"/>
+ <l:gentext key="ISBN" text="ISBN"/>
+ <l:gentext key="isbn" text="ISBN"/>
+ <l:gentext key="LegalNotice" text="&#27861;&#24459;&#32882;&#26126;"/>
+ <l:gentext key="legalnotice" text="&#27861;&#24459;&#32882;&#26126;"/>
+ <l:gentext key="MsgAud" text="&#35712;&#32773;"/>
+ <l:gentext key="msgaud" text="&#35712;&#32773;"/>
+ <l:gentext key="MsgLevel" text="&#31243;&#24230;"/>
+ <l:gentext key="msglevel" text="&#31243;&#24230;"/>
+ <l:gentext key="MsgOrig" text="&#20986;&#34389;"/>
+ <l:gentext key="msgorig" text="&#20986;&#34389;"/>
+ <l:gentext key="NOTE" text="&#27880;"/>
+ <l:gentext key="Note" text="&#27880;"/>
+ <l:gentext key="note" text="&#27880;"/>
+ <l:gentext key="Part" text="&#37096;"/>
+ <l:gentext key="part" text="&#37096;"/>
+ <l:gentext key="Preface" text="&#24207;&#35328;"/>
+ <l:gentext key="preface" text="&#24207;&#35328;"/>
+ <l:gentext key="Procedure" text="&#36942;&#31243;"/>
+ <l:gentext key="procedure" text="&#36942;&#31243;"/>
+ <l:gentext key="ProductionSet" text="Production"/>
+ <l:gentext key="Published" text="&#20986;&#29256;"/>
+ <l:gentext key="published" text="&#20986;&#29256;"/>
+ <l:gentext key="Question" text="&#21839;&#65306;"/>
+ <l:gentext key="question" text="&#21839;&#65306;"/>
+ <l:gentext key="RefEntry" text="&#21443;&#29031;&#38917;&#30446;"/>
+ <l:gentext key="refentry" text="&#21443;&#29031;&#38917;&#30446;"/>
+ <l:gentext key="Reference" text="&#21443;&#32771;"/>
+ <l:gentext key="reference" text="&#21443;&#32771;"/>
+ <l:gentext key="RefName" text="&#21443;&#32771;&#21517;"/>
+ <l:gentext key="refname" text="&#21443;&#32771;&#21517;"/>
+ <l:gentext key="RefSection" text="&#21443;&#29031;&#31456;&#31680;"/>
+ <l:gentext key="refsection" text="&#21443;&#29031;&#31456;&#31680;"/>
+ <l:gentext key="RefSynopsisDiv" text="&#22823;&#32177;"/>
+ <l:gentext key="refsynopsisdiv" text="&#22823;&#32177;"/>
+ <l:gentext key="RevHistory" text="&#20462;&#35330;&#35352;&#37636;"/>
+ <l:gentext key="revhistory" text="&#20462;&#35330;&#35352;&#37636;"/>
+ <l:gentext key="Revision" text="&#20462;&#35330;"/>
+ <l:gentext key="revision" text="&#20462;&#35330;"/>
+ <l:gentext key="sect1" text="Section"/>
+ <l:gentext key="sect2" text="Section"/>
+ <l:gentext key="sect3" text="Section"/>
+ <l:gentext key="sect4" text="Section"/>
+ <l:gentext key="sect5" text="Section"/>
+ <l:gentext key="Section" text="&#31680;"/>
+ <l:gentext key="section" text="&#31680;"/>
+ <l:gentext key="See" text="&#35211;"/>
+ <l:gentext key="see" text="&#35211;"/>
+ <l:gentext key="SeeAlso" text="&#21478;&#35211;"/>
+ <l:gentext key="Seealso" text="&#21478;&#35211;"/>
+ <l:gentext key="seealso" text="&#21478;&#35211;"/>
+ <l:gentext key="Set" text="Set"/>
+ <l:gentext key="set" text="Set"/>
+ <l:gentext key="SetIndex" text="Set Index"/>
+ <l:gentext key="setindex" text="Set Index"/>
+ <l:gentext key="Sidebar" text=""/>
+ <l:gentext key="sidebar" text=""/>
+ <l:gentext key="Step" text="&#27493;&#39519;"/>
+ <l:gentext key="step" text="&#27493;&#39519;"/>
+ <l:gentext key="Table" text="&#34920;&#26684;"/>
+ <l:gentext key="table" text="&#34920;&#26684;"/>
+ <l:gentext key="TIP" text="&#25552;&#31034;"/>
+ <l:gentext key="Tip" text="&#25552;&#31034;"/>
+ <l:gentext key="tip" text="&#25552;&#31034;"/>
+ <l:gentext key="WARNING" text="&#35686;&#21578;"/>
+ <l:gentext key="Warning" text="&#35686;&#21578;"/>
+ <l:gentext key="warning" text="&#35686;&#21578;"/>
+ <l:gentext key="edited" text="&#32232;&#36655;"/>
+ <l:gentext key="Edited" text="&#32232;&#36655;"/>
+ <l:gentext key="editedby" text="&#32232;&#36655;"/>
+ <l:gentext key="Editedby" text="&#32232;&#36655;"/>
+ <l:gentext key="Notes" text="&#27880;"/>
+ <l:gentext key="notes" text="&#27880;"/>
+ <l:gentext key="Pgs" text="&#38913;"/>
+ <l:gentext key="pgs" text="&#38913;"/>
+ <l:gentext key="Revisedby" text="&#20462;&#35330;"/>
+ <l:gentext key="revisedby" text="&#20462;&#35330;"/>
+ <l:gentext key="TableNotes" text="&#27880;&#37323;"/>
+ <l:gentext key="tablenotes" text="&#27880;&#37323;"/>
+ <l:gentext key="TableofContents" text="&#20839;&#23481;&#30446;&#37636;"/>
+ <l:gentext key="tableofcontents" text="&#20839;&#23481;&#30446;&#37636;"/>
+ <l:gentext key="and" text="&#19988;"/>
+ <l:gentext key="by" text="&#30001;"/>
+ <l:gentext key="in" text="&#22312;"/>
+ <l:gentext key="lastlistcomma" text=","/>
+ <l:gentext key="listcomma" text=","/>
+ <l:gentext key="nonexistantelement" text="&#19981;&#23384;&#22312;&#30340;&#20803;&#32032;"/>
+ <l:gentext key="page.citation" text="&#38913;"/>
+ <l:gentext key="unexpectedelementname" text="&#38750;&#38928;&#26399;&#30340;&#20803;&#32032;&#21517;"/>
+ <l:gentext key="unsupported" text="&#26410;&#25903;&#25588;"/>
+ <l:gentext key="xrefto" text="&#21443;&#29031;"/>
+ <l:gentext key="ListofEquations" text="&#20844;&#24335;&#30446;&#37636;"/>
+ <l:gentext key="listofequations" text="&#20844;&#24335;&#30446;&#37636;"/>
+ <l:gentext key="ListofExamples" text="&#31684;&#20363;&#30446;&#37636;"/>
+ <l:gentext key="listofexamples" text="&#31684;&#20363;&#30446;&#37636;"/>
+ <l:gentext key="ListofFigures" text="&#38468;&#22294;&#30446;&#37636;"/>
+ <l:gentext key="listoffigures" text="&#38468;&#22294;&#30446;&#37636;"/>
+ <l:gentext key="ListofTables" text="&#38468;&#34920;&#30446;&#37636;"/>
+ <l:gentext key="listoftables" text="&#38468;&#34920;&#30446;&#37636;"/>
+ <l:gentext key="ListofUnknown" text="&#20854;&#23427;&#20839;&#23481;&#30446;&#37636;"/>
+ <l:gentext key="listofunknown" text="&#20854;&#23427;&#20839;&#23481;&#30446;&#37636;"/>
+ <l:gentext key="nav-home" text="&#20839;&#23481;"/>
+ <l:gentext key="nav-next" text="&#19979;&#19968;&#38913;"/>
+ <l:gentext key="nav-next-sibling" text="&#24555;&#36895;&#21521;&#24460;"/>
+ <l:gentext key="nav-prev" text="&#21069;&#19968;&#38913;"/>
+ <l:gentext key="nav-prev-sibling" text="&#24555;&#36895;&#21521;&#21069;"/>
+ <l:gentext key="nav-up" text="&#19978;&#19968;&#23652;"/>
+ <l:gentext key="sectioncalled" text="the section called"/>
+ <l:gentext key="Draft" text="Draft"/>
+ <l:gentext key="above" text="above"/>
+ <l:gentext key="below" text="below"/>
+ <l:gentext key="index symbols" text="Symbols"/>
+<!-- Any further dingbats were selectively imported from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/docbook/gentext/locale/zh_tw.xml -->
+ <l:dingbat key="startquote" text="&quot;"/>
+ <l:dingbat key="endquote" text="&quot;"/>
+ <l:dingbat key="nestedstartquote" text="'"/>
+ <l:dingbat key="nestedendquote" text="'"/>
+ <l:dingbat key="bullet" text="&#8226;"/>
+<!-- Any further contexts were found only in the "other" file. -->
+ <l:context name="styles">
+ <l:template name="person-name" text="first-last"/>
+ </l:context>
+ <l:context name="title">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="%t"/>
+ <l:template name="appendix" text="&#38468;&#37636; %n. %t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="biblioentry" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomixed" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="&#31456; %n. %t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="&#26041;&#31243;&#24335; %n. %t"/>
+ <l:template name="example" text="&#31684;&#20363; %n. %t"/>
+ <l:template name="figure" text="&#22294;&#24418; %n. %t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text=""/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="&#37096; %n. %t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="procedure.formal" text="&#36942;&#31243;&#160;%n.&#160;%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="productionset.formal" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="%t"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="%t"/>
+ <l:template name="refentry" text="%t"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsect1" text="%t"/>
+ <l:template name="refsect2" text="%t"/>
+ <l:template name="refsect3" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="refsynopsisdivinfo" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="step" text="%t"/>
+ <l:template name="table" text="&#34920;&#26684; %n. %t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="warning" text="%t"/>
+ </l:context>
+ <l:context name="title-unnumbered">
+ <l:template name="appendix" text="%t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="sect1" text="%t"/>
+ <l:template name="sect2" text="%t"/>
+ <l:template name="sect3" text="%t"/>
+ <l:template name="sect4" text="%t"/>
+ <l:template name="sect5" text="%t"/>
+ <l:template name="section" text="%t"/>
+ <l:template name="simplesect" text="%t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="&#38468;&#37636; %n. %t"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="&#31456; %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ <l:context name="subtitle">
+ <l:template name="appendix" text="%s"/>
+ <l:template name="article" text="%s"/>
+ <l:template name="bibliodiv" text="%s"/>
+ <l:template name="biblioentry" text="%s"/>
+ <l:template name="bibliography" text="%s"/>
+ <l:template name="bibliomixed" text="%s"/>
+ <l:template name="bibliomset" text="%s"/>
+ <l:template name="biblioset" text="%s"/>
+ <l:template name="book" text="%s"/>
+ <l:template name="chapter" text="%s"/>
+ <l:template name="colophon" text="%s"/>
+ <l:template name="dedication" text="%s"/>
+ <l:template name="glossary" text="%s"/>
+ <l:template name="glossdiv" text="%s"/>
+ <l:template name="index" text="%s"/>
+ <l:template name="indexdiv" text="%s"/>
+ <l:template name="lot" text="%s"/>
+ <l:template name="part" text="%s"/>
+ <l:template name="partintro" text="%s"/>
+ <l:template name="preface" text="%s"/>
+ <l:template name="refentry" text="%s"/>
+ <l:template name="reference" text="%s"/>
+ <l:template name="refsect1" text="%s"/>
+ <l:template name="refsect2" text="%s"/>
+ <l:template name="refsect3" text="%s"/>
+ <l:template name="refsynopsisdiv" text="%s"/>
+ <l:template name="sect1" text="%s"/>
+ <l:template name="sect2" text="%s"/>
+ <l:template name="sect3" text="%s"/>
+ <l:template name="sect4" text="%s"/>
+ <l:template name="sect5" text="%s"/>
+ <l:template name="section" text="%s"/>
+ <l:template name="set" text="%s"/>
+ <l:template name="setindex" text="%s"/>
+ <l:template name="sidebar" text="%s"/>
+ <l:template name="simplesect" text="%s"/>
+ <l:template name="toc" text="%s"/>
+ </l:context>
+ <l:context name="xref">
+ <l:template name="abstract" text="%t"/>
+ <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+ <l:template name="appendix" text="%t"/>
+ <l:template name="article" text="%t"/>
+ <l:template name="authorblurb" text="%t"/>
+ <l:template name="bibliodiv" text="%t"/>
+ <l:template name="bibliography" text="%t"/>
+ <l:template name="bibliomset" text="%t"/>
+ <l:template name="biblioset" text="%t"/>
+ <l:template name="blockquote" text="%t"/>
+ <l:template name="book" text="%t"/>
+ <l:template name="calloutlist" text="%t"/>
+ <l:template name="caution" text="%t"/>
+ <l:template name="chapter" text="%t"/>
+ <l:template name="colophon" text="%t"/>
+ <l:template name="constraintdef" text="%t"/>
+ <l:template name="dedication" text="%t"/>
+ <l:template name="equation" text="%t"/>
+ <l:template name="example" text="%t"/>
+ <l:template name="figure" text="%t"/>
+ <l:template name="formalpara" text="%t"/>
+ <l:template name="glossary" text="%t"/>
+ <l:template name="glossdiv" text="%t"/>
+ <l:template name="important" text="%t"/>
+ <l:template name="index" text="%t"/>
+ <l:template name="indexdiv" text="%t"/>
+ <l:template name="itemizedlist" text="%t"/>
+ <l:template name="legalnotice" text="%t"/>
+ <l:template name="listitem" text="%n"/>
+ <l:template name="lot" text="%t"/>
+ <l:template name="msg" text="%t"/>
+ <l:template name="msgexplan" text="%t"/>
+ <l:template name="msgmain" text="%t"/>
+ <l:template name="msgrel" text="%t"/>
+ <l:template name="msgset" text="%t"/>
+ <l:template name="msgsub" text="%t"/>
+ <l:template name="note" text="%t"/>
+ <l:template name="orderedlist" text="%t"/>
+ <l:template name="part" text="%t"/>
+ <l:template name="partintro" text="%t"/>
+ <l:template name="preface" text="%t"/>
+ <l:template name="procedure" text="%t"/>
+ <l:template name="productionset" text="%t"/>
+ <l:template name="qandadiv" text="%t"/>
+ <l:template name="qandaentry" text="&#21839;&#65306;&#160;%n"/>
+ <l:template name="qandaset" text="%t"/>
+ <l:template name="question" text="&#21839;&#65306;&#160;%n"/>
+ <l:template name="reference" text="%t"/>
+ <l:template name="refsynopsisdiv" text="%t"/>
+ <l:template name="segmentedlist" text="%t"/>
+ <l:template name="set" text="%t"/>
+ <l:template name="setindex" text="%t"/>
+ <l:template name="sidebar" text="%t"/>
+ <l:template name="table" text="%t"/>
+ <l:template name="tip" text="%t"/>
+ <l:template name="toc" text="%t"/>
+ <l:template name="variablelist" text="%t"/>
+ <l:template name="varlistentry" text="%n"/>
+ <l:template name="warning" text="%t"/>
+ <l:template name="page.citation" text=" [%p]"/>
+ <l:template name="bridgehead" text="&quot;%t&quot;"/>
+ <l:template name="refsect1" text="&quot;%t&quot;"/>
+ <l:template name="refsect2" text="&quot;%t&quot;"/>
+ <l:template name="refsect3" text="&quot;%t&quot;"/>
+ <l:template name="sect1" text="&quot;%t&quot;"/>
+ <l:template name="sect2" text="&quot;%t&quot;"/>
+ <l:template name="sect3" text="&quot;%t&quot;"/>
+ <l:template name="sect4" text="&quot;%t&quot;"/>
+ <l:template name="sect5" text="&quot;%t&quot;"/>
+ <l:template name="section" text="&quot;%t&quot;"/>
+ <l:template name="simplesect" text="&quot;%t&quot;"/>
+ </l:context>
+ <l:context name="xref-number">
+ <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+ <l:template name="appendix" text="&#38468;&#37636;&#160;%n"/>
+ <l:template name="bridgehead" text="&#31680;&#160;%n"/>
+ <l:template name="chapter" text="&#31456;&#160;%n"/>
+ <l:template name="equation" text="&#26041;&#31243;&#24335;&#160;%n"/>
+ <l:template name="example" text="&#31684;&#20363;&#160;%n"/>
+ <l:template name="figure" text="&#22294;&#24418;&#160;%n"/>
+ <l:template name="part" text="&#37096;&#160;%n"/>
+ <l:template name="procedure" text="&#36942;&#31243;&#160;%n"/>
+ <l:template name="productionset" text="Production&#160;%n"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+ <l:template name="qandaentry" text="&#21839;&#65306;&#160;%n"/>
+ <l:template name="question" text="&#21839;&#65306;&#160;%n"/>
+ <l:template name="sect1" text="&#31680;&#160;%n"/>
+ <l:template name="sect2" text="&#31680;&#160;%n"/>
+ <l:template name="sect3" text="&#31680;&#160;%n"/>
+ <l:template name="sect4" text="&#31680;&#160;%n"/>
+ <l:template name="sect5" text="&#31680;&#160;%n"/>
+ <l:template name="section" text="&#31680;&#160;%n"/>
+ <l:template name="table" text="&#34920;&#26684;&#160;%n"/>
+ </l:context>
+ <l:context name="xref-number-and-title">
+ <l:template name="appendix" text="&#38468;&#37636;&#160;%n, %t"/>
+ <l:template name="bridgehead" text="&#31680;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="chapter" text="&#31456;&#160;%n, %t"/>
+ <l:template name="equation" text="&#26041;&#31243;&#24335;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="example" text="&#31684;&#20363;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="figure" text="&#22294;&#24418;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="part" text="&#37096;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="procedure" text="&#36942;&#31243;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="productionset" text="Production&#160;%n, &quot;%t&quot;"/>
+ <l:template name="qandadiv" text="Q &amp; A&#160;%n, &quot;%t&quot;"/>
+ <l:template name="refsect1" text="the section called &quot;%t&quot;"/>
+ <l:template name="refsect2" text="the section called &quot;%t&quot;"/>
+ <l:template name="refsect3" text="the section called &quot;%t&quot;"/>
+ <l:template name="refsection" text="the section called &quot;%t&quot;"/>
+ <l:template name="sect1" text="&#31680;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="sect2" text="&#31680;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="sect3" text="&#31680;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="sect4" text="&#31680;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="sect5" text="&#31680;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="section" text="&#31680;&#160;%n, &quot;%t&quot;"/>
+ <l:template name="simplesect" text="the section called &quot;%t&quot;"/>
+ <l:template name="table" text="&#34920;&#26684;&#160;%n, &quot;%t&quot;"/>
+ </l:context>
+ <l:context name="authorgroup">
+ <l:template name="sep" text=", "/>
+ <l:template name="sep2" text=" &#19988; "/>
+ <l:template name="seplast" text=", &#19988; "/>
+ </l:context>
+ <l:context name="glossary">
+ <l:template name="see" text="&#21443;&#35211; "/>
+ <l:template name="seealso" text="&#21478;&#21443;&#35211; "/>
+ </l:context>
+ <l:context name="msgset">
+ <l:template name="MsgAud" text="&#35712;&#32773;: "/>
+ <l:template name="MsgLevel" text="&#31243;&#24230;: "/>
+ <l:template name="MsgOrig" text="&#20986;&#34389;: "/>
+ </l:context>
+ <l:context name="htmlhelp">
+ <l:template name="langcode" text="0x0404 Chinese (TAIWAN)"/>
+ </l:context>
+</l:l10n>
diff --git a/docs/xslt/db2latex-xsl/xsl/component.mod.xsl b/docs/xslt/db2latex-xsl/xsl/component.mod.xsl
new file mode 100644
index 0000000000..6e64189a8c
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/component.mod.xsl
@@ -0,0 +1,93 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: component.mod.xsl,v 1.6 2004/01/03 12:17:59 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="component" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: component.mod.xsl,v 1.6 2004/01/03 12:17:59 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.3">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Chapter-level Components <filename>component.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>component.mod.xsl</filename> contains
+ XSL templates for a number of chapter-level components.</para>
+ </partintro>
+ </doc:reference>
+
+ <!--
+ <xsl:template name="component.title">
+ <xsl:variable name="id">
+ <xsl:call-template name="label.id"><xsl:with-param name="object" select="."/></xsl:call-template>
+ </xsl:variable>
+ <xsl:text>&#10;{\sc </xsl:text><xsl:apply-templates select="." mode="title.ref"/><xsl:text>}</xsl:text>
+ </xsl:template>
+
+ <xsl:template name="component.subtitle">
+ <xsl:variable name="subtitle"><xsl:apply-templates select="." mode="subtitle.content"/></xsl:variable>
+ <xsl:if test="$subtitle != ''">
+ <xsl:text>&#10;{\sc </xsl:text><xsl:copy-of select="$subtitle"/><xsl:text>}</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="component.separator"/>
+ -->
+
+ <doc:template xmlns="">
+ <refpurpose>Process some simply chapter-level components</refpurpose>
+ <doc:description>
+ <para>
+ Invokes the mapping templates and applies content templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="dedication|colophon|preface|partintro">
+ <xsl:call-template name="map.begin"/>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <!--
+ <xsl:template match="colophon">
+ <xsl:call-template name="label.id"/>
+ <xsl:text>&#10;{\sc </xsl:text><xsl:apply-templates select="." mode="title.ref"/><xsl:text>}</xsl:text>
+ <xsl:if test="subtitle">
+ <xsl:text>&#10;{\sc </xsl:text>
+ <xsl:apply-templates select="subtitle"/>
+ <xsl:text>}</xsl:text>
+ </xsl:if>
+ <xsl:call-template name="content-templates"/>
+ </xsl:template>
+ -->
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/dingbat.mod.xsl b/docs/xslt/db2latex-xsl/xsl/dingbat.mod.xsl
new file mode 100644
index 0000000000..8e7546f70a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/dingbat.mod.xsl
@@ -0,0 +1,85 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: dingbat.mod.xsl,v 1.4 2004/01/02 05:11:38 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="dingbat" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: dingbat.mod.xsl,v 1.4 2004/01/02 05:11:38 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.4">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Dingbats <filename>dingbat.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ Provides some named dingbats. These should probably be incorporated
+ into the normal localisation mechanism, in future.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose> Generate a &LaTeX; dingbat </refpurpose>
+ <doc:description>
+ <para>
+
+ Chooses a &LaTeX; sequence based on the requested dingbat name.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>dingbat</term>
+ <listitem><simpara>The name of the dingbat.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ </doc:template>
+ <xsl:template name="dingbat">
+ <xsl:param name="dingbat">bullet</xsl:param>
+ <xsl:choose>
+ <xsl:when test="$dingbat='bullet'"> $\bullet$ </xsl:when>
+ <xsl:when test="$dingbat='copyright'">\copyright{}</xsl:when>
+ <xsl:when test="$dingbat='trademark'">\texttrademark{}</xsl:when>
+ <xsl:when test="$dingbat='registered'">\textregistered{}</xsl:when>
+ <xsl:when test="$dingbat='nbsp'">~</xsl:when>
+ <xsl:when test="$dingbat='ldquo'">``</xsl:when>
+ <xsl:when test="$dingbat='rdquo'">''</xsl:when>
+ <xsl:when test="$dingbat='lsquo'">`</xsl:when>
+ <xsl:when test="$dingbat='rsquo'">'</xsl:when>
+ <xsl:when test="$dingbat='em-dash'">---</xsl:when>
+ <xsl:when test="$dingbat='mdash'">---</xsl:when>
+ <xsl:when test="$dingbat='en-dash'">--</xsl:when>
+ <xsl:when test="$dingbat='ndash'">--</xsl:when>
+ <xsl:otherwise>
+ <xsl:text> [dingbat?] </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/docbook.xsl b/docs/xslt/db2latex-xsl/xsl/docbook.xsl
new file mode 100644
index 0000000000..10892ae0c3
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/docbook.xsl
@@ -0,0 +1,232 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: docbook.xsl,v 1.14 2004/01/04 09:03:25 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="docbook" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: docbook.xsl,v 1.14 2004/01/04 09:03:25 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.10">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>DocBook Driver <filename>docbook.xsl</filename></title>
+ <partintro>
+ <para>
+
+ This is the <quote>parent</quote> stylesheet. The used
+ <quote>modules</quote> are included here. The output encoding
+ is <literal>text</literal> in ISO-8859-1, indented. Parameters
+ may be found in
+ <!--
+ <link linkend="vars">vars.mod.xsl</link>,
+ -->
+ <link linkend="param-common">param-common.xsl</link>,
+ <link linkend="param-switch">param-switch.xsl</link> and
+ <link linkend="param-direct">param-direct.xsl</link>. Users
+ may use this stylesheets directory or may construct their own
+ <quote>customisation layer</quote> that uses
+ <literal>xsl:import</literal>. Users may also override the
+ <link linkend="latex.mapping">default &latex; mappings</link>.
+
+ </para>
+ <para>
+
+ An <literal>id</literal> XSLT key is defined for all elements,
+ matching their <sgmltag class="attribute">id</sgmltag>
+ attribute, to work around <productname>xsltproc</productname>
+ bugs.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>
+ <xsl:key name="id" match="*" use="@id"/>
+
+ <xsl:include href="common/l10n.xsl"/>
+ <xsl:include href="common/common.xsl"/>
+ <xsl:include href="common/gentext.xsl"/>
+ <xsl:include href="common/subtitles.xsl"/>
+ <xsl:include href="common/titles.xsl"/>
+ <!--
+ <xsl:include href="lib/lib.xsl"/>
+ -->
+
+ <xsl:include href="VERSION.xml"/>
+ <xsl:include href="param-common.mod.xsl"/>
+ <xsl:include href="param-switch.mod.xsl"/>
+ <xsl:include href="param-direct.mod.xsl"/>
+ <xsl:include href="latex.mapping.xsl"/>
+ <xsl:include href="preamble.mod.xsl"/>
+ <xsl:include href="labelid.mod.xsl"/>
+
+ <xsl:include href="book-article.mod.xsl"/>
+
+ <xsl:include href="component.mod.xsl"/>
+
+ <xsl:include href="part-chap-app.mod.xsl"/>
+
+ <xsl:include href="sections.mod.xsl"/>
+ <xsl:include href="bridgehead.mod.xsl"/>
+
+ <xsl:include href="abstract.mod.xsl"/>
+ <xsl:include href="biblio.mod.xsl"/>
+ <xsl:include href="revision.mod.xsl"/>
+
+ <xsl:include href="admonition.mod.xsl"/>
+ <xsl:include href="verbatim.mod.xsl"/>
+ <xsl:include href="email.mod.xsl"/>
+ <xsl:include href="sgmltag.mod.xsl"/>
+ <xsl:include href="citation.mod.xsl"/>
+ <xsl:include href="qandaset.mod.xsl"/>
+ <xsl:include href="procedure.mod.xsl"/>
+ <xsl:include href="lists.mod.xsl"/>
+ <xsl:include href="callout.mod.xsl"/>
+
+ <xsl:include href="figure.mod.xsl"/>
+ <xsl:include href="graphic.mod.xsl"/>
+ <xsl:include href="mediaobject.mod.xsl"/>
+
+ <xsl:include href="index.mod.xsl"/>
+
+ <xsl:include href="xref.mod.xsl"/>
+ <xsl:include href="formal.mod.xsl"/>
+ <xsl:include href="example.mod.xsl"/>
+ <xsl:include href="table.mod.xsl"/>
+ <xsl:include href="inline.mod.xsl"/>
+ <xsl:include href="authorgroup.mod.xsl"/>
+ <xsl:include href="dingbat.mod.xsl"/>
+ <xsl:include href="keywords.mod.xsl"/>
+ <xsl:include href="refentry.mod.xsl"/>
+ <xsl:include href="glossary.mod.xsl"/>
+ <xsl:include href="block.mod.xsl"/>
+
+ <xsl:include href="synop-oop.mod.xsl"/>
+ <xsl:include href="synop-struct.mod.xsl"/>
+
+ <xsl:include href="pi.mod.xsl"/>
+
+ <xsl:include href="footnote.mod.xsl"/>
+
+ <xsl:include href="texmath.mod.xsl"/>
+ <xsl:include href="mathelem.mod.xsl"/>
+ <xsl:include href="mathml/mathml.mod.xsl"/>
+ <xsl:include href="mathml/mathml.presentation.mod.xsl"/>
+ <xsl:include href="mathml/mathml.content.mod.xsl"/>
+ <xsl:include href="mathml/mathml.content.token.mod.xsl"/>
+ <xsl:include href="mathml/mathml.content.functions.mod.xsl"/>
+ <xsl:include href="mathml/mathml.content.constsymb.mod.xsl"/>
+
+ <xsl:include href="para.mod.xsl"/>
+ <xsl:include href="msgset.mod.xsl"/>
+
+ <xsl:include href="normalize-scape.mod.xsl"/>
+
+ <doc:template match="/" xmlns="">
+ <refpurpose>Root node</refpurpose>
+ <doc:description>
+ <para>
+
+ This template begins the conversion of a &docbook; document to
+ &latex;.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="/">
+ <xsl:variable name="xsl-vendor" select="system-property('xsl:vendor')"/>
+ <xsl:message>################################################################################</xsl:message>
+ <xsl:message> XSLT stylesheets DocBook - LaTeX 2e </xsl:message>
+ <xsl:message> Reqs: LaTeX 2e installation common packages </xsl:message>
+ <xsl:message>################################################################################</xsl:message>
+ <xsl:message> RELEASE : <xsl:value-of select="$VERSION"/> </xsl:message>
+ <xsl:message> VERSION : <xsl:value-of select="$CVSVERSION"/> </xsl:message>
+ <xsl:message> TAG : <xsl:value-of select="$TAG"/> </xsl:message>
+ <xsl:message> WWW : http://db2latex.sourceforge.net </xsl:message>
+ <xsl:message> SUMMARY : http://www.sourceforge.net/projects/db2latex </xsl:message>
+ <xsl:message> AUTHOR : Ramon Casellas casellas@infres.enst.fr </xsl:message>
+ <xsl:message> AUTHOR : James Devenish j-devenish@users.sf.net </xsl:message>
+ <xsl:message> USING : <xsl:call-template name="set-vendor"/> </xsl:message>
+ <xsl:message>################################################################################</xsl:message>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <!--############################################################################# -->
+ <!-- XSL Processor Vendor -->
+ <!-- XSL Mailing Lists http://www.dpawson.co.uk/xsl/N10378.html -->
+ <!--############################################################################# -->
+ <xsl:template name="set-vendor">
+ <xsl:variable name="xsl-vendor" select="system-property('xsl:vendor')"/>
+ <xsl:choose>
+ <xsl:when test="contains($xsl-vendor, 'SAXON 6.4')">
+ <xsl:text>SAXON 6.4.X</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($xsl-vendor, 'SAXON 6.2')">
+ <xsl:text>SAXON 6.2.X</xsl:text>
+ </xsl:when>
+ <xsl:when test="starts-with($xsl-vendor,'SAXON')">
+ <xsl:text>SAXON</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($xsl-vendor,'Apache')">
+ <xsl:text>XALAN</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($xsl-vendor,'Xalan')">
+ <xsl:text>XALAN</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($xsl-vendor,'libxslt')">
+ <xsl:text>libxslt/xsltproc</xsl:text>
+ </xsl:when>
+ <xsl:when test="contains($xsl-vendor,'Clark')">
+ <xsl:text>XT</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>UNKNOWN</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template match="*" xmlns="">
+ <refpurpose>Catches unhandled elements</refpurpose>
+ <doc:description>
+ <para>
+
+ This template emits an XSL message when &db2latex; has no
+ template for an element that was encountered.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="*">
+ <xsl:message>DB2LaTeX: Need to process XPath match <xsl:value-of select="concat(name(..),'/',name(.))"/></xsl:message>
+ <xsl:text> [</xsl:text><xsl:value-of select="name(.)"/><xsl:text>] &#10;</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text> [/</xsl:text><xsl:value-of select="name(.)"/><xsl:text>] &#10;</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/email.mod.xsl b/docs/xslt/db2latex-xsl/xsl/email.mod.xsl
new file mode 100644
index 0000000000..2817790fbb
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/email.mod.xsl
@@ -0,0 +1,77 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: email.mod.xsl,v 1.6 2003/12/28 10:43:16 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="email" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: email.mod.xsl,v 1.6 2003/12/28 10:43:16 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.6">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>E-mail Addreses <filename>email.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>email.mod.xsl</filename> contains the
+ XSL template for <doc:db>email</doc:db>.</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template basename="email" match="email" xmlns="">
+ <refpurpose>Process <doc:db>email</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Constructs a URL from the given e-mail address and
+ formats it with the template for <doc:db>ulink</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <para>As for the <xref linkend="template.ulink"/> template.</para>
+ </doc:variables>
+ <doc:notes>
+ <para>When a an <doc:db>email</doc:db> is a child of an <doc:db>address</doc:db>,
+ it will be formatted along with all <quote>verbatim</quote> address text. In this
+ case, it might not be hyperlinked.</para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_ddh;
+ &test_links;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.ulink"/></simpara></listitem>
+ <!--
+ <listitem><simpara>&mapping;</simpara></listitem>
+ -->
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="email">
+ <xsl:call-template name="ulink">
+ <xsl:with-param name="url" select="concat('mailto:',.)"/>
+ <xsl:with-param name="content" select="."/>
+ </xsl:call-template>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/example.mod.xsl b/docs/xslt/db2latex-xsl/xsl/example.mod.xsl
new file mode 100644
index 0000000000..0937cfb6d6
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/example.mod.xsl
@@ -0,0 +1,119 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: example.mod.xsl,v 1.9 2004/01/26 09:40:43 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="example" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: example.mod.xsl,v 1.9 2004/01/26 09:40:43 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.7">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Examples <filename>example.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>example.mod.xsl</filename> contains the
+ XSL templates for <doc:db>example</doc:db> and
+ <doc:db>informalexample</doc:db>.</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>example</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Format a caption.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.example.caption.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <!--
+ <doc:notes>
+ </doc:notes>
+ -->
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_program;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.generate.formal.title.placement"/></simpara></listitem>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.title-caption.mode"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="example">
+ <xsl:variable name="placement">
+ <xsl:call-template name="generate.formal.title.placement">
+ <xsl:with-param name="object" select="local-name(.)" />
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="caption">
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$latex.example.caption.style"/>
+ <xsl:text>{\caption{</xsl:text>
+ <xsl:apply-templates select="title" mode="caption.mode"/>
+ <xsl:text>}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>}}&#10;</xsl:text>
+ </xsl:variable>
+ <xsl:call-template name="map.begin"/>
+ <xsl:if test="$placement='before'">
+ <xsl:text>\captionswapskip{}</xsl:text>
+ <xsl:value-of select="$caption" />
+ <xsl:text>\captionswapskip{}</xsl:text>
+ </xsl:if>
+ <xsl:call-template name="content-templates"/>
+ <xsl:if test="$placement!='before'"><xsl:value-of select="$caption" /></xsl:if>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>informalexample</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Calls <xref linkend="template.informal.object"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <!--
+ <doc:notes>
+ </doc:notes>
+ -->
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="informalexample">
+ <xsl:call-template name="informal.object"/>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/figure.mod.xsl b/docs/xslt/db2latex-xsl/xsl/figure.mod.xsl
new file mode 100644
index 0000000000..eda03111a9
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figure.mod.xsl
@@ -0,0 +1,259 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: figure.mod.xsl,v 1.17 2004/01/26 09:43:31 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="figure" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: figure.mod.xsl,v 1.17 2004/01/26 09:43:31 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.14">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Figures and InformalFigures <filename>figure.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ <doc:todo>Insert documentation here.</doc:todo>
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose> Typeset a caption for a formal figure </refpurpose>
+ <doc:description>
+ <para>
+
+ Formats a caption, if any, as a centred block.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.figure.caption.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.caption.lot.titles.only"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.figure.title.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ The &LaTeX; caption is a combination of <doc:db>title</doc:db>
+ and <doc:db>caption</doc:db> children.
+ A <link linkend="template.lot">list of figures</link>
+ will contain cross-references to these formal figures.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_subfig;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template name="generate.aux.figure.caption">
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$latex.figure.caption.style"/>
+ <xsl:choose>
+ <xsl:when test="$latex.caption.lot.titles.only='1'">
+ <xsl:text>{\caption[{</xsl:text>
+ <xsl:apply-templates select="title"/>
+ <xsl:text>}]{{</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>{\caption{{</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:value-of select="$latex.figure.title.style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="title"/>
+ <xsl:text>}}</xsl:text>
+ <xsl:if test="count(child::mediaobject/caption)=1">
+ <xsl:text>. </xsl:text>
+ <xsl:apply-templates select="mediaobject/caption" />
+ </xsl:if>
+ <xsl:text>}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>}}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Process <doc:db>figure</doc:db> elements </refpurpose>
+ <doc:description>
+ <para>
+
+ Formats a formal, <quote>floating</quote> figure with a title and caption.
+ The figure may contain multiple subfigures.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.formal.title.placement"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ If the figure contains only one mediaobject, that mediaobject's
+ caption will be used as the figure caption. However, if there
+ are multiple meid in the figure, then it will be divided into
+ subfigures with their own caption.
+
+ </para>
+ <para>
+
+ If a <sgmltag class="attribute">condition</sgmltag> attribute
+ exists and begins with <quote>db2latex:</quote>, or a <sgmltag
+ class="pi">latex-float-placement</sgmltag> processing
+ instruction is present, the remainder of its value will be used
+ as the &LaTeX; <quote>float</quote> placement. Otherwise, the
+ default placement is <quote>hbt</quote>.
+
+ </para>
+ &essential_preamble;
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_subfig;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.generate.aux.figure.caption"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="figure">
+ <xsl:variable name="placement">
+ <xsl:call-template name="generate.formal.title.placement">
+ <xsl:with-param name="object" select="local-name(.)" />
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="position">
+ <xsl:call-template name="generate.latex.float.position">
+ <xsl:with-param name="default" select="'hbt'"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="string" select="$position"/>
+ </xsl:call-template>
+ <xsl:if test="$placement='before'">
+ <xsl:text>\captionswapskip{}</xsl:text>
+ <xsl:call-template name="generate.aux.figure.caption" />
+ <xsl:text>\captionswapskip{}</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="*[name(.) != 'title']"/>
+ <xsl:if test="$placement!='before'">
+ <xsl:call-template name="generate.aux.figure.caption" />
+ </xsl:if>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="string" select="$position"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Typeset a caption for an informal figure </refpurpose>
+ <doc:description>
+ <para>
+
+ Formats a caption, if any, as a centred block.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ A caption, if any, is gleaned from the <doc:db>caption</doc:db>
+ child of any <doc:db>mediaobject</doc:db> contained within the
+ <doc:db>informalfigure</doc:db>, and will be formatted as a
+ centred block.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_subfig;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template name="generate.aux.informalfigure.caption">
+ <xsl:if test="count(child::mediaobject/caption)=1">
+ <xsl:text>\begin{center}&#10;</xsl:text>
+ <xsl:apply-templates select="mediaobject/caption" />
+ <xsl:text>\end{center}&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>informalfigure</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Apply templates for an informal figure.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ The caption is inserted below the informalfigure.
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_subfig;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.generate.aux.informalfigure.caption"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="informalfigure">
+ <xsl:call-template name="map.begin"/>
+ <xsl:apply-templates/>
+ <xsl:call-template name="generate.aux.informalfigure.caption" />
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <!--
+ <xsl:template match="figure[programlisting]">
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="keyword" select="programlisting"/>
+ </xsl:call-template>
+ <xsl:apply-templates />
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="keyword" select="programlisting"/>
+ </xsl:call-template>
+ </xsl:template>
+ -->
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/caution.eps b/docs/xslt/db2latex-xsl/xsl/figures/caution.eps
new file mode 100644
index 0000000000..c9473b7272
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/caution.eps
@@ -0,0 +1,1348 @@
+%!PS-Adobe-2.0 EPSF-1.2
+%%Title: Untitled-3
+%%Creator: FreeHand 9.0
+%%CreationDate: 2002/12/05 8:20 PM
+%%BoundingBox: 0 0 29 29
+%%FHPathName:Untitled:FreeHand 9:English:Untitled-3
+%ALDOriginalFile:Untitled:FreeHand 9:English:Untitled-3
+%ALDBoundingBox: -2 -2 29 29
+%%FHPageNum:1
+%%DocumentSuppliedResources: procset Altsys_header 4 0
+%%ColorUsage: Color
+%%DocumentProcessColors: Black
+%%EndComments
+%%BeginResource: procset Altsys_header 4 0
+userdict begin /AltsysDict 300 dict def end
+AltsysDict begin
+/bdf{bind def}bind def
+/xdf{exch def}bdf
+/defed{where{pop true}{false}ifelse}bdf
+/ndf{1 index where{pop pop pop}{dup xcheck{bind}if def}ifelse}bdf
+/d{setdash}bdf
+/h{closepath}bdf
+/H{}bdf
+/J{setlinecap}bdf
+/j{setlinejoin}bdf
+/M{setmiterlimit}bdf
+/n{newpath}bdf
+/N{newpath}bdf
+/q{gsave}bdf
+/Q{grestore}bdf
+/w{setlinewidth}bdf
+/Xic{matrix invertmatrix concat}bdf
+/Xq{matrix currentmatrix mark}bdf
+/XQ{cleartomark setmatrix}bdf
+/sepdef{
+dup where not
+{
+AltsysSepDict
+}
+if
+3 1 roll exch put
+}bdf
+/st{settransfer}bdf
+/colorimage defed /_rci xdf
+/cntr 0 def
+/readbinarystring{
+/cntr 0 def
+2 copy readstring
+{
+{
+dup
+(\034) search
+{
+length exch pop exch
+dup length 0 ne
+{
+dup dup 0 get 32 sub 0 exch put
+/cntr cntr 1 add def
+}
+{
+pop 1 string dup
+0 6 index read pop 32 sub put
+}ifelse
+3 copy
+putinterval pop
+1 add
+1 index length 1 sub
+1 index sub
+dup 0 le {pop pop exit}if
+getinterval
+}
+{
+pop exit
+} ifelse
+} loop
+}if
+cntr 0 gt
+{
+pop 2 copy
+dup length cntr sub cntr getinterval
+readbinarystring
+} if
+pop exch pop
+} bdf
+/_NXLevel2 defed {
+_NXLevel2 not {
+/colorimage where {
+userdict eq {
+/_rci false def
+} if
+} if
+} if
+} if
+/md defed{
+md type /dicttype eq {
+/colorimage where {
+md eq {
+/_rci false def
+}if
+}if
+/settransfer where {
+md eq {
+/st systemdict /settransfer get def
+}if
+}if
+}if
+}if
+/setstrokeadjust defed
+{
+true setstrokeadjust
+/C{curveto}bdf
+/L{lineto}bdf
+/m{moveto}bdf
+}
+{
+/dr{transform .25 sub round .25 add
+exch .25 sub round .25 add exch itransform}bdf
+/C{dr curveto}bdf
+/L{dr lineto}bdf
+/m{dr moveto}bdf
+/setstrokeadjust{pop}bdf
+}ifelse
+/privrectpath {
+4 -2 roll m
+dtransform round exch round exch idtransform
+2 copy 0 lt exch 0 lt xor
+{dup 0 exch rlineto exch 0 rlineto neg 0 exch rlineto}
+{exch dup 0 rlineto exch 0 exch rlineto neg 0 rlineto}
+ifelse
+closepath
+}bdf
+/rectclip{newpath privrectpath clip newpath}def
+/rectfill{gsave newpath privrectpath fill grestore}def
+/rectstroke{gsave newpath privrectpath stroke grestore}def
+/_fonthacksave false def
+/currentpacking defed
+{
+/_bfh {/_fonthacksave currentpacking def false setpacking} bdf
+/_efh {_fonthacksave setpacking} bdf
+}
+{
+/_bfh {} bdf
+/_efh {} bdf
+}ifelse
+/packedarray{array astore readonly}ndf
+/`
+{
+false setoverprint
+/-save0- save def
+5 index concat
+pop
+storerect left bottom width height rectclip
+pop
+/MMdict_count countdictstack def
+/MMop_count count 1 sub def
+userdict begin
+/showpage {} def
+0 setgray 0 setlinecap 1 setlinewidth
+0 setlinejoin 10 setmiterlimit [] 0 setdash newpath
+} bdf
+/currentpacking defed{true setpacking}if
+/min{2 copy gt{exch}if pop}bdf
+/max{2 copy lt{exch}if pop}bdf
+/xformfont { currentfont exch makefont setfont } bdf
+/fhnumcolors 1
+statusdict begin
+/processcolors defed
+{
+pop processcolors
+}
+{
+/deviceinfo defed {
+deviceinfo /Colors known {
+pop deviceinfo /Colors get
+} if
+} if
+} ifelse
+end
+def
+/printerRes
+gsave
+matrix defaultmatrix setmatrix
+72 72 dtransform
+abs exch abs
+max
+grestore
+def
+/graycalcs
+[
+{Angle Frequency}
+{GrayAngle GrayFrequency}
+{0 Width Height matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+{0 GrayWidth GrayHeight matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+] def
+/calcgraysteps {
+forcemaxsteps
+{
+maxsteps
+}
+{
+/currenthalftone defed
+{currenthalftone /dicttype eq}{false}ifelse
+{
+currenthalftone begin
+HalftoneType 4 le
+{graycalcs HalftoneType 1 sub get exec}
+{
+HalftoneType 5 eq
+{
+Default begin
+{graycalcs HalftoneType 1 sub get exec}
+end
+}
+{0 60}
+ifelse
+}
+ifelse
+end
+}
+{
+currentscreen pop exch
+}
+ifelse
+printerRes 300 max exch div exch
+2 copy
+sin mul round dup mul
+3 1 roll
+cos mul round dup mul
+add 1 add
+dup maxsteps gt {pop maxsteps} if
+dup minsteps lt {pop minsteps} if
+}
+ifelse
+} bdf
+/nextrelease defed {
+/languagelevel defed not {
+/framebuffer defed {
+0 40 string framebuffer 9 1 roll 8 {pop} repeat
+dup 516 eq exch 520 eq or
+{
+/fhnumcolors 3 def
+/currentscreen {60 0 {pop pop 1}}bdf
+/calcgraysteps {maxsteps} bdf
+}if
+}if
+}if
+}if
+fhnumcolors 1 ne {
+/calcgraysteps {maxsteps} bdf
+} if
+/currentpagedevice defed {
+currentpagedevice /PreRenderingEnhance known
+{
+currentpagedevice /PreRenderingEnhance get
+{
+/calcgraysteps
+{
+forcemaxsteps
+{maxsteps}
+{256 maxsteps min}
+ifelse
+} def
+} if
+} if
+} if
+/gradfrequency 144 def
+printerRes 1000 lt {
+/gradfrequency 72 def
+} if
+/adjnumsteps {
+dup dtransform abs exch abs max
+printerRes div
+gradfrequency mul
+round
+5 max
+min
+}bdf
+/goodsep {
+spots exch get 4 get dup sepname eq exch (_vc_Registration) eq or
+}bdf
+/BeginGradation defed
+{/bb{BeginGradation}bdf}
+{/bb{}bdf}
+ifelse
+/EndGradation defed
+{/eb{EndGradation}bdf}
+{/eb{}bdf}
+ifelse
+/bottom -0 def
+/delta -0 def
+/frac -0 def
+/height -0 def
+/left -0 def
+/numsteps1 -0 def
+/radius -0 def
+/right -0 def
+/top -0 def
+/width -0 def
+/xt -0 def
+/yt -0 def
+/df currentflat def
+/tempstr 1 string def
+/clipflatness currentflat def
+/inverted?
+0 currenttransfer exec .5 ge def
+/tc1 [0 0 0 1] def
+/tc2 [0 0 0 1] def
+/storerect{/top xdf /right xdf /bottom xdf /left xdf
+/width right left sub def /height top bottom sub def}bdf
+/concatprocs{
+systemdict /packedarray known
+{dup type /packedarraytype eq 2 index type /packedarraytype eq or}{false}ifelse
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+proc1 aload pop proc2 aload pop
+proc1 length proc2 length add packedarray cvx
+}
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+/newproc proc1 length proc2 length add array def
+newproc 0 proc1 putinterval newproc proc1 length proc2 putinterval
+newproc cvx
+}ifelse
+}bdf
+/i{dup 0 eq
+{pop df dup}
+{dup} ifelse
+/clipflatness xdf setflat
+}bdf
+version cvr 38.0 le
+{/setrgbcolor{
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+setrgbcolor}bdf}if
+/vms {/vmsv save def} bdf
+/vmr {vmsv restore} bdf
+/vmrs{vmsv restore /vmsv save def}bdf
+/eomode{
+{/filler /eofill load def /clipper /eoclip load def}
+{/filler /fill load def /clipper /clip load def}
+ifelse
+}bdf
+/normtaper{}bdf
+/logtaper{9 mul 1 add log}bdf
+/CD{
+/NF exch def
+{
+exch dup
+/FID ne 1 index/UniqueID ne and
+{exch NF 3 1 roll put}
+{pop pop}
+ifelse
+}forall
+NF
+}bdf
+/MN{
+1 index length
+/Len exch def
+dup length Len add
+string dup
+Len
+4 -1 roll
+putinterval
+dup
+0
+4 -1 roll
+putinterval
+}bdf
+/RC{4 -1 roll /ourvec xdf 256 string cvs(|______)anchorsearch
+{1 index MN cvn/NewN exch def cvn
+findfont dup maxlength dict CD dup/FontName NewN put dup
+/Encoding ourvec put NewN exch definefont pop}{pop}ifelse}bdf
+/RF{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RC}
+ifelse
+}bdf
+/FF{dup 256 string cvs(|______)exch MN cvn dup FontDirectory exch known
+{exch pop findfont 3 -1 roll pop}
+{pop dup findfont dup maxlength dict CD dup dup
+/Encoding exch /Encoding get 256 array copy 7 -1 roll
+{3 -1 roll dup 4 -2 roll put}forall put definefont}
+ifelse}bdf
+/RCJ{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFJ
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFJ{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCJ}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFJ
+{
+dup
+hasfont
+not
+{
+pop
+/Ryumin-Light-83pv-RKSJ-H
+hasfont
+{
+/Ryumin-Light-83pv-RKSJ-H
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFJ{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFJ
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/GS {
+dup
+hasfont
+{
+findfont
+exch makesetfont
+exch
+pop
+ts
+}
+{
+pop pop pop
+ts
+} ifelse
+} bdf
+/RCK{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFK
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFK{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCK}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFK
+{
+dup
+hasfont
+not
+{
+pop
+/JCsm
+hasfont
+{
+/JCsm
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFK{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFK
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/RCTC{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFTC
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFTC{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCTC}
+ifelse
+}bdf
+/FDFTC
+{
+dup
+hasfont
+not
+{
+pop
+/DFMing-Lt-HK-BF
+hasfont
+{
+/DFMing-Lt-HK-BF
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFTC{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFTC
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/fps{
+currentflat
+exch
+dup 0 le{pop 1}if
+{
+dup setflat 3 index stopped
+{1.3 mul dup 3 index gt{pop setflat pop pop stop}if}
+{exit}
+ifelse
+}loop
+pop setflat pop pop
+}bdf
+/fp{100 currentflat fps}bdf
+/clipper{clip}bdf
+/W{/clipper load 100 clipflatness dup setflat fps}bdf
+
+userdict begin /BDFontDict 29 dict def end
+BDFontDict begin
+/bu{}def
+/bn{}def
+/setTxMode{av 70 ge{pop}if pop}def
+/gm{m}def
+/show{pop}def
+/gr{pop}def
+/fnt{pop pop pop}def
+/fs{pop}def
+/fz{pop}def
+/lin{pop pop}def
+/:M {pop pop} def
+/sf {pop} def
+/S {pop} def
+/@b {pop pop pop pop pop pop pop pop} def
+/_bdsave /save load def
+/_bdrestore /restore load def
+/save { dup /fontsave eq {null} {_bdsave} ifelse } def
+/restore { dup null eq { pop } { _bdrestore } ifelse } def
+/fontsave null def
+end
+/MacVec 256 array def
+MacVec 0 /Helvetica findfont
+/Encoding get 0 128 getinterval putinterval
+MacVec 127 /DEL put MacVec 16#27 /quotesingle put MacVec 16#60 /grave put
+/NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT/FF/CR/SO/SI
+/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US
+MacVec 0 32 getinterval astore pop
+/Adieresis/Aring/Ccedilla/Eacute/Ntilde/Odieresis/Udieresis/aacute
+/agrave/acircumflex/adieresis/atilde/aring/ccedilla/eacute/egrave
+/ecircumflex/edieresis/iacute/igrave/icircumflex/idieresis/ntilde/oacute
+/ograve/ocircumflex/odieresis/otilde/uacute/ugrave/ucircumflex/udieresis
+/dagger/degree/cent/sterling/section/bullet/paragraph/germandbls
+/registered/copyright/trademark/acute/dieresis/notequal/AE/Oslash
+/infinity/plusminus/lessequal/greaterequal/yen/mu/partialdiff/summation
+/product/pi/integral/ordfeminine/ordmasculine/Omega/ae/oslash
+/questiondown/exclamdown/logicalnot/radical/florin/approxequal/Delta/guillemotleft
+/guillemotright/ellipsis/nbspace/Agrave/Atilde/Otilde/OE/oe
+/endash/emdash/quotedblleft/quotedblright/quoteleft/quoteright/divide/lozenge
+/ydieresis/Ydieresis/fraction/currency/guilsinglleft/guilsinglright/fi/fl
+/daggerdbl/periodcentered/quotesinglbase/quotedblbase
+/perthousand/Acircumflex/Ecircumflex/Aacute
+/Edieresis/Egrave/Iacute/Icircumflex/Idieresis/Igrave/Oacute/Ocircumflex
+/apple/Ograve/Uacute/Ucircumflex/Ugrave/dotlessi/circumflex/tilde
+/macron/breve/dotaccent/ring/cedilla/hungarumlaut/ogonek/caron
+MacVec 128 128 getinterval astore pop
+/findheaderfont {
+/Helvetica findfont
+} def
+end %. AltsysDict
+%%EndResource
+%%EndProlog
+
+%%BeginSetup
+
+AltsysDict begin
+_bfh
+
+_efh
+end %. AltsysDict
+
+%%EndSetup
+AltsysDict begin
+
+/onlyk4{false}ndf
+/ccmyk{dup 5 -1 roll sub 0 max exch}ndf
+/cmyk2gray{
+4 -1 roll 0.3 mul 4 -1 roll 0.59 mul 4 -1 roll 0.11 mul
+add add add 1 min neg 1 add
+}bdf
+/setcmykcolor{1 exch sub ccmyk ccmyk ccmyk pop setrgbcolor}ndf
+/maxcolor {
+max max max
+} ndf
+/maxspot {
+pop
+} ndf
+/setcmykcoloroverprint{4{dup -1 eq{pop 0}if 4 1 roll}repeat setcmykcolor}ndf
+/findcmykcustomcolor{5 packedarray}ndf
+/setcustomcolor{exch aload pop pop 4{4 index mul 4 1 roll}repeat setcmykcolor pop}ndf
+/setseparationgray{setgray}ndf
+/setoverprint{pop}ndf
+/currentoverprint false ndf
+/cmykbufs2gray{
+0 1 2 index length 1 sub
+{
+4 index 1 index get 0.3 mul
+4 index 2 index get 0.59 mul
+4 index 3 index get 0.11 mul
+4 index 4 index get
+add add add cvi 255 min
+255 exch sub
+2 index 3 1 roll put
+}for
+4 1 roll pop pop pop
+}bdf
+/colorimage{
+pop pop
+[
+5 -1 roll/exec cvx
+6 -1 roll/exec cvx
+7 -1 roll/exec cvx
+8 -1 roll/exec cvx
+/cmykbufs2gray cvx
+]cvx
+image
+}
+%. version 47.1 on Linotronic of Postscript defines colorimage incorrectly (rgb model only)
+version cvr 47.1 le
+statusdict /product get (Lino) anchorsearch{pop pop true}{pop false}ifelse
+and{userdict begin bdf end}{ndf}ifelse
+fhnumcolors 1 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+ic im iy ik cmyk2gray /xt xdf
+currenttransfer
+{dup 1.0 exch sub xt mul add}concatprocs
+st
+image
+}
+ifelse
+}ndf
+fhnumcolors 1 ne {yt restore} if
+fhnumcolors 3 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+1.0 dup ic ik add min sub
+1.0 dup im ik add min sub
+1.0 dup iy ik add min sub
+/ic xdf /iy xdf /im xdf
+currentcolortransfer
+4 1 roll
+{dup 1.0 exch sub ic mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub iy mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub im mul add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}true 3 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 3 ne {yt restore} if
+fhnumcolors 4 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+currentcolortransfer
+{1.0 exch sub ik mul ik sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub iy mul iy sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub im mul im sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub ic mul ic sub 1 add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}{dummy}
+true 4 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 4 ne {yt restore} if
+/separationimage{image}ndf
+/spotascmyk false ndf
+/newcmykcustomcolor{6 packedarray}ndf
+/inkoverprint false ndf
+/setinkoverprint{pop}ndf
+/setspotcolor {
+spots exch get
+dup 4 get (_vc_Registration) eq
+{pop 1 exch sub setseparationgray}
+{0 5 getinterval exch setcustomcolor}
+ifelse
+}ndf
+/currentcolortransfer{currenttransfer dup dup dup}ndf
+/setcolortransfer{st pop pop pop}ndf
+/fas{}ndf
+/sas{}ndf
+/fhsetspreadsize{pop}ndf
+/filler{fill}bdf
+/F{gsave {filler}fp grestore}bdf
+/f{closepath F}bdf
+/S{gsave {stroke}fp grestore}bdf
+/s{closepath S}bdf
+userdict /islevel2
+systemdict /languagelevel known dup
+{
+pop systemdict /languagelevel get 2 ge
+} if
+put
+islevel2 not
+{
+/currentcmykcolor
+{
+0 0 0 1 currentgray sub
+} ndf
+} if
+/tc
+{
+gsave
+setcmykcolor currentcmykcolor
+grestore
+} bind def
+/testCMYKColorThrough
+{
+tc add add add 0 ne
+} bind def
+/fhiscomposite where not {
+userdict /fhiscomposite
+islevel2
+{
+gsave 1 1 1 1 setcmykcolor currentcmykcolor grestore
+add add add 4 eq
+}
+{
+1 0 0 0 testCMYKColorThrough
+0 1 0 0 testCMYKColorThrough
+0 0 1 0 testCMYKColorThrough
+0 0 0 1 testCMYKColorThrough
+and and and
+} ifelse
+put
+}
+{ pop }
+ifelse
+/bc4 [0 0 0 0] def
+/_lfp4 {
+1 pop
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+taperfcn /frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/bcs [0 0] def
+/_lfs4 {
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 2 lt {pop 2} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 div taperfcn /frac xdf
+bcs 0
+1.0 tint2 tint1 sub frac mul tint1 add sub
+put bcs vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfs6 {
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bcs 0
+tint2 tint1 sub frac mul tint1 add
+put bcs vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfp6 {
+1 pop
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/lfp4{_lfp4}ndf
+/lfs4{_lfs4}ndf
+/rfs6{_rfs6}ndf
+/rfp6{_rfp6}ndf
+/cvc [0 0 0 1] def
+/vc{
+AltsysDict /cvc 2 index put
+aload length dup 4 eq
+{pop dup -1 eq{pop setrgbcolor}{setcmykcolor}ifelse}
+{6 eq {sethexcolor} {setspotcolor} ifelse }
+ifelse
+}bdf
+0 setseparationgray
+/imgr {1692.47 1570.59 1723.65 1601.77 } def
+/bleed 0 def
+/clpr {1692.47 1570.59 1723.65 1601.77 } def
+/xs 1 def
+/ys 1 def
+/botx 0 def
+/overlap 0 def
+/wdist 18 def
+0 2 mul fhsetspreadsize
+0 0 ne {/df 0 def /clipflatness 0 def} if
+/maxsteps 256 def
+/forcemaxsteps false def
+/minsteps 0 def
+
+userdict begin /AGDOrigMtx matrix currentmatrix def end
+vms
+-1694 -1572 translate
+
+/currentpacking defed{false setpacking}if
+/spots[
+
+1 0 0 0 (Process Cyan) false newcmykcustomcolor
+
+0 1 0 0 (Process Magenta) false newcmykcustomcolor
+
+0 0 1 0 (Process Yellow) false newcmykcustomcolor
+
+0 0 0 1 (Process Black) false newcmykcustomcolor
+]def
+n
+[] 0 d
+3.863708 M
+1 w
+0 j
+0 J
+false setoverprint
+0 i
+false eomode
+[0 0 0 1]vc
+vms
+q
+[1 0 0 1 -249.981674 -586.867554] concat
+vms
+1946.9506 2177.5114 m
+1954.4907 2185.0516 L
+1956.7047 2187.2656 1960.2943 2187.2656 1962.5083 2185.0516 C
+1970.0485 2177.5114 L
+1972.2625 2175.2974 1972.2625 2171.7078 1970.0485 2169.4938 C
+1962.5083 2161.9537 L
+1960.2943 2159.7396 1956.7047 2159.7396 1954.4907 2161.9537 C
+1946.9506 2169.4938 L
+1944.7365 2171.7078 1944.7365 2175.2974 1946.9506 2177.5114 C
+s
+n
+true eomode
+1958.5469 2181.0039 m
+1959.2148 2181.0039 1959.7012 2180.9296 1960.0059 2180.7813 C
+1960.3142 2180.6326 1960.4684 2180.363 1960.4688 2179.9727 C
+1960.4688 2179.7383 1960.3398 2178.8026 1960.082 2177.166 C
+1959.0742 2170.4219 L
+1958.9373 2170.3241 1958.7615 2170.2754 1958.5469 2170.2754 C
+1958.3319 2170.2754 1958.1561 2170.3241 1958.0195 2170.4219 C
+1957.0117 2177.166 L
+1956.7539 2178.8026 1956.625 2179.7379 1956.625 2179.9727 C
+1956.625 2180.363 1956.7792 2180.6326 1957.0879 2180.7813 C
+1957.4003 2180.9296 1957.8866 2181.0035 1958.5469 2181.0039 C
+h
+1958.5469 2165.166 m
+1958.0389 2165.166 1957.5878 2165.3499 1957.1934 2165.7168 C
+1956.7986 2166.0837 1956.6016 2166.5485 1956.6016 2167.1113 C
+1956.6016 2167.6698 1956.7891 2168.1404 1957.1641 2168.5234 C
+1957.5427 2168.9102 1958.0038 2169.1035 1958.5469 2169.1035 C
+1959.1094 2169.1035 1959.5741 2168.9043 1959.9414 2168.5059 C
+1960.3083 2168.1074 1960.4918 2167.6423 1960.4922 2167.1113 C
+1960.4922 2166.748 1960.4102 2166.4177 1960.2461 2166.1211 C
+1960.082 2165.8241 1959.8513 2165.5916 1959.5547 2165.4238 C
+1959.2577 2165.2521 1958.9219 2165.1664 1958.5469 2165.166 C
+true setoverprint
+f
+false setoverprint
+n
+vmr
+Q
+false eomode
+vmr
+vmr
+end
+%%Trailer
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/caution.pdf b/docs/xslt/db2latex-xsl/xsl/figures/caution.pdf
new file mode 100644
index 0000000000..a0afabfa23
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/caution.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/important.eps b/docs/xslt/db2latex-xsl/xsl/figures/important.eps
new file mode 100644
index 0000000000..c9473b7272
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/important.eps
@@ -0,0 +1,1348 @@
+%!PS-Adobe-2.0 EPSF-1.2
+%%Title: Untitled-3
+%%Creator: FreeHand 9.0
+%%CreationDate: 2002/12/05 8:20 PM
+%%BoundingBox: 0 0 29 29
+%%FHPathName:Untitled:FreeHand 9:English:Untitled-3
+%ALDOriginalFile:Untitled:FreeHand 9:English:Untitled-3
+%ALDBoundingBox: -2 -2 29 29
+%%FHPageNum:1
+%%DocumentSuppliedResources: procset Altsys_header 4 0
+%%ColorUsage: Color
+%%DocumentProcessColors: Black
+%%EndComments
+%%BeginResource: procset Altsys_header 4 0
+userdict begin /AltsysDict 300 dict def end
+AltsysDict begin
+/bdf{bind def}bind def
+/xdf{exch def}bdf
+/defed{where{pop true}{false}ifelse}bdf
+/ndf{1 index where{pop pop pop}{dup xcheck{bind}if def}ifelse}bdf
+/d{setdash}bdf
+/h{closepath}bdf
+/H{}bdf
+/J{setlinecap}bdf
+/j{setlinejoin}bdf
+/M{setmiterlimit}bdf
+/n{newpath}bdf
+/N{newpath}bdf
+/q{gsave}bdf
+/Q{grestore}bdf
+/w{setlinewidth}bdf
+/Xic{matrix invertmatrix concat}bdf
+/Xq{matrix currentmatrix mark}bdf
+/XQ{cleartomark setmatrix}bdf
+/sepdef{
+dup where not
+{
+AltsysSepDict
+}
+if
+3 1 roll exch put
+}bdf
+/st{settransfer}bdf
+/colorimage defed /_rci xdf
+/cntr 0 def
+/readbinarystring{
+/cntr 0 def
+2 copy readstring
+{
+{
+dup
+(\034) search
+{
+length exch pop exch
+dup length 0 ne
+{
+dup dup 0 get 32 sub 0 exch put
+/cntr cntr 1 add def
+}
+{
+pop 1 string dup
+0 6 index read pop 32 sub put
+}ifelse
+3 copy
+putinterval pop
+1 add
+1 index length 1 sub
+1 index sub
+dup 0 le {pop pop exit}if
+getinterval
+}
+{
+pop exit
+} ifelse
+} loop
+}if
+cntr 0 gt
+{
+pop 2 copy
+dup length cntr sub cntr getinterval
+readbinarystring
+} if
+pop exch pop
+} bdf
+/_NXLevel2 defed {
+_NXLevel2 not {
+/colorimage where {
+userdict eq {
+/_rci false def
+} if
+} if
+} if
+} if
+/md defed{
+md type /dicttype eq {
+/colorimage where {
+md eq {
+/_rci false def
+}if
+}if
+/settransfer where {
+md eq {
+/st systemdict /settransfer get def
+}if
+}if
+}if
+}if
+/setstrokeadjust defed
+{
+true setstrokeadjust
+/C{curveto}bdf
+/L{lineto}bdf
+/m{moveto}bdf
+}
+{
+/dr{transform .25 sub round .25 add
+exch .25 sub round .25 add exch itransform}bdf
+/C{dr curveto}bdf
+/L{dr lineto}bdf
+/m{dr moveto}bdf
+/setstrokeadjust{pop}bdf
+}ifelse
+/privrectpath {
+4 -2 roll m
+dtransform round exch round exch idtransform
+2 copy 0 lt exch 0 lt xor
+{dup 0 exch rlineto exch 0 rlineto neg 0 exch rlineto}
+{exch dup 0 rlineto exch 0 exch rlineto neg 0 rlineto}
+ifelse
+closepath
+}bdf
+/rectclip{newpath privrectpath clip newpath}def
+/rectfill{gsave newpath privrectpath fill grestore}def
+/rectstroke{gsave newpath privrectpath stroke grestore}def
+/_fonthacksave false def
+/currentpacking defed
+{
+/_bfh {/_fonthacksave currentpacking def false setpacking} bdf
+/_efh {_fonthacksave setpacking} bdf
+}
+{
+/_bfh {} bdf
+/_efh {} bdf
+}ifelse
+/packedarray{array astore readonly}ndf
+/`
+{
+false setoverprint
+/-save0- save def
+5 index concat
+pop
+storerect left bottom width height rectclip
+pop
+/MMdict_count countdictstack def
+/MMop_count count 1 sub def
+userdict begin
+/showpage {} def
+0 setgray 0 setlinecap 1 setlinewidth
+0 setlinejoin 10 setmiterlimit [] 0 setdash newpath
+} bdf
+/currentpacking defed{true setpacking}if
+/min{2 copy gt{exch}if pop}bdf
+/max{2 copy lt{exch}if pop}bdf
+/xformfont { currentfont exch makefont setfont } bdf
+/fhnumcolors 1
+statusdict begin
+/processcolors defed
+{
+pop processcolors
+}
+{
+/deviceinfo defed {
+deviceinfo /Colors known {
+pop deviceinfo /Colors get
+} if
+} if
+} ifelse
+end
+def
+/printerRes
+gsave
+matrix defaultmatrix setmatrix
+72 72 dtransform
+abs exch abs
+max
+grestore
+def
+/graycalcs
+[
+{Angle Frequency}
+{GrayAngle GrayFrequency}
+{0 Width Height matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+{0 GrayWidth GrayHeight matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+] def
+/calcgraysteps {
+forcemaxsteps
+{
+maxsteps
+}
+{
+/currenthalftone defed
+{currenthalftone /dicttype eq}{false}ifelse
+{
+currenthalftone begin
+HalftoneType 4 le
+{graycalcs HalftoneType 1 sub get exec}
+{
+HalftoneType 5 eq
+{
+Default begin
+{graycalcs HalftoneType 1 sub get exec}
+end
+}
+{0 60}
+ifelse
+}
+ifelse
+end
+}
+{
+currentscreen pop exch
+}
+ifelse
+printerRes 300 max exch div exch
+2 copy
+sin mul round dup mul
+3 1 roll
+cos mul round dup mul
+add 1 add
+dup maxsteps gt {pop maxsteps} if
+dup minsteps lt {pop minsteps} if
+}
+ifelse
+} bdf
+/nextrelease defed {
+/languagelevel defed not {
+/framebuffer defed {
+0 40 string framebuffer 9 1 roll 8 {pop} repeat
+dup 516 eq exch 520 eq or
+{
+/fhnumcolors 3 def
+/currentscreen {60 0 {pop pop 1}}bdf
+/calcgraysteps {maxsteps} bdf
+}if
+}if
+}if
+}if
+fhnumcolors 1 ne {
+/calcgraysteps {maxsteps} bdf
+} if
+/currentpagedevice defed {
+currentpagedevice /PreRenderingEnhance known
+{
+currentpagedevice /PreRenderingEnhance get
+{
+/calcgraysteps
+{
+forcemaxsteps
+{maxsteps}
+{256 maxsteps min}
+ifelse
+} def
+} if
+} if
+} if
+/gradfrequency 144 def
+printerRes 1000 lt {
+/gradfrequency 72 def
+} if
+/adjnumsteps {
+dup dtransform abs exch abs max
+printerRes div
+gradfrequency mul
+round
+5 max
+min
+}bdf
+/goodsep {
+spots exch get 4 get dup sepname eq exch (_vc_Registration) eq or
+}bdf
+/BeginGradation defed
+{/bb{BeginGradation}bdf}
+{/bb{}bdf}
+ifelse
+/EndGradation defed
+{/eb{EndGradation}bdf}
+{/eb{}bdf}
+ifelse
+/bottom -0 def
+/delta -0 def
+/frac -0 def
+/height -0 def
+/left -0 def
+/numsteps1 -0 def
+/radius -0 def
+/right -0 def
+/top -0 def
+/width -0 def
+/xt -0 def
+/yt -0 def
+/df currentflat def
+/tempstr 1 string def
+/clipflatness currentflat def
+/inverted?
+0 currenttransfer exec .5 ge def
+/tc1 [0 0 0 1] def
+/tc2 [0 0 0 1] def
+/storerect{/top xdf /right xdf /bottom xdf /left xdf
+/width right left sub def /height top bottom sub def}bdf
+/concatprocs{
+systemdict /packedarray known
+{dup type /packedarraytype eq 2 index type /packedarraytype eq or}{false}ifelse
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+proc1 aload pop proc2 aload pop
+proc1 length proc2 length add packedarray cvx
+}
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+/newproc proc1 length proc2 length add array def
+newproc 0 proc1 putinterval newproc proc1 length proc2 putinterval
+newproc cvx
+}ifelse
+}bdf
+/i{dup 0 eq
+{pop df dup}
+{dup} ifelse
+/clipflatness xdf setflat
+}bdf
+version cvr 38.0 le
+{/setrgbcolor{
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+setrgbcolor}bdf}if
+/vms {/vmsv save def} bdf
+/vmr {vmsv restore} bdf
+/vmrs{vmsv restore /vmsv save def}bdf
+/eomode{
+{/filler /eofill load def /clipper /eoclip load def}
+{/filler /fill load def /clipper /clip load def}
+ifelse
+}bdf
+/normtaper{}bdf
+/logtaper{9 mul 1 add log}bdf
+/CD{
+/NF exch def
+{
+exch dup
+/FID ne 1 index/UniqueID ne and
+{exch NF 3 1 roll put}
+{pop pop}
+ifelse
+}forall
+NF
+}bdf
+/MN{
+1 index length
+/Len exch def
+dup length Len add
+string dup
+Len
+4 -1 roll
+putinterval
+dup
+0
+4 -1 roll
+putinterval
+}bdf
+/RC{4 -1 roll /ourvec xdf 256 string cvs(|______)anchorsearch
+{1 index MN cvn/NewN exch def cvn
+findfont dup maxlength dict CD dup/FontName NewN put dup
+/Encoding ourvec put NewN exch definefont pop}{pop}ifelse}bdf
+/RF{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RC}
+ifelse
+}bdf
+/FF{dup 256 string cvs(|______)exch MN cvn dup FontDirectory exch known
+{exch pop findfont 3 -1 roll pop}
+{pop dup findfont dup maxlength dict CD dup dup
+/Encoding exch /Encoding get 256 array copy 7 -1 roll
+{3 -1 roll dup 4 -2 roll put}forall put definefont}
+ifelse}bdf
+/RCJ{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFJ
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFJ{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCJ}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFJ
+{
+dup
+hasfont
+not
+{
+pop
+/Ryumin-Light-83pv-RKSJ-H
+hasfont
+{
+/Ryumin-Light-83pv-RKSJ-H
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFJ{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFJ
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/GS {
+dup
+hasfont
+{
+findfont
+exch makesetfont
+exch
+pop
+ts
+}
+{
+pop pop pop
+ts
+} ifelse
+} bdf
+/RCK{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFK
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFK{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCK}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFK
+{
+dup
+hasfont
+not
+{
+pop
+/JCsm
+hasfont
+{
+/JCsm
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFK{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFK
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/RCTC{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFTC
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFTC{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCTC}
+ifelse
+}bdf
+/FDFTC
+{
+dup
+hasfont
+not
+{
+pop
+/DFMing-Lt-HK-BF
+hasfont
+{
+/DFMing-Lt-HK-BF
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFTC{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFTC
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/fps{
+currentflat
+exch
+dup 0 le{pop 1}if
+{
+dup setflat 3 index stopped
+{1.3 mul dup 3 index gt{pop setflat pop pop stop}if}
+{exit}
+ifelse
+}loop
+pop setflat pop pop
+}bdf
+/fp{100 currentflat fps}bdf
+/clipper{clip}bdf
+/W{/clipper load 100 clipflatness dup setflat fps}bdf
+
+userdict begin /BDFontDict 29 dict def end
+BDFontDict begin
+/bu{}def
+/bn{}def
+/setTxMode{av 70 ge{pop}if pop}def
+/gm{m}def
+/show{pop}def
+/gr{pop}def
+/fnt{pop pop pop}def
+/fs{pop}def
+/fz{pop}def
+/lin{pop pop}def
+/:M {pop pop} def
+/sf {pop} def
+/S {pop} def
+/@b {pop pop pop pop pop pop pop pop} def
+/_bdsave /save load def
+/_bdrestore /restore load def
+/save { dup /fontsave eq {null} {_bdsave} ifelse } def
+/restore { dup null eq { pop } { _bdrestore } ifelse } def
+/fontsave null def
+end
+/MacVec 256 array def
+MacVec 0 /Helvetica findfont
+/Encoding get 0 128 getinterval putinterval
+MacVec 127 /DEL put MacVec 16#27 /quotesingle put MacVec 16#60 /grave put
+/NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT/FF/CR/SO/SI
+/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US
+MacVec 0 32 getinterval astore pop
+/Adieresis/Aring/Ccedilla/Eacute/Ntilde/Odieresis/Udieresis/aacute
+/agrave/acircumflex/adieresis/atilde/aring/ccedilla/eacute/egrave
+/ecircumflex/edieresis/iacute/igrave/icircumflex/idieresis/ntilde/oacute
+/ograve/ocircumflex/odieresis/otilde/uacute/ugrave/ucircumflex/udieresis
+/dagger/degree/cent/sterling/section/bullet/paragraph/germandbls
+/registered/copyright/trademark/acute/dieresis/notequal/AE/Oslash
+/infinity/plusminus/lessequal/greaterequal/yen/mu/partialdiff/summation
+/product/pi/integral/ordfeminine/ordmasculine/Omega/ae/oslash
+/questiondown/exclamdown/logicalnot/radical/florin/approxequal/Delta/guillemotleft
+/guillemotright/ellipsis/nbspace/Agrave/Atilde/Otilde/OE/oe
+/endash/emdash/quotedblleft/quotedblright/quoteleft/quoteright/divide/lozenge
+/ydieresis/Ydieresis/fraction/currency/guilsinglleft/guilsinglright/fi/fl
+/daggerdbl/periodcentered/quotesinglbase/quotedblbase
+/perthousand/Acircumflex/Ecircumflex/Aacute
+/Edieresis/Egrave/Iacute/Icircumflex/Idieresis/Igrave/Oacute/Ocircumflex
+/apple/Ograve/Uacute/Ucircumflex/Ugrave/dotlessi/circumflex/tilde
+/macron/breve/dotaccent/ring/cedilla/hungarumlaut/ogonek/caron
+MacVec 128 128 getinterval astore pop
+/findheaderfont {
+/Helvetica findfont
+} def
+end %. AltsysDict
+%%EndResource
+%%EndProlog
+
+%%BeginSetup
+
+AltsysDict begin
+_bfh
+
+_efh
+end %. AltsysDict
+
+%%EndSetup
+AltsysDict begin
+
+/onlyk4{false}ndf
+/ccmyk{dup 5 -1 roll sub 0 max exch}ndf
+/cmyk2gray{
+4 -1 roll 0.3 mul 4 -1 roll 0.59 mul 4 -1 roll 0.11 mul
+add add add 1 min neg 1 add
+}bdf
+/setcmykcolor{1 exch sub ccmyk ccmyk ccmyk pop setrgbcolor}ndf
+/maxcolor {
+max max max
+} ndf
+/maxspot {
+pop
+} ndf
+/setcmykcoloroverprint{4{dup -1 eq{pop 0}if 4 1 roll}repeat setcmykcolor}ndf
+/findcmykcustomcolor{5 packedarray}ndf
+/setcustomcolor{exch aload pop pop 4{4 index mul 4 1 roll}repeat setcmykcolor pop}ndf
+/setseparationgray{setgray}ndf
+/setoverprint{pop}ndf
+/currentoverprint false ndf
+/cmykbufs2gray{
+0 1 2 index length 1 sub
+{
+4 index 1 index get 0.3 mul
+4 index 2 index get 0.59 mul
+4 index 3 index get 0.11 mul
+4 index 4 index get
+add add add cvi 255 min
+255 exch sub
+2 index 3 1 roll put
+}for
+4 1 roll pop pop pop
+}bdf
+/colorimage{
+pop pop
+[
+5 -1 roll/exec cvx
+6 -1 roll/exec cvx
+7 -1 roll/exec cvx
+8 -1 roll/exec cvx
+/cmykbufs2gray cvx
+]cvx
+image
+}
+%. version 47.1 on Linotronic of Postscript defines colorimage incorrectly (rgb model only)
+version cvr 47.1 le
+statusdict /product get (Lino) anchorsearch{pop pop true}{pop false}ifelse
+and{userdict begin bdf end}{ndf}ifelse
+fhnumcolors 1 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+ic im iy ik cmyk2gray /xt xdf
+currenttransfer
+{dup 1.0 exch sub xt mul add}concatprocs
+st
+image
+}
+ifelse
+}ndf
+fhnumcolors 1 ne {yt restore} if
+fhnumcolors 3 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+1.0 dup ic ik add min sub
+1.0 dup im ik add min sub
+1.0 dup iy ik add min sub
+/ic xdf /iy xdf /im xdf
+currentcolortransfer
+4 1 roll
+{dup 1.0 exch sub ic mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub iy mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub im mul add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}true 3 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 3 ne {yt restore} if
+fhnumcolors 4 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+currentcolortransfer
+{1.0 exch sub ik mul ik sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub iy mul iy sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub im mul im sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub ic mul ic sub 1 add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}{dummy}
+true 4 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 4 ne {yt restore} if
+/separationimage{image}ndf
+/spotascmyk false ndf
+/newcmykcustomcolor{6 packedarray}ndf
+/inkoverprint false ndf
+/setinkoverprint{pop}ndf
+/setspotcolor {
+spots exch get
+dup 4 get (_vc_Registration) eq
+{pop 1 exch sub setseparationgray}
+{0 5 getinterval exch setcustomcolor}
+ifelse
+}ndf
+/currentcolortransfer{currenttransfer dup dup dup}ndf
+/setcolortransfer{st pop pop pop}ndf
+/fas{}ndf
+/sas{}ndf
+/fhsetspreadsize{pop}ndf
+/filler{fill}bdf
+/F{gsave {filler}fp grestore}bdf
+/f{closepath F}bdf
+/S{gsave {stroke}fp grestore}bdf
+/s{closepath S}bdf
+userdict /islevel2
+systemdict /languagelevel known dup
+{
+pop systemdict /languagelevel get 2 ge
+} if
+put
+islevel2 not
+{
+/currentcmykcolor
+{
+0 0 0 1 currentgray sub
+} ndf
+} if
+/tc
+{
+gsave
+setcmykcolor currentcmykcolor
+grestore
+} bind def
+/testCMYKColorThrough
+{
+tc add add add 0 ne
+} bind def
+/fhiscomposite where not {
+userdict /fhiscomposite
+islevel2
+{
+gsave 1 1 1 1 setcmykcolor currentcmykcolor grestore
+add add add 4 eq
+}
+{
+1 0 0 0 testCMYKColorThrough
+0 1 0 0 testCMYKColorThrough
+0 0 1 0 testCMYKColorThrough
+0 0 0 1 testCMYKColorThrough
+and and and
+} ifelse
+put
+}
+{ pop }
+ifelse
+/bc4 [0 0 0 0] def
+/_lfp4 {
+1 pop
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+taperfcn /frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/bcs [0 0] def
+/_lfs4 {
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 2 lt {pop 2} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 div taperfcn /frac xdf
+bcs 0
+1.0 tint2 tint1 sub frac mul tint1 add sub
+put bcs vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfs6 {
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bcs 0
+tint2 tint1 sub frac mul tint1 add
+put bcs vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfp6 {
+1 pop
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/lfp4{_lfp4}ndf
+/lfs4{_lfs4}ndf
+/rfs6{_rfs6}ndf
+/rfp6{_rfp6}ndf
+/cvc [0 0 0 1] def
+/vc{
+AltsysDict /cvc 2 index put
+aload length dup 4 eq
+{pop dup -1 eq{pop setrgbcolor}{setcmykcolor}ifelse}
+{6 eq {sethexcolor} {setspotcolor} ifelse }
+ifelse
+}bdf
+0 setseparationgray
+/imgr {1692.47 1570.59 1723.65 1601.77 } def
+/bleed 0 def
+/clpr {1692.47 1570.59 1723.65 1601.77 } def
+/xs 1 def
+/ys 1 def
+/botx 0 def
+/overlap 0 def
+/wdist 18 def
+0 2 mul fhsetspreadsize
+0 0 ne {/df 0 def /clipflatness 0 def} if
+/maxsteps 256 def
+/forcemaxsteps false def
+/minsteps 0 def
+
+userdict begin /AGDOrigMtx matrix currentmatrix def end
+vms
+-1694 -1572 translate
+
+/currentpacking defed{false setpacking}if
+/spots[
+
+1 0 0 0 (Process Cyan) false newcmykcustomcolor
+
+0 1 0 0 (Process Magenta) false newcmykcustomcolor
+
+0 0 1 0 (Process Yellow) false newcmykcustomcolor
+
+0 0 0 1 (Process Black) false newcmykcustomcolor
+]def
+n
+[] 0 d
+3.863708 M
+1 w
+0 j
+0 J
+false setoverprint
+0 i
+false eomode
+[0 0 0 1]vc
+vms
+q
+[1 0 0 1 -249.981674 -586.867554] concat
+vms
+1946.9506 2177.5114 m
+1954.4907 2185.0516 L
+1956.7047 2187.2656 1960.2943 2187.2656 1962.5083 2185.0516 C
+1970.0485 2177.5114 L
+1972.2625 2175.2974 1972.2625 2171.7078 1970.0485 2169.4938 C
+1962.5083 2161.9537 L
+1960.2943 2159.7396 1956.7047 2159.7396 1954.4907 2161.9537 C
+1946.9506 2169.4938 L
+1944.7365 2171.7078 1944.7365 2175.2974 1946.9506 2177.5114 C
+s
+n
+true eomode
+1958.5469 2181.0039 m
+1959.2148 2181.0039 1959.7012 2180.9296 1960.0059 2180.7813 C
+1960.3142 2180.6326 1960.4684 2180.363 1960.4688 2179.9727 C
+1960.4688 2179.7383 1960.3398 2178.8026 1960.082 2177.166 C
+1959.0742 2170.4219 L
+1958.9373 2170.3241 1958.7615 2170.2754 1958.5469 2170.2754 C
+1958.3319 2170.2754 1958.1561 2170.3241 1958.0195 2170.4219 C
+1957.0117 2177.166 L
+1956.7539 2178.8026 1956.625 2179.7379 1956.625 2179.9727 C
+1956.625 2180.363 1956.7792 2180.6326 1957.0879 2180.7813 C
+1957.4003 2180.9296 1957.8866 2181.0035 1958.5469 2181.0039 C
+h
+1958.5469 2165.166 m
+1958.0389 2165.166 1957.5878 2165.3499 1957.1934 2165.7168 C
+1956.7986 2166.0837 1956.6016 2166.5485 1956.6016 2167.1113 C
+1956.6016 2167.6698 1956.7891 2168.1404 1957.1641 2168.5234 C
+1957.5427 2168.9102 1958.0038 2169.1035 1958.5469 2169.1035 C
+1959.1094 2169.1035 1959.5741 2168.9043 1959.9414 2168.5059 C
+1960.3083 2168.1074 1960.4918 2167.6423 1960.4922 2167.1113 C
+1960.4922 2166.748 1960.4102 2166.4177 1960.2461 2166.1211 C
+1960.082 2165.8241 1959.8513 2165.5916 1959.5547 2165.4238 C
+1959.2577 2165.2521 1958.9219 2165.1664 1958.5469 2165.166 C
+true setoverprint
+f
+false setoverprint
+n
+vmr
+Q
+false eomode
+vmr
+vmr
+end
+%%Trailer
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/important.pdf b/docs/xslt/db2latex-xsl/xsl/figures/important.pdf
new file mode 100644
index 0000000000..a0afabfa23
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/important.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/note.eps b/docs/xslt/db2latex-xsl/xsl/figures/note.eps
new file mode 100644
index 0000000000..39be23fa77
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/note.eps
@@ -0,0 +1,1387 @@
+%!PS-Adobe-2.0 EPSF-1.2
+%%Title: Untitled-1
+%%Creator: FreeHand 9.0
+%%CreationDate: 2002/07/16 10:41 PM
+%%BoundingBox: 0 0 27 27
+%%FHPathName:Untitled:FreeHand 9:English:Untitled-1
+%ALDOriginalFile:Untitled:FreeHand 9:English:Untitled-1
+%ALDBoundingBox: -153 -436 442 406
+%%FHPageNum:1
+%%DocumentSuppliedResources: procset Altsys_header 4 0
+%%ColorUsage: Color
+%%DocumentProcessColors: Black
+%%EndComments
+%%BeginResource: procset Altsys_header 4 0
+userdict begin /AltsysDict 300 dict def end
+AltsysDict begin
+/bdf{bind def}bind def
+/xdf{exch def}bdf
+/defed{where{pop true}{false}ifelse}bdf
+/ndf{1 index where{pop pop pop}{dup xcheck{bind}if def}ifelse}bdf
+/d{setdash}bdf
+/h{closepath}bdf
+/H{}bdf
+/J{setlinecap}bdf
+/j{setlinejoin}bdf
+/M{setmiterlimit}bdf
+/n{newpath}bdf
+/N{newpath}bdf
+/q{gsave}bdf
+/Q{grestore}bdf
+/w{setlinewidth}bdf
+/Xic{matrix invertmatrix concat}bdf
+/Xq{matrix currentmatrix mark}bdf
+/XQ{cleartomark setmatrix}bdf
+/sepdef{
+dup where not
+{
+AltsysSepDict
+}
+if
+3 1 roll exch put
+}bdf
+/st{settransfer}bdf
+/colorimage defed /_rci xdf
+/cntr 0 def
+/readbinarystring{
+/cntr 0 def
+2 copy readstring
+{
+{
+dup
+(\034) search
+{
+length exch pop exch
+dup length 0 ne
+{
+dup dup 0 get 32 sub 0 exch put
+/cntr cntr 1 add def
+}
+{
+pop 1 string dup
+0 6 index read pop 32 sub put
+}ifelse
+3 copy
+putinterval pop
+1 add
+1 index length 1 sub
+1 index sub
+dup 0 le {pop pop exit}if
+getinterval
+}
+{
+pop exit
+} ifelse
+} loop
+}if
+cntr 0 gt
+{
+pop 2 copy
+dup length cntr sub cntr getinterval
+readbinarystring
+} if
+pop exch pop
+} bdf
+/_NXLevel2 defed {
+_NXLevel2 not {
+/colorimage where {
+userdict eq {
+/_rci false def
+} if
+} if
+} if
+} if
+/md defed{
+md type /dicttype eq {
+/colorimage where {
+md eq {
+/_rci false def
+}if
+}if
+/settransfer where {
+md eq {
+/st systemdict /settransfer get def
+}if
+}if
+}if
+}if
+/setstrokeadjust defed
+{
+true setstrokeadjust
+/C{curveto}bdf
+/L{lineto}bdf
+/m{moveto}bdf
+}
+{
+/dr{transform .25 sub round .25 add
+exch .25 sub round .25 add exch itransform}bdf
+/C{dr curveto}bdf
+/L{dr lineto}bdf
+/m{dr moveto}bdf
+/setstrokeadjust{pop}bdf
+}ifelse
+/privrectpath {
+4 -2 roll m
+dtransform round exch round exch idtransform
+2 copy 0 lt exch 0 lt xor
+{dup 0 exch rlineto exch 0 rlineto neg 0 exch rlineto}
+{exch dup 0 rlineto exch 0 exch rlineto neg 0 rlineto}
+ifelse
+closepath
+}bdf
+/rectclip{newpath privrectpath clip newpath}def
+/rectfill{gsave newpath privrectpath fill grestore}def
+/rectstroke{gsave newpath privrectpath stroke grestore}def
+/_fonthacksave false def
+/currentpacking defed
+{
+/_bfh {/_fonthacksave currentpacking def false setpacking} bdf
+/_efh {_fonthacksave setpacking} bdf
+}
+{
+/_bfh {} bdf
+/_efh {} bdf
+}ifelse
+/packedarray{array astore readonly}ndf
+/`
+{
+false setoverprint
+/-save0- save def
+5 index concat
+pop
+storerect left bottom width height rectclip
+pop
+/MMdict_count countdictstack def
+/MMop_count count 1 sub def
+userdict begin
+/showpage {} def
+0 setgray 0 setlinecap 1 setlinewidth
+0 setlinejoin 10 setmiterlimit [] 0 setdash newpath
+} bdf
+/currentpacking defed{true setpacking}if
+/min{2 copy gt{exch}if pop}bdf
+/max{2 copy lt{exch}if pop}bdf
+/xformfont { currentfont exch makefont setfont } bdf
+/fhnumcolors 1
+statusdict begin
+/processcolors defed
+{
+pop processcolors
+}
+{
+/deviceinfo defed {
+deviceinfo /Colors known {
+pop deviceinfo /Colors get
+} if
+} if
+} ifelse
+end
+def
+/printerRes
+gsave
+matrix defaultmatrix setmatrix
+72 72 dtransform
+abs exch abs
+max
+grestore
+def
+/graycalcs
+[
+{Angle Frequency}
+{GrayAngle GrayFrequency}
+{0 Width Height matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+{0 GrayWidth GrayHeight matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+] def
+/calcgraysteps {
+forcemaxsteps
+{
+maxsteps
+}
+{
+/currenthalftone defed
+{currenthalftone /dicttype eq}{false}ifelse
+{
+currenthalftone begin
+HalftoneType 4 le
+{graycalcs HalftoneType 1 sub get exec}
+{
+HalftoneType 5 eq
+{
+Default begin
+{graycalcs HalftoneType 1 sub get exec}
+end
+}
+{0 60}
+ifelse
+}
+ifelse
+end
+}
+{
+currentscreen pop exch
+}
+ifelse
+printerRes 300 max exch div exch
+2 copy
+sin mul round dup mul
+3 1 roll
+cos mul round dup mul
+add 1 add
+dup maxsteps gt {pop maxsteps} if
+dup minsteps lt {pop minsteps} if
+}
+ifelse
+} bdf
+/nextrelease defed {
+/languagelevel defed not {
+/framebuffer defed {
+0 40 string framebuffer 9 1 roll 8 {pop} repeat
+dup 516 eq exch 520 eq or
+{
+/fhnumcolors 3 def
+/currentscreen {60 0 {pop pop 1}}bdf
+/calcgraysteps {maxsteps} bdf
+}if
+}if
+}if
+}if
+fhnumcolors 1 ne {
+/calcgraysteps {maxsteps} bdf
+} if
+/currentpagedevice defed {
+currentpagedevice /PreRenderingEnhance known
+{
+currentpagedevice /PreRenderingEnhance get
+{
+/calcgraysteps
+{
+forcemaxsteps
+{maxsteps}
+{256 maxsteps min}
+ifelse
+} def
+} if
+} if
+} if
+/gradfrequency 144 def
+printerRes 1000 lt {
+/gradfrequency 72 def
+} if
+/adjnumsteps {
+dup dtransform abs exch abs max
+printerRes div
+gradfrequency mul
+round
+5 max
+min
+}bdf
+/goodsep {
+spots exch get 4 get dup sepname eq exch (_vc_Registration) eq or
+}bdf
+/BeginGradation defed
+{/bb{BeginGradation}bdf}
+{/bb{}bdf}
+ifelse
+/EndGradation defed
+{/eb{EndGradation}bdf}
+{/eb{}bdf}
+ifelse
+/bottom -0 def
+/delta -0 def
+/frac -0 def
+/height -0 def
+/left -0 def
+/numsteps1 -0 def
+/radius -0 def
+/right -0 def
+/top -0 def
+/width -0 def
+/xt -0 def
+/yt -0 def
+/df currentflat def
+/tempstr 1 string def
+/clipflatness currentflat def
+/inverted?
+0 currenttransfer exec .5 ge def
+/tc1 [0 0 0 1] def
+/tc2 [0 0 0 1] def
+/storerect{/top xdf /right xdf /bottom xdf /left xdf
+/width right left sub def /height top bottom sub def}bdf
+/concatprocs{
+systemdict /packedarray known
+{dup type /packedarraytype eq 2 index type /packedarraytype eq or}{false}ifelse
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+proc1 aload pop proc2 aload pop
+proc1 length proc2 length add packedarray cvx
+}
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+/newproc proc1 length proc2 length add array def
+newproc 0 proc1 putinterval newproc proc1 length proc2 putinterval
+newproc cvx
+}ifelse
+}bdf
+/i{dup 0 eq
+{pop df dup}
+{dup} ifelse
+/clipflatness xdf setflat
+}bdf
+version cvr 38.0 le
+{/setrgbcolor{
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+setrgbcolor}bdf}if
+/vms {/vmsv save def} bdf
+/vmr {vmsv restore} bdf
+/vmrs{vmsv restore /vmsv save def}bdf
+/eomode{
+{/filler /eofill load def /clipper /eoclip load def}
+{/filler /fill load def /clipper /clip load def}
+ifelse
+}bdf
+/normtaper{}bdf
+/logtaper{9 mul 1 add log}bdf
+/CD{
+/NF exch def
+{
+exch dup
+/FID ne 1 index/UniqueID ne and
+{exch NF 3 1 roll put}
+{pop pop}
+ifelse
+}forall
+NF
+}bdf
+/MN{
+1 index length
+/Len exch def
+dup length Len add
+string dup
+Len
+4 -1 roll
+putinterval
+dup
+0
+4 -1 roll
+putinterval
+}bdf
+/RC{4 -1 roll /ourvec xdf 256 string cvs(|______)anchorsearch
+{1 index MN cvn/NewN exch def cvn
+findfont dup maxlength dict CD dup/FontName NewN put dup
+/Encoding ourvec put NewN exch definefont pop}{pop}ifelse}bdf
+/RF{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RC}
+ifelse
+}bdf
+/FF{dup 256 string cvs(|______)exch MN cvn dup FontDirectory exch known
+{exch pop findfont 3 -1 roll pop}
+{pop dup findfont dup maxlength dict CD dup dup
+/Encoding exch /Encoding get 256 array copy 7 -1 roll
+{3 -1 roll dup 4 -2 roll put}forall put definefont}
+ifelse}bdf
+/RCJ{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFJ
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFJ{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCJ}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFJ
+{
+dup
+hasfont
+not
+{
+pop
+/Ryumin-Light-83pv-RKSJ-H
+hasfont
+{
+/Ryumin-Light-83pv-RKSJ-H
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFJ{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFJ
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/GS {
+dup
+hasfont
+{
+findfont
+exch makesetfont
+exch
+pop
+ts
+}
+{
+pop pop pop
+ts
+} ifelse
+} bdf
+/RCK{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFK
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFK{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCK}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFK
+{
+dup
+hasfont
+not
+{
+pop
+/JCsm
+hasfont
+{
+/JCsm
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFK{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFK
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/RCTC{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFTC
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFTC{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCTC}
+ifelse
+}bdf
+/FDFTC
+{
+dup
+hasfont
+not
+{
+pop
+/DFMing-Lt-HK-BF
+hasfont
+{
+/DFMing-Lt-HK-BF
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFTC{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFTC
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/fps{
+currentflat
+exch
+dup 0 le{pop 1}if
+{
+dup setflat 3 index stopped
+{1.3 mul dup 3 index gt{pop setflat pop pop stop}if}
+{exit}
+ifelse
+}loop
+pop setflat pop pop
+}bdf
+/fp{100 currentflat fps}bdf
+/clipper{clip}bdf
+/W{/clipper load 100 clipflatness dup setflat fps}bdf
+
+userdict begin /BDFontDict 29 dict def end
+BDFontDict begin
+/bu{}def
+/bn{}def
+/setTxMode{av 70 ge{pop}if pop}def
+/gm{m}def
+/show{pop}def
+/gr{pop}def
+/fnt{pop pop pop}def
+/fs{pop}def
+/fz{pop}def
+/lin{pop pop}def
+/:M {pop pop} def
+/sf {pop} def
+/S {pop} def
+/@b {pop pop pop pop pop pop pop pop} def
+/_bdsave /save load def
+/_bdrestore /restore load def
+/save { dup /fontsave eq {null} {_bdsave} ifelse } def
+/restore { dup null eq { pop } { _bdrestore } ifelse } def
+/fontsave null def
+end
+/MacVec 256 array def
+MacVec 0 /Helvetica findfont
+/Encoding get 0 128 getinterval putinterval
+MacVec 127 /DEL put MacVec 16#27 /quotesingle put MacVec 16#60 /grave put
+/NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT/FF/CR/SO/SI
+/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US
+MacVec 0 32 getinterval astore pop
+/Adieresis/Aring/Ccedilla/Eacute/Ntilde/Odieresis/Udieresis/aacute
+/agrave/acircumflex/adieresis/atilde/aring/ccedilla/eacute/egrave
+/ecircumflex/edieresis/iacute/igrave/icircumflex/idieresis/ntilde/oacute
+/ograve/ocircumflex/odieresis/otilde/uacute/ugrave/ucircumflex/udieresis
+/dagger/degree/cent/sterling/section/bullet/paragraph/germandbls
+/registered/copyright/trademark/acute/dieresis/notequal/AE/Oslash
+/infinity/plusminus/lessequal/greaterequal/yen/mu/partialdiff/summation
+/product/pi/integral/ordfeminine/ordmasculine/Omega/ae/oslash
+/questiondown/exclamdown/logicalnot/radical/florin/approxequal/Delta/guillemotleft
+/guillemotright/ellipsis/nbspace/Agrave/Atilde/Otilde/OE/oe
+/endash/emdash/quotedblleft/quotedblright/quoteleft/quoteright/divide/lozenge
+/ydieresis/Ydieresis/fraction/currency/guilsinglleft/guilsinglright/fi/fl
+/daggerdbl/periodcentered/quotesinglbase/quotedblbase
+/perthousand/Acircumflex/Ecircumflex/Aacute
+/Edieresis/Egrave/Iacute/Icircumflex/Idieresis/Igrave/Oacute/Ocircumflex
+/apple/Ograve/Uacute/Ucircumflex/Ugrave/dotlessi/circumflex/tilde
+/macron/breve/dotaccent/ring/cedilla/hungarumlaut/ogonek/caron
+MacVec 128 128 getinterval astore pop
+/findheaderfont {
+/Helvetica findfont
+} def
+end %. AltsysDict
+%%EndResource
+%%EndProlog
+
+%%BeginSetup
+
+AltsysDict begin
+_bfh
+
+_efh
+end %. AltsysDict
+
+%%EndSetup
+AltsysDict begin
+
+/onlyk4{false}ndf
+/ccmyk{dup 5 -1 roll sub 0 max exch}ndf
+/cmyk2gray{
+4 -1 roll 0.3 mul 4 -1 roll 0.59 mul 4 -1 roll 0.11 mul
+add add add 1 min neg 1 add
+}bdf
+/setcmykcolor{1 exch sub ccmyk ccmyk ccmyk pop setrgbcolor}ndf
+/maxcolor {
+max max max
+} ndf
+/maxspot {
+pop
+} ndf
+/setcmykcoloroverprint{4{dup -1 eq{pop 0}if 4 1 roll}repeat setcmykcolor}ndf
+/findcmykcustomcolor{5 packedarray}ndf
+/setcustomcolor{exch aload pop pop 4{4 index mul 4 1 roll}repeat setcmykcolor pop}ndf
+/setseparationgray{setgray}ndf
+/setoverprint{pop}ndf
+/currentoverprint false ndf
+/cmykbufs2gray{
+0 1 2 index length 1 sub
+{
+4 index 1 index get 0.3 mul
+4 index 2 index get 0.59 mul
+4 index 3 index get 0.11 mul
+4 index 4 index get
+add add add cvi 255 min
+255 exch sub
+2 index 3 1 roll put
+}for
+4 1 roll pop pop pop
+}bdf
+/colorimage{
+pop pop
+[
+5 -1 roll/exec cvx
+6 -1 roll/exec cvx
+7 -1 roll/exec cvx
+8 -1 roll/exec cvx
+/cmykbufs2gray cvx
+]cvx
+image
+}
+%. version 47.1 on Linotronic of Postscript defines colorimage incorrectly (rgb model only)
+version cvr 47.1 le
+statusdict /product get (Lino) anchorsearch{pop pop true}{pop false}ifelse
+and{userdict begin bdf end}{ndf}ifelse
+fhnumcolors 1 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+ic im iy ik cmyk2gray /xt xdf
+currenttransfer
+{dup 1.0 exch sub xt mul add}concatprocs
+st
+image
+}
+ifelse
+}ndf
+fhnumcolors 1 ne {yt restore} if
+fhnumcolors 3 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+1.0 dup ic ik add min sub
+1.0 dup im ik add min sub
+1.0 dup iy ik add min sub
+/ic xdf /iy xdf /im xdf
+currentcolortransfer
+4 1 roll
+{dup 1.0 exch sub ic mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub iy mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub im mul add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}true 3 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 3 ne {yt restore} if
+fhnumcolors 4 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+currentcolortransfer
+{1.0 exch sub ik mul ik sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub iy mul iy sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub im mul im sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub ic mul ic sub 1 add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}{dummy}
+true 4 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 4 ne {yt restore} if
+/separationimage{image}ndf
+/spotascmyk false ndf
+/newcmykcustomcolor{6 packedarray}ndf
+/inkoverprint false ndf
+/setinkoverprint{pop}ndf
+/setspotcolor {
+spots exch get
+dup 4 get (_vc_Registration) eq
+{pop 1 exch sub setseparationgray}
+{0 5 getinterval exch setcustomcolor}
+ifelse
+}ndf
+/currentcolortransfer{currenttransfer dup dup dup}ndf
+/setcolortransfer{st pop pop pop}ndf
+/fas{}ndf
+/sas{}ndf
+/fhsetspreadsize{pop}ndf
+/filler{fill}bdf
+/F{gsave {filler}fp grestore}bdf
+/f{closepath F}bdf
+/S{gsave {stroke}fp grestore}bdf
+/s{closepath S}bdf
+userdict /islevel2
+systemdict /languagelevel known dup
+{
+pop systemdict /languagelevel get 2 ge
+} if
+put
+islevel2 not
+{
+/currentcmykcolor
+{
+0 0 0 1 currentgray sub
+} ndf
+} if
+/tc
+{
+gsave
+setcmykcolor currentcmykcolor
+grestore
+} bind def
+/testCMYKColorThrough
+{
+tc add add add 0 ne
+} bind def
+/fhiscomposite where not {
+userdict /fhiscomposite
+islevel2
+{
+gsave 1 1 1 1 setcmykcolor currentcmykcolor grestore
+add add add 4 eq
+}
+{
+1 0 0 0 testCMYKColorThrough
+0 1 0 0 testCMYKColorThrough
+0 0 1 0 testCMYKColorThrough
+0 0 0 1 testCMYKColorThrough
+and and and
+} ifelse
+put
+}
+{ pop }
+ifelse
+/bc4 [0 0 0 0] def
+/_lfp4 {
+1 pop
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+taperfcn /frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/bcs [0 0] def
+/_lfs4 {
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 2 lt {pop 2} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 div taperfcn /frac xdf
+bcs 0
+1.0 tint2 tint1 sub frac mul tint1 add sub
+put bcs vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfs6 {
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bcs 0
+tint2 tint1 sub frac mul tint1 add
+put bcs vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfp6 {
+1 pop
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/lfp4{_lfp4}ndf
+/lfs4{_lfs4}ndf
+/rfs6{_rfs6}ndf
+/rfp6{_rfp6}ndf
+/cvc [0 0 0 1] def
+/vc{
+AltsysDict /cvc 2 index put
+aload length dup 4 eq
+{pop dup -1 eq{pop setrgbcolor}{setcmykcolor}ifelse}
+{6 eq {sethexcolor} {setspotcolor} ifelse }
+ifelse
+}bdf
+0 setseparationgray
+/imgr {1692.47 1570.59 2287.75 2412.48 } def
+/bleed 0 def
+/clpr {1692.47 1570.59 2287.75 2412.48 } def
+/xs 1 def
+/ys 1 def
+/botx 0 def
+/overlap 0 def
+/wdist 18 def
+0 2 mul fhsetspreadsize
+0 0 ne {/df 0 def /clipflatness 0 def} if
+/maxsteps 256 def
+/forcemaxsteps false def
+/minsteps 0 def
+
+userdict begin /AGDOrigMtx matrix currentmatrix def end
+vms
+0.15 0.15 scale %JND
+-1845 -2006 translate
+
+/currentpacking defed{false setpacking}if
+/spots[
+
+1 0 0 0 (Process Cyan) false newcmykcustomcolor
+
+0 1 0 0 (Process Magenta) false newcmykcustomcolor
+
+0 0 1 0 (Process Yellow) false newcmykcustomcolor
+
+0 0 0 1 (Process Black) false newcmykcustomcolor
+]def
+n
+[] 0 d
+3.863708 M
+1 w
+0 j
+0 J
+false setoverprint
+0 i
+false eomode
+[0 0 0 1]vc
+vms
+1848.4365 2094.0422 m
+1848.4365 2140.987 1886.4917 2179.0422 1933.4365 2179.0422 C
+1980.3813 2179.0422 2018.4365 2140.987 2018.4365 2094.0422 C
+2018.4365 2047.0974 1980.3813 2009.0422 1933.4365 2009.0422 C
+1886.4917 2009.0422 1848.4365 2047.0974 1848.4365 2094.0422 C
+5.3858 w
+3.863693 M
+s
+n
+true eomode
+1880.5612 2118.7403 m
+1880.5612 2121.7396 1881.6862 2124.8795 1883.9362 2128.1622 C
+1886.1862 2131.4889 1888.4581 2133.1522 1890.7565 2133.1544 C
+1892.2089 2133.1544 1893.4042 2132.5677 1894.3424 2131.3966 C
+1895.3268 2130.2233 1895.819 2128.7467 1895.819 2126.9669 C
+1895.819 2124.0599 1894.6237 2121.0826 1892.233 2118.0372 C
+1889.8885 2114.9896 1887.6144 2113.4669 1885.4127 2113.4669 C
+1884.0526 2113.4669 1882.9034 2113.9591 1881.9674 2114.9435 C
+1881.0292 2115.974 1880.5612 2117.2396 1880.5612 2118.7403 C
+h
+1948.2018 2061.1544 m
+1978.4362 2061.0138 L
+1980.451 2062.6068 1981.9034 2064.3163 1982.7955 2066.1466 C
+1983.7316 2068.0209 1984.1996 2070.2005 1984.2018 2072.6857 C
+1984.2018 2073.2482 L
+1969.2252 2099.6153 L
+1969.2252 2099.3341 1969.2472 2098.8639 1969.2955 2098.2091 C
+1969.3417 2097.5983 1969.3636 2097.1544 1969.3658 2096.8732 C
+1969.3658 2089.888 1967.5597 2083.3732 1963.9518 2077.3263 C
+1960.3878 2071.2794 1955.1385 2065.8873 1948.2018 2061.1544 C
+h
+1905.8737 2139.4825 m
+1910.0924 2124.2247 L
+1964.233 2092.5841 L
+1964.6066 2094.3177 1964.8636 2095.724 1965.0065 2096.8028 C
+1965.1471 2097.9278 1965.2174 2098.9122 1965.2174 2099.756 C
+1965.2174 2100.4108 1965.1691 2101.5599 1965.0768 2103.2013 C
+1964.9823 2103.5748 1964.9362 2103.8561 1964.9362 2104.045 C
+1905.8737 2139.4825 L
+h
+1908.4752 2120.3575 m
+1898.983 2105.5216 L
+1954.3893 2072.8263 L
+1956.4987 2074.7005 1958.2565 2076.8561 1959.6627 2079.295 C
+1961.1151 2081.7779 1962.2863 2084.6608 1963.1783 2087.9435 C
+1908.4752 2120.3575 L
+h
+1896.2408 2102.3575 m
+1880.5612 2099.0528 L
+1942.9283 2062.631 L
+1944.5675 2063.5209 1946.0682 2064.5272 1947.4283 2065.6544 C
+1948.7863 2066.7794 1950.0057 2068.0209 1951.0846 2069.381 C
+1896.2408 2102.3575 L
+h
+1871.2096 2120.7794 m
+1876.3424 2102.3575 L
+1894.2018 2105.9435 L
+1906.1549 2125.2794 L
+1900.8815 2142.506 L
+1882.7408 2139.2013 L
+1871.2096 2120.7794 L
+h
+1866.7096 2121.4825 m
+1880.1393 2142.3653 L
+1901.3033 2146.5841 L
+1963.6705 2109.3888 L
+1968.0299 2106.8092 1971.005 2103.9747 1972.6002 2100.881 C
+1972.8815 2100.2701 1973.1144 2099.8021 1973.3033 2099.4747 C
+1991.444 2068.256 L
+1991.6769 2067.8341 1992.0043 2067.2474 1992.4283 2066.4982 C
+1994.0675 2064.013 1994.8871 2062.0904 1994.8893 2060.7325 C
+1994.8893 2059.4186 1994.3971 2058.4825 1993.4127 2057.92 C
+1992.4745 2057.4037 1990.6705 2057.1466 1987.9987 2057.1466 C
+1948.0612 2057.1466 L
+1946.4198 2057.1466 1944.7784 2057.4037 1943.1393 2057.92 C
+1941.4979 2058.4825 1939.4127 2059.513 1936.8815 2061.0138 C
+1873.6705 2098.631 L
+1866.7096 2121.4825 L
+true setoverprint
+f
+false setoverprint
+n
+vmr
+vmr
+end
+%%Trailer
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/note.pdf b/docs/xslt/db2latex-xsl/xsl/figures/note.pdf
new file mode 100644
index 0000000000..ec6c248a2a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/note.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/tip.eps b/docs/xslt/db2latex-xsl/xsl/figures/tip.eps
new file mode 100644
index 0000000000..a28ad883eb
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/tip.eps
@@ -0,0 +1,1503 @@
+%!PS-Adobe-2.0 EPSF-1.2
+%%Title: Untitled-1
+%%Creator: FreeHand 9.0
+%%CreationDate: 2002/07/16 10:41 PM
+%%BoundingBox: 0 0 27 27
+%%FHPathName:Untitled:FreeHand 9:English:Untitled-1
+%ALDOriginalFile:Untitled:FreeHand 9:English:Untitled-1
+%ALDBoundingBox: -153 -436 442 406
+%%FHPageNum:1
+%%DocumentSuppliedResources: procset Altsys_header 4 0
+%%ColorUsage: Color
+%%DocumentProcessColors: Black
+%%EndComments
+%%BeginResource: procset Altsys_header 4 0
+userdict begin /AltsysDict 300 dict def end
+AltsysDict begin
+/bdf{bind def}bind def
+/xdf{exch def}bdf
+/defed{where{pop true}{false}ifelse}bdf
+/ndf{1 index where{pop pop pop}{dup xcheck{bind}if def}ifelse}bdf
+/d{setdash}bdf
+/h{closepath}bdf
+/H{}bdf
+/J{setlinecap}bdf
+/j{setlinejoin}bdf
+/M{setmiterlimit}bdf
+/n{newpath}bdf
+/N{newpath}bdf
+/q{gsave}bdf
+/Q{grestore}bdf
+/w{setlinewidth}bdf
+/Xic{matrix invertmatrix concat}bdf
+/Xq{matrix currentmatrix mark}bdf
+/XQ{cleartomark setmatrix}bdf
+/sepdef{
+dup where not
+{
+AltsysSepDict
+}
+if
+3 1 roll exch put
+}bdf
+/st{settransfer}bdf
+/colorimage defed /_rci xdf
+/cntr 0 def
+/readbinarystring{
+/cntr 0 def
+2 copy readstring
+{
+{
+dup
+(\034) search
+{
+length exch pop exch
+dup length 0 ne
+{
+dup dup 0 get 32 sub 0 exch put
+/cntr cntr 1 add def
+}
+{
+pop 1 string dup
+0 6 index read pop 32 sub put
+}ifelse
+3 copy
+putinterval pop
+1 add
+1 index length 1 sub
+1 index sub
+dup 0 le {pop pop exit}if
+getinterval
+}
+{
+pop exit
+} ifelse
+} loop
+}if
+cntr 0 gt
+{
+pop 2 copy
+dup length cntr sub cntr getinterval
+readbinarystring
+} if
+pop exch pop
+} bdf
+/_NXLevel2 defed {
+_NXLevel2 not {
+/colorimage where {
+userdict eq {
+/_rci false def
+} if
+} if
+} if
+} if
+/md defed{
+md type /dicttype eq {
+/colorimage where {
+md eq {
+/_rci false def
+}if
+}if
+/settransfer where {
+md eq {
+/st systemdict /settransfer get def
+}if
+}if
+}if
+}if
+/setstrokeadjust defed
+{
+true setstrokeadjust
+/C{curveto}bdf
+/L{lineto}bdf
+/m{moveto}bdf
+}
+{
+/dr{transform .25 sub round .25 add
+exch .25 sub round .25 add exch itransform}bdf
+/C{dr curveto}bdf
+/L{dr lineto}bdf
+/m{dr moveto}bdf
+/setstrokeadjust{pop}bdf
+}ifelse
+/privrectpath {
+4 -2 roll m
+dtransform round exch round exch idtransform
+2 copy 0 lt exch 0 lt xor
+{dup 0 exch rlineto exch 0 rlineto neg 0 exch rlineto}
+{exch dup 0 rlineto exch 0 exch rlineto neg 0 rlineto}
+ifelse
+closepath
+}bdf
+/rectclip{newpath privrectpath clip newpath}def
+/rectfill{gsave newpath privrectpath fill grestore}def
+/rectstroke{gsave newpath privrectpath stroke grestore}def
+/_fonthacksave false def
+/currentpacking defed
+{
+/_bfh {/_fonthacksave currentpacking def false setpacking} bdf
+/_efh {_fonthacksave setpacking} bdf
+}
+{
+/_bfh {} bdf
+/_efh {} bdf
+}ifelse
+/packedarray{array astore readonly}ndf
+/`
+{
+false setoverprint
+/-save0- save def
+5 index concat
+pop
+storerect left bottom width height rectclip
+pop
+/MMdict_count countdictstack def
+/MMop_count count 1 sub def
+userdict begin
+/showpage {} def
+0 setgray 0 setlinecap 1 setlinewidth
+0 setlinejoin 10 setmiterlimit [] 0 setdash newpath
+} bdf
+/currentpacking defed{true setpacking}if
+/min{2 copy gt{exch}if pop}bdf
+/max{2 copy lt{exch}if pop}bdf
+/xformfont { currentfont exch makefont setfont } bdf
+/fhnumcolors 1
+statusdict begin
+/processcolors defed
+{
+pop processcolors
+}
+{
+/deviceinfo defed {
+deviceinfo /Colors known {
+pop deviceinfo /Colors get
+} if
+} if
+} ifelse
+end
+def
+/printerRes
+gsave
+matrix defaultmatrix setmatrix
+72 72 dtransform
+abs exch abs
+max
+grestore
+def
+/graycalcs
+[
+{Angle Frequency}
+{GrayAngle GrayFrequency}
+{0 Width Height matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+{0 GrayWidth GrayHeight matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+] def
+/calcgraysteps {
+forcemaxsteps
+{
+maxsteps
+}
+{
+/currenthalftone defed
+{currenthalftone /dicttype eq}{false}ifelse
+{
+currenthalftone begin
+HalftoneType 4 le
+{graycalcs HalftoneType 1 sub get exec}
+{
+HalftoneType 5 eq
+{
+Default begin
+{graycalcs HalftoneType 1 sub get exec}
+end
+}
+{0 60}
+ifelse
+}
+ifelse
+end
+}
+{
+currentscreen pop exch
+}
+ifelse
+printerRes 300 max exch div exch
+2 copy
+sin mul round dup mul
+3 1 roll
+cos mul round dup mul
+add 1 add
+dup maxsteps gt {pop maxsteps} if
+dup minsteps lt {pop minsteps} if
+}
+ifelse
+} bdf
+/nextrelease defed {
+/languagelevel defed not {
+/framebuffer defed {
+0 40 string framebuffer 9 1 roll 8 {pop} repeat
+dup 516 eq exch 520 eq or
+{
+/fhnumcolors 3 def
+/currentscreen {60 0 {pop pop 1}}bdf
+/calcgraysteps {maxsteps} bdf
+}if
+}if
+}if
+}if
+fhnumcolors 1 ne {
+/calcgraysteps {maxsteps} bdf
+} if
+/currentpagedevice defed {
+currentpagedevice /PreRenderingEnhance known
+{
+currentpagedevice /PreRenderingEnhance get
+{
+/calcgraysteps
+{
+forcemaxsteps
+{maxsteps}
+{256 maxsteps min}
+ifelse
+} def
+} if
+} if
+} if
+/gradfrequency 144 def
+printerRes 1000 lt {
+/gradfrequency 72 def
+} if
+/adjnumsteps {
+dup dtransform abs exch abs max
+printerRes div
+gradfrequency mul
+round
+5 max
+min
+}bdf
+/goodsep {
+spots exch get 4 get dup sepname eq exch (_vc_Registration) eq or
+}bdf
+/BeginGradation defed
+{/bb{BeginGradation}bdf}
+{/bb{}bdf}
+ifelse
+/EndGradation defed
+{/eb{EndGradation}bdf}
+{/eb{}bdf}
+ifelse
+/bottom -0 def
+/delta -0 def
+/frac -0 def
+/height -0 def
+/left -0 def
+/numsteps1 -0 def
+/radius -0 def
+/right -0 def
+/top -0 def
+/width -0 def
+/xt -0 def
+/yt -0 def
+/df currentflat def
+/tempstr 1 string def
+/clipflatness currentflat def
+/inverted?
+0 currenttransfer exec .5 ge def
+/tc1 [0 0 0 1] def
+/tc2 [0 0 0 1] def
+/storerect{/top xdf /right xdf /bottom xdf /left xdf
+/width right left sub def /height top bottom sub def}bdf
+/concatprocs{
+systemdict /packedarray known
+{dup type /packedarraytype eq 2 index type /packedarraytype eq or}{false}ifelse
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+proc1 aload pop proc2 aload pop
+proc1 length proc2 length add packedarray cvx
+}
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+/newproc proc1 length proc2 length add array def
+newproc 0 proc1 putinterval newproc proc1 length proc2 putinterval
+newproc cvx
+}ifelse
+}bdf
+/i{dup 0 eq
+{pop df dup}
+{dup} ifelse
+/clipflatness xdf setflat
+}bdf
+version cvr 38.0 le
+{/setrgbcolor{
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+setrgbcolor}bdf}if
+/vms {/vmsv save def} bdf
+/vmr {vmsv restore} bdf
+/vmrs{vmsv restore /vmsv save def}bdf
+/eomode{
+{/filler /eofill load def /clipper /eoclip load def}
+{/filler /fill load def /clipper /clip load def}
+ifelse
+}bdf
+/normtaper{}bdf
+/logtaper{9 mul 1 add log}bdf
+/CD{
+/NF exch def
+{
+exch dup
+/FID ne 1 index/UniqueID ne and
+{exch NF 3 1 roll put}
+{pop pop}
+ifelse
+}forall
+NF
+}bdf
+/MN{
+1 index length
+/Len exch def
+dup length Len add
+string dup
+Len
+4 -1 roll
+putinterval
+dup
+0
+4 -1 roll
+putinterval
+}bdf
+/RC{4 -1 roll /ourvec xdf 256 string cvs(|______)anchorsearch
+{1 index MN cvn/NewN exch def cvn
+findfont dup maxlength dict CD dup/FontName NewN put dup
+/Encoding ourvec put NewN exch definefont pop}{pop}ifelse}bdf
+/RF{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RC}
+ifelse
+}bdf
+/FF{dup 256 string cvs(|______)exch MN cvn dup FontDirectory exch known
+{exch pop findfont 3 -1 roll pop}
+{pop dup findfont dup maxlength dict CD dup dup
+/Encoding exch /Encoding get 256 array copy 7 -1 roll
+{3 -1 roll dup 4 -2 roll put}forall put definefont}
+ifelse}bdf
+/RCJ{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFJ
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFJ{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCJ}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFJ
+{
+dup
+hasfont
+not
+{
+pop
+/Ryumin-Light-83pv-RKSJ-H
+hasfont
+{
+/Ryumin-Light-83pv-RKSJ-H
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFJ{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFJ
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/GS {
+dup
+hasfont
+{
+findfont
+exch makesetfont
+exch
+pop
+ts
+}
+{
+pop pop pop
+ts
+} ifelse
+} bdf
+/RCK{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFK
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFK{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCK}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFK
+{
+dup
+hasfont
+not
+{
+pop
+/JCsm
+hasfont
+{
+/JCsm
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFK{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFK
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/RCTC{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFTC
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFTC{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCTC}
+ifelse
+}bdf
+/FDFTC
+{
+dup
+hasfont
+not
+{
+pop
+/DFMing-Lt-HK-BF
+hasfont
+{
+/DFMing-Lt-HK-BF
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFTC{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFTC
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/fps{
+currentflat
+exch
+dup 0 le{pop 1}if
+{
+dup setflat 3 index stopped
+{1.3 mul dup 3 index gt{pop setflat pop pop stop}if}
+{exit}
+ifelse
+}loop
+pop setflat pop pop
+}bdf
+/fp{100 currentflat fps}bdf
+/clipper{clip}bdf
+/W{/clipper load 100 clipflatness dup setflat fps}bdf
+
+userdict begin /BDFontDict 29 dict def end
+BDFontDict begin
+/bu{}def
+/bn{}def
+/setTxMode{av 70 ge{pop}if pop}def
+/gm{m}def
+/show{pop}def
+/gr{pop}def
+/fnt{pop pop pop}def
+/fs{pop}def
+/fz{pop}def
+/lin{pop pop}def
+/:M {pop pop} def
+/sf {pop} def
+/S {pop} def
+/@b {pop pop pop pop pop pop pop pop} def
+/_bdsave /save load def
+/_bdrestore /restore load def
+/save { dup /fontsave eq {null} {_bdsave} ifelse } def
+/restore { dup null eq { pop } { _bdrestore } ifelse } def
+/fontsave null def
+end
+/MacVec 256 array def
+MacVec 0 /Helvetica findfont
+/Encoding get 0 128 getinterval putinterval
+MacVec 127 /DEL put MacVec 16#27 /quotesingle put MacVec 16#60 /grave put
+/NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT/FF/CR/SO/SI
+/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US
+MacVec 0 32 getinterval astore pop
+/Adieresis/Aring/Ccedilla/Eacute/Ntilde/Odieresis/Udieresis/aacute
+/agrave/acircumflex/adieresis/atilde/aring/ccedilla/eacute/egrave
+/ecircumflex/edieresis/iacute/igrave/icircumflex/idieresis/ntilde/oacute
+/ograve/ocircumflex/odieresis/otilde/uacute/ugrave/ucircumflex/udieresis
+/dagger/degree/cent/sterling/section/bullet/paragraph/germandbls
+/registered/copyright/trademark/acute/dieresis/notequal/AE/Oslash
+/infinity/plusminus/lessequal/greaterequal/yen/mu/partialdiff/summation
+/product/pi/integral/ordfeminine/ordmasculine/Omega/ae/oslash
+/questiondown/exclamdown/logicalnot/radical/florin/approxequal/Delta/guillemotleft
+/guillemotright/ellipsis/nbspace/Agrave/Atilde/Otilde/OE/oe
+/endash/emdash/quotedblleft/quotedblright/quoteleft/quoteright/divide/lozenge
+/ydieresis/Ydieresis/fraction/currency/guilsinglleft/guilsinglright/fi/fl
+/daggerdbl/periodcentered/quotesinglbase/quotedblbase
+/perthousand/Acircumflex/Ecircumflex/Aacute
+/Edieresis/Egrave/Iacute/Icircumflex/Idieresis/Igrave/Oacute/Ocircumflex
+/apple/Ograve/Uacute/Ucircumflex/Ugrave/dotlessi/circumflex/tilde
+/macron/breve/dotaccent/ring/cedilla/hungarumlaut/ogonek/caron
+MacVec 128 128 getinterval astore pop
+/findheaderfont {
+/Helvetica findfont
+} def
+end %. AltsysDict
+%%EndResource
+%%EndProlog
+
+%%BeginSetup
+
+AltsysDict begin
+_bfh
+
+_efh
+end %. AltsysDict
+
+%%EndSetup
+AltsysDict begin
+
+/onlyk4{false}ndf
+/ccmyk{dup 5 -1 roll sub 0 max exch}ndf
+/cmyk2gray{
+4 -1 roll 0.3 mul 4 -1 roll 0.59 mul 4 -1 roll 0.11 mul
+add add add 1 min neg 1 add
+}bdf
+/setcmykcolor{1 exch sub ccmyk ccmyk ccmyk pop setrgbcolor}ndf
+/maxcolor {
+max max max
+} ndf
+/maxspot {
+pop
+} ndf
+/setcmykcoloroverprint{4{dup -1 eq{pop 0}if 4 1 roll}repeat setcmykcolor}ndf
+/findcmykcustomcolor{5 packedarray}ndf
+/setcustomcolor{exch aload pop pop 4{4 index mul 4 1 roll}repeat setcmykcolor pop}ndf
+/setseparationgray{setgray}ndf
+/setoverprint{pop}ndf
+/currentoverprint false ndf
+/cmykbufs2gray{
+0 1 2 index length 1 sub
+{
+4 index 1 index get 0.3 mul
+4 index 2 index get 0.59 mul
+4 index 3 index get 0.11 mul
+4 index 4 index get
+add add add cvi 255 min
+255 exch sub
+2 index 3 1 roll put
+}for
+4 1 roll pop pop pop
+}bdf
+/colorimage{
+pop pop
+[
+5 -1 roll/exec cvx
+6 -1 roll/exec cvx
+7 -1 roll/exec cvx
+8 -1 roll/exec cvx
+/cmykbufs2gray cvx
+]cvx
+image
+}
+%. version 47.1 on Linotronic of Postscript defines colorimage incorrectly (rgb model only)
+version cvr 47.1 le
+statusdict /product get (Lino) anchorsearch{pop pop true}{pop false}ifelse
+and{userdict begin bdf end}{ndf}ifelse
+fhnumcolors 1 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+ic im iy ik cmyk2gray /xt xdf
+currenttransfer
+{dup 1.0 exch sub xt mul add}concatprocs
+st
+image
+}
+ifelse
+}ndf
+fhnumcolors 1 ne {yt restore} if
+fhnumcolors 3 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+1.0 dup ic ik add min sub
+1.0 dup im ik add min sub
+1.0 dup iy ik add min sub
+/ic xdf /iy xdf /im xdf
+currentcolortransfer
+4 1 roll
+{dup 1.0 exch sub ic mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub iy mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub im mul add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}true 3 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 3 ne {yt restore} if
+fhnumcolors 4 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+currentcolortransfer
+{1.0 exch sub ik mul ik sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub iy mul iy sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub im mul im sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub ic mul ic sub 1 add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}{dummy}
+true 4 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 4 ne {yt restore} if
+/separationimage{image}ndf
+/spotascmyk false ndf
+/newcmykcustomcolor{6 packedarray}ndf
+/inkoverprint false ndf
+/setinkoverprint{pop}ndf
+/setspotcolor {
+spots exch get
+dup 4 get (_vc_Registration) eq
+{pop 1 exch sub setseparationgray}
+{0 5 getinterval exch setcustomcolor}
+ifelse
+}ndf
+/currentcolortransfer{currenttransfer dup dup dup}ndf
+/setcolortransfer{st pop pop pop}ndf
+/fas{}ndf
+/sas{}ndf
+/fhsetspreadsize{pop}ndf
+/filler{fill}bdf
+/F{gsave {filler}fp grestore}bdf
+/f{closepath F}bdf
+/S{gsave {stroke}fp grestore}bdf
+/s{closepath S}bdf
+userdict /islevel2
+systemdict /languagelevel known dup
+{
+pop systemdict /languagelevel get 2 ge
+} if
+put
+islevel2 not
+{
+/currentcmykcolor
+{
+0 0 0 1 currentgray sub
+} ndf
+} if
+/tc
+{
+gsave
+setcmykcolor currentcmykcolor
+grestore
+} bind def
+/testCMYKColorThrough
+{
+tc add add add 0 ne
+} bind def
+/fhiscomposite where not {
+userdict /fhiscomposite
+islevel2
+{
+gsave 1 1 1 1 setcmykcolor currentcmykcolor grestore
+add add add 4 eq
+}
+{
+1 0 0 0 testCMYKColorThrough
+0 1 0 0 testCMYKColorThrough
+0 0 1 0 testCMYKColorThrough
+0 0 0 1 testCMYKColorThrough
+and and and
+} ifelse
+put
+}
+{ pop }
+ifelse
+/bc4 [0 0 0 0] def
+/_lfp4 {
+1 pop
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+taperfcn /frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/bcs [0 0] def
+/_lfs4 {
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 2 lt {pop 2} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 div taperfcn /frac xdf
+bcs 0
+1.0 tint2 tint1 sub frac mul tint1 add sub
+put bcs vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfs6 {
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bcs 0
+tint2 tint1 sub frac mul tint1 add
+put bcs vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfp6 {
+1 pop
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/lfp4{_lfp4}ndf
+/lfs4{_lfs4}ndf
+/rfs6{_rfs6}ndf
+/rfp6{_rfp6}ndf
+/cvc [0 0 0 1] def
+/vc{
+AltsysDict /cvc 2 index put
+aload length dup 4 eq
+{pop dup -1 eq{pop setrgbcolor}{setcmykcolor}ifelse}
+{6 eq {sethexcolor} {setspotcolor} ifelse }
+ifelse
+}bdf
+0 setseparationgray
+/imgr {1692.47 1570.59 2287.75 2412.48 } def
+/bleed 0 def
+/clpr {1692.47 1570.59 2287.75 2412.48 } def
+/xs 1 def
+/ys 1 def
+/botx 0 def
+/overlap 0 def
+/wdist 18 def
+0 2 mul fhsetspreadsize
+0 0 ne {/df 0 def /clipflatness 0 def} if
+/maxsteps 256 def
+/forcemaxsteps false def
+/minsteps 0 def
+
+userdict begin /AGDOrigMtx matrix currentmatrix def end
+vms
+0.15 0.15 scale %JND
+-1845 -2006 translate
+
+/currentpacking defed{false setpacking}if
+/spots[
+
+1 0 0 0 (Process Cyan) false newcmykcustomcolor
+
+0 1 0 0 (Process Magenta) false newcmykcustomcolor
+
+0 0 1 0 (Process Yellow) false newcmykcustomcolor
+
+0 0 0 1 (Process Black) false newcmykcustomcolor
+]def
+n
+[] 0 d
+3.863708 M
+1 w
+0 j
+0 J
+false setoverprint
+0 i
+false eomode
+[0 0 0 1]vc
+vms
+1848.4365 2094.0422 m
+1848.4365 2140.987 1886.4917 2179.0422 1933.4365 2179.0422 C
+1980.3813 2179.0422 2018.4365 2140.987 2018.4365 2094.0422 C
+2018.4365 2047.0974 1980.3813 2009.0422 1933.4365 2009.0422 C
+1886.4917 2009.0422 1848.4365 2047.0974 1848.4365 2094.0422 C
+5.3858 w
+3.863693 M
+s
+n
+true eomode
+1897.6516 2067.1709 m
+1897.6087 2066.5538 L
+1885.3743 2066.1319 L
+1883.1946 2062.4053 L
+1869.9055 2063.9522 L
+1869.9055 2067.1712 L
+1897.6516 2067.1709 L
+h
+1944.0852 2067.1709 m
+1944.0852 2067.0077 1944.0852 2066.8741 1944.0852 2066.7647 C
+1944.1314 2066.5757 1944.1775 2066.4131 1944.2258 2066.2725 C
+1945.0213 2065.0992 1946.0056 2064.2554 1947.179 2063.7413 C
+1948.3963 2063.2249 1950.0134 2062.9678 1952.0305 2062.9678 C
+1956.0142 2062.9678 1959.7627 2063.9522 1963.2805 2065.9209 C
+1964.0204 2066.3353 1964.6824 2066.7527 1965.2665 2067.1732 C
+1971.313 2067.1709 L
+1970.2122 2065.693 1968.5893 2064.3153 1966.4446 2063.0381 C
+1962.0369 2060.4585 1956.8821 2059.1709 1950.9758 2059.1709 C
+1948.6775 2059.1709 1946.7791 2059.5445 1945.2805 2060.2959 C
+1943.7798 2061.0914 1942.5142 2062.357 1941.4837 2064.0928 C
+1941.2486 2064.0928 1940.8728 2064.0928 1940.3587 2064.0928 C
+1937.5462 2063.9039 1935.4829 2063.8116 1934.1712 2063.8116 C
+1929.2954 2063.8116 1925.1228 2064.2796 1921.6555 2065.2178 C
+1919.9787 2065.6936 1918.2362 2066.3443 1916.4282 2067.1704 C
+1944.0852 2067.1709 L
+true setoverprint
+f
+false setoverprint
+n
+1884.4125 2075.1709 m
+1884.4602 2073.585 L
+1893.1087 2073.0225 L
+1893.1087 2075.1712 L
+1910.8456 2075.1709 L
+1910.98 2075.0913 1911.1146 2075.0069 1911.2493 2074.9209 C
+1911.9986 2074.3584 1912.583 2073.9585 1913.0071 2073.7256 C
+1916.804 2071.4756 1920.2954 2069.9288 1923.4837 2069.085 C
+1926.718 2068.2413 1931.0071 2067.8194 1936.3508 2067.8194 C
+1940.3587 2067.8194 L
+1940.7805 2070.7022 L
+1938.9524 2070.8428 1937.522 2071.4053 1936.4915 2072.3897 C
+1935.7726 2073.1422 1935.3163 2074.0693 1935.1223 2075.1726 C
+1940.1696 2075.1709 L
+1940.3293 2074.9768 1940.5095 2074.8018 1940.7102 2074.6397 C
+1941.7407 2073.8421 1943.147 2073.4444 1944.929 2073.4444 C
+1948.4128 2073.4444 1951.8259 2074.0193 1955.1674 2075.169 C
+1963.5704 2075.1709 L
+1962.8877 2074.843 1962.0411 2074.4337 1961.0305 2073.9366 C
+1958.1697 2072.5303 1955.2166 2071.4976 1952.1712 2070.8428 C
+1951.3274 2070.7022 1950.2244 2070.5132 1948.8665 2070.2803 C
+1945.6782 2069.7178 1944.0852 2068.8038 1944.0852 2067.5381 C
+1944.0852 2067.4017 1944.0852 2067.2776 1944.0852 2067.1658 C
+1916.4282 2067.1709 L
+1914.4953 2068.0535 1912.4877 2069.1369 1910.4055 2070.4209 C
+1910.0759 2070.6539 1909.6321 2070.9593 1909.0696 2071.335 C
+1905.9275 2073.5367 1902.9041 2074.6375 1899.9993 2074.6397 C
+1899.9509 2074.6397 1899.6939 2074.6155 1899.2258 2074.5694 C
+1898.7556 2074.521 1898.4041 2074.5452 1898.1712 2074.6397 C
+1897.6516 2067.1709 L
+1869.9055 2067.1709 L
+1869.9055 2075.1714 L
+1884.4125 2075.1709 L
+h
+1972.5022 2075.1709 m
+1972.8687 2074.2606 1973.0523 2073.2652 1973.054 2072.1788 C
+1973.054 2070.3983 1972.4736 2068.7289 1971.313 2067.1709 C
+1965.2666 2067.1709 L
+1967.4581 2068.751 1968.554 2070.3727 1968.554 2072.0381 C
+1968.554 2073.0686 1968.2486 2073.9827 1967.6399 2074.7803 C
+1967.5373 2074.922 1967.4334 2075.0518 1967.3283 2075.1698 C
+1972.5022 2075.1709 L
+true setoverprint
+f
+false setoverprint
+n
+1869.9055 2075.1709 m
+1869.9055 2119.0772 L
+1897.1868 2119.8506 L
+1897.8899 2114.2256 L
+1899.2962 2114.2256 L
+1901.0759 2114.2256 1902.7876 2114.5069 1904.429 2115.0694 C
+1906.1165 2115.678 1908.2478 2116.825 1910.8274 2118.5147 C
+1911.9524 2119.2178 L
+1919.5923 2124.1397 1925.4041 2126.6006 1929.3899 2126.6006 C
+1930.8423 2126.6006 1932.3408 2126.3655 1933.8899 2125.8975 C
+1935.4368 2125.4756 1937.1463 2124.7945 1939.0227 2123.8584 C
+1940.1939 2123.9046 1941.8814 2123.9507 1944.0852 2123.9991 C
+1950.0376 2124.0914 1954.0674 2124.1375 1956.179 2124.1397 C
+1972.7244 2124.1397 1984.583 2123.1311 1991.7571 2121.1163 C
+1998.9751 2119.1475 2002.583 2115.9351 2002.5852 2111.4834 C
+2002.5852 2107.8272 2000.2869 2105.2959 1995.6946 2103.8897 C
+1991.1463 2102.5296 1981.865 2101.8506 1967.8508 2101.8506 C
+1963.5618 2101.8506 L
+1964.6384 2100.8179 1965.4361 2099.8116 1965.9524 2098.8272 C
+1966.4666 2097.8428 1966.7236 2096.8343 1966.7258 2095.8038 C
+1966.7258 2095.3335 1966.6314 2094.7952 1966.4446 2094.1866 C
+1966.2556 2093.6241 1965.9041 2092.8506 1965.3899 2091.8663 C
+1967.1697 2091.1631 1968.5056 2090.1788 1969.3977 2088.9131 C
+1970.2876 2087.6936 1970.7315 2086.1929 1970.7337 2084.4131 C
+1970.7337 2083.521 1970.615 2082.6311 1970.3821 2081.7413 C
+1970.147 2080.8492 1969.7954 2079.9593 1969.3274 2079.0694 C
+1970.5447 2078.2256 1971.4588 2077.2171 1972.0696 2076.0459 C
+1972.2346 2075.7625 1972.3788 2075.4685 1972.5022 2075.1642 C
+1967.3284 2075.1709 L
+1966.8077 2075.7539 1966.2562 2076.0459 1965.6712 2076.0459 C
+1965.5191 2076.0459 1964.8189 2075.7521 1963.5704 2075.1643 C
+1955.1674 2075.1709 L
+1956.5004 2075.6277 1957.8219 2076.1778 1959.1321 2076.8194 C
+1963.7727 2079.1155 1966.093 2081.5523 1966.093 2084.1319 C
+1966.093 2085.303 1965.7173 2086.2632 1964.968 2087.0147 C
+1964.2649 2087.764 1963.3508 2088.1375 1962.2258 2088.1397 C
+1961.7556 2088.1397 1959.0838 2086.9905 1954.2102 2084.6944 C
+1949.3806 2082.396 1944.4368 2080.6624 1939.3743 2079.4913 C
+1939.2798 2079.3023 1939.2337 2079.0914 1939.2337 2078.8584 C
+1939.2337 2078.6695 1939.2337 2078.3663 1939.2337 2077.9444 C
+1939.2337 2076.8248 1939.5456 2075.8974 1940.1695 2075.1644 C
+1935.1224 2075.1709 L
+1935.0507 2075.5803 1935.0149 2076.012 1935.0149 2076.4678 C
+1935.0149 2076.8414 1935.0369 2077.2391 1935.0852 2077.6631 C
+1935.1775 2078.085 1935.294 2078.5992 1935.4368 2079.21 C
+1934.7337 2079.21 L
+1931.9673 2079.21 1929.7876 2080.0296 1928.1946 2081.6709 C
+1926.5994 2083.3101 1925.804 2085.514 1925.804 2088.2803 C
+1925.804 2088.9834 L
+1924.3032 2088.6077 1922.9673 2088.3265 1921.7962 2088.1397 C
+1920.6712 2087.9507 1919.6626 2087.8584 1918.7727 2087.8584 C
+1916.8501 2087.8584 1914.9517 2088.232 1913.0774 2088.9834 C
+1911.2493 2089.7789 1909.2102 2091.0906 1906.9602 2092.9209 C
+1906.8196 2094.6084 L
+1909.1619 2093.7647 1911.2713 2093.1077 1913.1477 2092.6397 C
+1915.022 2092.2178 1916.7556 2092.0069 1918.3508 2092.0069 C
+1920.6931 2092.0069 1922.9431 2092.521 1925.1008 2093.5538 C
+1927.3025 2094.5843 1929.5986 2096.2476 1931.9915 2098.5459 C
+1925.804 2107.7569 L
+1927.0696 2109.4444 L
+1928.4275 2108.3655 1930.2556 2106.7945 1932.554 2104.7334 C
+1938.2251 2099.6226 1942.9361 2097.0694 1946.6868 2097.0694 C
+1948.5149 2097.0694 1950.1782 2097.5132 1951.679 2098.4053 C
+1953.2258 2099.2952 1953.9993 2100.1851 1953.9993 2101.0772 C
+1953.9993 2101.6397 1952.9446 2103.1866 1950.8352 2105.7178 C
+1948.772 2108.2491 1946.1946 2111.0374 1943.1008 2114.085 C
+1939.4446 2117.6006 1936.7244 2119.8023 1934.9446 2120.6944 C
+1933.2088 2121.6304 1931.3103 2122.0984 1929.2493 2122.1006 C
+1925.3579 2122.1006 1920.3657 2120.0374 1914.2727 2115.9131 C
+1913.5696 2115.4913 1913.0532 2115.1617 1912.7258 2114.9288 C
+1909.6321 2112.8194 1907.1228 2111.4131 1905.2024 2110.71 C
+1903.2798 2110.053 1901.2166 2109.7256 1899.0149 2109.7256 C
+1898.0305 2109.7256 L
+1898.0305 2078.6475 L
+1899.8587 2078.6475 L
+1903.4329 2078.6475 1907.0952 2077.4884 1910.8456 2075.1742 C
+1893.1087 2075.1709 L
+1893.1087 2115.7725 L
+1883.1946 2115.6319 L
+1884.4125 2075.171 L
+1869.9055 2075.1709 L
+h
+1957.9368 2101.0772 m
+1957.3259 2098.5459 1956.0603 2096.6695 1954.1399 2095.4522 C
+1952.2634 2094.2327 1949.6399 2093.6241 1946.2649 2093.6241 C
+1945.1861 2093.6241 1943.615 2093.9273 1941.554 2094.5381 C
+1939.5369 2095.1929 1938.0383 2095.5203 1937.054 2095.5225 C
+1935.3665 2095.5225 1933.679 2094.8194 1931.9915 2093.4131 C
+1930.3501 2092.0069 1929.5305 2090.5765 1929.5305 2089.1241 C
+1929.5305 2087.107 1930.0447 2085.5601 1931.0774 2084.4834 C
+1932.1079 2083.4507 1933.6065 2082.9366 1935.5774 2082.9366 C
+1937.5462 2082.9366 1940.1477 2083.4046 1943.3821 2084.3428 C
+1946.6626 2085.3272 1949.9673 2086.5928 1953.2962 2088.1397 C
+1956.3416 2089.5459 1958.5674 2090.8819 1959.9758 2092.1475 C
+1961.3821 2093.4131 1962.0852 2094.6788 1962.0852 2095.9444 C
+1962.0852 2096.8343 1961.7556 2097.678 1961.1008 2098.4756 C
+1960.4439 2099.3194 1959.3892 2100.1851 1957.9368 2101.0772 C
+h
+1943.3821 2119.71 m
+1946.054 2117.1788 1948.3501 2114.8584 1950.2727 2112.7491 C
+1952.2415 2110.6397 1954.0213 2108.5303 1955.6165 2106.4209 C
+1958.5696 2106.1397 1961.2876 2105.9288 1963.7727 2105.7881 C
+1966.304 2105.6475 1968.6243 2105.5772 1970.7337 2105.5772 C
+1980.7642 2105.5772 1987.7471 2106.021 1991.6868 2106.9131 C
+1995.6704 2107.803 1997.6611 2109.3719 1997.6633 2111.6241 C
+1997.6633 2114.4366 1994.2883 2116.5459 1987.5383 2117.9522 C
+1980.8345 2119.4046 1970.8259 2120.1297 1957.5149 2120.1319 C
+1955.4055 2120.1319 1953.1555 2120.0835 1950.7649 2119.9913 C
+1948.4204 2119.9429 1945.9595 2119.8506 1943.3821 2119.71 C
+true setoverprint
+f
+false setoverprint
+n
+vmr
+vmr
+end
+%%Trailer
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/tip.pdf b/docs/xslt/db2latex-xsl/xsl/figures/tip.pdf
new file mode 100644
index 0000000000..54f5dedb5d
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/tip.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/warning.eps b/docs/xslt/db2latex-xsl/xsl/figures/warning.eps
new file mode 100644
index 0000000000..c9473b7272
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/warning.eps
@@ -0,0 +1,1348 @@
+%!PS-Adobe-2.0 EPSF-1.2
+%%Title: Untitled-3
+%%Creator: FreeHand 9.0
+%%CreationDate: 2002/12/05 8:20 PM
+%%BoundingBox: 0 0 29 29
+%%FHPathName:Untitled:FreeHand 9:English:Untitled-3
+%ALDOriginalFile:Untitled:FreeHand 9:English:Untitled-3
+%ALDBoundingBox: -2 -2 29 29
+%%FHPageNum:1
+%%DocumentSuppliedResources: procset Altsys_header 4 0
+%%ColorUsage: Color
+%%DocumentProcessColors: Black
+%%EndComments
+%%BeginResource: procset Altsys_header 4 0
+userdict begin /AltsysDict 300 dict def end
+AltsysDict begin
+/bdf{bind def}bind def
+/xdf{exch def}bdf
+/defed{where{pop true}{false}ifelse}bdf
+/ndf{1 index where{pop pop pop}{dup xcheck{bind}if def}ifelse}bdf
+/d{setdash}bdf
+/h{closepath}bdf
+/H{}bdf
+/J{setlinecap}bdf
+/j{setlinejoin}bdf
+/M{setmiterlimit}bdf
+/n{newpath}bdf
+/N{newpath}bdf
+/q{gsave}bdf
+/Q{grestore}bdf
+/w{setlinewidth}bdf
+/Xic{matrix invertmatrix concat}bdf
+/Xq{matrix currentmatrix mark}bdf
+/XQ{cleartomark setmatrix}bdf
+/sepdef{
+dup where not
+{
+AltsysSepDict
+}
+if
+3 1 roll exch put
+}bdf
+/st{settransfer}bdf
+/colorimage defed /_rci xdf
+/cntr 0 def
+/readbinarystring{
+/cntr 0 def
+2 copy readstring
+{
+{
+dup
+(\034) search
+{
+length exch pop exch
+dup length 0 ne
+{
+dup dup 0 get 32 sub 0 exch put
+/cntr cntr 1 add def
+}
+{
+pop 1 string dup
+0 6 index read pop 32 sub put
+}ifelse
+3 copy
+putinterval pop
+1 add
+1 index length 1 sub
+1 index sub
+dup 0 le {pop pop exit}if
+getinterval
+}
+{
+pop exit
+} ifelse
+} loop
+}if
+cntr 0 gt
+{
+pop 2 copy
+dup length cntr sub cntr getinterval
+readbinarystring
+} if
+pop exch pop
+} bdf
+/_NXLevel2 defed {
+_NXLevel2 not {
+/colorimage where {
+userdict eq {
+/_rci false def
+} if
+} if
+} if
+} if
+/md defed{
+md type /dicttype eq {
+/colorimage where {
+md eq {
+/_rci false def
+}if
+}if
+/settransfer where {
+md eq {
+/st systemdict /settransfer get def
+}if
+}if
+}if
+}if
+/setstrokeadjust defed
+{
+true setstrokeadjust
+/C{curveto}bdf
+/L{lineto}bdf
+/m{moveto}bdf
+}
+{
+/dr{transform .25 sub round .25 add
+exch .25 sub round .25 add exch itransform}bdf
+/C{dr curveto}bdf
+/L{dr lineto}bdf
+/m{dr moveto}bdf
+/setstrokeadjust{pop}bdf
+}ifelse
+/privrectpath {
+4 -2 roll m
+dtransform round exch round exch idtransform
+2 copy 0 lt exch 0 lt xor
+{dup 0 exch rlineto exch 0 rlineto neg 0 exch rlineto}
+{exch dup 0 rlineto exch 0 exch rlineto neg 0 rlineto}
+ifelse
+closepath
+}bdf
+/rectclip{newpath privrectpath clip newpath}def
+/rectfill{gsave newpath privrectpath fill grestore}def
+/rectstroke{gsave newpath privrectpath stroke grestore}def
+/_fonthacksave false def
+/currentpacking defed
+{
+/_bfh {/_fonthacksave currentpacking def false setpacking} bdf
+/_efh {_fonthacksave setpacking} bdf
+}
+{
+/_bfh {} bdf
+/_efh {} bdf
+}ifelse
+/packedarray{array astore readonly}ndf
+/`
+{
+false setoverprint
+/-save0- save def
+5 index concat
+pop
+storerect left bottom width height rectclip
+pop
+/MMdict_count countdictstack def
+/MMop_count count 1 sub def
+userdict begin
+/showpage {} def
+0 setgray 0 setlinecap 1 setlinewidth
+0 setlinejoin 10 setmiterlimit [] 0 setdash newpath
+} bdf
+/currentpacking defed{true setpacking}if
+/min{2 copy gt{exch}if pop}bdf
+/max{2 copy lt{exch}if pop}bdf
+/xformfont { currentfont exch makefont setfont } bdf
+/fhnumcolors 1
+statusdict begin
+/processcolors defed
+{
+pop processcolors
+}
+{
+/deviceinfo defed {
+deviceinfo /Colors known {
+pop deviceinfo /Colors get
+} if
+} if
+} ifelse
+end
+def
+/printerRes
+gsave
+matrix defaultmatrix setmatrix
+72 72 dtransform
+abs exch abs
+max
+grestore
+def
+/graycalcs
+[
+{Angle Frequency}
+{GrayAngle GrayFrequency}
+{0 Width Height matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+{0 GrayWidth GrayHeight matrix defaultmatrix idtransform
+dup mul exch dup mul add sqrt 72 exch div}
+] def
+/calcgraysteps {
+forcemaxsteps
+{
+maxsteps
+}
+{
+/currenthalftone defed
+{currenthalftone /dicttype eq}{false}ifelse
+{
+currenthalftone begin
+HalftoneType 4 le
+{graycalcs HalftoneType 1 sub get exec}
+{
+HalftoneType 5 eq
+{
+Default begin
+{graycalcs HalftoneType 1 sub get exec}
+end
+}
+{0 60}
+ifelse
+}
+ifelse
+end
+}
+{
+currentscreen pop exch
+}
+ifelse
+printerRes 300 max exch div exch
+2 copy
+sin mul round dup mul
+3 1 roll
+cos mul round dup mul
+add 1 add
+dup maxsteps gt {pop maxsteps} if
+dup minsteps lt {pop minsteps} if
+}
+ifelse
+} bdf
+/nextrelease defed {
+/languagelevel defed not {
+/framebuffer defed {
+0 40 string framebuffer 9 1 roll 8 {pop} repeat
+dup 516 eq exch 520 eq or
+{
+/fhnumcolors 3 def
+/currentscreen {60 0 {pop pop 1}}bdf
+/calcgraysteps {maxsteps} bdf
+}if
+}if
+}if
+}if
+fhnumcolors 1 ne {
+/calcgraysteps {maxsteps} bdf
+} if
+/currentpagedevice defed {
+currentpagedevice /PreRenderingEnhance known
+{
+currentpagedevice /PreRenderingEnhance get
+{
+/calcgraysteps
+{
+forcemaxsteps
+{maxsteps}
+{256 maxsteps min}
+ifelse
+} def
+} if
+} if
+} if
+/gradfrequency 144 def
+printerRes 1000 lt {
+/gradfrequency 72 def
+} if
+/adjnumsteps {
+dup dtransform abs exch abs max
+printerRes div
+gradfrequency mul
+round
+5 max
+min
+}bdf
+/goodsep {
+spots exch get 4 get dup sepname eq exch (_vc_Registration) eq or
+}bdf
+/BeginGradation defed
+{/bb{BeginGradation}bdf}
+{/bb{}bdf}
+ifelse
+/EndGradation defed
+{/eb{EndGradation}bdf}
+{/eb{}bdf}
+ifelse
+/bottom -0 def
+/delta -0 def
+/frac -0 def
+/height -0 def
+/left -0 def
+/numsteps1 -0 def
+/radius -0 def
+/right -0 def
+/top -0 def
+/width -0 def
+/xt -0 def
+/yt -0 def
+/df currentflat def
+/tempstr 1 string def
+/clipflatness currentflat def
+/inverted?
+0 currenttransfer exec .5 ge def
+/tc1 [0 0 0 1] def
+/tc2 [0 0 0 1] def
+/storerect{/top xdf /right xdf /bottom xdf /left xdf
+/width right left sub def /height top bottom sub def}bdf
+/concatprocs{
+systemdict /packedarray known
+{dup type /packedarraytype eq 2 index type /packedarraytype eq or}{false}ifelse
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+proc1 aload pop proc2 aload pop
+proc1 length proc2 length add packedarray cvx
+}
+{
+/proc2 exch cvlit def /proc1 exch cvlit def
+/newproc proc1 length proc2 length add array def
+newproc 0 proc1 putinterval newproc proc1 length proc2 putinterval
+newproc cvx
+}ifelse
+}bdf
+/i{dup 0 eq
+{pop df dup}
+{dup} ifelse
+/clipflatness xdf setflat
+}bdf
+version cvr 38.0 le
+{/setrgbcolor{
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+currenttransfer exec 3 1 roll
+setrgbcolor}bdf}if
+/vms {/vmsv save def} bdf
+/vmr {vmsv restore} bdf
+/vmrs{vmsv restore /vmsv save def}bdf
+/eomode{
+{/filler /eofill load def /clipper /eoclip load def}
+{/filler /fill load def /clipper /clip load def}
+ifelse
+}bdf
+/normtaper{}bdf
+/logtaper{9 mul 1 add log}bdf
+/CD{
+/NF exch def
+{
+exch dup
+/FID ne 1 index/UniqueID ne and
+{exch NF 3 1 roll put}
+{pop pop}
+ifelse
+}forall
+NF
+}bdf
+/MN{
+1 index length
+/Len exch def
+dup length Len add
+string dup
+Len
+4 -1 roll
+putinterval
+dup
+0
+4 -1 roll
+putinterval
+}bdf
+/RC{4 -1 roll /ourvec xdf 256 string cvs(|______)anchorsearch
+{1 index MN cvn/NewN exch def cvn
+findfont dup maxlength dict CD dup/FontName NewN put dup
+/Encoding ourvec put NewN exch definefont pop}{pop}ifelse}bdf
+/RF{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RC}
+ifelse
+}bdf
+/FF{dup 256 string cvs(|______)exch MN cvn dup FontDirectory exch known
+{exch pop findfont 3 -1 roll pop}
+{pop dup findfont dup maxlength dict CD dup dup
+/Encoding exch /Encoding get 256 array copy 7 -1 roll
+{3 -1 roll dup 4 -2 roll put}forall put definefont}
+ifelse}bdf
+/RCJ{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFJ
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFJ{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCJ}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFJ
+{
+dup
+hasfont
+not
+{
+pop
+/Ryumin-Light-83pv-RKSJ-H
+hasfont
+{
+/Ryumin-Light-83pv-RKSJ-H
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFJ{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFJ
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/GS {
+dup
+hasfont
+{
+findfont
+exch makesetfont
+exch
+pop
+ts
+}
+{
+pop pop pop
+ts
+} ifelse
+} bdf
+/RCK{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFK
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFK{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCK}
+ifelse
+}bdf
+/hasfont
+{
+/resourcestatus where
+{
+pop
+/Font resourcestatus
+{
+pop pop true
+}
+{
+false
+}
+ifelse
+}
+{
+dup FontDirectory exch known
+{pop true}
+{
+256 string
+cvs
+(fonts/) exch MN
+status
+{pop pop pop pop true}
+{false}
+ifelse
+}
+ifelse
+}
+ifelse
+}bdf
+/FDFK
+{
+dup
+hasfont
+not
+{
+pop
+/JCsm
+hasfont
+{
+/JCsm
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFK{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFK
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/RCTC{4 -1 roll
+/ourvec xdf
+256 string cvs
+(|______) anchorsearch
+{pop
+cvn
+dup FDFTC
+exch
+1 index
+eq
+{
+_bfh findfont _efh
+dup
+maxlength dict
+CD
+dup
+/FontName
+3 index
+put
+dup
+/Encoding ourvec put
+1 index
+exch
+definefont
+pop
+}
+{exch pop}
+ifelse
+}
+{pop}
+ifelse
+}bdf
+/RFTC{
+dup
+FontDirectory exch
+known
+{pop 3 -1 roll pop}
+{RCTC}
+ifelse
+}bdf
+/FDFTC
+{
+dup
+hasfont
+not
+{
+pop
+/DFMing-Lt-HK-BF
+hasfont
+{
+/DFMing-Lt-HK-BF
+}
+{
+/Courier
+}
+ifelse
+}
+if
+}bdf
+/FFTC{
+_bfh
+dup
+256 string cvs
+(|______)exch MN
+cvn
+dup
+FontDirectory
+exch known
+{
+exch
+pop
+findfont
+3 -1 roll
+pop
+}
+{
+pop
+FDFTC
+dup findfont
+dup maxlength dict
+CD
+dup dup
+/Encoding exch
+/Encoding get
+256 array copy
+7 -1 roll
+{
+3 -1 roll
+dup
+4 -2 roll
+put
+}forall
+put
+definefont
+}
+ifelse
+_efh
+}bdf
+/fps{
+currentflat
+exch
+dup 0 le{pop 1}if
+{
+dup setflat 3 index stopped
+{1.3 mul dup 3 index gt{pop setflat pop pop stop}if}
+{exit}
+ifelse
+}loop
+pop setflat pop pop
+}bdf
+/fp{100 currentflat fps}bdf
+/clipper{clip}bdf
+/W{/clipper load 100 clipflatness dup setflat fps}bdf
+
+userdict begin /BDFontDict 29 dict def end
+BDFontDict begin
+/bu{}def
+/bn{}def
+/setTxMode{av 70 ge{pop}if pop}def
+/gm{m}def
+/show{pop}def
+/gr{pop}def
+/fnt{pop pop pop}def
+/fs{pop}def
+/fz{pop}def
+/lin{pop pop}def
+/:M {pop pop} def
+/sf {pop} def
+/S {pop} def
+/@b {pop pop pop pop pop pop pop pop} def
+/_bdsave /save load def
+/_bdrestore /restore load def
+/save { dup /fontsave eq {null} {_bdsave} ifelse } def
+/restore { dup null eq { pop } { _bdrestore } ifelse } def
+/fontsave null def
+end
+/MacVec 256 array def
+MacVec 0 /Helvetica findfont
+/Encoding get 0 128 getinterval putinterval
+MacVec 127 /DEL put MacVec 16#27 /quotesingle put MacVec 16#60 /grave put
+/NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT/FF/CR/SO/SI
+/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US
+MacVec 0 32 getinterval astore pop
+/Adieresis/Aring/Ccedilla/Eacute/Ntilde/Odieresis/Udieresis/aacute
+/agrave/acircumflex/adieresis/atilde/aring/ccedilla/eacute/egrave
+/ecircumflex/edieresis/iacute/igrave/icircumflex/idieresis/ntilde/oacute
+/ograve/ocircumflex/odieresis/otilde/uacute/ugrave/ucircumflex/udieresis
+/dagger/degree/cent/sterling/section/bullet/paragraph/germandbls
+/registered/copyright/trademark/acute/dieresis/notequal/AE/Oslash
+/infinity/plusminus/lessequal/greaterequal/yen/mu/partialdiff/summation
+/product/pi/integral/ordfeminine/ordmasculine/Omega/ae/oslash
+/questiondown/exclamdown/logicalnot/radical/florin/approxequal/Delta/guillemotleft
+/guillemotright/ellipsis/nbspace/Agrave/Atilde/Otilde/OE/oe
+/endash/emdash/quotedblleft/quotedblright/quoteleft/quoteright/divide/lozenge
+/ydieresis/Ydieresis/fraction/currency/guilsinglleft/guilsinglright/fi/fl
+/daggerdbl/periodcentered/quotesinglbase/quotedblbase
+/perthousand/Acircumflex/Ecircumflex/Aacute
+/Edieresis/Egrave/Iacute/Icircumflex/Idieresis/Igrave/Oacute/Ocircumflex
+/apple/Ograve/Uacute/Ucircumflex/Ugrave/dotlessi/circumflex/tilde
+/macron/breve/dotaccent/ring/cedilla/hungarumlaut/ogonek/caron
+MacVec 128 128 getinterval astore pop
+/findheaderfont {
+/Helvetica findfont
+} def
+end %. AltsysDict
+%%EndResource
+%%EndProlog
+
+%%BeginSetup
+
+AltsysDict begin
+_bfh
+
+_efh
+end %. AltsysDict
+
+%%EndSetup
+AltsysDict begin
+
+/onlyk4{false}ndf
+/ccmyk{dup 5 -1 roll sub 0 max exch}ndf
+/cmyk2gray{
+4 -1 roll 0.3 mul 4 -1 roll 0.59 mul 4 -1 roll 0.11 mul
+add add add 1 min neg 1 add
+}bdf
+/setcmykcolor{1 exch sub ccmyk ccmyk ccmyk pop setrgbcolor}ndf
+/maxcolor {
+max max max
+} ndf
+/maxspot {
+pop
+} ndf
+/setcmykcoloroverprint{4{dup -1 eq{pop 0}if 4 1 roll}repeat setcmykcolor}ndf
+/findcmykcustomcolor{5 packedarray}ndf
+/setcustomcolor{exch aload pop pop 4{4 index mul 4 1 roll}repeat setcmykcolor pop}ndf
+/setseparationgray{setgray}ndf
+/setoverprint{pop}ndf
+/currentoverprint false ndf
+/cmykbufs2gray{
+0 1 2 index length 1 sub
+{
+4 index 1 index get 0.3 mul
+4 index 2 index get 0.59 mul
+4 index 3 index get 0.11 mul
+4 index 4 index get
+add add add cvi 255 min
+255 exch sub
+2 index 3 1 roll put
+}for
+4 1 roll pop pop pop
+}bdf
+/colorimage{
+pop pop
+[
+5 -1 roll/exec cvx
+6 -1 roll/exec cvx
+7 -1 roll/exec cvx
+8 -1 roll/exec cvx
+/cmykbufs2gray cvx
+]cvx
+image
+}
+%. version 47.1 on Linotronic of Postscript defines colorimage incorrectly (rgb model only)
+version cvr 47.1 le
+statusdict /product get (Lino) anchorsearch{pop pop true}{pop false}ifelse
+and{userdict begin bdf end}{ndf}ifelse
+fhnumcolors 1 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+ic im iy ik cmyk2gray /xt xdf
+currenttransfer
+{dup 1.0 exch sub xt mul add}concatprocs
+st
+image
+}
+ifelse
+}ndf
+fhnumcolors 1 ne {yt restore} if
+fhnumcolors 3 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+1.0 dup ic ik add min sub
+1.0 dup im ik add min sub
+1.0 dup iy ik add min sub
+/ic xdf /iy xdf /im xdf
+currentcolortransfer
+4 1 roll
+{dup 1.0 exch sub ic mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub iy mul add}concatprocs 4 1 roll
+{dup 1.0 exch sub im mul add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}true 3 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 3 ne {yt restore} if
+fhnumcolors 4 ne {/yt save def} if
+/customcolorimage{
+aload pop
+(_vc_Registration) eq
+{
+pop pop pop pop separationimage
+}
+{
+/ik xdf /iy xdf /im xdf /ic xdf
+currentcolortransfer
+{1.0 exch sub ik mul ik sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub iy mul iy sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub im mul im sub 1 add}concatprocs 4 1 roll
+{1.0 exch sub ic mul ic sub 1 add}concatprocs 4 1 roll
+setcolortransfer
+{/dummy xdf dummy}concatprocs{dummy}{dummy}{dummy}
+true 4 colorimage
+}
+ifelse
+}ndf
+fhnumcolors 4 ne {yt restore} if
+/separationimage{image}ndf
+/spotascmyk false ndf
+/newcmykcustomcolor{6 packedarray}ndf
+/inkoverprint false ndf
+/setinkoverprint{pop}ndf
+/setspotcolor {
+spots exch get
+dup 4 get (_vc_Registration) eq
+{pop 1 exch sub setseparationgray}
+{0 5 getinterval exch setcustomcolor}
+ifelse
+}ndf
+/currentcolortransfer{currenttransfer dup dup dup}ndf
+/setcolortransfer{st pop pop pop}ndf
+/fas{}ndf
+/sas{}ndf
+/fhsetspreadsize{pop}ndf
+/filler{fill}bdf
+/F{gsave {filler}fp grestore}bdf
+/f{closepath F}bdf
+/S{gsave {stroke}fp grestore}bdf
+/s{closepath S}bdf
+userdict /islevel2
+systemdict /languagelevel known dup
+{
+pop systemdict /languagelevel get 2 ge
+} if
+put
+islevel2 not
+{
+/currentcmykcolor
+{
+0 0 0 1 currentgray sub
+} ndf
+} if
+/tc
+{
+gsave
+setcmykcolor currentcmykcolor
+grestore
+} bind def
+/testCMYKColorThrough
+{
+tc add add add 0 ne
+} bind def
+/fhiscomposite where not {
+userdict /fhiscomposite
+islevel2
+{
+gsave 1 1 1 1 setcmykcolor currentcmykcolor grestore
+add add add 4 eq
+}
+{
+1 0 0 0 testCMYKColorThrough
+0 1 0 0 testCMYKColorThrough
+0 0 1 0 testCMYKColorThrough
+0 0 0 1 testCMYKColorThrough
+and and and
+} ifelse
+put
+}
+{ pop }
+ifelse
+/bc4 [0 0 0 0] def
+/_lfp4 {
+1 pop
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+taperfcn /frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/bcs [0 0] def
+/_lfs4 {
+/yt xdf
+/xt xdf
+/ang xdf
+storerect
+/taperfcn xdf
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+height abs adjnumsteps
+dup 2 lt {pop 2} if
+1 sub /numsteps1 xdf
+currentflat mark
+currentflat clipflatness
+/delta top bottom sub numsteps1 1 add div def
+/right right left sub def
+/botsv top delta sub def
+{
+{
+W
+xt yt translate
+ang rotate
+xt neg yt neg translate
+dup setflat
+/bottom botsv def
+0 1 numsteps1
+{
+numsteps1 div taperfcn /frac xdf
+bcs 0
+1.0 tint2 tint1 sub frac mul tint1 add sub
+put bcs vc
+1 index setflat
+{
+mark {newpath left bottom right delta rectfill}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+/bottom bottom delta sub def
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfs6 {
+/tint2 xdf
+/tint1 xdf
+bcs exch 1 exch put
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+tint1 tint2 sub abs
+bcs 1 get maxspot
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bcs 0
+tint2 tint1 sub frac mul tint1 add
+put bcs vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/_rfp6 {
+1 pop
+/k2 xdf /y2 xdf /m2 xdf /c2 xdf
+/k1 xdf /y1 xdf /m1 xdf /c1 xdf
+/inrad xdf
+/radius xdf
+/yt xdf
+/xt xdf
+c1 c2 sub abs
+m1 m2 sub abs
+y1 y2 sub abs
+k1 k2 sub abs
+maxcolor
+calcgraysteps mul abs round
+radius inrad sub abs
+adjnumsteps
+dup 1 lt {pop 1} if
+1 sub /numsteps1 xdf
+radius inrad sub numsteps1 dup 0 eq {pop} {div} ifelse
+2 div /halfstep xdf
+currentflat mark
+currentflat clipflatness
+{
+{
+dup setflat
+W
+0 1 numsteps1
+{
+dup /radindex xdf
+numsteps1 dup 0 eq {pop pop 0.5} {div} ifelse
+/frac xdf
+bc4 0 c2 c1 sub frac mul c1 add put
+bc4 1 m2 m1 sub frac mul m1 add put
+bc4 2 y2 y1 sub frac mul y1 add put
+bc4 3 k2 k1 sub frac mul k1 add put
+bc4 vc
+1 index setflat
+{
+newpath mark
+xt yt radius inrad sub 1 frac sub mul halfstep add inrad add 0 360
+{ arc
+radindex numsteps1 ne
+inrad 0 gt or
+{
+xt yt
+numsteps1 0 eq
+{ inrad }
+{
+radindex 1 add numsteps1 div 1 exch sub
+radius inrad sub mul halfstep add inrad add
+}ifelse
+dup xt add yt moveto
+360 0 arcn
+} if
+fill
+}stopped
+{cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
+{cleartomark exit}ifelse
+}loop
+}for
+}
+gsave stopped grestore
+{exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
+{exit}ifelse
+}loop
+cleartomark setflat
+}bdf
+/lfp4{_lfp4}ndf
+/lfs4{_lfs4}ndf
+/rfs6{_rfs6}ndf
+/rfp6{_rfp6}ndf
+/cvc [0 0 0 1] def
+/vc{
+AltsysDict /cvc 2 index put
+aload length dup 4 eq
+{pop dup -1 eq{pop setrgbcolor}{setcmykcolor}ifelse}
+{6 eq {sethexcolor} {setspotcolor} ifelse }
+ifelse
+}bdf
+0 setseparationgray
+/imgr {1692.47 1570.59 1723.65 1601.77 } def
+/bleed 0 def
+/clpr {1692.47 1570.59 1723.65 1601.77 } def
+/xs 1 def
+/ys 1 def
+/botx 0 def
+/overlap 0 def
+/wdist 18 def
+0 2 mul fhsetspreadsize
+0 0 ne {/df 0 def /clipflatness 0 def} if
+/maxsteps 256 def
+/forcemaxsteps false def
+/minsteps 0 def
+
+userdict begin /AGDOrigMtx matrix currentmatrix def end
+vms
+-1694 -1572 translate
+
+/currentpacking defed{false setpacking}if
+/spots[
+
+1 0 0 0 (Process Cyan) false newcmykcustomcolor
+
+0 1 0 0 (Process Magenta) false newcmykcustomcolor
+
+0 0 1 0 (Process Yellow) false newcmykcustomcolor
+
+0 0 0 1 (Process Black) false newcmykcustomcolor
+]def
+n
+[] 0 d
+3.863708 M
+1 w
+0 j
+0 J
+false setoverprint
+0 i
+false eomode
+[0 0 0 1]vc
+vms
+q
+[1 0 0 1 -249.981674 -586.867554] concat
+vms
+1946.9506 2177.5114 m
+1954.4907 2185.0516 L
+1956.7047 2187.2656 1960.2943 2187.2656 1962.5083 2185.0516 C
+1970.0485 2177.5114 L
+1972.2625 2175.2974 1972.2625 2171.7078 1970.0485 2169.4938 C
+1962.5083 2161.9537 L
+1960.2943 2159.7396 1956.7047 2159.7396 1954.4907 2161.9537 C
+1946.9506 2169.4938 L
+1944.7365 2171.7078 1944.7365 2175.2974 1946.9506 2177.5114 C
+s
+n
+true eomode
+1958.5469 2181.0039 m
+1959.2148 2181.0039 1959.7012 2180.9296 1960.0059 2180.7813 C
+1960.3142 2180.6326 1960.4684 2180.363 1960.4688 2179.9727 C
+1960.4688 2179.7383 1960.3398 2178.8026 1960.082 2177.166 C
+1959.0742 2170.4219 L
+1958.9373 2170.3241 1958.7615 2170.2754 1958.5469 2170.2754 C
+1958.3319 2170.2754 1958.1561 2170.3241 1958.0195 2170.4219 C
+1957.0117 2177.166 L
+1956.7539 2178.8026 1956.625 2179.7379 1956.625 2179.9727 C
+1956.625 2180.363 1956.7792 2180.6326 1957.0879 2180.7813 C
+1957.4003 2180.9296 1957.8866 2181.0035 1958.5469 2181.0039 C
+h
+1958.5469 2165.166 m
+1958.0389 2165.166 1957.5878 2165.3499 1957.1934 2165.7168 C
+1956.7986 2166.0837 1956.6016 2166.5485 1956.6016 2167.1113 C
+1956.6016 2167.6698 1956.7891 2168.1404 1957.1641 2168.5234 C
+1957.5427 2168.9102 1958.0038 2169.1035 1958.5469 2169.1035 C
+1959.1094 2169.1035 1959.5741 2168.9043 1959.9414 2168.5059 C
+1960.3083 2168.1074 1960.4918 2167.6423 1960.4922 2167.1113 C
+1960.4922 2166.748 1960.4102 2166.4177 1960.2461 2166.1211 C
+1960.082 2165.8241 1959.8513 2165.5916 1959.5547 2165.4238 C
+1959.2577 2165.2521 1958.9219 2165.1664 1958.5469 2165.166 C
+true setoverprint
+f
+false setoverprint
+n
+vmr
+Q
+false eomode
+vmr
+vmr
+end
+%%Trailer
diff --git a/docs/xslt/db2latex-xsl/xsl/figures/warning.pdf b/docs/xslt/db2latex-xsl/xsl/figures/warning.pdf
new file mode 100644
index 0000000000..a0afabfa23
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/figures/warning.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/footnote.mod.xsl b/docs/xslt/db2latex-xsl/xsl/footnote.mod.xsl
new file mode 100644
index 0000000000..ed3d927ec8
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/footnote.mod.xsl
@@ -0,0 +1,174 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: footnote.mod.xsl,v 1.10 2004/01/02 06:45:25 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="footnote" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: footnote.mod.xsl,v 1.10 2004/01/02 06:45:25 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.10">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Footnotes <filename>footnote.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>footnote</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Format a footnote.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Applies templates within a &LaTeX; <function
+ condition="latex">footnote</function> command. Note that this
+ may not work within some tables. Also, <doc:db
+ basename="indexterm">indexterms</doc:db> may fail.
+ </para>
+ &essential_preamble;
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_links;
+ &test_tables;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="footnote">
+ <xsl:call-template name="label.id"/>
+ <xsl:text>\begingroup\catcode`\#=12\footnote{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}\endgroup\docbooktolatexmakefootnoteref{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Essential preamble for <filename>footnote.mod.xsl</filename> support </refpurpose>
+ <doc:description>
+ <para>
+
+ Defines <function
+ condition="latex">docbooktolatexusefootnoteref</function> and
+ <function
+ condition="latex">docbooktolatexmakefootnoteref</function>.
+ These functions help to integrate
+ <doc:db>footnote</doc:db>/@<sgmltag
+ class="attribute">id</sgmltag> cross-references with &LaTeX;.
+
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&preamble;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="latex.preamble.essential.footnote">
+ <xsl:text>
+ <![CDATA[
+% --------------------------------------------
+% A way to honour <footnoteref>s
+% Blame j-devenish (at) users.sourceforge.net
+% In any other LaTeX context, this would probably go into a style file.
+\newcommand{\docbooktolatexusefootnoteref}[1]{\@ifundefined{@fn@label@#1}%
+ {\hbox{\@textsuperscript{\normalfont ?}}%
+ \@latex@warning{Footnote label `#1' was not defined}}%
+ {\@nameuse{@fn@label@#1}}}
+\newcommand{\docbooktolatexmakefootnoteref}[1]{%
+ \protected@write\@auxout{}%
+ {\global\string\@namedef{@fn@label@#1}{\@makefnmark}}%
+ \@namedef{@fn@label@#1}{\hbox{\@textsuperscript{\normalfont ?}}}%
+ }
+]]>
+ </xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>ulink</doc:db> elements within <doc:db>footnote</doc:db>s</refpurpose>
+ <doc:description>
+ <para>
+ Format a <doc:db>ulink</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Footnotes are <quote>tricky</quote> and require special handling for
+ a number of link-type commands.
+ </para>
+ <para>This template exists in this file so that all
+ the footnote-generating templates are close to each other. However,
+ it is actually a part of the <literal>ulink</literal> template in <filename>xref.mod.xsl</filename></para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="generate.ulink.in.footnote">
+ <xsl:param name="hyphenation"/>
+ <xsl:param name="url"/>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>\begingroup\catcode`\#=12\footnote{</xsl:text>
+ <xsl:call-template name="generate.typeset.url">
+ <xsl:with-param name="hyphenation" select="$hyphenation"/>
+ <xsl:with-param name="url" select="$url"/>
+ </xsl:call-template>
+ <xsl:text>}\endgroup\docbooktolatexmakefootnoteref{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>footnote</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Make a link to a <doc:db>footnote</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ &essential_preamble;
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="footnoteref">
+ <xsl:variable name="footnote" select="key('id',@linkend)"/>
+ <xsl:text>\docbooktolatexusefootnoteref{</xsl:text>
+ <xsl:value-of select="@linkend"/>
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/formal.mod.xsl b/docs/xslt/db2latex-xsl/xsl/formal.mod.xsl
new file mode 100644
index 0000000000..f49bd9a85a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/formal.mod.xsl
@@ -0,0 +1,344 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: formal.mod.xsl,v 1.13 2004/01/03 09:48:34 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="formal" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: formal.mod.xsl,v 1.13 2004/01/03 09:48:34 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.10">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Formal Objects <filename>formal.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>formal.mod.xsl</filename> contains generic
+ XSL templates for <quote>formal</quote> (title-bearing, block-style)
+ components and <quote>informal</quote> (no-title, block-style)
+ components.
+ It also contains templates for <doc:db>equation</doc:db>
+ and <doc:db>informalequation</doc:db> (which should probably
+ be moved to <filename>block.mod.xsl</filename>).</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose> Typeset a formal object generically </refpurpose>
+ <doc:description>
+ <para>
+ This template formats the current node as a formal object
+ by calling <xref linkend="template.formal.object.title"/>
+ then <xref linkend="template.content-templates"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.formal.object.title"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="formal.object">
+ <xsl:call-template name="formal.object.title"/>
+ <xsl:call-template name="content-templates"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Typeset the title of a formal object generically </refpurpose>
+ <doc:description>
+ <para>
+
+ Outputs an anchor for cross-references and hyper-links, then
+ applies templates in the <literal>title.content</literal> mode
+ (supported by <filename>common/common.xsl</filename>)
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template name="formal.object.title">
+ <xsl:param name="title">
+ <xsl:apply-templates select="." mode="title.content"/>
+ </xsl:param>
+ <xsl:call-template name="label.id"/>
+ <xsl:copy-of select="$title"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Typeset an informal object generically </refpurpose>
+ <doc:description>
+ <para>
+
+ Outputs an anchor for cross-references and hyper-links, then
+ applies all templates.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template name="informal.object">
+ <xsl:call-template name="label.id"/>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Typeset formal or informal object generically </refpurpose>
+ <doc:description>
+ <para>
+
+ Chooses whether the current node is a <quote>formal</quote>-
+ or <quote>informal</quote>-like object and calls either
+ <xref linkend="template.formal.object"/> or
+ <xref linkend="template.informal.object"/>.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template name="semiformal.object">
+ <xsl:choose>
+ <xsl:when test="title"><xsl:call-template name="formal.object"/></xsl:when>
+ <xsl:otherwise><xsl:call-template name="informal.object"/></xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Determine the relative position for a <doc:db>caption</doc:db> </refpurpose>
+ <doc:description>
+ <para>
+ Chooses the position of a caption to be <quote>before</quote>
+ or <quote>after</quote> the selected object.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.formal.title.placement"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>object</term>
+ <listitem>
+ <para>
+
+ The type of object (i.e. name of the element) to which the caption pertains.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ If <quote>after</quote> has not been specified for the given
+ object in <xref linkend="param.formal.title.placement"/>,
+ <quote>before</quote> will be used by default.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="generate.formal.title.placement">
+ <xsl:param name="object" select="figure" />
+ <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement),concat($object, ' '))"/>
+ <xsl:choose>
+ <xsl:when test="contains($param.placement, ' ')">
+ <xsl:value-of select="substring-before($param.placement, ' ')"/>
+ </xsl:when>
+ <xsl:when test="$param.placement = ''">before</xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$param.placement"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <!-- ======================================== -->
+ <!-- XSL Template for DocBook Equation Element -->
+ <!-- 2003/07/04 Applied patches from J.Pavlovic -->
+ <!-- ======================================== -->
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>equation</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats an titled, block-style equation.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.equation.caption.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.alt.is.preferred"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ If an <doc:db>informalequation</doc:db> is present, it will be
+ typeset in preference to any other elements. Otherwise, this
+ template will follow the same logic as the <xref
+ linkend="template.informalequation"/> template.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.generate.formal.title.placement"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="equation">
+ <!-- Equation title placement -->
+ <xsl:variable name="placement">
+ <xsl:call-template name="generate.formal.title.placement">
+ <xsl:with-param name="object" select="local-name(.)" />
+ </xsl:call-template>
+ </xsl:variable>
+ <!-- Equation caption -->
+ <xsl:variable name="caption">
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$latex.equation.caption.style"/>
+ <xsl:text>{\caption{</xsl:text>
+ <xsl:apply-templates select="title" mode="caption.mode"/>
+ <xsl:text>}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>}}&#10;</xsl:text>
+ </xsl:variable>
+ <xsl:call-template name="map.begin"/>
+ <xsl:if test="$placement='before'">
+ <xsl:text>\captionswapskip{}</xsl:text>
+ <xsl:value-of select="$caption" />
+ <xsl:text>\captionswapskip{}</xsl:text>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="informalequation">
+ <xsl:apply-templates select="informalequation"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="tex" select="alt[@role='tex' or @role='latex']|mediaobject/textobject[@role='tex' or @role='latex']|mediaobject/textobject/phrase[@role='tex' or @role='latex']"/>
+ <xsl:choose>
+ <xsl:when test="$tex">
+ <xsl:apply-templates select="$tex"/>
+ </xsl:when>
+ <xsl:when test="alt and $latex.alt.is.preferred='1'">
+ <xsl:apply-templates select="alt"/>
+ </xsl:when>
+ <xsl:when test="mediaobject">
+ <xsl:apply-templates select="mediaobject"/>
+ </xsl:when>
+ <xsl:when test="alt">
+ <xsl:apply-templates select="alt"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="graphic"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$placement!='before'"><xsl:value-of select="$caption" /></xsl:if>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>informalequation</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats an untitled, block-style equation.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.alt.is.preferred"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ The <quote>equation</quote> will be found by searching the
+ <sgmltag>informalequation</sgmltag> for its <quote>most
+ appropriate</quote> child elements. Firstly, this template will
+ search for all <doc:db>alt</doc:db>, <doc:db
+ basename="textobject">mediaobject/textobject</doc:db> or
+ <doc:db
+ basename="phrase">mediaobject/textobject/phrase</doc:db>
+ children that have a &roleattr; of <quote>latex</quote> or
+ <quote>tex</quote>. If none were found, the template will
+ search for generic <doc:db>mediaobject</doc:db> or
+ <doc:db>alt</doc:db> children. If <xref
+ linkend="param.latex.alt.is.preferred"/> is set, <sgmltag
+ basename="alt">alts</sgmltag> will be preferred over <sgmltag
+ basename="mediaobject">mediaobjects</sgmltag>. If none of these
+ elements was found, the template will format any
+ <doc:db>graphic</doc:db> children.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ <!--
+ &test_pavlov;
+ -->
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="informalequation">
+ <xsl:variable name="tex" select="alt[@role='tex' or @role='latex']|mediaobject/textobject[@role='tex' or @role='latex']|mediaobject/textobject/phrase[@role='tex' or @role='latex']"/>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$tex">
+ <xsl:apply-templates select="$tex"/>
+ </xsl:when>
+ <xsl:when test="alt and $latex.alt.is.preferred='1'">
+ <xsl:apply-templates select="alt"/>
+ </xsl:when>
+ <xsl:when test="mediaobject">
+ <xsl:apply-templates select="mediaobject"/>
+ </xsl:when>
+ <xsl:when test="alt">
+ <xsl:apply-templates select="alt"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="graphic"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>&#10;&#10;</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/glossary.mod.xsl b/docs/xslt/db2latex-xsl/xsl/glossary.mod.xsl
new file mode 100644
index 0000000000..926dd6bdbb
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/glossary.mod.xsl
@@ -0,0 +1,392 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: glossary.mod.xsl,v 1.16 2004/01/26 08:58:10 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="glossary" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: glossary.mod.xsl,v 1.16 2004/01/26 08:58:10 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.12">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Glossaries <filename>glossary.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ Although &LaTeX; provides some glossary support, the better glossary
+ management support motivates the bypass of the &LaTeX;
+ <function condition="latex">makeglossary</function> command.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>glossary</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ The <doc:db>glossary</doc:db> element is the entry point to a
+ &DocBook; glossary. The &DB2LaTeX; processing of the element is
+ quite straight- forward. First thing is to check whether the
+ document is a <doc:db>book</doc:db> or <doc:db>article</doc:db>. In
+ both cases, two new &LaTeX; commands are defined: <function
+ condition="latex">dbglossary</function> and <function
+ condition="latex">dbglossdiv</function>. In the former case, they
+ are mapped to <function condition="latex">chapter*</function> and
+ <function condition="latex">section*</function>. In the second case
+ to <function condition="latex">section*</function> and <function
+ condition="latex">subsection*</function>. The <function
+ condition="env">description</function> environment is used for
+ <doc:db basename="glossentry">glossentries</doc:db>.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <itemizedlist>
+ <listitem><para>Call template map.begin.</para></listitem>
+ <listitem><para>Apply Templates for Preamble, GlossDivs and GlossEntries (serial).</para></listitem>
+ <listitem><para>Call template map.end.</para></listitem>
+ </itemizedlist>
+ &essential_preamble;
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_gloss;
+ &test_ieeebiblio;
+ &test_mapping;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="glossary">
+ <xsl:variable name="divs" select="glossdiv"/>
+ <xsl:variable name="entries" select="glossentry"/>
+ <xsl:variable name="preamble" select="node()[not(self::glossaryinfo or self::title or self::subtitle or self::titleabbrev or self::glossdiv or self::glossentry or self::bibliography)]"/>
+ <xsl:call-template name="map.begin"/>
+ <!--
+ <xsl:if test="./subtitle"><xsl:apply-templates select="./subtitle" mode="component.title.mode"/> </xsl:if>
+ -->
+ <xsl:if test="$preamble"> <xsl:apply-templates select="$preamble"/> </xsl:if>
+ <xsl:if test="$divs"> <xsl:apply-templates select="$divs"/> </xsl:if>
+ <xsl:if test="$entries">
+ <xsl:text>\noindent%&#10;</xsl:text>
+ <xsl:text>\begin{description}&#10;</xsl:text>
+ <xsl:apply-templates select="$entries"/>
+ <xsl:text>\end{description}&#10;</xsl:text>
+ </xsl:if>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>glossdiv</doc:db> and <doc:db>glosslist</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes the mapping templates and applies content templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="glossdiv|glosslist">
+ <xsl:call-template name="map.begin"/>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <!--
+ <doc:template match="glossentry" xmlns="">
+ <refpurpose> Glossary Entry XSL template / entry point </refpurpose>
+ <doc:description>
+ <para>T.B.D.</para>
+ </doc:description>
+ <itemizedlist>
+ <listitem><para>Apply Templates.</para></listitem>
+ </itemizedlist>
+ <formalpara><title>Remarks and Bugs</title>
+ <itemizedlist>
+ <listitem><para>Explicit Templates for <literal>glossentry/glossterm</literal></para></listitem>
+ <listitem><para>Explicit Templates for <literal>glossentry/acronym</literal></para></listitem>
+ <listitem><para>Explicit Templates for <literal>glossentry/abbrev</literal></para></listitem>
+ <listitem><para>Explicit Templates for <literal>glossentry/glossdef</literal></para></listitem>
+ <listitem><para>Explicit Templates for <literal>glossentry/glosssee</literal></para></listitem>
+ <listitem><para>Explicit Templates for <literal>glossentry/glossseealso</literal></para></listitem>
+ <listitem><para>Template for glossentry/revhistory is EMPTY.</para></listitem>
+ </itemizedlist>
+ </formalpara>
+ </doc:template>
+ -->
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>glossentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Simply applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="glossentry">
+ <xsl:apply-templates/>
+ <xsl:text>&#10;&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process a <doc:db>glossentry</doc:db>'s <doc:db>glossterm</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Creates a &LaTeX; <function condition="latex">item</function> and
+ a <function condition="latex">hypertarget</function>, then applies
+ templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="glossentry/glossterm">
+ <xsl:text>\item[</xsl:text>
+ <xsl:if test="../@id!=''">
+ <xsl:text>\hypertarget{</xsl:text>
+ <xsl:value-of select="../@id"/>
+ <xsl:text>}</xsl:text>
+ </xsl:if>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}] </xsl:text>
+ </xsl:template>
+
+ <doc:template basename="acronym" xmlns="">
+ <refpurpose>Process a <doc:db>glossentry</doc:db>'s <doc:db>acronym</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Format an acronym as part of a glossentry.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ The <doc:db>acronym</doc:db> is formatted as monospaced text
+ and delimited by round brackets. It appears in the <quote>body</quote>
+ (e.g. <doc:db>glossdef</doc:db>) region of the glossary entry, not
+ as part of the <doc:db>glossterm</doc:db>.
+ </para>
+ <para>
+ The delimiters should probably be localised.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="glossentry/acronym">
+ <xsl:text> ( </xsl:text> <xsl:call-template name="inline.monoseq"/> <xsl:text> ) </xsl:text>
+ </xsl:template>
+
+ <doc:template basename="abbrev" xmlns="">
+ <refpurpose>Process a <doc:db>glossentry</doc:db>'s <doc:db>abbrev</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Format an abbrev as part of a glossentry.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ The <doc:db>abbrev</doc:db> is delimited by square brackets. It
+ appears in the <quote>body</quote> (e.g.
+ <doc:db>glossdef</doc:db>) region of the glossary entry, not as
+ part of the <doc:db>glossterm</doc:db>.
+ </para>
+ <para>
+ The delimiters should probably be localised.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="glossentry/abbrev">
+ <xsl:text> [ </xsl:text> <xsl:apply-templates/> <xsl:text> ] </xsl:text>
+ </xsl:template>
+
+ <doc:template basename="revhistory" xmlns="">
+ <refpurpose>Process a <doc:db>glossentry</doc:db>'s <doc:db>revhistory</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Currently, <doc:db basename="revhistory">revhistories</doc:db>
+ are suppressed within <doc:db basename="glossentry">glossentries</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="glossentry/revhistory"/>
+
+ <doc:template basename="glossdef" xmlns="">
+ <refpurpose>Process a <doc:db>glossentry</doc:db>'s <doc:db>glossdef</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="glossentry/glossdef">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>glossseealso</doc:db> and <doc:db>glosssee</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Format a glossary cross-reference.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ Will call the following gentet templates:
+ <literal>gentext.element.name</literal>,
+ <literal>gentext.space</literal>,
+ <literal>gentext.startquote</literal>,
+ <literal>gentext.endquote</literal>.
+ It will then output a full stop (<quote>period</quote>).
+
+ </para>
+ <para>
+
+ If the <quote>otherterm</quote> was successfully found, and this
+ element is empty, then the appropriate cross-reference will be
+ generated. This this element is not empty but the otherterm was
+ also found, the behaviour will depend on <xref
+ linkend="param.latex.otherterm.is.preferred"/>.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_gloss;
+ &test_ieeebiblio;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.otherterm.is.preferred"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="glossseealso|glosssee">
+ <xsl:variable name="otherterm" select="@otherterm"/>
+ <xsl:variable name="targets" select="key('id',$otherterm)"/>
+ <xsl:variable name="target" select="$targets[1]"/>
+ <xsl:call-template name="gentext.element.name"/>
+ <xsl:call-template name="gentext.space"/>
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:choose>
+ <xsl:when test="$otherterm">
+ <xsl:text>\hyperlink{</xsl:text><xsl:value-of select="$otherterm"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.otherterm.is.preferred=1">
+ <xsl:apply-templates select="$target" mode="xref"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:call-template name="gentext.endquote"/>
+ <xsl:text>. </xsl:text>
+ </xsl:template>
+
+ <xsl:template match="glossentry" mode="xref">
+ <xsl:apply-templates select="./glossterm" mode="xref"/>
+ </xsl:template>
+
+ <xsl:template match="glossterm" mode="xref">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Essential preamble for <filename>glossary.mod.xsl</filename> support </refpurpose>
+ <doc:description>
+ <para>
+
+ Defines the <function condition="env">dbglossary</function>
+ command.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&preamble;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="latex.preamble.essential.glossary">
+ <xsl:if test="//glossary">
+ <xsl:choose>
+ <xsl:when test="/book or /part">
+ <xsl:text>\newcommand{\dbglossary}[1]{\chapter*{#1}%&#10;</xsl:text>
+ <xsl:text>\markboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}%&#10;</xsl:text>
+ <xsl:text>\newcommand{\dbglossdiv}[1]{\section*{#1}}%&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\newcommand{\dbglossary}[1]{\section*{#1}}%&#10;</xsl:text>
+ <xsl:text>\newcommand{\dbglossdiv}[1]{\subsection*{#1}}%&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/graphic.mod.xsl b/docs/xslt/db2latex-xsl/xsl/graphic.mod.xsl
new file mode 100644
index 0000000000..1893b85cb2
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/graphic.mod.xsl
@@ -0,0 +1,117 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: graphic.mod.xsl,v 1.5 2004/01/02 07:25:45 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="graphic" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: graphic.mod.xsl,v 1.5 2004/01/02 07:25:45 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.12">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Graphics <filename>graphic.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>screenshot</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="screenshot">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>screeninfo</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Suppressed.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="screeninfo"/>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>graphic</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a graphic as a paragraph.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.inlinegraphic"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="graphic">
+ <xsl:text>&#10;&#10;</xsl:text>
+ <xsl:call-template name="inlinegraphic"/>
+ <xsl:text>&#10;&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>inlinegraphic</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Calls &LaTeX; <function
+ condition="latex">includegraphics</function>
+ with the value of <sgmltag class="attribute">fileref</sgmltag>
+ or the URI of <sgmltag class="attribute">entityref</sgmltag>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="inlinegraphic" name="inlinegraphic">
+ <xsl:text>\includegraphics{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="@entityref">
+ <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@fileref"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/index.mod.xsl b/docs/xslt/db2latex-xsl/xsl/index.mod.xsl
new file mode 100644
index 0000000000..b58e1d1910
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/index.mod.xsl
@@ -0,0 +1,470 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: index.mod.xsl,v 1.17 2004/01/27 05:59:51 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="index" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: index.mod.xsl,v 1.17 2004/01/27 05:59:51 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.11">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Indices <filename>index.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>index.mod.xsl</filename> contains the
+ XSL template for <doc:db>index</doc:db>.</para>
+ <!-- TODO: -->
+ <para>Describe indexterm-range key.</para>
+ <para>
+
+ An <literal>indexterm-range</literal> XSLT key is defined for
+ all <quote>startofrange</quote> <doc:db>indexterm</doc:db>
+ elements, matching their <sgmltag
+ class="attribute">id</sgmltag> attribute.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <!-- Our key for ranges -->
+ <xsl:key name="indexterm-range" match="indexterm[@class='startofrange']" use="@id"/>
+
+ <doc:template basename="index" xmlns="">
+ <refpurpose>Process <doc:db>index</doc:db> and <doc:db>setindex</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Produce a chapter-level index in &LaTeX;.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+
+ <para>
+
+ You will need to run your typesetter at least twice, and
+ possibly three times, to have the index generated normally (you
+ will also need to run the <command>makeidx</command> command).
+
+ </para>
+
+ &essential_preamble;
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_index;
+ &test_draft;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="index|setindex">
+ <xsl:variable name="preamble" select="node()[not(self::indexinfo or self::setindexinfo or self::title or self::subtitle or self::titleabbrev or self::indexdiv or self::indexentry)]"/>
+ <xsl:text>\setlength\saveparskip\parskip&#10;</xsl:text>
+ <xsl:text>\setlength\saveparindent\parindent&#10;</xsl:text>
+ <xsl:text>\begin{dbtolatexindex}{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\setlength\tempparskip\parskip \setlength\tempparindent\parindent&#10;</xsl:text>
+ <xsl:text>\parskip\saveparskip \parindent\saveparindent&#10;</xsl:text>
+ <xsl:text>\noindent </xsl:text><!-- &#10; -->
+ <xsl:apply-templates select="$preamble"/>
+ <xsl:call-template name="map.begin"/>
+ <xsl:text>\parskip\tempparskip&#10;</xsl:text>
+ <xsl:text>\parindent\tempparindent&#10;</xsl:text>
+ <xsl:text>\makeatletter\@input@{\jobname.ind}\makeatother&#10;</xsl:text>
+ <xsl:call-template name="map.end"/>
+ <xsl:text>\end{dbtolatexindex}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Essential preamble for <filename>index.mod.xsl</filename> support </refpurpose>
+ <doc:description>
+ <para>
+
+ This preamble aids the following:
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ Allow user to override the &LaTeX; default index name
+ with a &DocBook; localisation.
+ </simpara>
+ <simpara>
+ Integrate <doc:db>index</doc:db>/@<sgmltag
+ class="attribute">id</sgmltag> cross-references
+ with &LaTeX; and tables of contents (makes indices
+ behave a bit like chapters).
+ </simpara>
+ <simpara>
+ Allow <quote>preamble</quote> templates or
+ mappings to be applied for indices.
+ </simpara>
+ </listitem>
+ </itemizedlist>
+
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&preamble;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="latex.preamble.essential.index">
+ <xsl:text>
+ <![CDATA[
+% index labeling helper
+\newif\ifdocbooktolatexprintindex\docbooktolatexprintindextrue
+\let\dbtolatex@@theindex\theindex
+\let\dbtolatex@@endtheindex\endtheindex
+\def\theindex{\relax}
+\def\endtheindex{\relax}
+\newenvironment{dbtolatexindex}[1]
+ {
+\if@openright\cleardoublepage\else\clearpage\fi
+\let\dbtolatex@@indexname\indexname
+\def\dbtolatex@indexlabel{%
+ \ifnum \c@secnumdepth >\m@ne \refstepcounter{chapter}\fi%
+ \label{#1}\hypertarget{#1}{\dbtolatex@@indexname}%
+ \global\docbooktolatexprintindexfalse}
+\def\indexname{\ifdocbooktolatexprintindex\dbtolatex@indexlabel\else\dbtolatex@@indexname\fi}
+\dbtolatex@@theindex
+ }
+ {
+\dbtolatex@@endtheindex\let\indexname\dbtolatex@@indexname
+ }
+
+\newlength\saveparskip \newlength\saveparindent
+\newlength\tempparskip \newlength\tempparindent
+]]>
+ </xsl:text>
+ </xsl:template>
+
+<!--
+ <xsl:template match="index/title">
+ <xsl:call-template name="label.id"> <xsl:with-param name="object" select=".."/> </xsl:call-template>
+ </xsl:template>
+
+<xsl:template match="indexdiv">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="indexdiv/title">
+ <xsl:call-template name="label.id"> <xsl:with-param name="object" select=".."/> </xsl:call-template>
+</xsl:template>
+
+ <xsl:template match="primary|secondary|tertiary|see|seealso"/>
+
+-->
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>indexterm</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Identify an instance of an indexed term.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.generate.indexterm"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>style</term>
+ <listitem><simpara>
+ &LaTeX; code used to format the displayed entry.
+ By default, this is drawn from any <quote>latex-index-style</quote>
+ processing instructions (and is therefore empty most of the time).
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+ A &LaTeX; <function condition="latex">index</function> command
+ is issued. When an <doc:db>index</doc:db> element is included
+ in your document and indexing is enabled, this indexterm will
+ be indexed.
+ </para>
+ <para>
+ When <link linkend="param.latex.is.draft">draft mode</link> is
+ enabled, the physical location of <doc:db
+ basename="indexterm">indexterms</doc:db> will be highlighted
+ within the body of the text as well as appearing in the index
+ proper.
+ </para>
+ <para>
+ &DB2LaTeX; includes some logic to handle the
+ <quote>startofrange</quote> and <quote>endofrange</quote>
+ classes.
+ </para>
+ <para>
+ It is possible to format an entry (e.g.
+ make it bold or italic) by inserting a processing instruction
+ named <quote>latex-index-style</quote> in the appropriate
+ subterm.
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_ddh;
+ &test_draft1;
+ &test_draft2;
+ &test_index;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.is.draft"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <!-- INDEX TERM CONTENT MODEL
+ IndexTerm ::=
+ (Primary,
+ ((Secondary,
+ ((Tertiary,
+ (See|SeeAlso+)?)|
+ See|SeeAlso+)?)|
+ See|SeeAlso+)?)
+ -->
+ <xsl:template match="indexterm">
+ <xsl:if test="$latex.generate.indexterm='1'">
+ <xsl:variable name="idxterm">
+ <xsl:apply-templates mode="indexterm"/>
+ </xsl:variable>
+
+ <xsl:if test="@class and @zone">
+ <xsl:message terminate="yes">Error: Only one attribute (@class or @zone) is in indexterm possible!</xsl:message>
+ </xsl:if>
+
+ <xsl:choose>
+ <xsl:when test="@class='startofrange'">
+ <xsl:text>\index{</xsl:text>
+ <xsl:value-of select="$idxterm"/>
+ <xsl:text>|(}</xsl:text>
+ </xsl:when>
+ <xsl:when test="@class='endofrange'">
+ <xsl:choose>
+ <xsl:when test="count(key('indexterm-range',@startref)) = 0">
+ <xsl:message terminate="yes"><xsl:text>Error: No indexterm with </xsl:text>
+ <xsl:text>id='</xsl:text><xsl:value-of select="@startref"/>
+ <xsl:text>' found!</xsl:text>
+ <xsl:text> Check your attributs id/startref in your indexterms!</xsl:text>
+ </xsl:message>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="thekey" select="key('indexterm-range',@startref)"/>
+ <xsl:for-each select="$thekey[1]">
+ <xsl:text>\index{</xsl:text>
+ <xsl:apply-templates mode="indexterm"/>
+ <xsl:text>|)}</xsl:text>
+ </xsl:for-each>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\index{</xsl:text>
+ <xsl:value-of select="$idxterm"/>
+ <xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="*" mode="indexterm">
+ <xsl:message>WARNING: Element '<xsl:value-of select="local-name()"/>' in indexterm not supported and skipped!</xsl:message>
+ </xsl:template>
+
+ <!--
+ <xsl:template match="acronym|foreignphrase" mode="indexterm">
+ <xsl:apply-templates mode="indexterm"/>
+ </xsl:template>
+ -->
+
+ <doc:template xmlns="">
+ <refpurpose>Process the contents of <doc:db basename="indexterm">indexterms</doc:db></refpurpose>
+ <doc:description>
+ <para>
+ Register a primary index term.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.index.subterm"/>.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="primary" mode="indexterm">
+ <xsl:call-template name="index.subterm"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process the contents of <doc:db basename="indexterm">indexterms</doc:db></refpurpose>
+ <doc:description>
+ <para>
+ Register a secondary or tertiary index term.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.index.subterm"/>.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="secondary|tertiary" mode="indexterm">
+ <xsl:text>!</xsl:text>
+ <xsl:call-template name="index.subterm"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process the contents of <doc:db basename="indexterm">indexterms</doc:db></refpurpose>
+ <doc:description>
+ <para>
+ Register a primary, secondary or tertiary index term.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ If no <sgmltag class="attribute">sortas</sgmltag> attribute is
+ present, the contents of <doc:db>primary</doc:db>,
+ <doc:db>secondary</doc:db> and <doc:db>tertiary</doc:db>
+ elements are converted to text-only and no templates are
+ applied. If the <sgmltag class="attribute">sortas</sgmltag>
+ attribute is present and non-empty, its value is used for indexing
+ and sorting (but not for display)<!-- and templates
+ <emphasis>are</emphasis> applied for display purposes-->.
+
+ </para>
+ <para>
+
+ If a <quote>latex-index-style</quote> processing instruction is
+ present, the displayed indexterm will be formatted by treating
+ the content of the PI as a &LaTeX; command.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="index.subterm">
+ <xsl:variable name="style" select="processing-instruction('latex-index-style')"/>
+ <xsl:choose>
+ <xsl:when test="@sortas!=''">
+ <xsl:variable name="string">
+ <xsl:call-template name="scape-indexterm">
+ <xsl:with-param name="string" select="@sortas"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="content">
+ <xsl:call-template name="scape-indexterm">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:value-of select="normalize-space($string)"/>
+ <xsl:text>@{</xsl:text>
+ <xsl:value-of select="$style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="normalize-space($content)"/>
+ <xsl:text>}}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="string">
+ <xsl:call-template name="scape-indexterm">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:value-of select="normalize-space($string)"/>
+ <xsl:if test="$style!=''">
+ <xsl:text>@{</xsl:text>
+ <xsl:value-of select="$style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="normalize-space($string)"/>
+ <xsl:text>}}</xsl:text>
+ </xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!--
+ <xsl:apply-templates mode="indexterm"/>
+ -->
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process the contents of <doc:db>see</doc:db> and <doc:db>seealso</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Annotate an index entry with a <quote>See</quote> or <quote>See also</quote> cross-reference.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Templates are applied.
+ <quote>See</quote> or <quote>see also</quote> text
+ is generated by <literal>gentext.element.name</literal>
+ and formatted in italics.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="see|seealso" mode="indexterm">
+ <xsl:text>|textit{</xsl:text>
+ <xsl:call-template name="gentext.element.name"/>
+ <xsl:text>} {</xsl:text>
+ <xsl:apply-templates/>
+ <!--
+ <xsl:apply-templates mode="indexterm"/>
+ -->
+ <xsl:text>} </xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Skip <doc:db>indexentry</doc:db>-related elements </refpurpose>
+ <doc:description>
+ <para>
+ Ignores the elements.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ &DB2LaTeX; only supports indices that are generated by &LaTeX; itself.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="indexentry|primaryie|secondaryie|tertiaryie|seeie|seealsoie"/>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/inline.mod.xsl b/docs/xslt/db2latex-xsl/xsl/inline.mod.xsl
new file mode 100644
index 0000000000..c7b2dcddbf
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/inline.mod.xsl
@@ -0,0 +1,1602 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: inline.mod.xsl,v 1.21 2004/01/05 09:58:47 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="inline" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: inline.mod.xsl,v 1.21 2004/01/05 09:58:47 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.16">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Inline Elements <filename>inline.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process regular text</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="normalize-scape"/></simpara></listitem>
+ <listitem><simpara><xref linkend="scape"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="inline.charseq">
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:copy-of select="$content"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process monospace text</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates within a &LaTeX;
+ <function condition="latex">texttt</function> command.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.hyphenation.tttricks"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="normalize-scape"/></simpara></listitem>
+ <listitem><simpara><xref linkend="scape"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="inline.monoseq">
+ <xsl:param name="hyphenation">\docbookhyphenatedot</xsl:param>
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:text>{\texttt{</xsl:text>
+ <xsl:if test="$latex.hyphenation.tttricks='1'"><xsl:value-of select="$hyphenation" /></xsl:if>
+ <xsl:text>{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}}}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process bold text</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates within a &LaTeX;
+ <function condition="latex">bfseries</function> command.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="normalize-scape"/></simpara></listitem>
+ <listitem><simpara><xref linkend="scape"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="inline.boldseq">
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:text>{\bfseries{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process italic text</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates within a &LaTeX;
+ <function condition="latex">em</function> command.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="normalize-scape"/></simpara></listitem>
+ <listitem><simpara><xref linkend="scape"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="inline.italicseq">
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:text>{\em{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process bold monospace text</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates within &LaTeX;
+ <function condition="latex">ttfamily</function>
+ and
+ <function condition="latex">bfseries</function>
+ commands.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.hyphenation.tttricks"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="normalize-scape"/></simpara></listitem>
+ <listitem><simpara><xref linkend="scape"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="inline.boldmonoseq">
+ <xsl:param name="hyphenation">\docbookhyphenatedot</xsl:param>
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:text>{\ttfamily\bfseries{</xsl:text>
+ <xsl:if test="$latex.hyphenation.tttricks='1'"><xsl:value-of select="$hyphenation" /></xsl:if>
+ <xsl:text>{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}}}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process italic monospace text</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates within &LaTeX;
+ <function condition="latex">ttfamily</function>
+ and
+ <function condition="latex">itshape</function>
+ commands.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.hyphenation.tttricks"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="normalize-scape"/></simpara></listitem>
+ <listitem><simpara><xref linkend="scape"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="inline.italicmonoseq">
+ <xsl:param name="hyphenation">\docbookhyphenatedot</xsl:param>
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:text>{\ttfamily\itshape{</xsl:text>
+ <xsl:if test="$latex.hyphenation.tttricks='1'"><xsl:value-of select="$hyphenation" /></xsl:if>
+ <xsl:text>{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}}}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process superscript text</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates within a &LaTeX;
+ <function condition="latex">text</function>
+ command within an inline mathematics environment.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="normalize-scape"/></simpara></listitem>
+ <listitem><simpara><xref linkend="scape"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="inline.superscriptseq">
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:text>$^\text{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}$</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process subscript text</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates within a &LaTeX;
+ <function condition="latex">text</function>
+ command within an inline mathematics environment.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="normalize-scape"/></simpara></listitem>
+ <listitem><simpara><xref linkend="scape"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="inline.subscriptseq">
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:text>$_\text{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}$</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>accel</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="accel">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>action</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="action">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process name-type elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="honorific|firstname|surname|lineage|othername">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>application</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="application">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>classname</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="classname">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template basename="copyright" xmlns="">
+ <refpurpose>Process <doc:db>copyright</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates with a copyright dingbat.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="copyright" name="copyright">
+ <xsl:call-template name="gentext.element.name"/>
+ <xsl:call-template name='gentext.space'/>
+ <xsl:call-template name="dingbat">
+ <xsl:with-param name="dingbat">copyright</xsl:with-param>
+ </xsl:call-template>
+ <xsl:call-template name='gentext.space'/>
+ <xsl:apply-templates select="year"/>
+ <xsl:call-template name='gentext.space'/>
+ <xsl:apply-templates select="holder"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process a <doc:db>copyright</doc:db>'s <doc:db>holder</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="copyright/holder">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="copyright/year[position()&lt;last()-1]">
+ <xsl:apply-templates />
+ <xsl:text>, </xsl:text>
+ </xsl:template>
+
+ <!-- RCAS 2003/03/11 FIXME : "and" -->
+ <xsl:template match="copyright/year[position()=last()-1]">
+ <xsl:apply-templates />
+ <xsl:text>, </xsl:text>
+ </xsl:template>
+
+ <xsl:template match="copyright/year[position()=last()]">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>exceptionname</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="exceptionname">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>interfacename</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="interfacename">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>methodname</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="methodname">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>command</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.boldseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="command">
+ <xsl:call-template name="inline.boldseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>computeroutput</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="computeroutput">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>constant</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="constant">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>database</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="database">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>errorcode</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="errorcode">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>errorname</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="errorname">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>errortype</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="errortype">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>envar</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="envar">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>filename</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="filename">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="hyphenation">\docbookhyphenatefilename</xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>function</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ <doc:todo>Insert documentation here.</doc:todo>
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="function">
+ <xsl:choose>
+ <xsl:when test="$function.parens = 1 or parameter or function or replaceable">
+ <xsl:variable name="nodes" select="text()|*"/>
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:apply-templates select="$nodes[1]"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>(</xsl:text>
+ <xsl:apply-templates select="$nodes[position()>1]"/>
+ <xsl:text>)</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process a <doc:db>function</doc:db>'s <doc:db>parameter</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicmonoseq"/> and
+ separates subsequent <doc:db
+ basename="replaceable">replaceables</doc:db> with commas.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="function/parameter" priority="2">
+ <xsl:call-template name="inline.italicmonoseq"/>
+ <xsl:if test="following-sibling::*">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process a <doc:db>function</doc:db>'s <doc:db>replaceable</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicmonoseq"/> and
+ separates subsequent <doc:db
+ basename="replaceable">replaceables</doc:db> with commas.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="function/replaceable" priority="2">
+ <xsl:call-template name="inline.italicmonoseq"/>
+ <xsl:if test="following-sibling::*">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process GUI-type elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>
+ within a &LaTeX; <function condition="latex">sffamily</function>
+ and <function condition="latex">bfseries</function> commands.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface">
+ <xsl:text>{\sffamily \bfseries </xsl:text>
+ <xsl:call-template name="inline.charseq" />
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>hardware</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="hardware">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>interfacedefinition</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="interfacedefinition">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>keycap</doc:db> and <doc:db>keysym</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.boldseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="keycap|keysym">
+ <xsl:call-template name="inline.boldseq" />
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>keycode</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="keycode">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>literal</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="literal">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>medialabel</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="medialabel">
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>shortcut</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="shortcut">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>mousebutton</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="mousebutton">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>option</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="option">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>parameter</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicmonoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="parameter" priority="1">
+ <xsl:call-template name="inline.italicmonoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>property</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="property">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>prompt</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="prompt">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>replaceable</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicmonoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="replaceable" priority="1">
+ <xsl:call-template name="inline.italicmonoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>returnvalue</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="returnvalue">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>structfield</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicmonoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="structfield">
+ <xsl:call-template name="inline.italicmonoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>structname</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="structname">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>symbol</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="symbol">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>systemitem</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="systemitem">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>token</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="token">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>type</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="type">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>userinput</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.boldmonoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="userinput">
+ <xsl:call-template name="inline.boldmonoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>abbrev</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ <doc:todo>It would be useful if a terminating full stop
+ were not to induce sentence-end whitespace spacing.</doc:todo>
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="abbrev">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>acronym</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="acronym">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>citerefentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="citerefentry">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>citetitle</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="citetitle">
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>corpauthor</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="corpauthor">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>emphasis</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="emphasis">
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="" basename="emphasis">
+ <refpurpose>Process <doc:db>emphasis</doc:db> elements with <quote>bold</quote> role</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.boldseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="emphasis[@role='bold']">
+ <xsl:call-template name="inline.boldseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>foreignphrase</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="foreignphrase">
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>jobtitle</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="jobtitle">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>markup</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies template using the <literal>latex.verbatim</literal>
+ mode.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="markup">
+ <xsl:apply-templates mode="latex.verbatim"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>orgdiv</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="orgdiv">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>orgname</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="orgname">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>phrase</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Normally, <xref linkend="template.inline.charseq"/> is used.
+ However, the use of <quote>latex</quote> or <quote>tex</quote>
+ for the <sgmltag class="attribute">role</sgmltag> attribute
+ will convert the contents to plain text without &LaTeX;
+ active-character escaping.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="phrase">
+ <xsl:choose>
+ <xsl:when test="@role='tex' or @role='latex'">
+ <xsl:value-of select="."/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>quote</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ The contents will be enclosed in quotation marks,
+ using <literal>gentext.startquote</literal>
+ and <literal>gentext.nestedstartquote</literal>
+ alternating according to the <doc:db>quote</doc:db>
+ nesting level.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="quote">
+ <xsl:choose>
+ <xsl:when test="count(ancestor::quote) mod 2=0">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:call-template name="inline.charseq"/>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.nestedstartquote"/>
+ <xsl:call-template name="inline.charseq"/>
+ <xsl:call-template name="gentext.nestedendquote"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>varname</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.monoseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="varname">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>wordasword</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="wordasword">
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>lineannotation</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="lineannotation">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>superscript</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.superscriptseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="superscript">
+ <xsl:call-template name="inline.superscriptseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>subscript</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.subscriptseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="subscript">
+ <xsl:call-template name="inline.subscriptseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>trademark</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>,
+ then appends a <quote>trademark</quote> dingbat.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.dingbat"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="trademark">
+ <xsl:call-template name="inline.charseq"/>
+ <xsl:call-template name="dingbat">
+ <xsl:with-param name="dingbat">trademark</xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>firstterm</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.italicseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="firstterm">
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>glossterm</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="glossterm">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>keycombo</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a key combination using conjugation characters.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Templates are applied for all children, with comjugation
+ characters based upon the <sgmltag
+ class="attribute">action</sgmltag> attribute.
+ </para>
+ <para>
+ For <quote>seq</quote> actions, a space character is used.
+ For <quote>simul</quote> actions, a plus sign (+) is used.
+ For <quote>other</quote> actions, no conjugation character is
+ used (children will be abutting).
+ For all other actions, an en-dash is used.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="keycombo">
+ <xsl:variable name="action" select="@action"/>
+ <xsl:variable name="joinchar">
+ <xsl:choose>
+ <xsl:when test="$action='seq'"><xsl:text> </xsl:text></xsl:when>
+ <xsl:when test="$action='simul'">+</xsl:when>
+ <xsl:when test="$action='press'">--</xsl:when>
+ <xsl:when test="$action='click'">--</xsl:when>
+ <xsl:when test="$action='double-click'">--</xsl:when>
+ <xsl:when test="$action='other'"></xsl:when>
+ <xsl:otherwise>--</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:for-each select="./*">
+ <xsl:if test="position()>1"><xsl:value-of select="$joinchar"/></xsl:if>
+ <xsl:apply-templates select="."/>
+ </xsl:for-each>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>menuchoice</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes templates for non-shortcut children, then formats any
+ <doc:db basename="shortcut">shortcuts</doc:db> in parentheses.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.process.menuchoice"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="menuchoice">
+ <xsl:variable name="shortcut" select="./shortcut"/>
+ <xsl:call-template name="process.menuchoice"/>
+ <xsl:if test="$shortcut">
+ <xsl:text> (</xsl:text>
+ <xsl:apply-templates select="$shortcut"/>
+ <xsl:text>)</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>menuchoice</doc:db> children (not shortcut) </refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Selects children of the current node (does not select <doc:db>shortcut</doc:db> elements).
+ Subsequent children are delimited by a plug sign, in general, or an arrow,
+ for <doc:db>guimenuitem</doc:db> and <doc:db>guisubmenu</doc:db>.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="process.menuchoice">
+ <xsl:param name="nodelist" select="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface"/><!-- not(shortcut) -->
+ <xsl:param name="count" select="1"/>
+ <xsl:choose>
+ <xsl:when test="$count>count($nodelist)"/>
+ <xsl:when test="$count=1">
+ <xsl:apply-templates select="$nodelist[$count=position()]"/>
+ <xsl:call-template name="process.menuchoice">
+ <xsl:with-param name="nodelist" select="$nodelist"/>
+ <xsl:with-param name="count" select="$count+1"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="node" select="$nodelist[$count=position()]"/>
+ <xsl:choose>
+ <xsl:when test="name($node)='guimenuitem' or name($node)='guisubmenu'">
+ <xsl:text> $\to$ </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>+</xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="$node"/>
+ <xsl:call-template name="process.menuchoice">
+ <xsl:with-param name="nodelist" select="$nodelist"/>
+ <xsl:with-param name="count" select="$count+1"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>optional</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>,
+ surrounded by $arg.choice.opt.open.str and
+ $arg.choice.opt.close.str.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="optional">
+ <xsl:value-of select="$arg.choice.opt.open.str"/>
+ <xsl:call-template name="inline.charseq"/>
+ <xsl:value-of select="$arg.choice.opt.close.str"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>remark</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates as a margin note.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.show.comments"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>When <xref linkend="param.show.comments"/> is set,
+ templates will be applied within a &LaTeX;
+ <function condition="latex">marginpar</function> command,
+ using <function condition="latex">footnotesize</function>.</para>
+ <para>If <xref linkend="param.show.comments"/> is not set,
+ then content is suppressed.</para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="comment|remark">
+ <xsl:if test="$show.comments=1">
+ <xsl:text>\marginpar{\footnotesize{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}}</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>productname</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="productname">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>productnumber</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="productnumber">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process address-like elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes <xref linkend="template.inline.charseq"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="pob|street|city|state|postcode|country|phone|fax|otheraddr">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>beginpage</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Suppressed.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="beginpage"/>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/keywords.mod.xsl b/docs/xslt/db2latex-xsl/xsl/keywords.mod.xsl
new file mode 100644
index 0000000000..f059b0c590
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/keywords.mod.xsl
@@ -0,0 +1,140 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: keywords.mod.xsl,v 1.7 2004/01/09 12:02:15 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="keywords" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: keywords.mod.xsl,v 1.7 2004/01/09 12:02:15 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.6">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Keywords <filename>keywords.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>keywords.mod.xsl</filename> contains the
+ XSL templates for <doc:db>keywordsset</doc:db>
+ and <doc:db>sectionset</doc:db>.</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>keywordset</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Uses a &LaTeX; mapping to express a block representation
+ of keywords.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+
+ <para><doc:db>keywordset</doc:db>s are only rendered in a limited
+ number of situations.</para>
+
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><para>&mapping;</para></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+
+ <xsl:template match="keywordset">
+ <xsl:call-template name="map.begin"/>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'naturalblocklist'"/>
+ <xsl:with-param name="name" select="'start'"/>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'naturalblocklist'"/>
+ <xsl:with-param name="name" select="'end'"/>
+ </xsl:call-template>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db basename="keyword">keywords</doc:db></refpurpose>
+ <doc:description>
+ <para>
+ Emits keywords as regular text plus a separator.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara>Localisation for the <literal>keyword.separator</literal> in the <literal>keywordset</literal> context.</simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+
+ <xsl:template match="keyword">
+ <xsl:if test="position() &gt; 1">
+ <xsl:choose>
+ <xsl:when test="position()=last() and position() &gt; 2">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'naturalblocklist'"/>
+ <xsl:with-param name="name" select="'lastofmany'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="position()=last()">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'naturalblocklist'"/>
+ <xsl:with-param name="name" select="'lastoftwo'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'naturalblocklist'"/>
+ <xsl:with-param name="name" select="'middle'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <doc:template match="subjectset|subject" xmlns="">
+ <refpurpose>Process <doc:db>subjectset</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Suppresses <doc:db basename="subjectset">subjectsets</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+
+ <xsl:template match="subjectset"/>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/labelid.mod.xsl b/docs/xslt/db2latex-xsl/xsl/labelid.mod.xsl
new file mode 100644
index 0000000000..e6f90c63eb
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/labelid.mod.xsl
@@ -0,0 +1,503 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: labelid.mod.xsl,v 1.5 2004/01/01 12:26:41 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="labelid" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: labelid.mod.xsl,v 1.5 2004/01/01 12:26:41 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.5">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Labels and Anchors for Cross-referencing <filename>labelid.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose> Generate &LaTeX; <function condition="latex">label</function>s </refpurpose>
+ <doc:description>
+ <para>
+
+ This template marks the current object with a <function
+ condition="latex">label</function>.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <!--
+ <doc:params>
+ <variablelist>
+ <varlistentry><term>object</term>
+ <listitem><para>The node whose id is to be used.</para></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ </doc:notes>
+ -->
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.generate.label.id"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="label.id">
+ <xsl:text>\label{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Generate a reliable cross-reference id </refpurpose>
+ <doc:description>
+ <para>
+
+ The passed argument indicates the object whose <sgmltag
+ class="attribute">id</sgmltag> attribute is used to generate the
+ label. In this sense, in most cases its the current node itself. If
+ the used object has not an id attribute, a unique id is obtained by
+ means of the <literal>generate-id</literal> function. Moreover, if
+ we are using the hyperref package, a hypertarget is also defined
+ for this object.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry><term>object</term>
+ <listitem><para>The node whose id is to be used.</para></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ </doc:template>
+ <xsl:template name="generate.label.id">
+ <xsl:param name="object" select="."/>
+ <xsl:variable name="id">
+ <xsl:choose>
+ <xsl:when test="$object/@id">
+ <xsl:value-of select="$object/@id"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="generate-id($object)"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:value-of select="normalize-space($id)"/>
+ </xsl:template>
+
+ <!--
+ <xsl:template match="*" mode="label.content">
+ <xsl:message>
+ <xsl:text>Request for label of unexpected element: </xsl:text>
+ <xsl:value-of select="name(.)"/>
+ </xsl:message>
+ </xsl:template>
+
+ <xsl:template match="set|book" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:if test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="part" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$part.autolabel != 0">
+ <xsl:number from="book" count="part" format="I"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+
+ <xsl:template match="preface" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$preface.autolabel != 0">
+ <xsl:number from="book" count="preface" format="1" level="any"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="chapter" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$chapter.autolabel != 0">
+ <xsl:number from="book" count="chapter" format="1" level="any"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="appendix" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$chapter.autolabel != 0">
+ <xsl:number from="book" count="appendix" format="A" level="any"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="article" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:if test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:if>
+ </xsl:template>
+
+
+ <xsl:template match="dedication|colophon" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:if test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="reference" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$part.autolabel != 0">
+ <xsl:number from="book" count="reference" format="I" level="any"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="refentry" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:if test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="section" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+
+ <xsl:if test="local-name(..) = 'section'">
+ <xsl:apply-templates select=".." mode="label.content">
+ <xsl:with-param name="punct">.</xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:if>
+
+ <xsl:variable name="parent.is.component">
+ <xsl:call-template name="is.component">
+ <xsl:with-param name="node" select=".."/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:variable name="label">
+ <xsl:call-template name="label.this.section">
+ <xsl:with-param name="section" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:if test="$section.label.includes.component.label != 0
+ and $parent.is.component != 0">
+ <xsl:apply-templates select=".." mode="label.content">
+ <xsl:with-param name="punct">.</xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:if>
+
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$label != 0">
+ <xsl:number count="section"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="sect1" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+
+ <xsl:variable name="parent.is.component">
+ <xsl:call-template name="is.component">
+ <xsl:with-param name="node" select=".."/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:if test="$section.label.includes.component.label != 0
+ and $parent.is.component">
+ <xsl:apply-templates select=".." mode="label.content">
+ <xsl:with-param name="punct">.</xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:if>
+
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$section.autolabel != 0">
+ <xsl:number count="sect1"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="sect2|sect3|sect4|sect5" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+
+ <xsl:apply-templates select=".." mode="label.content">
+ <xsl:with-param name="punct">.</xsl:with-param>
+ </xsl:apply-templates>
+
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$section.autolabel != 0">
+ <xsl:choose>
+ <xsl:when test="local-name(.) = 'sect2'">
+ <xsl:number count="sect2"/>
+ </xsl:when>
+ <xsl:when test="local-name(.) = 'sect3'">
+ <xsl:number count="sect3"/>
+ </xsl:when>
+ <xsl:when test="local-name(.) = 'sect4'">
+ <xsl:number count="sect4"/>
+ </xsl:when>
+ <xsl:when test="local-name(.) = 'sect5'">
+ <xsl:number count="sect5"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>label.content: this can't happen!</xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+ <xsl:template match="refsect1|refsect2|refsect3" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$section.autolabel != 0">
+ <xsl:number level="multiple" count="refsect1|refsect2|refsect3"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="simplesect" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$section.autolabel != 0">
+ <xsl:number level="multiple" count="section
+ |sect1|sect2|sect3|sect4|sect5
+ |refsect1|refsect2|refsect3
+ |simplesect"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="qandadiv" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:variable name="prefix">
+ <xsl:if test="$qanda.inherit.numeration != 0">
+ <xsl:variable name="lparent" select="(ancestor::set
+ |ancestor::book
+ |ancestor::chapter
+ |ancestor::appendix
+ |ancestor::preface
+ |ancestor::section
+ |ancestor::simplesect
+ |ancestor::sect1
+ |ancestor::sect2
+ |ancestor::sect3
+ |ancestor::sect4
+ |ancestor::sect5
+ |ancestor::refsect1
+ |ancestor::refsect2
+ |ancestor::refsect3)[last()]"/>
+ <xsl:if test="count($lparent)>0">
+ <xsl:apply-templates select="$lparent" mode="label.content"/>
+ </xsl:if>
+ </xsl:if>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="$prefix"/>
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:when test="$qandadiv.autolabel != 0">
+ <xsl:value-of select="$prefix"/>
+ <xsl:number level="multiple" count="qandadiv" format="1"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="question|answer" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:variable name="prefix">
+ <xsl:if test="$qanda.inherit.numeration != 0">
+ <xsl:variable name="lparent" select="(ancestor::set
+ |ancestor::book
+ |ancestor::chapter
+ |ancestor::appendix
+ |ancestor::preface
+ |ancestor::section
+ |ancestor::simplesect
+ |ancestor::sect1
+ |ancestor::sect2
+ |ancestor::sect3
+ |ancestor::sect4
+ |ancestor::sect5
+ |ancestor::refsect1
+ |ancestor::refsect2
+ |ancestor::refsect3
+ |ancestor::qandadiv)[last()]"/>
+ <xsl:if test="count($lparent)>0">
+ <xsl:apply-templates select="$lparent" mode="label.content"/>
+ </xsl:if>
+ </xsl:if>
+ </xsl:variable>
+
+ <xsl:variable name="inhlabel"
+ select="ancestor-or-self::qandaset/@defaultlabel[1]"/>
+
+ <xsl:variable name="deflabel">
+ <xsl:choose>
+ <xsl:when test="$inhlabel != ''">
+ <xsl:value-of select="$inhlabel"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$qanda.defaultlabel"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="label" select="label"/>
+
+ <xsl:choose>
+ <xsl:when test="count($label)>0">
+ <xsl:value-of select="$prefix"/>
+ <xsl:apply-templates select="$label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+
+ <xsl:when test="$deflabel = 'qanda'">
+ <xsl:call-template name="gentext.element.name"/>
+ </xsl:when>
+
+ <xsl:when test="$deflabel = 'number'">
+ <xsl:if test="name(.) = 'question'">
+ <xsl:value-of select="$prefix"/>
+ <xsl:number level="multiple" count="qandaentry" format="1"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:if>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="bibliography|glossary|index" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:if test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="figure|table|example|equation" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ <xsl:choose>
+ <xsl:when test="@label">
+ <xsl:value-of select="@label"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="pchap"
+ select="ancestor::chapter|ancestor::appendix"/>
+ <xsl:choose>
+ <xsl:when test="count($pchap)>0">
+ <xsl:apply-templates select="$pchap" mode="label.content">
+ <xsl:with-param name="punct">.</xsl:with-param>
+ </xsl:apply-templates>
+ <xsl:number format="1" from="chapter|appendix" level="any"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:number format="1" from="book|article" level="any"/>
+ <xsl:value-of select="$punct"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="abstract" mode="label.content">
+ <xsl:param name="punct">.</xsl:param>
+ </xsl:template>
+ -->
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/latex.mapping.dtd b/docs/xslt/db2latex-xsl/xsl/latex.mapping.dtd
new file mode 100644
index 0000000000..361ce5a18d
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/latex.mapping.dtd
@@ -0,0 +1,13 @@
+<!ELEMENT latexbindings (latexmapping+)>
+<!ELEMENT latexmapping (mapping+)>
+<!ELEMENT mapping (line*)>
+<!ELEMENT line (#PCDATA)>
+
+<!ATTLIST latexmapping
+role CDATA #REQUIRED
+>
+<!ATTLIST mapping
+key CDATA #REQUIRED
+text CDATA #REQUIRED
+>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/latex.mapping.xml b/docs/xslt/db2latex-xsl/xsl/latex.mapping.xml
new file mode 100644
index 0000000000..8e1e0e1f96
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/latex.mapping.xml
@@ -0,0 +1,498 @@
+<?xml version='1.0'?>
+<!DOCTYPE latexbindings SYSTEM "latex.mapping.dtd" []>
+
+<latexbindings>
+
+ <!--
+ ################################################################
+ Keywords
+ %id%
+ %title%
+ ################################################################ -->
+
+
+ <!-- LaTeX mapping, role, BEGIN -->
+ <latexmapping role="begin">
+
+ <mapping key="abstract" text="">
+ <line>&#10;</line>
+ <line>% --------------------------------------------&#10;</line>
+ <line>% Abstract &#10;</line>
+ <line>% --------------------------------------------&#10;</line>
+ <line>\begin{abstract}&#10;</line>
+ </mapping>
+
+ <mapping key="abstract-title" text="">
+ <line>&#10;</line>
+ <line>% --------------------------------------------&#10;</line>
+ <line>% Abstract &#10;</line>
+ <line>% --------------------------------------------&#10;</line>
+ <line>\makeatletter\let\save@@abstractname\abstractname\makeatother&#10;</line>
+ <line>\renewcommand{\abstractname}{%title%}&#10;</line>
+ <line>\begin{abstract}&#10;</line>
+ </mapping>
+
+ <mapping key="admonition" text="">
+ <line>&#10;</line>
+ <line>\begin{admonition}%title%% NOTICE: see the db2latex FAQ w.r.t db2latex variable $latex.admonition.path&#10;</line>
+ </mapping>
+
+ <mapping key="appendices-chapter" text="">
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>% Appendices start here&#10;</line>
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>\appendix&#10;</line>
+ </mapping>
+
+ <mapping key="appendices-section" text=""/>
+
+ <mapping key="appendix" text="">
+ <line>&#10;</line>
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>% appendix: %title% &#10;</line>
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>\dbappendix{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="article" text="">
+ <line>\begin{document}&#10;</line>
+ </mapping>
+
+ <mapping key="bibliography-chapter" text="">
+ <line>% ------------------------------------------- &#10;</line>
+ <line>%&#10;</line>
+ <line>% Bibliography - chapter&#10;</line>
+ <line>%&#10;</line>
+ <line>% ------------------------------------------- &#10;</line>
+ </mapping>
+
+ <mapping key="bibliography-section" text=""/>
+
+ <mapping key="blockquote" text="">
+ <line>\begin{quote}&#10;</line>
+ </mapping>
+
+ <mapping key="chapter" text="">
+ <line>&#10;</line>
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>% Chapter %title% &#10;</line>
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>\chapter{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="colophon" text="">
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>% Colophon &#10;</line>
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>\chapter*{%title%}%&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="dedication" text="">
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>% Dedication &#10;</line>
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>\chapter*{%title%}%&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="epigraph" text="">
+ <line>\begin{quote}&#10;</line>
+ </mapping>
+
+ <mapping key="figure" text="">
+ <line>&#10;</line>
+ <line>% figure ------------------------------------------------------&#10;</line>
+ <line>\begin{figure}[%title%]&#10;</line>
+ <line>\begin{center}%&#10;</line>
+ <line>\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="index" text="">
+ <line>\indexspace&#10;</line>
+ </mapping>
+
+ <mapping key="informalfigure" text="">
+ <line>&#10;</line>
+ <line>% informalfigure ------------------------------------------------------&#10;</line>
+ <line>\begin{center}%&#10;</line>
+ <line>\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="keywordset" text="">
+ <line>&#10;</line>
+ <line>% keywords ------------------------------------------------------&#10;</line>
+ <line><![CDATA[
+\vspace{-.3em}{
+\if@twocolumn\small\textit{%title%}\bfseries---$\!$%
+\else\begin{center}\small\bfseries{%title%}\end{center}\begin{quote}\small%
+\fi
+]]></line>
+ </mapping>
+
+ <mapping key="table" text="">
+ <line>&#10;</line>
+ <line>% table ------------------------------------------------------&#10;</line>
+ <line>\begin{table}[%title%]&#10;</line>
+ <line>\begin{center}%&#10;</line>
+ <line>\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="informaltable" text="">
+ <line>&#10;</line>
+ <line>% tabular ------------------------------------------------------&#10;</line>
+ <line>\begin{center}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="equation" text="">
+ <line>&#10;\begin{dbequation}&#10;</line>
+ <line>\begin{center}&#10;</line>
+ <line>\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="glossary" text="">
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>% &#10;</line>
+ <line>% GLOSSARY %title%&#10;</line>
+ <line>% &#10;</line>
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>\dbglossary{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="glossdiv" text="">
+ <line>% &#10;</line>
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>\dbglossdiv{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ <line>\noindent%&#10;</line>
+ <line>\begin{description}%&#10;</line>
+ </mapping>
+
+ <mapping key="glosslist" text="">
+ <line>% &#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ <line>\noindent%&#10;</line>
+ <line>\begin{description}%&#10;</line>
+ </mapping>
+
+ <mapping key="part" text="">
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>% &#10;</line>
+ <line>% PART %title%&#10;</line>
+ <line>% &#10;</line>
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>\part{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="partintro" text="">
+ <line>&#10;</line>
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>% PartIntro %title% &#10;</line>
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>\chapter*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="preface" text="">
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>% Preface &#10;</line>
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>\chapter*{%title%}%&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="refentry" text="">
+ <line>% &#10;</line>
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>% Refentry &#10;</line>
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>\section*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="refsect1" text="&#10;\subsection*{%title%}&#10;\label{%id%}&#10;"/>
+ <mapping key="refsect2" text="&#10;\subsubsection*{%title%}&#10;\label{%id%}&#10;"/>
+ <mapping key="refsect3" text="&#10;\paragraph*{%title%}&#10;\label{%id%}&#10;"/>
+
+ <mapping key="reference" text="">
+ <line>% &#10;</line>
+ <line>% -------------------------------------------------------------&#10;</line>
+ <line>% Reference &#10;</line>
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>\chapter{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="revhistory" text="">
+ <line>&#10;</line>
+ <line>% ------------------------ &#10;</line>
+ <line>% RevHistory &#10;</line>
+ <line>% ------------------------ &#10;</line>
+ <line>\pagebreak&#10;</line>
+ <line>\section*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ <line>\begin{center}&#10;</line>
+ <line>\begin{tt}&#10;</line>
+ <line>\begin{tabular}{|l||l|l|} \hline&#10;</line>
+ </mapping>
+
+ <mapping key="example" text="&#10;\begin{example}%&#10;\hypertarget{%id%}{}%&#10;"/>
+
+ <mapping key="programlisting" text="&#10;\begin{program}%&#10;"/>
+
+ <mapping key="sect1" text="">
+ <line>&#10;</line>
+ <line>% ------------------------ &#10;</line>
+ <line>% Section &#10;</line>
+ <line>\section{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect1*" text="">
+ <line>&#10;</line>
+ <line>% ------------------------ &#10;</line>
+ <line>% Section &#10;</line>
+ <line>\section*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect2" text="">
+ <line>\subsection{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect2*" text="">
+ <line>\subsection*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect3" text="">
+ <line>\subsubsection{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect3*" text="">
+ <line>\subsubsection*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect4" text="">
+ <line>\subparagraph*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect4*" text="">
+ <line>\subparagraph*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect5" text="">
+ <line>\subparagraph*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect5*" text="">
+ <line>\subparagraph*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect6" text="">
+ <line>\subparagraph*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="sect6*" text="">
+ <line>\subparagraph*{%title%}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="set" text="">
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>% &#10;</line>
+ <line>% SET %title%&#10;</line>
+ <line>% &#10;</line>
+ <line>% ------------------------------------------------------------- &#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ <mapping key="setindex" text="">
+ <line>\indexspace&#10;</line>
+ </mapping>
+
+ <mapping key="formalpara" text="">
+ <line>\subsubsection*{\small{%title%}}&#10;</line>
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ </mapping>
+
+ </latexmapping>
+
+
+
+ <!-- LaTeX mapping, role, END -->
+
+ <latexmapping role="end">
+
+ <mapping key="abstract" text="">
+ <line>\end{abstract}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="abstract-title" text="">
+ <line>\end{abstract}&#10;</line>
+ <line>\makeatletter\let\abstractname\save@@abstractname\makeatother&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="admonition" text="">
+ <line>\end{admonition}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="appendices-chapter" text=""/>
+
+ <mapping key="appendices-section" text=""/>
+
+ <mapping key="appendix" text=""/>
+
+ <mapping key="article" text="">
+ <line>\end{document}&#10;</line>
+ </mapping>
+
+ <mapping key="bibliography-chapter" text="">
+ <line>\addcontentsline{toc}{chapter}{%title%}&#10;</line>
+ </mapping>
+
+ <mapping key="bibliography-section" text=""/>
+
+ <mapping key="blockquote" text="">
+ <line>\end{quote}&#10;</line>
+ </mapping>
+
+ <mapping key="book" text="">
+ <line>&#10;</line>
+ <line>\end{document}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="chapter" text=""/>
+
+ <mapping key="colophon" text=""/>
+
+ <mapping key="dedication" text=""/>
+
+ <mapping key="epigraph" text="">
+ <line>\end{quote}&#10;</line>
+ </mapping>
+
+ <mapping key="example" text="">
+ <line>\end{example}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="figure" text="">
+ <line>\end{center}&#10;</line>
+ <line>\end{figure}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="index" text="">
+ <line>\addcontentsline{toc}{chapter}{%title%}&#10;</line>
+ </mapping>
+
+ <mapping key="informalfigure" text="">
+ <line>\label{%id%}&#10;</line>
+ <line>\end{center}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="equation" text="">
+ <line>\end{center}&#10;</line>
+ <line>\end{dbequation}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="glossary" text="">
+ <line>\addcontentsline{toc}{chapter}{%title%}&#10;</line>
+ </mapping>
+
+ <mapping key="glossdiv" text="">
+ <line>\end{description}%&#10;</line>
+ </mapping>
+
+ <mapping key="glosslist" text="">
+ <line>\end{description}%&#10;</line>
+ </mapping>
+
+ <mapping key="informaltable" text="">
+ <line>\end{center}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="keywordset" text="">
+ <line><![CDATA[
+\vspace{0.6em}\par
+\if@twocolumn\else\end{quote}\fi
+%\normalsize\rmfamily
+}
+]]></line>
+ </mapping>
+
+ <mapping key="part" text=""/>
+ <mapping key="partintro" text=""/>
+ <mapping key="reference" text=""/>
+ <mapping key="refentry" text=""/>
+ <mapping key="refsect1" text=""/>
+ <mapping key="refsect2" text=""/>
+ <mapping key="refsect3" text=""/>
+
+ <mapping key="sect1" text=""/>
+ <mapping key="sect1*" text=""/>
+ <mapping key="sect2" text=""/>
+ <mapping key="sect2*" text=""/>
+ <mapping key="sect3" text=""/>
+ <mapping key="sect3*" text=""/>
+ <mapping key="sect4" text=""/>
+ <mapping key="sect4*" text=""/>
+ <mapping key="sect5" text=""/>
+ <mapping key="sect5*" text=""/>
+ <mapping key="set" text=""/>
+
+ <mapping key="setindex" text="">
+ <line>\addcontentsline{toc}{chapter}{%title%}&#10;</line>
+ </mapping>
+
+ <mapping key="table" text="">
+ <line>\end{center}&#10;</line>
+ <line>\end{table}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="preface" text=""/>
+
+ <mapping key="programlisting" text="">
+ <line>\label{%id%}\hypertarget{%id%}{}%&#10;</line>
+ <line>\end{center}&#10;</line>
+ <line>\end{program}&#10;</line>
+ <line>&#10;</line>
+ </mapping>
+
+ <mapping key="revhistory" text="">
+ <line>\end{tabular}&#10;</line>
+ <line>\end{tt}&#10;</line>
+ <line>\end{center}&#10;</line>
+ <line>% ------------------------ &#10;</line>
+ <line>% End RevHistory &#10;</line>
+ <line>% ------------------------ &#10;</line>
+ </mapping>
+ </latexmapping>
+
+ <latexmapping role="entities">
+ <mapping key="&#x0221E;" text=" \infty "/>
+ </latexmapping>
+
+</latexbindings>
diff --git a/docs/xslt/db2latex-xsl/xsl/latex.mapping.xsl b/docs/xslt/db2latex-xsl/xsl/latex.mapping.xsl
new file mode 100644
index 0000000000..a1dc5dbf27
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/latex.mapping.xsl
@@ -0,0 +1,282 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: latex.mapping.xsl,v 1.18 2004/01/14 14:54:32 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
+|
+| PURPOSE:
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <!--############################################################################# -->
+ <!-- DOCUMENTATION -->
+ <doc:reference id="latex.mapping" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: latex.mapping.xsl,v 1.18 2004/01/14 14:54:32 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon; &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.11">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>The &DB2LaTeX; mapping system <filename>latex.mapping.xsl</filename></title>
+ <partintro>
+ <section><title>Introduction</title>
+ <para>The &DB2LaTeX; mapping system centralises the mapping
+ of &DocBook; tags (e.g. <doc:db>chapter</doc:db>)
+ to &LaTeX; commands (e.g. <function condition="latex">chapter</function>).
+ It uses an auxiliary file, <filename>latex.mapping.xml</filename>,
+ to define the start and end of each mapping.
+ You can override this <quote>mapping file</quote>
+ in order to customise &DB2LaTeX;.</para>
+ </section>
+ </partintro>
+ </doc:reference>
+ <!--############################################################################# -->
+
+ <doc:param name="latex.mapping.xml">
+ <refpurpose>The primary mapping file</refpurpose>
+ <doc:description>
+ <para>
+ &DB2LaTeX; will search for mappings in this file.
+ The value of this variable must be an XML document.
+ If mappings cannot be found in this file, &DB2LaTeX; will
+ search the <link linkend="param.latex.mapping.xml.default">default mapping file</link>.
+ </para>
+ </doc:description>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_mapping;
+ </simplelist>
+ </doc:samples>
+ </doc:param>
+ <xsl:param name="latex.mapping.xml" select="document('latex.mapping.xml')"/>
+
+ <doc:param name="latex.mapping.xml.default">
+ <refpurpose>The default mapping file</refpurpose>
+ <doc:description>
+ <para>
+ Defines the mapping file that &DB2LaTeX; will search
+ when it cannot find a template in the
+ <link linkend="param.latex.mapping.xml">primary mapping file</link>.
+ The value of this variable must be an XML document.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.mapping.xml.default" select="document('latex.mapping.xml')"/>
+
+ <doc:template xmlns="">
+ <refpurpose>Perform &DocBook; to &LaTeX; mapping</refpurpose>
+ <doc:description>
+
+
+
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.mapping.xml"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.mapping.xml.default"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="latex.mapping">
+ <xsl:param name="object" select="."/>
+ <xsl:param name="keyword" select="local-name($object)"/>
+ <xsl:param name="role" select="begin"/>
+ <xsl:param name="string">
+ <xsl:call-template name="extract.object.title">
+ <xsl:with-param name="object" select="$object"/>
+ </xsl:call-template>
+ </xsl:param>
+ <xsl:variable name="id">
+ <xsl:call-template name="generate.label.id">
+ <xsl:with-param name="object" select="$object"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:choose>
+ <xsl:when test="starts-with(local-name($object),'informal')">
+ <xsl:if test="$string!=''">
+ <xsl:message>Ignoring title for <xsl:value-of select="local-name($object)"/>.</xsl:message>
+ </xsl:if>
+ </xsl:when>
+ <xsl:when test="$string=''">
+ <xsl:call-template name="gentext.element.name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="normalize-space($string)"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="local.mapping" select="$latex.mapping.xml/latexbindings/latexmapping[@role=$role]/mapping[@key=$keyword]"/>
+ <xsl:variable name="default.mapping" select="$latex.mapping.xml.default/latexbindings/latexmapping[@role=$role]/mapping[@key=$keyword]"/>
+
+ <xsl:choose>
+ <xsl:when test="$local.mapping and ($local.mapping/@text!='' or not($local.mapping/line))">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="to"><xsl:value-of select="$id"/></xsl:with-param>
+ <xsl:with-param name="from">%id%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="to"><xsl:value-of select="$title"/></xsl:with-param>
+ <xsl:with-param name="from">%title%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:value-of select="$local.mapping/@text"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:when test="$local.mapping/line">
+ <xsl:for-each select="$local.mapping/line">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="to"><xsl:value-of select="$id"/></xsl:with-param>
+ <xsl:with-param name="from">%id%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="to"><xsl:value-of select="$title"/></xsl:with-param>
+ <xsl:with-param name="from">%title%</xsl:with-param>
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:for-each>
+ </xsl:when>
+
+ <xsl:when test="$default.mapping/@text!=''">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="to"><xsl:value-of select="$id"/></xsl:with-param>
+ <xsl:with-param name="from">%id%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="to"><xsl:value-of select="$title"/></xsl:with-param>
+ <xsl:with-param name="from">%title%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:value-of select="$default.mapping/@text"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:when test="$default.mapping">
+ <xsl:for-each select="$default.mapping/line">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="to"><xsl:value-of select="$id"/></xsl:with-param>
+ <xsl:with-param name="from">%id%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="to"><xsl:value-of select="$title"/></xsl:with-param>
+ <xsl:with-param name="from">%title%</xsl:with-param>
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:for-each>
+
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message terminate="no">
+ <xsl:text>Warning: Unable to find LaTeX mapping for &#10;</xsl:text>
+ <xsl:text>KEYWORD:</xsl:text><xsl:value-of select="$keyword"/><xsl:text>&#10;</xsl:text>
+ <xsl:text>ROLE:</xsl:text><xsl:value-of select="$role"/><xsl:text>&#10;</xsl:text>
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+
+
+
+ <xsl:template name="map.begin">
+ <xsl:param name="object" select="."/>
+ <xsl:param name="keyword" select="local-name($object)"/>
+ <xsl:param name="string">
+ <xsl:call-template name="extract.object.title">
+ <xsl:with-param name="object" select="$object"/>
+ </xsl:call-template>
+ </xsl:param>
+ <xsl:call-template name="latex.mapping">
+ <xsl:with-param name="keyword" select="$keyword"/>
+ <xsl:with-param name="role">begin</xsl:with-param>
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template name="map.end">
+ <xsl:param name="object" select="."/>
+ <xsl:param name="keyword" select="local-name($object)"/>
+ <xsl:param name="role" select="begin"/>
+ <xsl:param name="string">
+ <xsl:call-template name="extract.object.title">
+ <xsl:with-param name="object" select="$object"/>
+ </xsl:call-template>
+ </xsl:param>
+ <xsl:call-template name="latex.mapping">
+ <xsl:with-param name="keyword" select="$keyword"/>
+ <xsl:with-param name="string" select="$string"/>
+ <xsl:with-param name="role">end</xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template name="extract.object.title">
+ <refpurpose>Choose a title for an object</refpurpose>
+ <doc:description>
+ <para>
+ Processes the <sgmltag class="element">title</sgmltag> child
+ of the specified object. Uses the context node as the default object.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.apply.title.templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry><term>object</term><listitem><simpara>The node for which a title is desired.</simpara></listitem></varlistentry>
+ </variablelist>
+ </doc:params>
+ </doc:template>
+ <xsl:template name="extract.object.title">
+ <xsl:param name="object" select="."/>
+ <xsl:choose>
+ <xsl:when test="$latex.apply.title.templates='1'">
+ <xsl:apply-templates select="$object/title" mode="latex"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="normalize-scape">
+ <xsl:with-param name="string" select="$object/title"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template match="title" mode="latex">
+ <refpurpose>Process <doc:db>title</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>Applies templates with no mode. This template is called by <xref linkend="template.extract.object.title"/>.</para>
+ <para>This differs from the modeless <doc:db>title</doc:db>
+ templates because they suppress the output of titles.</para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="title" mode="latex"><xsl:apply-templates/></xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/lists.mod.xsl b/docs/xslt/db2latex-xsl/xsl/lists.mod.xsl
new file mode 100644
index 0000000000..d04f9c77da
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/lists.mod.xsl
@@ -0,0 +1,783 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: lists.mod.xsl,v 1.25 2004/01/31 11:53:50 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="lists" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: lists.mod.xsl,v 1.25 2004/01/31 11:53:50 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.16">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Lists <filename>lists.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process titles for <doc:db>variablelist</doc:db>, <doc:db>orderedlist</doc:db>, <doc:db>itemizedlist</doc:db> and <doc:db>simplelist</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Formats a title.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <variablelist>
+ <varlistentry>
+ <term><xref linkend="param.latex.list.title.style"/></term>
+ <listitem><simpara>
+ The &LaTeX; command for formatting titles.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>style</term>
+ <listitem><simpara>The &LaTeX; command to use. Defaults to
+ <xref linkend="param.latex.list.title.style"/>.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+ Applies templates as a paragraph, formatted with the specified style.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="variablelist/title|orderedlist/title|itemizedlist/title|simplelist/title">
+ <xsl:param name="style" select="$latex.list.title.style"/>
+ <xsl:text>&#10;{</xsl:text>
+ <xsl:value-of select="$style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="listitem" xmlns="">
+ <refpurpose>Process <doc:db>listitem</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a list item.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Applies templates within a &LaTeX; <function condition="latex">item</function>
+ command.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="listitem">
+ <xsl:text>&#10;%--- Item&#10;</xsl:text>
+ <xsl:text>\item </xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>itemizedlist</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats an itemised list.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.noindent"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Applies templates. Uses a &LaTeX; <function condition="env">itemize</function>
+ environment.
+ </para>
+ <para>
+ The <sgmltag class="attribute">spacing</sgmltag>=<quote>compact</quote>
+ attribute is recognised.
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_chemistry;
+ &test_lists;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="itemizedlist">
+ <xsl:apply-templates select="node()[not(self::listitem)]"/>
+ <xsl:call-template name="compactlist.pre"/>
+ <xsl:text>&#10;\begin{itemize}</xsl:text>
+ <xsl:call-template name="compactlist.begin"/>
+ <xsl:apply-templates select="listitem"/>
+ <xsl:text>\end{itemize}&#10;</xsl:text>
+ <xsl:call-template name="compactlist.post"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>variablelist</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a list in which each item is denoted by a textual label.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.noindent"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Applies templates. Uses a &LaTeX; <function condition="env">description</function>
+ environment.
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_bind;
+ &test_book;
+ &test_ddh;
+ &test_lists;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="variablelist">
+ <xsl:apply-templates select="node()[not(self::varlistentry)]"/>
+ <xsl:text>&#10;\begin{description}&#10;</xsl:text>
+ <xsl:apply-templates select="varlistentry"/>
+ <xsl:text>\end{description}&#10;</xsl:text>
+ <xsl:if test="$latex.use.noindent=1">
+ <xsl:text>\noindent </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>orderedlist</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a list in which each item is denoted by a numeric label.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.noindent"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>The only &DocBook; attribute that is supported is <sgmltag class="attribute">numeration</sgmltag>.</para>
+ <para>
+ Applies templates. Uses a &LaTeX; <function condition="env">enumerate</function>
+ environment.
+ </para>
+ <para>
+ The <sgmltag class="attribute">spacing</sgmltag>=<quote>compact</quote>
+ attribute is recognised.
+ </para>
+ <para>
+ The <sgmltag class="attribute">numeration</sgmltag> attribute
+ is recognised.
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_chemistry;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="orderedlist">
+ <xsl:variable name="numeration">
+ <xsl:choose>
+ <xsl:when test="@numeration">
+ <xsl:value-of select="@numeration"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="arabic"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:apply-templates select="node()[not(self::listitem)]"/>
+ <xsl:call-template name="compactlist.pre"/>
+ <xsl:text>&#10;\begin{enumerate}</xsl:text>
+ <xsl:if test="@numeration">
+ <xsl:choose>
+ <xsl:when test="@numeration='arabic'"> <xsl:text>[1]</xsl:text>&#10;</xsl:when>
+ <xsl:when test="@numeration='upperalpha'"><xsl:text>[A]</xsl:text>&#10;</xsl:when>
+ <xsl:when test="@numeration='loweralpha'"><xsl:text>[a]</xsl:text>&#10;</xsl:when>
+ <xsl:when test="@numeration='upperroman'"><xsl:text>[I]</xsl:text>&#10;</xsl:when>
+ <xsl:when test="@numeration='lowerroman'"><xsl:text>[i]</xsl:text>&#10;</xsl:when>
+ </xsl:choose>
+ </xsl:if>
+ <xsl:call-template name="compactlist.begin"/>
+ <xsl:apply-templates select="listitem"/>
+ <xsl:text>\end{enumerate}&#10;</xsl:text>
+ <xsl:call-template name="compactlist.post"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>varlistentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a labeled list item.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Applies templates within a &LaTeX; <function condition="latex">item</function>
+ command.
+ A comma is inserted between successive <doc:db basename="term">terms</doc:db>.
+ </para>
+ <para>
+ A &LaTeX; <function condition="latex">null{}</function> command is
+ inserted after the <function condition="latex">item</function> to
+ guard against empty <doc:db basename="listitem">listitems</doc:db>.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="varlistentry">
+ <xsl:param name="object" select="listitem/*[1]"/>
+ <xsl:param name="next.is.list">
+ <xsl:value-of select="count($object[self::itemizedlist or self::orderedlist or self::variablelist])"/>
+ </xsl:param>
+ <xsl:variable name="id">
+ <xsl:call-template name="label.id"/>
+ </xsl:variable>
+ <xsl:text>% \null and \mbox are tricks to induce different typesetting decisions&#10;</xsl:text>
+ <xsl:text>\item[{</xsl:text>
+ <xsl:for-each select="term">
+ <xsl:apply-templates/>
+ <xsl:if test="position()!=last()">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:choose>
+ <xsl:when test="$next.is.list=1">
+ <xsl:text>}]\mbox{}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>}]\null{}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="listitem"/>
+ </xsl:template>
+
+ <doc:template basename="term" xmlns="">
+ <refpurpose>Process <doc:db>varlistentry</doc:db>'s <doc:db>term</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="varlistentry/term">
+ <xsl:apply-templates/><xsl:text>, </xsl:text>
+ </xsl:template>
+
+ <doc:template basename="listitem" xmlns="">
+ <refpurpose>Process <doc:db>listitem</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Unlike <xref linkend="template.listitem"/>, the \item
+ has been output by the enclosing element's template.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="varlistentry/listitem">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Generate a <function condition="env">tabular</function> specification</refpurpose>
+ <doc:description>
+ <para>
+
+ Produces a left-aligned tabular specification list.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>cols</term>
+ <listitem><simpara>The number of repetitions</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ </doc:template>
+ <xsl:template name="generate.simplelist.tabular.string">
+ <xsl:param name="cols" select="1"/>
+ <xsl:param name="i" select="1"/>
+ <xsl:choose>
+ <xsl:when test="$i > $cols"></xsl:when>
+ <xsl:otherwise>
+ <xsl:text>l</xsl:text>
+ <xsl:call-template name="generate.simplelist.tabular.string">
+ <xsl:with-param name="i" select="$i+1"/>
+ <xsl:with-param name="cols" select="$cols"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template basename="simplelist" xmlns="">
+ <refpurpose>Process <doc:db>simplelist</doc:db> elements with inline <doc:db basename="member">members</doc:db></refpurpose>
+ <doc:description>
+ <para>
+ Formats a simple, comma-separated list for a <doc:db>simplelist</doc:db>
+ that has a <sgmltag class="attribute">type</sgmltag> attribute equal to <quote>inline</quote>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ This is not made into a paragraph and is not temrinated by a full stop (<quote>period</quote>).
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="simplelist[@type='inline']" name="generate.simplelist.inline">
+ <xsl:for-each select="member">
+ <xsl:apply-templates/>
+ <xsl:if test="position()!=last()">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:template>
+
+ <doc:template basename="simplelist" xmlns="">
+ <refpurpose>Process <doc:db>simplelist</doc:db> elements with <quote>horiz</quote> <doc:db basename="member">members</doc:db></refpurpose>
+ <doc:description>
+ <para>
+ Formats a simple, comma-separated list for a <doc:db>simplelist</doc:db>
+ that has a <sgmltag class="attribute">type</sgmltag> attribute equal to <quote>horiz</quote>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>environment</term>
+ <listitem><simpara>The &LaTeX; tabular-like environment to use. Defaults to <quote>tabular</quote> unless <xref linkend="param.latex.use.ltxtable"/> or <xref linkend="param.latex.use.longtable"/> is enabled, in which case the default is <quote>longtable</quote>.</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>cols</term>
+ <listitem><simpara>The number of members per line (defaults to the value of the <sgmltag class="attribute">columns</sgmltag> attribute).</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+ This is formatted as a border-less &LaTeX; table.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="simplelist[@type='horiz']" name="generate.simplelist.horiz">
+ <xsl:param name="environment">
+ <xsl:choose>
+ <xsl:when test="$latex.use.ltxtable='1' or $latex.use.longtable='1'">
+ <xsl:text>longtable</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>tabular</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:param name="cols">
+ <xsl:choose>
+ <xsl:when test="@columns">
+ <xsl:value-of select="@columns"/>
+ </xsl:when>
+ <xsl:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>\begin{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:call-template name="generate.simplelist.tabular.string">
+ <xsl:with-param name="cols" select="$cols"/>
+ </xsl:call-template>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:call-template name="simplelist.horiz">
+ <xsl:with-param name="cols" select="$cols"/>
+ </xsl:call-template>
+ <xsl:text>&#10;\end{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+ <xsl:template name="simplelist.horiz">
+ <xsl:param name="cols">1</xsl:param>
+ <xsl:param name="cell">1</xsl:param>
+ <xsl:param name="members" select="./member"/>
+ <xsl:if test="$cell &lt;= count($members)">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:call-template name="simplelist.horiz.row">
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="cell" select="$cell"/>
+ <xsl:with-param name="members" select="$members"/>
+ </xsl:call-template>
+ <xsl:text> \\</xsl:text>
+ <xsl:call-template name="simplelist.horiz">
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="cell" select="$cell + $cols"/>
+ <xsl:with-param name="members" select="$members"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="simplelist.horiz.row">
+ <xsl:param name="cols">1</xsl:param>
+ <xsl:param name="cell">1</xsl:param>
+ <xsl:param name="members" select="./member"/>
+ <xsl:param name="curcol">1</xsl:param>
+ <xsl:if test="$curcol &lt;= $cols">
+ <xsl:choose>
+ <xsl:when test="$members[position()=$cell]">
+ <xsl:apply-templates select="$members[position()=$cell]"/>
+ <xsl:text> </xsl:text>
+ <xsl:if test="$curcol &lt; $cols">
+ <xsl:call-template name="generate.latex.cell.separator"/>
+ </xsl:if>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:call-template name="simplelist.horiz.row">
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="cell" select="$cell+1"/>
+ <xsl:with-param name="members" select="$members"/>
+ <xsl:with-param name="curcol" select="$curcol+1"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template basename="simplelist" xmlns="">
+ <refpurpose>Process <doc:db>simplelist</doc:db> elements with <quote>vert</quote> <doc:db basename="member">members</doc:db></refpurpose>
+ <doc:description>
+ <para>
+ Formats a simple, comma-separated list for a <doc:db>simplelist</doc:db>
+ that has a <sgmltag class="attribute">type</sgmltag> attribute that is either
+ empty or equal to <quote>vert</quote>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>environment</term>
+ <listitem><simpara>The &LaTeX; tabular-like environment to use. Defaults to <quote>tabular</quote> unless <xref linkend="param.latex.use.ltxtable"/> or <xref linkend="param.latex.use.longtable"/> is set, in which case the default is <quote>longtable</quote>.</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>cols</term>
+ <listitem><simpara>The number of members per line (defaults to the value of the <sgmltag class="attribute">columns</sgmltag> attribute).</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+ This is formatted as a border-less &LaTeX; table.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="simplelist|simplelist[@type='vert']" name="generate.simplelist.vert">
+ <xsl:param name="environment">
+ <xsl:choose>
+ <xsl:when test="$latex.use.ltxtable='1' or $latex.use.longtable='1'">
+ <xsl:text>longtable</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>tabular</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:param name="cols">
+ <xsl:choose>
+ <xsl:when test="@columns">
+ <xsl:value-of select="@columns"/>
+ </xsl:when>
+ <xsl:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>\begin{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:call-template name="generate.simplelist.tabular.string">
+ <xsl:with-param name="cols" select="$cols"/>
+ </xsl:call-template>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:call-template name="simplelist.vert">
+ <xsl:with-param name="cols" select="$cols"/>
+ </xsl:call-template>
+ <xsl:text>&#10;\end{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+ <xsl:template name="simplelist.vert">
+ <xsl:param name="cols">1</xsl:param>
+ <xsl:param name="cell">1</xsl:param>
+ <xsl:param name="members" select="./member"/>
+ <xsl:param name="rows" select="floor((count($members)+$cols - 1) div $cols)"/>
+ <xsl:if test="$cell &lt;= $rows">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:call-template name="simplelist.vert.row">
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="rows" select="$rows"/>
+ <xsl:with-param name="cell" select="$cell"/>
+ <xsl:with-param name="members" select="$members"/>
+ </xsl:call-template>
+ <xsl:text> \\</xsl:text>
+ <xsl:call-template name="simplelist.vert">
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="cell" select="$cell+1"/>
+ <xsl:with-param name="members" select="$members"/>
+ <xsl:with-param name="rows" select="$rows"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="simplelist.vert.row">
+ <xsl:param name="cols">1</xsl:param>
+ <xsl:param name="rows">1</xsl:param>
+ <xsl:param name="cell">1</xsl:param>
+ <xsl:param name="members" select="./member"/>
+ <xsl:param name="curcol">1</xsl:param>
+ <xsl:if test="$curcol &lt;= $cols">
+ <xsl:choose>
+ <xsl:when test="$members[position()=$cell]">
+ <xsl:apply-templates select="$members[position()=$cell]"/>
+ <xsl:text> </xsl:text>
+ <xsl:if test="$curcol &lt; $cols">
+ <xsl:call-template name="generate.latex.cell.separator"/>
+ </xsl:if>
+ </xsl:when>
+ <xsl:otherwise>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:call-template name="simplelist.vert.row">
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="rows" select="$rows"/>
+ <xsl:with-param name="cell" select="$cell+$rows"/>
+ <xsl:with-param name="members" select="$members"/>
+ <xsl:with-param name="curcol" select="$curcol+1"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>member</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="member">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>segmentedlist</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="segmentedlist">
+ <xsl:apply-templates select="title|titleabbrev"/>
+ <xsl:apply-templates select="seglistitem"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process titles for <doc:db>segmentedlist</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a title as a paragraph.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>style</term>
+ <listitem><simpara>The &LaTeX; command to use.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+ Applies templates as a paragraph, formatted with the specified style, and
+ terminated with a newline command.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="segmentedlist/title">
+ <xsl:param name="style" select="$latex.list.title.style"/>
+ <xsl:text>&#10;{</xsl:text>
+ <xsl:value-of select="$style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}}\\&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>segtitle</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="segtitle">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>seglistitem</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a segmented list item.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>Applies <doc:db>seg</doc:db> templates. Each item is separated by a &LaTeX;
+ <function condition="latex">\</function> command.</para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="seglistitem">
+ <xsl:apply-templates/>
+ <xsl:choose>
+ <xsl:when test="position()=last()"><xsl:text>&#10;&#10;</xsl:text></xsl:when>
+ <xsl:otherwise><xsl:text> \\&#10;</xsl:text></xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>seg</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a <doc:db>seg</doc:db> with its <doc:db>segtitle</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.segtitle.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="seg">
+ <xsl:variable name="segnum" select="position()"/>
+ <xsl:variable name="seglist" select="ancestor::segmentedlist"/>
+ <xsl:variable name="segtitles" select="$seglist/segtitle"/>
+
+ <!--
+ Note: segtitle is only going to be the right thing in a well formed
+ SegmentedList. If there are too many Segs or too few SegTitles,
+ you'll get something odd...maybe an error
+ -->
+
+ <xsl:text> {</xsl:text>
+ <xsl:value-of select="$latex.segtitle.style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="$segtitles[$segnum=position()]"/>
+ <xsl:text>:}} </xsl:text>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template name="compactlist.pre">
+ <xsl:if test="@spacing='compact'">
+ <xsl:if test="$latex.use.parskip=1">
+ <xsl:text>&#10;\docbooktolatexnoparskip</xsl:text>
+ </xsl:if>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="compactlist.begin">
+ <xsl:if test="@spacing='compact' and $latex.use.parskip!=1">
+ <xsl:text>\setlength{\itemsep}{-0.25em}&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="compactlist.post">
+ <xsl:if test="@spacing='compact' and $latex.use.parskip=1">
+ <xsl:text>\docbooktolatexrestoreparskip&#10;</xsl:text>
+ </xsl:if>
+ <xsl:if test="$latex.use.noindent=1">
+ <xsl:text>\noindent </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/mathelem.mod.xsl b/docs/xslt/db2latex-xsl/xsl/mathelem.mod.xsl
new file mode 100644
index 0000000000..6b78a8f420
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathelem.mod.xsl
@@ -0,0 +1,297 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: mathelem.mod.xsl,v 1.4 2004/01/02 05:03:28 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="mathelems" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: mathelem.mod.xsl,v 1.4 2004/01/02 05:03:28 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.4">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Mathematics <filename>mathelems.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ Mathelements as theorems, lemmas, propositions, etc. Note: these
+ elements are not part of the &DocBook; DTD. I have extended the
+ &DocBook; in order to support this tags, so that's why I have these
+ templates here.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathelement</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="mathelement">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Typeset mathelement environments</refpurpose>
+ <doc:description>
+ <para>
+
+ Applies templates within the specified &LaTeX; environment,
+ with a title from any <doc:db>title</doc:db> child.
+ <doc:todo>No hypertarget is generated.</doc:todo>
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>environment</term>
+ <listitem><simpara>The name of the &LaTeX; environment command.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ </doc:template>
+ <xsl:template name="mathelement.environment">
+ <xsl:param name="environment" select="'hypothesis'"/>
+ <xsl:text>\begin{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}[{</xsl:text>
+ <xsl:call-template name="normalize-scape">
+ <xsl:with-param name="string" select="title"/>
+ </xsl:call-template>
+ <xsl:text>}]&#10;</xsl:text>
+ <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable>
+ <xsl:call-template name="content-templates"/>
+ <xsl:text>\end{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathelement/mathhypothesis</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a hypothesis.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.mathelement.environment"/>
+ for the <quote>hypothesis</quote> environment.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="mathelement/mathhypothesis">
+ <xsl:call-template name="mathelement.environment">
+ <xsl:with-param name="environment" select="'hypothesis'"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathelement/mathremark</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a mathematical remark.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.mathelement.environment"/>
+ for the <quote>rem</quote> environment.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="mathelement/mathremark">
+ <xsl:call-template name="mathelement.environment">
+ <xsl:with-param name="environment" select="'rem'"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathelement/mathexample</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a mathematical example.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.mathelement.environment"/>
+ for the <quote>exm</quote> environment.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="mathelement/mathexample">
+ <xsl:call-template name="mathelement.environment">
+ <xsl:with-param name="environment" select="'exm'"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathelement/mathproposition</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a mathematical proposition.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.mathelement.environment"/>
+ for the <quote>prop</quote> environment.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="mathelement/mathproposition">
+ <xsl:call-template name="mathelement.environment">
+ <xsl:with-param name="environment" select="'prop'"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathelement/maththeorem</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a mathematical theorem.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.mathelement.environment"/>
+ for the <quote>thm</quote> environment.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="mathelement/maththeorem">
+ <xsl:call-template name="mathelement.environment">
+ <xsl:with-param name="environment" select="'thm'"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathelement/mathdefinition</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a mathematical definition.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.mathelement.environment"/>
+ for the <quote>defn</quote> environment.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="mathelement/mathdefinition">
+ <xsl:call-template name="mathelement.environment">
+ <xsl:with-param name="environment" select="'defn'"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathelement/mathlemma</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a mathematical lemma.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.mathelement.environment"/>
+ for the <quote>lem</quote> environment.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="mathelement/mathlemma">
+ <xsl:call-template name="mathelement.environment">
+ <xsl:with-param name="environment" select="'lem'"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathelement/mathproof</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a mathematical proof.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Calls <xref linkend="template.mathelement.environment"/>
+ for the <quote>proof</quote> environment.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="mathelement/mathproof">
+ <xsl:call-template name="mathelement.environment">
+ <xsl:with-param name="environment" select="'proof'"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>mathphrase</sgmltag>, <sgmltag>mathcondition</sgmltag> and <sgmltag>mathassertion</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="mathphrase|mathcondition|mathassertion">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsa.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsa.ent
new file mode 100644
index 0000000000..5ecf4db216
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsa.ent
@@ -0,0 +1,173 @@
+
+<!--
+ File isoamsa.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY angzarr "&#x0237C;" ><!--angle with down zig-zag arrow -->
+<!ENTITY cirmid "&#x02AEF;" ><!--circle, mid below -->
+<!ENTITY cudarrl "&#x02938;" ><!--left, curved, down arrow -->
+<!ENTITY cudarrr "&#x02935;" ><!--right, curved, down arrow -->
+<!ENTITY cularr "&#x021B6;" ><!--/curvearrowleft A: left curved arrow -->
+<!ENTITY cularrp "&#x0293D;" ><!--curved left arrow with plus -->
+<!ENTITY curarr "&#x021B7;" ><!--/curvearrowright A: rt curved arrow -->
+<!ENTITY curarrm "&#x0293C;" ><!--curved right arrow with minus -->
+<!ENTITY dArr "&#x021D3;" ><!--/Downarrow A: down dbl arrow -->
+<!ENTITY Darr "&#x021A1;" ><!--down two-headed arrow -->
+<!ENTITY ddarr "&#x021CA;" ><!--/downdownarrows A: two down arrows -->
+<!ENTITY DDotrahd "&#x02911;" ><!--right arrow with dotted stem -->
+<!ENTITY dfisht "&#x0297F;" ><!--down fish tail -->
+<!ENTITY dHar "&#x02965;" ><!--down harpoon-left, down harpoon-right -->
+<!ENTITY dharl "&#x021C3;" ><!--/downharpoonleft A: dn harpoon-left -->
+<!ENTITY dharr "&#x021C2;" ><!--/downharpoonright A: down harpoon-rt -->
+<!ENTITY duarr "&#x021F5;" ><!--down arrow, up arrow -->
+<!ENTITY duhar "&#x0296F;" ><!--down harp, up harp -->
+<!ENTITY dzigrarr "&#x021DD;" ><!--right long zig-zag arrow -->
+<!ENTITY erarr "&#x02971;" ><!--equal, right arrow below -->
+<!ENTITY harr "&#x02194;" ><!--/leftrightarrow A: l&r arrow -->
+<!ENTITY hArr "&#x021D4;" ><!--/Leftrightarrow A: l&r dbl arrow -->
+<!ENTITY harrcir "&#x02948;" ><!--left and right arrow with a circle -->
+<!ENTITY harrw "&#x021AD;" ><!--/leftrightsquigarrow A: l&r arr-wavy -->
+<!ENTITY hoarr "&#x021FF;" ><!--horizontal open arrow -->
+<!ENTITY imof "&#x022B7;" ><!--image of -->
+<!ENTITY lAarr "&#x021DA;" ><!--/Lleftarrow A: left triple arrow -->
+<!ENTITY Larr "&#x0219E;" ><!--/twoheadleftarrow A: -->
+<!ENTITY larrbfs "&#x0291F;" ><!--left arrow-bar, filled square -->
+<!ENTITY larrfs "&#x0291D;" ><!--left arrow, filled square -->
+<!ENTITY larrhk "&#x021A9;" ><!--/hookleftarrow A: left arrow-hooked -->
+<!ENTITY larrlp "&#x021AB;" ><!--/looparrowleft A: left arrow-looped -->
+<!ENTITY larrpl "&#x02939;" ><!--left arrow, plus -->
+<!ENTITY larrsim "&#x02973;" ><!--left arrow, similar -->
+<!ENTITY larrtl "&#x021A2;" ><!--/leftarrowtail A: left arrow-tailed -->
+<!ENTITY latail "&#x02919;" ><!--left arrow-tail -->
+<!ENTITY lAtail "&#x0291B;" ><!--left double arrow-tail -->
+<!ENTITY lbarr "&#x0290C;" ><!--left broken arrow -->
+<!ENTITY lBarr "&#x0290E;" ><!--left doubly broken arrow -->
+<!ENTITY ldca "&#x02936;" ><!--left down curved arrow -->
+<!ENTITY ldrdhar "&#x02967;" ><!--left harpoon-down over right harpoon-down -->
+<!ENTITY ldrushar "&#x0294B;" ><!--left-down-right-up harpoon -->
+<!ENTITY ldsh "&#x021B2;" ><!--left down angled arrow -->
+<!ENTITY lfisht "&#x0297C;" ><!--left fish tail -->
+<!ENTITY lHar "&#x02962;" ><!--left harpoon-up over left harpoon-down -->
+<!ENTITY lhard "&#x021BD;" ><!--/leftharpoondown A: l harpoon-down -->
+<!ENTITY lharu "&#x021BC;" ><!--/leftharpoonup A: left harpoon-up -->
+<!ENTITY lharul "&#x0296A;" ><!--left harpoon-up over long dash -->
+<!ENTITY llarr "&#x021C7;" ><!--/leftleftarrows A: two left arrows -->
+<!ENTITY llhard "&#x0296B;" ><!--left harpoon-down below long dash -->
+<!ENTITY loarr "&#x021FD;" ><!--left open arrow -->
+<!ENTITY lrarr "&#x021C6;" ><!--/leftrightarrows A: l arr over r arr -->
+<!ENTITY lrhar "&#x021CB;" ><!--/leftrightharpoons A: l harp over r -->
+<!ENTITY lrhard "&#x0296D;" ><!--right harpoon-down below long dash -->
+<!ENTITY lsh "&#x021B0;" ><!--/Lsh A: -->
+<!ENTITY lurdshar "&#x0294A;" ><!--left-up-right-down harpoon -->
+<!ENTITY luruhar "&#x02966;" ><!--left harpoon-up over right harpoon-up -->
+<!ENTITY map "&#x021A6;" ><!--/mapsto A: -->
+<!ENTITY Map "&#x02905;" ><!--twoheaded mapsto -->
+<!ENTITY midcir "&#x02AF0;" ><!--mid, circle below -->
+<!ENTITY mumap "&#x022B8;" ><!--/multimap A: -->
+<!ENTITY nearhk "&#x02924;" ><!--NE arrow-hooked -->
+<!ENTITY nearr "&#x02197;" ><!--/nearrow A: NE pointing arrow -->
+<!ENTITY neArr "&#x021D7;" ><!--NE pointing dbl arrow -->
+<!ENTITY nesear "&#x02928;" ><!--/toea A: NE & SE arrows -->
+<!ENTITY nharr "&#x021AE;" ><!--/nleftrightarrow A: not l&r arrow -->
+<!ENTITY nhArr "&#x021CE;" ><!--/nLeftrightarrow A: not l&r dbl arr -->
+<!ENTITY nlarr "&#x0219A;" ><!--/nleftarrow A: not left arrow -->
+<!ENTITY nlArr "&#x021CD;" ><!--/nLeftarrow A: not implied by -->
+<!ENTITY nrarr "&#x0219B;" ><!--/nrightarrow A: not right arrow -->
+<!ENTITY nrArr "&#x021CF;" ><!--/nRightarrow A: not implies -->
+<!ENTITY nrarrc "&#x02933;&#x00338;" ><!--not right arrow-curved -->
+<!ENTITY nrarrw "&#x0219D;&#x00338;" ><!--not right arrow-wavy -->
+<!ENTITY nvHarr "&#x021CE;" ><!--not, vert, left and right double arrow -->
+<!ENTITY nvlArr "&#x021CD;" ><!--not, vert, left double arrow -->
+<!ENTITY nvrArr "&#x021CF;" ><!--not, vert, right double arrow -->
+<!ENTITY nwarhk "&#x02923;" ><!--NW arrow-hooked -->
+<!ENTITY nwarr "&#x02196;" ><!--/nwarrow A: NW pointing arrow -->
+<!ENTITY nwArr "&#x021D6;" ><!--NW pointing dbl arrow -->
+<!ENTITY nwnear "&#x02927;" ><!--NW & NE arrows -->
+<!ENTITY olarr "&#x021BA;" ><!--/circlearrowleft A: l arr in circle -->
+<!ENTITY orarr "&#x021BB;" ><!--/circlearrowright A: r arr in circle -->
+<!ENTITY origof "&#x022B6;" ><!--original of -->
+<!ENTITY rAarr "&#x021DB;" ><!--/Rrightarrow A: right triple arrow -->
+<!ENTITY Rarr "&#x021A0;" ><!--/twoheadrightarrow A: -->
+<!ENTITY rarrap "&#x02975;" ><!--approximate, right arrow above -->
+<!ENTITY rarrbfs "&#x02920;" ><!--right arrow-bar, filled square -->
+<!ENTITY rarrc "&#x02933;" ><!--right arrow-curved -->
+<!ENTITY rarrfs "&#x0291E;" ><!--right arrow, filled square -->
+<!ENTITY rarrhk "&#x021AA;" ><!--/hookrightarrow A: rt arrow-hooked -->
+<!ENTITY rarrlp "&#x021AC;" ><!--/looparrowright A: rt arrow-looped -->
+<!ENTITY rarrpl "&#x02945;" ><!--right arrow, plus -->
+<!ENTITY rarrsim "&#x02974;" ><!--right arrow, similar -->
+<!ENTITY rarrtl "&#x021A3;" ><!--/rightarrowtail A: rt arrow-tailed -->
+<!ENTITY Rarrtl "&#x02916;" ><!--right two-headed arrow with tail -->
+<!ENTITY rarrw "&#x021DD;" ><!--/rightsquigarrow A: rt arrow-wavy -->
+<!ENTITY ratail "&#x021A3;" ><!--right arrow-tail -->
+<!ENTITY rAtail "&#x0291C;" ><!--right double arrow-tail -->
+<!ENTITY rbarr "&#x0290D;" ><!--/bkarow A: right broken arrow -->
+<!ENTITY rBarr "&#x0290F;" ><!--/dbkarow A: right doubly broken arrow -->
+<!ENTITY RBarr "&#x02910;" ><!--/drbkarow A: twoheaded right broken arrow -->
+<!ENTITY rdca "&#x02937;" ><!--right down curved arrow -->
+<!ENTITY rdldhar "&#x02969;" ><!--right harpoon-down over left harpoon-down -->
+<!ENTITY rdsh "&#x021B3;" ><!--right down angled arrow -->
+<!ENTITY rfisht "&#x0297D;" ><!--right fish tail -->
+<!ENTITY rHar "&#x02964;" ><!--right harpoon-up over right harpoon-down -->
+<!ENTITY rhard "&#x021C1;" ><!--/rightharpoondown A: rt harpoon-down -->
+<!ENTITY rharu "&#x021C0;" ><!--/rightharpoonup A: rt harpoon-up -->
+<!ENTITY rharul "&#x0296C;" ><!--right harpoon-up over long dash -->
+<!ENTITY rlarr "&#x021C4;" ><!--/rightleftarrows A: r arr over l arr -->
+<!ENTITY rlhar "&#x021CC;" ><!--/rightleftharpoons A: r harp over l -->
+<!ENTITY roarr "&#x021FE;" ><!--right open arrow -->
+<!ENTITY rrarr "&#x021C9;" ><!--/rightrightarrows A: two rt arrows -->
+<!ENTITY rsh "&#x021B1;" ><!--/Rsh A: -->
+<!ENTITY ruluhar "&#x02968;" ><!--right harpoon-up over left harpoon-up -->
+<!ENTITY searhk "&#x02925;" ><!--/hksearow A: SE arrow-hooken -->
+<!ENTITY searr "&#x02198;" ><!--/searrow A: SE pointing arrow -->
+<!ENTITY seArr "&#x021D8;" ><!--SE pointing dbl arrow -->
+<!ENTITY seswar "&#x02929;" ><!--/tosa A: SE & SW arrows -->
+<!ENTITY simrarr "&#x02972;" ><!--similar, right arrow below -->
+<!ENTITY slarr "&#x02190;&#x02063;" ><!--short left arrow -->
+<!ENTITY srarr "&#x02192;&#x02063;" ><!--short right arrow -->
+<!ENTITY swarhk "&#x02926;" ><!--/hkswarow A: SW arrow-hooked -->
+<!ENTITY swarr "&#x02199;" ><!--/swarrow A: SW pointing arrow -->
+<!ENTITY swArr "&#x021D9;" ><!--SW pointing dbl arrow -->
+<!ENTITY swnwar "&#x0292A;" ><!--SW & NW arrows -->
+<!ENTITY uArr "&#x021D1;" ><!--/Uparrow A: up dbl arrow -->
+<!ENTITY Uarr "&#x0219F;" ><!--up two-headed arrow -->
+<!ENTITY Uarrocir "&#x02949;" ><!--up two-headed arrow above circle -->
+<!ENTITY udarr "&#x021C5;" ><!--up arrow, down arrow -->
+<!ENTITY udhar "&#x0296E;" ><!--up harp, down harp -->
+<!ENTITY ufisht "&#x0297E;" ><!--up fish tail -->
+<!ENTITY uHar "&#x02963;" ><!--up harpoon-left, up harpoon-right -->
+<!ENTITY uharl "&#x021BF;" ><!--/upharpoonleft A: up harpoon-left -->
+<!ENTITY uharr "&#x021BE;" ><!--/upharpoonright /restriction A: up harp-r -->
+<!ENTITY uuarr "&#x021C8;" ><!--/upuparrows A: two up arrows -->
+<!ENTITY varr "&#x02195;" ><!--/updownarrow A: up&down arrow -->
+<!ENTITY vArr "&#x021D5;" ><!--/Updownarrow A: up&down dbl arrow -->
+<!ENTITY xharr "&#x02194;" ><!--/longleftrightarrow A: long l&r arr -->
+<!ENTITY xhArr "&#x021D4;" ><!--/Longleftrightarrow A: long l&r dbl arr -->
+<!ENTITY xlarr "&#x02190;" ><!--/longleftarrow A: long left arrow -->
+<!ENTITY xlArr "&#x021D0;" ><!--/Longleftarrow A: long l dbl arrow -->
+<!ENTITY xmap "&#x021A6;" ><!--/longmapsto A: -->
+<!ENTITY xrarr "&#x02192;" ><!--/longrightarrow A: long right arrow -->
+<!ENTITY xrArr "&#x021D2;" ><!--/Longrightarrow A: long rt dbl arr -->
+<!ENTITY zigrarr "&#x021DD;" ><!--right zig-zag arrow -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsb.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsb.ent
new file mode 100644
index 0000000000..08e646c2bd
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsb.ent
@@ -0,0 +1,146 @@
+
+<!--
+ File isoamsb.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY ac "&#x0290F;" ><!--most positive -->
+<!ENTITY acE "&#x029DB;" ><!--most positive, two lines below -->
+<!ENTITY amalg "&#x02A3F;" ><!--/amalg B: amalgamation or coproduct -->
+<!ENTITY barvee "&#x022BD;" ><!--bar, vee -->
+<!ENTITY barwed "&#x022BC;" ><!--/barwedge B: logical and, bar above -->
+<!ENTITY Barwed "&#x02306;" ><!--/doublebarwedge B: log and, dbl bar above -->
+<!ENTITY bsolb "&#x029C5;" ><!--reverse solidus in square -->
+<!ENTITY Cap "&#x022D2;" ><!--/Cap /doublecap B: dbl intersection -->
+<!ENTITY capand "&#x02A44;" ><!--intersection, and -->
+<!ENTITY capbrcup "&#x02A49;" ><!--intersection, bar, union -->
+<!ENTITY capcap "&#x02A4B;" ><!--intersection, intersection, joined -->
+<!ENTITY capcup "&#x02A47;" ><!--intersection above union -->
+<!ENTITY capdot "&#x02A40;" ><!--intersection, with dot -->
+<!ENTITY caps "&#x02229;&#x02063;" ><!--intersection, serifs -->
+<!ENTITY ccaps "&#x02A4D;" ><!--closed intersection, serifs -->
+<!ENTITY ccups "&#x02A4C;" ><!--closed union, serifs -->
+<!ENTITY ccupssm "&#x02A50;" ><!--closed union, serifs, smash product -->
+<!ENTITY coprod "&#x02210;" ><!--/coprod L: coproduct operator -->
+<!ENTITY Cup "&#x022D3;" ><!--/Cup /doublecup B: dbl union -->
+<!ENTITY cupbrcap "&#x02A48;" ><!--union, bar, intersection -->
+<!ENTITY cupcap "&#x02A46;" ><!--union above intersection -->
+<!ENTITY cupcup "&#x02A4A;" ><!--union, union, joined -->
+<!ENTITY cupdot "&#x0228D;" ><!--union, with dot -->
+<!ENTITY cupor "&#x02A45;" ><!--union, or -->
+<!ENTITY cups "&#x0222A;&#x02063;" ><!--union, serifs -->
+<!ENTITY cuvee "&#x022CE;" ><!--/curlyvee B: curly logical or -->
+<!ENTITY cuwed "&#x022CF;" ><!--/curlywedge B: curly logical and -->
+<!ENTITY dagger "&#x02020;" ><!--/dagger B: dagger relation -->
+<!ENTITY Dagger "&#x02021;" ><!--/ddagger B: double dagger relation -->
+<!ENTITY diam "&#x022C4;" ><!--/diamond B: open diamond -->
+<!ENTITY divonx "&#x022C7;" ><!--/divideontimes B: division on times -->
+<!ENTITY eplus "&#x02A71;" ><!--equal, plus -->
+<!ENTITY hercon "&#x022B9;" ><!--hermitian conjugate matrix -->
+<!ENTITY intcal "&#x022BA;" ><!--/intercal B: intercal -->
+<!ENTITY iprod "&#x02A3C;" ><!--/intprod -->
+<!ENTITY loplus "&#x02A2D;" ><!--plus sign in left half circle -->
+<!ENTITY lotimes "&#x02A34;" ><!--multiply sign in left half circle -->
+<!ENTITY lthree "&#x022CB;" ><!--/leftthreetimes B: -->
+<!ENTITY ltimes "&#x022C9;" ><!--/ltimes B: times sign, left closed -->
+<!ENTITY midast "&#x0002A;" ><!--/ast B: asterisk -->
+<!ENTITY minusb "&#x0229F;" ><!--/boxminus B: minus sign in box -->
+<!ENTITY minusd "&#x02238;" ><!--/dotminus B: minus sign, dot above -->
+<!ENTITY minusdu "&#x02A2A;" ><!--minus sign, dot below -->
+<!ENTITY ncap "&#x02A43;" ><!--bar, intersection -->
+<!ENTITY ncup "&#x02A42;" ><!--bar, union -->
+<!ENTITY oast "&#x0229B;" ><!--/circledast B: asterisk in circle -->
+<!ENTITY ocir "&#x0229A;" ><!--/circledcirc B: small circle in circle -->
+<!ENTITY odash "&#x0229D;" ><!--/circleddash B: hyphen in circle -->
+<!ENTITY odiv "&#x02A38;" ><!--divide in circle -->
+<!ENTITY odot "&#x02299;" ><!--/odot B: middle dot in circle -->
+<!ENTITY odsold "&#x029BC;" ><!--dot, solidus, dot in circle -->
+<!ENTITY ofcir "&#x029BF;" ><!--filled circle in circle -->
+<!ENTITY ogt "&#x029C1;" ><!--greater-than in circle -->
+<!ENTITY ohbar "&#x029B5;" ><!--circle with horizontal bar -->
+<!ENTITY olcir "&#x029BE;" ><!--large circle in circle -->
+<!ENTITY olt "&#x029C0;" ><!--less-than in circle -->
+<!ENTITY omid "&#x029B6;" ><!--vertical bar in circle -->
+<!ENTITY ominus "&#x02296;" ><!--/ominus B: minus sign in circle -->
+<!ENTITY opar "&#x029B7;" ><!--parallel in circle -->
+<!ENTITY operp "&#x029B9;" ><!--perpendicular in circle -->
+<!ENTITY oplus "&#x02295;" ><!--/oplus B: plus sign in circle -->
+<!ENTITY osol "&#x02298;" ><!--/oslash B: solidus in circle -->
+<!ENTITY otimes "&#x02297;" ><!--/otimes B: multiply sign in circle -->
+<!ENTITY Otimes "&#x02A37;" ><!--multiply sign in double circle -->
+<!ENTITY otimesas "&#x02A36;" ><!--multiply sign in circle, circumflex accent -->
+<!ENTITY ovbar "&#x0233D;" ><!--circle with vertical bar -->
+<!ENTITY plusacir "&#x02A23;" ><!--plus, circumflex accent above -->
+<!ENTITY plusb "&#x0229E;" ><!--/boxplus B: plus sign in box -->
+<!ENTITY pluscir "&#x02A22;" ><!--plus, small circle above -->
+<!ENTITY plusdo "&#x02214;" ><!--/dotplus B: plus sign, dot above -->
+<!ENTITY plusdu "&#x02A25;" ><!--plus sign, dot below -->
+<!ENTITY pluse "&#x02A72;" ><!--plus, equals -->
+<!ENTITY plussim "&#x02A26;" ><!--plus, similar below -->
+<!ENTITY plustwo "&#x02A27;" ><!--plus, two; Nim-addition -->
+<!ENTITY prod "&#x0220F;" ><!--/prod L: product operator -->
+<!ENTITY race "&#x029DA;" ><!--reverse most positive, line below -->
+<!ENTITY roplus "&#x02A2E;" ><!--plus sign in right half circle -->
+<!ENTITY rotimes "&#x02A35;" ><!--multiply sign in right half circle -->
+<!ENTITY rthree "&#x022CC;" ><!--/rightthreetimes B: -->
+<!ENTITY rtimes "&#x022CA;" ><!--/rtimes B: times sign, right closed -->
+<!ENTITY sdot "&#x022C5;" ><!--/cdot B: small middle dot -->
+<!ENTITY sdotb "&#x022A1;" ><!--/dotsquare /boxdot B: small dot in box -->
+<!ENTITY setmn "&#x02216;" ><!--/setminus B: reverse solidus -->
+<!ENTITY simplus "&#x02A24;" ><!--plus, similar above -->
+<!ENTITY smashp "&#x02A33;" ><!--smash product -->
+<!ENTITY solb "&#x029C4;" ><!--solidus in square -->
+<!ENTITY sqcap "&#x02293;" ><!--/sqcap B: square intersection -->
+<!ENTITY sqcaps "&#x02293;&#x02063;" ><!--square intersection, serifs -->
+<!ENTITY sqcup "&#x02294;" ><!--/sqcup B: square union -->
+<!ENTITY sqcups "&#x02294;&#x02063;" ><!--square union, serifs -->
+<!ENTITY ssetmn "&#x02216;" ><!--/smallsetminus B: sm reverse solidus -->
+<!ENTITY sstarf "&#x022C6;" ><!--/star B: small star, filled -->
+<!ENTITY subdot "&#x02ABD;" ><!--subset, with dot -->
+<!ENTITY sum "&#x02211;" ><!--/sum L: summation operator -->
+<!ENTITY supdot "&#x02ABE;" ><!--superset, with dot -->
+<!ENTITY timesb "&#x022A0;" ><!--/boxtimes B: multiply sign in box -->
+<!ENTITY timesbar "&#x02A31;" ><!--multiply sign, bar below -->
+<!ENTITY timesd "&#x02A30;" ><!--times, dot -->
+<!ENTITY tridot "&#x025EC;" ><!--dot in triangle -->
+<!ENTITY triminus "&#x02A3A;" ><!--minus in triangle -->
+<!ENTITY triplus "&#x02A39;" ><!--plus in triangle -->
+<!ENTITY trisb "&#x029CD;" ><!--triangle, serifs at bottom -->
+<!ENTITY tritime "&#x02A3B;" ><!--multiply in triangle -->
+<!ENTITY uplus "&#x0228E;" ><!--/uplus B: plus sign in union -->
+<!ENTITY veebar "&#x022BB;" ><!--/veebar B: logical or, bar below -->
+<!ENTITY wedbar "&#x02A5F;" ><!--wedge, bar below -->
+<!ENTITY wreath "&#x02240;" ><!--/wr B: wreath product -->
+<!ENTITY xcap "&#x022C2;" ><!--/bigcap L: intersection operator -->
+<!ENTITY xcirc "&#x025EF;" ><!--/bigcirc B: large circle -->
+<!ENTITY xcup "&#x022C3;" ><!--/bigcup L: union operator -->
+<!ENTITY xdtri "&#x025BD;" ><!--/bigtriangledown B: big dn tri, open -->
+<!ENTITY xodot "&#x02299;" ><!--/bigodot L: circle dot operator -->
+<!ENTITY xoplus "&#x02295;" ><!--/bigoplus L: circle plus operator -->
+<!ENTITY xotime "&#x02297;" ><!--/bigotimes L: circle times operator -->
+<!ENTITY xsqcup "&#x02294;" ><!--/bigsqcup L: square union operator -->
+<!ENTITY xuplus "&#x0228E;" ><!--/biguplus L: -->
+<!ENTITY xutri "&#x025B3;" ><!--/bigtriangleup B: big up tri, open -->
+<!ENTITY xvee "&#x022C1;" ><!--/bigvee L: logical and operator -->
+<!ENTITY xwedge "&#x022C0;" ><!--/bigwedge L: logical or operator -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsc.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsc.ent
new file mode 100644
index 0000000000..cce399cf9d
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsc.ent
@@ -0,0 +1,49 @@
+
+<!--
+ File isoamsc.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY dlcorn "&#x0231E;" ><!--/llcorner O: lower left corner -->
+<!ENTITY drcorn "&#x0231F;" ><!--/lrcorner C: lower right corner -->
+<!ENTITY gtlPar "&#x02995;" ><!--dbl left parenthesis, greater -->
+<!ENTITY langd "&#x02991;" ><!--left angle, dot -->
+<!ENTITY lbrke "&#x0298B;" ><!--left bracket, equal -->
+<!ENTITY lbrksld "&#x0298F;" ><!--left bracket, solidus bottom corner -->
+<!ENTITY lbrkslu "&#x0298D;" ><!--left bracket, solidus top corner -->
+<!ENTITY lceil "&#x02308;" ><!--/lceil O: left ceiling -->
+<!ENTITY lfloor "&#x0230A;" ><!--/lfloor O: left floor -->
+<!ENTITY lmoust "&#x02998;" ><!--/lmoustache -->
+<!ENTITY lparlt "&#x02993;" ><!--O: left parenthesis, lt -->
+<!ENTITY ltrPar "&#x02996;" ><!--dbl right parenthesis, less -->
+<!ENTITY rangd "&#x02992;" ><!--right angle, dot -->
+<!ENTITY rbrke "&#x0298C;" ><!--right bracket, equal -->
+<!ENTITY rbrksld "&#x0298E;" ><!--right bracket, solidus bottom corner -->
+<!ENTITY rbrkslu "&#x02990;" ><!--right bracket, solidus top corner -->
+<!ENTITY rceil "&#x02309;" ><!--/rceil C: right ceiling -->
+<!ENTITY rfloor "&#x0230B;" ><!--/rfloor C: right floor -->
+<!ENTITY rmoust "&#x02997;" ><!--/rmoustache -->
+<!ENTITY rpargt "&#x02994;" ><!--C: right paren, gt -->
+<!ENTITY ulcorn "&#x0231C;" ><!--/ulcorner O: upper left corner -->
+<!ENTITY urcorn "&#x0231D;" ><!--/urcorner C: upper right corner -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsn.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsn.ent
new file mode 100644
index 0000000000..cddeba066e
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsn.ent
@@ -0,0 +1,117 @@
+
+<!--
+ File isoamsn.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY gnap "&#x02A8A;" ><!--/gnapprox N: greater, not approximate -->
+<!ENTITY gne "&#x02269;" ><!--/gneq N: greater, not equals -->
+<!ENTITY gnE "&#x02269;" ><!--/gneqq N: greater, not dbl equals -->
+<!ENTITY gnsim "&#x022E7;" ><!--/gnsim N: greater, not similar -->
+<!ENTITY gvnE "&#x02269;&#x00338;" ><!--/gvertneqq N: gt, vert, not dbl eq -->
+<!ENTITY lnap "&#x02A89;" ><!--/lnapprox N: less, not approximate -->
+<!ENTITY lne "&#x02268;" ><!--/lneq N: less, not equals -->
+<!ENTITY lnE "&#x02268;" ><!--/lneqq N: less, not double equals -->
+<!ENTITY lnsim "&#x022E6;" ><!--/lnsim N: less, not similar -->
+<!ENTITY lvnE "&#x02268;&#x00338;" ><!--/lvertneqq N: less, vert, not dbl eq -->
+<!ENTITY nap "&#x02249;" ><!--/napprox N: not approximate -->
+<!ENTITY napE "&#x02A70;&#x00338;" ><!--not approximately equal or equal to -->
+<!ENTITY napid "&#x0224B;&#x00338;" ><!--not approximately identical to -->
+<!ENTITY ncong "&#x02247;" ><!--/ncong N: not congruent with -->
+<!ENTITY ncongdot "&#x02A6D;&#x00338;" ><!--not congruent, dot -->
+<!ENTITY nequiv "&#x02262;" ><!--/nequiv N: not identical with -->
+<!ENTITY nge "&#x02271;&#x020E5;" ><!--/ngeq N: not greater-than-or-equal -->
+<!ENTITY ngE "&#x02271;" ><!--/ngeqq N: not greater, dbl equals -->
+<!ENTITY nges "&#x02271;" ><!--/ngeqslant N: not gt-or-eq, slanted -->
+<!ENTITY nGg "&#x022D9;&#x00338;" ><!--not triple greater than -->
+<!ENTITY ngsim "&#x02275;" ><!--not greater, similar -->
+<!ENTITY ngt "&#x0226F;" ><!--/ngtr N: not greater-than -->
+<!ENTITY nGt "&#x0226B;&#x00338;" ><!--not, vert, much greater than -->
+<!ENTITY nGtv "&#x0226B;&#x00338;&#x02063;" ><!--not much greater than, variant -->
+<!ENTITY nle "&#x02270;&#x020E5;" ><!--/nleq N: not less-than-or-equal -->
+<!ENTITY nlE "&#x02270;" ><!--/nleqq N: not less, dbl equals -->
+<!ENTITY nles "&#x02270;" ><!--/nleqslant N: not less-or-eq, slant -->
+<!ENTITY nLl "&#x022D8;&#x00338;" ><!--not triple less than -->
+<!ENTITY nlsim "&#x02274;" ><!--not less, similar -->
+<!ENTITY nlt "&#x0226E;" ><!--/nless N: not less-than -->
+<!ENTITY nLt "&#x0226A;&#x00338;" ><!--not, vert, much less than -->
+<!ENTITY nltri "&#x022EA;" ><!--/ntriangleleft N: not left triangle -->
+<!ENTITY nltrie "&#x022EC;" ><!--/ntrianglelefteq N: not l tri, eq -->
+<!ENTITY nLtv "&#x0226A;&#x00338;&#x02063;" ><!--not much less than, variant -->
+<!ENTITY nmid "&#x02224;" ><!--/nmid -->
+<!ENTITY npar "&#x02226;" ><!--/nparallel N: not parallel -->
+<!ENTITY npr "&#x02280;" ><!--/nprec N: not precedes -->
+<!ENTITY nprcue "&#x022E0;" ><!--not curly precedes, eq -->
+<!ENTITY npre "&#x02AAF;&#x00338;" ><!--/npreceq N: not precedes, equals -->
+<!ENTITY nrtri "&#x022EB;" ><!--/ntriangleright N: not rt triangle -->
+<!ENTITY nrtrie "&#x022ED;" ><!--/ntrianglerighteq N: not r tri, eq -->
+<!ENTITY nsc "&#x02281;" ><!--/nsucc N: not succeeds -->
+<!ENTITY nsccue "&#x022E1;" ><!--not succeeds, curly eq -->
+<!ENTITY nsce "&#x02AB0;&#x00338;" ><!--/nsucceq N: not succeeds, equals -->
+<!ENTITY nsim "&#x02241;" ><!--/nsim N: not similar -->
+<!ENTITY nsime "&#x02244;" ><!--/nsimeq N: not similar, equals -->
+<!ENTITY nsmid "&#x02224;&#x02063;" ><!--/nshortmid -->
+<!ENTITY nspar "&#x02226;&#x02063;" ><!--/nshortparallel N: not short par -->
+<!ENTITY nsqsube "&#x022E2;" ><!--not, square subset, equals -->
+<!ENTITY nsqsupe "&#x022E3;" ><!--not, square superset, equals -->
+<!ENTITY nsub "&#x02284;" ><!--not subset -->
+<!ENTITY nsube "&#x02288;" ><!--/nsubseteq N: not subset, equals -->
+<!ENTITY nsubE "&#x02288;" ><!--/nsubseteqq N: not subset, dbl eq -->
+<!ENTITY nsup "&#x02285;" ><!--not superset -->
+<!ENTITY nsupe "&#x02289;" ><!--/nsupseteq N: not superset, equals -->
+<!ENTITY nsupE "&#x02289;" ><!--/nsupseteqq N: not superset, dbl eq -->
+<!ENTITY ntgl "&#x02279;" ><!--not greater, less -->
+<!ENTITY ntlg "&#x02278;" ><!--not less, greater -->
+<!ENTITY nvap "&#x02249;&#x00338;" ><!--not, vert, approximate -->
+<!ENTITY nvdash "&#x022AC;" ><!--/nvdash N: not vertical, dash -->
+<!ENTITY nvDash "&#x022AD;" ><!--/nvDash N: not vertical, dbl dash -->
+<!ENTITY nVdash "&#x022AE;" ><!--/nVdash N: not dbl vertical, dash -->
+<!ENTITY nVDash "&#x022AF;" ><!--/nVDash N: not dbl vert, dbl dash -->
+<!ENTITY nvge "&#x02271;" ><!--not, vert, greater-than-or-equal -->
+<!ENTITY nvgt "&#x0226F;" ><!--not, vert, greater-than -->
+<!ENTITY nvle "&#x02270;" ><!--not, vert, less-than-or-equal -->
+<!ENTITY nvlt "&#x0226E;" ><!--not, vert, less-than -->
+<!ENTITY nvltrie "&#x022EC;&#x00338;" ><!--not, vert, left triangle, equals -->
+<!ENTITY nvrtrie "&#x022ED;&#x00338;" ><!--not, vert, right triangle, equals -->
+<!ENTITY nvsim "&#x02241;&#x00338;" ><!--not, vert, similar -->
+<!ENTITY parsim "&#x02AF3;" ><!--parallel, similar -->
+<!ENTITY prnap "&#x022E8;" ><!--/precnapprox N: precedes, not approx -->
+<!ENTITY prnE "&#x02AB5;" ><!--/precneqq N: precedes, not dbl eq -->
+<!ENTITY prnsim "&#x022E8;" ><!--/precnsim N: precedes, not similar -->
+<!ENTITY rnmid "&#x02AEE;" ><!--reverse /nmid -->
+<!ENTITY scnap "&#x022E9;" ><!--/succnapprox N: succeeds, not approx -->
+<!ENTITY scnE "&#x02AB6;" ><!--/succneqq N: succeeds, not dbl eq -->
+<!ENTITY scnsim "&#x022E9;" ><!--/succnsim N: succeeds, not similar -->
+<!ENTITY simne "&#x02246;" ><!--similar, not equals -->
+<!ENTITY solbar "&#x0233F;" ><!--solidus, bar through -->
+<!ENTITY subne "&#x0228A;" ><!--/subsetneq N: subset, not equals -->
+<!ENTITY subnE "&#x0228A;" ><!--/subsetneqq N: subset, not dbl eq -->
+<!ENTITY supne "&#x0228B;" ><!--/supsetneq N: superset, not equals -->
+<!ENTITY supnE "&#x0228B;" ><!--/supsetneqq N: superset, not dbl eq -->
+<!ENTITY vnsub "&#x02284;" ><!--/nsubset N: not subset, var -->
+<!ENTITY vnsup "&#x02285;" ><!--/nsupset N: not superset, var -->
+<!ENTITY vsubne "&#x0228A;&#x02063;" ><!--/varsubsetneq N: subset, not eq, var -->
+<!ENTITY vsubnE "&#x0228A;&#x02063;" ><!--/varsubsetneqq N: subset not dbl eq, var -->
+<!ENTITY vsupne "&#x0228B;&#x02063;" ><!--/varsupsetneq N: superset, not eq, var -->
+<!ENTITY vsupnE "&#x0228B;&#x02063;" ><!--/varsupsetneqq N: super not dbl eq, var -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamso.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamso.ent
new file mode 100644
index 0000000000..8ac4bdb619
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamso.ent
@@ -0,0 +1,77 @@
+
+<!--
+ File isoamso.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY ang "&#x02220;" ><!--/angle - angle -->
+<!ENTITY ange "&#x029A4;" ><!--angle, equal -->
+<!ENTITY angmsd "&#x02221;" ><!--/measuredangle - angle-measured -->
+<!ENTITY angmsdaa "&#x029A8;" ><!--angle-measured, arrow, up, right -->
+<!ENTITY angmsdab "&#x029A9;" ><!--angle-measured, arrow, up, left -->
+<!ENTITY angmsdac "&#x029AA;" ><!--angle-measured, arrow, down, right -->
+<!ENTITY angmsdad "&#x029AB;" ><!--angle-measured, arrow, down, left -->
+<!ENTITY angmsdae "&#x029AC;" ><!--angle-measured, arrow, right, up -->
+<!ENTITY angmsdaf "&#x029AD;" ><!--angle-measured, arrow, left, up -->
+<!ENTITY angmsdag "&#x029AE;" ><!--angle-measured, arrow, right, down -->
+<!ENTITY angmsdah "&#x029AF;" ><!--angle-measured, arrow, left, down -->
+<!ENTITY angrtvb "&#x0299D;&#x02063;" ><!--right angle-measured -->
+<!ENTITY angrtvbd "&#x0299D;" ><!--right angle-measured, dot -->
+<!ENTITY bbrk "&#x023B5;" ><!--bottom square bracket -->
+<!ENTITY bemptyv "&#x029B0;" ><!--reversed circle, slash -->
+<!ENTITY beth "&#x02136;" ><!--/beth - beth, Hebrew -->
+<!ENTITY boxbox "&#x029C9;" ><!--two joined squares -->
+<!ENTITY bprime "&#x02035;" ><!--/backprime - reverse prime -->
+<!ENTITY bsemi "&#x0204F;" ><!--reverse semi-colon -->
+<!ENTITY cemptyv "&#x029B2;" ><!--circle, slash, small circle above -->
+<!ENTITY cirE "&#x029C3;" ><!--circle, two horizontal stroked to the right -->
+<!ENTITY cirscir "&#x029C2;" ><!--circle, small circle to the right -->
+<!ENTITY comp "&#x02201;" ><!--/complement - complement sign -->
+<!ENTITY daleth "&#x02138;" ><!--/daleth - daleth, Hebrew -->
+<!ENTITY demptyv "&#x029B1;" ><!--circle, slash, bar above -->
+<!ENTITY ell "&#x02113;" ><!--/ell - cursive small l -->
+<!ENTITY empty "&#x02205;&#x02063;" ><!--/emptyset - zero, slash -->
+<!ENTITY emptyv "&#x02205;" ><!--/varnothing - circle, slash -->
+<!ENTITY gimel "&#x02137;" ><!--/gimel - gimel, Hebrew -->
+<!ENTITY iiota "&#x02129;" ><!--inverted iota -->
+<!ENTITY image "&#x02111;" ><!--/Im - imaginary -->
+<!ENTITY imath "&#x00131;" ><!--/imath - small i, no dot -->
+<!ENTITY jmath "&#x0006A;&#x02063;" ><!--/jmath - small j, no dot -->
+<!ENTITY laemptyv "&#x029B4;" ><!--circle, slash, left arrow above -->
+<!ENTITY lltri "&#x025FA;" ><!--lower left triangle -->
+<!ENTITY lrtri "&#x022BF;" ><!--lower right triangle -->
+<!ENTITY mho "&#x02127;" ><!--/mho - conductance -->
+<!ENTITY nang "&#x02220;&#x00338;" ><!--not, vert, angle -->
+<!ENTITY nexist "&#x02204;" ><!--/nexists - negated exists -->
+<!ENTITY oS "&#x024C8;" ><!--/circledS - capital S in circle -->
+<!ENTITY plank "&#x0210F;" ><!--/hbar - Planck's over 2pi -->
+<!ENTITY plankv "&#x0210F;" ><!--/hslash - variant Planck's over 2pi -->
+<!ENTITY raemptyv "&#x029B3;" ><!--circle, slash, right arrow above -->
+<!ENTITY range "&#x029A5;" ><!--reverse angle, equal -->
+<!ENTITY real "&#x0211C;" ><!--/Re - real -->
+<!ENTITY tbrk "&#x023B4;" ><!--top square bracket -->
+<!ENTITY ultri "&#x025F8;" ><!--upper left triangle -->
+<!ENTITY urtri "&#x025F9;" ><!--upper right triangle -->
+<!ENTITY vzigzag "&#x0299A;" ><!--vertical zig-zag line -->
+<!ENTITY weierp "&#x02118;" ><!--/wp - Weierstrass p -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsr.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsr.ent
new file mode 100644
index 0000000000..7fec582555
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isoamsr.ent
@@ -0,0 +1,205 @@
+
+<!--
+ File isoamsr.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY ape "&#x0224A;" ><!--/approxeq R: approximate, equals -->
+<!ENTITY apE "&#x0224A;" ><!--approximately equal or equal to -->
+<!ENTITY apid "&#x0224B;" ><!--approximately identical to -->
+<!ENTITY asymp "&#x0224D;" ><!--/asymp R: asymptotically equal to -->
+<!ENTITY Barv "&#x02AE7;" ><!--vert, dbl bar (over) -->
+<!ENTITY bcong "&#x0224C;" ><!--/backcong R: reverse congruent -->
+<!ENTITY bepsi "&#x0213C;" ><!--/backepsilon R: such that -->
+<!ENTITY bowtie "&#x022C8;" ><!--/bowtie R: -->
+<!ENTITY bsim "&#x0223D;" ><!--/backsim R: reverse similar -->
+<!ENTITY bsime "&#x022CD;" ><!--/backsimeq R: reverse similar, eq -->
+<!ENTITY bsolhsub "&#x0005C;&#x02282;" ><!--reverse solidus, subset -->
+<!ENTITY bump "&#x0224E;" ><!--/Bumpeq R: bumpy equals -->
+<!ENTITY bumpe "&#x0224F;" ><!--/bumpeq R: bumpy equals, equals -->
+<!ENTITY bumpE "&#x02AAE;" ><!--bump, equals -->
+<!ENTITY cire "&#x02257;" ><!--/circeq R: circle, equals -->
+<!ENTITY Colon "&#x02237;" ><!--/Colon, two colons -->
+<!ENTITY colone "&#x02254;" ><!--/coloneq R: colon, equals -->
+<!ENTITY Colone "&#x02A74;" ><!--double colon, equals -->
+<!ENTITY congdot "&#x02A6D;" ><!--congruent, dot -->
+<!ENTITY csub "&#x02ACF;" ><!--subset, closed -->
+<!ENTITY csube "&#x02AD1;" ><!--subset, closed, equals -->
+<!ENTITY csup "&#x02AD0;" ><!--superset, closed -->
+<!ENTITY csupe "&#x02AD2;" ><!--superset, closed, equals -->
+<!ENTITY cuepr "&#x022DE;" ><!--/curlyeqprec R: curly eq, precedes -->
+<!ENTITY cuesc "&#x022DF;" ><!--/curlyeqsucc R: curly eq, succeeds -->
+<!ENTITY dashv "&#x022A3;" ><!--/dashv R: dash, vertical -->
+<!ENTITY Dashv "&#x02AE4;" ><!--dbl dash, vertical -->
+<!ENTITY easter "&#x0225B;" ><!--equal, asterisk above -->
+<!ENTITY ecir "&#x02256;" ><!--/eqcirc R: circle on equals sign -->
+<!ENTITY ecolon "&#x02255;" ><!--/eqcolon R: equals, colon -->
+<!ENTITY eDDot "&#x02A77;" ><!--/ddotseq R: equal with four dots -->
+<!ENTITY eDot "&#x02251;" ><!--/doteqdot /Doteq R: eq, even dots -->
+<!ENTITY efDot "&#x02252;" ><!--/fallingdotseq R: eq, falling dots -->
+<!ENTITY eg "&#x02A9A;" ><!--equal-or-greater -->
+<!ENTITY egs "&#x022DD;" ><!--/eqslantgtr R: equal-or-gtr, slanted -->
+<!ENTITY egsdot "&#x02A98;" ><!--equal-or-greater, slanted, dot inside -->
+<!ENTITY el "&#x02A99;" ><!--equal-or-less -->
+<!ENTITY els "&#x022DC;" ><!--/eqslantless R: eq-or-less, slanted -->
+<!ENTITY elsdot "&#x02A97;" ><!--equal-or-less, slanted, dot inside -->
+<!ENTITY equest "&#x0225F;" ><!--/questeq R: equal with questionmark -->
+<!ENTITY equivDD "&#x02A78;" ><!--equivalent, four dots above -->
+<!ENTITY erDot "&#x02253;" ><!--/risingdotseq R: eq, rising dots -->
+<!ENTITY esdot "&#x02250;" ><!--/doteq R: equals, single dot above -->
+<!ENTITY esim "&#x02242;" ><!--/esim R: equals, similar -->
+<!ENTITY Esim "&#x02A73;" ><!--equal, similar -->
+<!ENTITY fork "&#x022D4;" ><!--/pitchfork R: pitchfork -->
+<!ENTITY forkv "&#x02AD9;" ><!--fork, variant -->
+<!ENTITY frown "&#x02322;" ><!--/frown R: down curve -->
+<!ENTITY gap "&#x02273;" ><!--/gtrapprox R: greater, approximate -->
+<!ENTITY gE "&#x02267;" ><!--/geqq R: greater, double equals -->
+<!ENTITY gel "&#x022DB;" ><!--/gtreqless R: greater, equals, less -->
+<!ENTITY gEl "&#x022DB;" ><!--/gtreqqless R: gt, dbl equals, less -->
+<!ENTITY ges "&#x02A7E;" ><!--/geqslant R: gt-or-equal, slanted -->
+<!ENTITY gescc "&#x02AA9;" ><!--greater than, closed by curve, equal, slanted -->
+<!ENTITY gesdot "&#x02A80;" ><!--greater-than-or-equal, slanted, dot inside -->
+<!ENTITY gesdoto "&#x02A82;" ><!--greater-than-or-equal, slanted, dot above -->
+<!ENTITY gesdotol "&#x02A84;" ><!--greater-than-or-equal, slanted, dot above left -->
+<!ENTITY gesl "&#x022DB;&#x02063;" ><!--greater, equal, slanted, less -->
+<!ENTITY gesles "&#x02A94;" ><!--greater, equal, slanted, less, equal, slanted -->
+<!ENTITY Gg "&#x022D9;" ><!--/ggg /Gg /gggtr R: triple gtr-than -->
+<!ENTITY gl "&#x02277;" ><!--/gtrless R: greater, less -->
+<!ENTITY gla "&#x02AA5;" ><!--greater, less, apart -->
+<!ENTITY glE "&#x02A92;" ><!--greater, less, equal -->
+<!ENTITY glj "&#x02AA4;" ><!--greater, less, overlapping -->
+<!ENTITY gsim "&#x02273;" ><!--/gtrsim R: greater, similar -->
+<!ENTITY gsime "&#x02A8E;" ><!--greater, similar, equal -->
+<!ENTITY gsiml "&#x02A90;" ><!--greater, similar, less -->
+<!ENTITY Gt "&#x0226B;" ><!--/gg R: dbl greater-than sign -->
+<!ENTITY gtcc "&#x02AA7;" ><!--greater than, closed by curve -->
+<!ENTITY gtcir "&#x02A7A;" ><!--greater than, circle inside -->
+<!ENTITY gtdot "&#x022D7;" ><!--/gtrdot R: greater than, with dot -->
+<!ENTITY gtquest "&#x02A7C;" ><!--greater than, questionmark above -->
+<!ENTITY gtrarr "&#x02978;" ><!--greater than, right arrow -->
+<!ENTITY homtht "&#x0223B;" ><!--homothetic -->
+<!ENTITY lap "&#x02272;" ><!--/lessapprox R: less, approximate -->
+<!ENTITY lat "&#x02AAB;" ><!--larger than -->
+<!ENTITY late "&#x02AAD;" ><!--larger than or equal -->
+<!ENTITY lates "&#x02AAD;&#x02063;" ><!--larger than or equal, slanted -->
+<!ENTITY lE "&#x02266;" ><!--/leqq R: less, double equals -->
+<!ENTITY leg "&#x022DA;" ><!--/lesseqgtr R: less, eq, greater -->
+<!ENTITY lEg "&#x022DA;" ><!--/lesseqqgtr R: less, dbl eq, greater -->
+<!ENTITY les "&#x02A7D;" ><!--/leqslant R: less-than-or-eq, slant -->
+<!ENTITY lescc "&#x02AA8;" ><!--less than, closed by curve, equal, slanted -->
+<!ENTITY lesdot "&#x02A7F;" ><!--less-than-or-equal, slanted, dot inside -->
+<!ENTITY lesdoto "&#x02A81;" ><!--less-than-or-equal, slanted, dot above -->
+<!ENTITY lesdotor "&#x02A83;" ><!--less-than-or-equal, slanted, dot above right -->
+<!ENTITY lesg "&#x022DA;&#x02063;" ><!--less, equal, slanted, greater -->
+<!ENTITY lesges "&#x02A93;" ><!--less, equal, slanted, greater, equal, slanted -->
+<!ENTITY lg "&#x02276;" ><!--/lessgtr R: less, greater -->
+<!ENTITY lgE "&#x02A91;" ><!--less, greater, equal -->
+<!ENTITY Ll "&#x022D8;" ><!--/Ll /lll /llless R: triple less-than -->
+<!ENTITY lsim "&#x02272;" ><!--/lesssim R: less, similar -->
+<!ENTITY lsime "&#x02A8D;" ><!--less, similar, equal -->
+<!ENTITY lsimg "&#x02A8F;" ><!--less, similar, greater -->
+<!ENTITY Lt "&#x0226A;" ><!--/ll R: double less-than sign -->
+<!ENTITY ltcc "&#x02AA6;" ><!--less than, closed by curve -->
+<!ENTITY ltcir "&#x02A79;" ><!--less than, circle inside -->
+<!ENTITY ltdot "&#x022D6;" ><!--/lessdot R: less than, with dot -->
+<!ENTITY ltlarr "&#x02976;" ><!--less than, left arrow -->
+<!ENTITY ltquest "&#x02A7B;" ><!--less than, questionmark above -->
+<!ENTITY ltrie "&#x022B4;" ><!--/trianglelefteq R: left triangle, eq -->
+<!ENTITY mcomma "&#x02A29;" ><!--minus, comma above -->
+<!ENTITY mDDot "&#x0223A;" ><!--minus with four dots, geometric properties -->
+<!ENTITY mid "&#x02223;" ><!--/mid R: -->
+<!ENTITY mlcp "&#x02ADB;" ><!--/mlcp -->
+<!ENTITY models "&#x022A7;" ><!--/models R: -->
+<!ENTITY mstpos "&#x0223E;" ><!--most positive -->
+<!ENTITY pr "&#x0227A;" ><!--/prec R: precedes -->
+<!ENTITY Pr "&#x02ABB;" ><!--dbl precedes -->
+<!ENTITY prap "&#x0227E;" ><!--/precapprox R: precedes, approximate -->
+<!ENTITY prcue "&#x0227C;" ><!--/preccurlyeq R: precedes, curly eq -->
+<!ENTITY pre "&#x02AAF;" ><!--/preceq R: precedes, equals -->
+<!ENTITY prE "&#x02AAF;" ><!--precedes, dbl equals -->
+<!ENTITY prsim "&#x0227E;" ><!--/precsim R: precedes, similar -->
+<!ENTITY prurel "&#x022B0;" ><!--element precedes under relation -->
+<!ENTITY ratio "&#x02236;" ><!--/ratio -->
+<!ENTITY rtrie "&#x022B5;" ><!--/trianglerighteq R: right tri, eq -->
+<!ENTITY rtriltri "&#x029CE;" ><!--right triangle above left triangle -->
+<!ENTITY sc "&#x0227B;" ><!--/succ R: succeeds -->
+<!ENTITY Sc "&#x02ABC;" ><!--dbl succeeds -->
+<!ENTITY scap "&#x0227F;" ><!--/succapprox R: succeeds, approximate -->
+<!ENTITY sccue "&#x0227D;" ><!--/succcurlyeq R: succeeds, curly eq -->
+<!ENTITY sce "&#x0227D;" ><!--/succeq R: succeeds, equals -->
+<!ENTITY scE "&#x0227E;" ><!--succeeds, dbl equals -->
+<!ENTITY scsim "&#x0227F;" ><!--/succsim R: succeeds, similar -->
+<!ENTITY sdote "&#x02A66;" ><!--equal, dot below -->
+<!ENTITY simg "&#x02A9E;" ><!--similar, greater -->
+<!ENTITY simgE "&#x02AA0;" ><!--similar, greater, equal -->
+<!ENTITY siml "&#x02A9D;" ><!--similar, less -->
+<!ENTITY simlE "&#x02A9F;" ><!--similar, less, equal -->
+<!ENTITY smid "&#x02223;&#x02063;" ><!--/shortmid R: -->
+<!ENTITY smile "&#x02323;" ><!--/smile R: up curve -->
+<!ENTITY smt "&#x02AAA;" ><!--smaller than -->
+<!ENTITY smte "&#x02AAC;" ><!--smaller than or equal -->
+<!ENTITY smtes "&#x02AAC;&#x02063;" ><!--smaller than or equal, slanted -->
+<!ENTITY spar "&#x02225;&#x02063;" ><!--/shortparallel R: short parallel -->
+<!ENTITY sqsub "&#x0228F;" ><!--/sqsubset R: square subset -->
+<!ENTITY sqsube "&#x02291;" ><!--/sqsubseteq R: square subset, equals -->
+<!ENTITY sqsup "&#x02290;" ><!--/sqsupset R: square superset -->
+<!ENTITY sqsupe "&#x02292;" ><!--/sqsupseteq R: square superset, eq -->
+<!ENTITY Sub "&#x022D0;" ><!--/Subset R: double subset -->
+<!ENTITY subE "&#x02286;" ><!--/subseteqq R: subset, dbl equals -->
+<!ENTITY subedot "&#x02AC3;" ><!--subset, equals, dot -->
+<!ENTITY submult "&#x02AC1;" ><!--subset, multiply -->
+<!ENTITY subplus "&#x02ABF;" ><!--subset, plus -->
+<!ENTITY subrarr "&#x02979;" ><!--subset, right arrow -->
+<!ENTITY subsim "&#x02AC7;" ><!--subset, similar -->
+<!ENTITY subsub "&#x02AD5;" ><!--subset above subset -->
+<!ENTITY subsup "&#x02AD3;" ><!--subset above superset -->
+<!ENTITY Sup "&#x022D1;" ><!--/Supset R: dbl superset -->
+<!ENTITY supdsub "&#x02AD8;" ><!--superset, subset, dash joining them -->
+<!ENTITY supE "&#x02287;" ><!--/supseteqq R: superset, dbl equals -->
+<!ENTITY supedot "&#x02AC4;" ><!--superset, equals, dot -->
+<!ENTITY suphsol "&#x02283;&#x0002F;" ><!--superset, solidus -->
+<!ENTITY suphsub "&#x02AD7;" ><!--superset, subset -->
+<!ENTITY suplarr "&#x0297B;" ><!--superset, left arrow -->
+<!ENTITY supmult "&#x02AC2;" ><!--superset, multiply -->
+<!ENTITY supplus "&#x02AC0;" ><!--superset, plus -->
+<!ENTITY supsim "&#x02AC8;" ><!--superset, similar -->
+<!ENTITY supsub "&#x02AD4;" ><!--superset above subset -->
+<!ENTITY supsup "&#x02AD6;" ><!--superset above superset -->
+<!ENTITY thkap "&#x02248;&#x02063;" ><!--/thickapprox R: thick approximate -->
+<!ENTITY thksim "&#x0223C;" ><!--/thicksim R: thick similar -->
+<!ENTITY topfork "&#x02ADA;" ><!--fork with top -->
+<!ENTITY trie "&#x0225C;" ><!--/triangleq R: triangle, equals -->
+<!ENTITY twixt "&#x0226C;" ><!--/between R: between -->
+<!ENTITY vBar "&#x02AE8;" ><!--vert, dbl bar (under) -->
+<!ENTITY Vbar "&#x02AEB;" ><!--dbl vert, bar (under) -->
+<!ENTITY vBarv "&#x02AE9;" ><!--dbl bar, vert over and under -->
+<!ENTITY vdash "&#x022A2;" ><!--/vdash R: vertical, dash -->
+<!ENTITY vDash "&#x022A8;" ><!--/vDash R: vertical, dbl dash -->
+<!ENTITY Vdash "&#x022A9;" ><!--/Vdash R: dbl vertical, dash -->
+<!ENTITY VDash "&#x022AB;" ><!--dbl vert, dbl dash -->
+<!ENTITY Vdashl "&#x02AE6;" ><!--vertical, dash (long) -->
+<!ENTITY vltri "&#x022B2;" ><!--/vartriangleleft R: l tri, open, var -->
+<!ENTITY vprop "&#x0221D;" ><!--/varpropto R: proportional, variant -->
+<!ENTITY vrtri "&#x022B3;" ><!--/vartriangleright R: r tri, open, var -->
+<!ENTITY Vvdash "&#x022AA;" ><!--/Vvdash R: triple vertical, dash -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isobox.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isobox.ent
new file mode 100644
index 0000000000..630edc5597
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isobox.ent
@@ -0,0 +1,67 @@
+
+<!--
+ File isobox.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY boxdl "&#x02510;" ><!--lower left quadrant -->
+<!ENTITY boxdL "&#x02555;" ><!--lower left quadrant -->
+<!ENTITY boxDl "&#x02556;" ><!--lower left quadrant -->
+<!ENTITY boxDL "&#x02557;" ><!--lower left quadrant -->
+<!ENTITY boxdr "&#x0250C;" ><!--lower right quadrant -->
+<!ENTITY boxdR "&#x02552;" ><!--lower right quadrant -->
+<!ENTITY boxDr "&#x02553;" ><!--lower right quadrant -->
+<!ENTITY boxDR "&#x02554;" ><!--lower right quadrant -->
+<!ENTITY boxh "&#x02500;" ><!--horizontal line -->
+<!ENTITY boxH "&#x02550;" ><!--horizontal line -->
+<!ENTITY boxhd "&#x0252C;" ><!--lower left and right quadrants -->
+<!ENTITY boxhD "&#x02565;" ><!--lower left and right quadrants -->
+<!ENTITY boxHd "&#x02564;" ><!--lower left and right quadrants -->
+<!ENTITY boxHD "&#x02566;" ><!--lower left and right quadrants -->
+<!ENTITY boxhu "&#x02534;" ><!--upper left and right quadrants -->
+<!ENTITY boxhU "&#x02568;" ><!--upper left and right quadrants -->
+<!ENTITY boxHu "&#x02567;" ><!--upper left and right quadrants -->
+<!ENTITY boxHU "&#x02569;" ><!--upper left and right quadrants -->
+<!ENTITY boxul "&#x02518;" ><!--upper left quadrant -->
+<!ENTITY boxuL "&#x0255B;" ><!--upper left quadrant -->
+<!ENTITY boxUl "&#x0255C;" ><!--upper left quadrant -->
+<!ENTITY boxUL "&#x0255D;" ><!--upper left quadrant -->
+<!ENTITY boxur "&#x02514;" ><!--upper right quadrant -->
+<!ENTITY boxuR "&#x02558;" ><!--upper right quadrant -->
+<!ENTITY boxUr "&#x02559;" ><!--upper right quadrant -->
+<!ENTITY boxUR "&#x0255A;" ><!--upper right quadrant -->
+<!ENTITY boxv "&#x02502;" ><!--vertical line -->
+<!ENTITY boxV "&#x02551;" ><!--vertical line -->
+<!ENTITY boxvh "&#x0253C;" ><!--all four quadrants -->
+<!ENTITY boxvH "&#x0256A;" ><!--all four quadrants -->
+<!ENTITY boxVh "&#x0256B;" ><!--all four quadrants -->
+<!ENTITY boxVH "&#x0256C;" ><!--all four quadrants -->
+<!ENTITY boxvl "&#x02524;" ><!--upper and lower left quadrants -->
+<!ENTITY boxvL "&#x02561;" ><!--upper and lower left quadrants -->
+<!ENTITY boxVl "&#x02562;" ><!--upper and lower left quadrants -->
+<!ENTITY boxVL "&#x02563;" ><!--upper and lower left quadrants -->
+<!ENTITY boxvr "&#x0251C;" ><!--upper and lower right quadrants -->
+<!ENTITY boxvR "&#x0255E;" ><!--upper and lower right quadrants -->
+<!ENTITY boxVr "&#x0255F;" ><!--upper and lower right quadrants -->
+<!ENTITY boxVR "&#x02560;" ><!--upper and lower right quadrants -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isocyr1.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isocyr1.ent
new file mode 100644
index 0000000000..4bcc9e416e
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isocyr1.ent
@@ -0,0 +1,94 @@
+
+<!--
+ File isocyr1.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY acy "&#x00430;" ><!--=small a, Cyrillic -->
+<!ENTITY Acy "&#x00410;" ><!--=capital A, Cyrillic -->
+<!ENTITY bcy "&#x00431;" ><!--=small be, Cyrillic -->
+<!ENTITY Bcy "&#x00411;" ><!--=capital BE, Cyrillic -->
+<!ENTITY chcy "&#x00447;" ><!--=small che, Cyrillic -->
+<!ENTITY CHcy "&#x00427;" ><!--=capital CHE, Cyrillic -->
+<!ENTITY dcy "&#x00434;" ><!--=small de, Cyrillic -->
+<!ENTITY Dcy "&#x00414;" ><!--=capital DE, Cyrillic -->
+<!ENTITY ecy "&#x0044D;" ><!--=small e, Cyrillic -->
+<!ENTITY Ecy "&#x0042D;" ><!--=capital E, Cyrillic -->
+<!ENTITY fcy "&#x00444;" ><!--=small ef, Cyrillic -->
+<!ENTITY Fcy "&#x00424;" ><!--=capital EF, Cyrillic -->
+<!ENTITY gcy "&#x00433;" ><!--=small ghe, Cyrillic -->
+<!ENTITY Gcy "&#x00413;" ><!--=capital GHE, Cyrillic -->
+<!ENTITY hardcy "&#x0044A;" ><!--=small hard sign, Cyrillic -->
+<!ENTITY HARDcy "&#x0042A;" ><!--=capital HARD sign, Cyrillic -->
+<!ENTITY icy "&#x00438;" ><!--=small i, Cyrillic -->
+<!ENTITY Icy "&#x00418;" ><!--=capital I, Cyrillic -->
+<!ENTITY iecy "&#x00435;" ><!--=small ie, Cyrillic -->
+<!ENTITY IEcy "&#x00415;" ><!--=capital IE, Cyrillic -->
+<!ENTITY iocy "&#x00451;" ><!--=small io, Russian -->
+<!ENTITY IOcy "&#x00401;" ><!--=capital IO, Russian -->
+<!ENTITY jcy "&#x00439;" ><!--=small short i, Cyrillic -->
+<!ENTITY Jcy "&#x00419;" ><!--=capital short I, Cyrillic -->
+<!ENTITY kcy "&#x0043A;" ><!--=small ka, Cyrillic -->
+<!ENTITY Kcy "&#x0041A;" ><!--=capital KA, Cyrillic -->
+<!ENTITY khcy "&#x00445;" ><!--=small ha, Cyrillic -->
+<!ENTITY KHcy "&#x00425;" ><!--=capital HA, Cyrillic -->
+<!ENTITY lcy "&#x0043B;" ><!--=small el, Cyrillic -->
+<!ENTITY Lcy "&#x0041B;" ><!--=capital EL, Cyrillic -->
+<!ENTITY mcy "&#x0043C;" ><!--=small em, Cyrillic -->
+<!ENTITY Mcy "&#x0041C;" ><!--=capital EM, Cyrillic -->
+<!ENTITY ncy "&#x0043D;" ><!--=small en, Cyrillic -->
+<!ENTITY Ncy "&#x0041D;" ><!--=capital EN, Cyrillic -->
+<!ENTITY numero "&#x02116;" ><!--=numero sign -->
+<!ENTITY ocy "&#x0043E;" ><!--=small o, Cyrillic -->
+<!ENTITY Ocy "&#x0041E;" ><!--=capital O, Cyrillic -->
+<!ENTITY pcy "&#x0043F;" ><!--=small pe, Cyrillic -->
+<!ENTITY Pcy "&#x0041F;" ><!--=capital PE, Cyrillic -->
+<!ENTITY rcy "&#x00440;" ><!--=small er, Cyrillic -->
+<!ENTITY Rcy "&#x00420;" ><!--=capital ER, Cyrillic -->
+<!ENTITY scy "&#x00441;" ><!--=small es, Cyrillic -->
+<!ENTITY Scy "&#x00421;" ><!--=capital ES, Cyrillic -->
+<!ENTITY shchcy "&#x00449;" ><!--=small shcha, Cyrillic -->
+<!ENTITY SHCHcy "&#x00429;" ><!--=capital SHCHA, Cyrillic -->
+<!ENTITY shcy "&#x00448;" ><!--=small sha, Cyrillic -->
+<!ENTITY SHcy "&#x00428;" ><!--=capital SHA, Cyrillic -->
+<!ENTITY softcy "&#x0044C;" ><!--=small soft sign, Cyrillic -->
+<!ENTITY SOFTcy "&#x0042C;" ><!--=capital SOFT sign, Cyrillic -->
+<!ENTITY tcy "&#x00442;" ><!--=small te, Cyrillic -->
+<!ENTITY Tcy "&#x00422;" ><!--=capital TE, Cyrillic -->
+<!ENTITY tscy "&#x00446;" ><!--=small tse, Cyrillic -->
+<!ENTITY TScy "&#x00426;" ><!--=capital TSE, Cyrillic -->
+<!ENTITY ucy "&#x00443;" ><!--=small u, Cyrillic -->
+<!ENTITY Ucy "&#x00423;" ><!--=capital U, Cyrillic -->
+<!ENTITY vcy "&#x00432;" ><!--=small ve, Cyrillic -->
+<!ENTITY Vcy "&#x00412;" ><!--=capital VE, Cyrillic -->
+<!ENTITY yacy "&#x0044F;" ><!--=small ya, Cyrillic -->
+<!ENTITY YAcy "&#x0042F;" ><!--=capital YA, Cyrillic -->
+<!ENTITY ycy "&#x0044B;" ><!--=small yeru, Cyrillic -->
+<!ENTITY Ycy "&#x0042B;" ><!--=capital YERU, Cyrillic -->
+<!ENTITY yucy "&#x0044E;" ><!--=small yu, Cyrillic -->
+<!ENTITY YUcy "&#x0042E;" ><!--=capital YU, Cyrillic -->
+<!ENTITY zcy "&#x00437;" ><!--=small ze, Cyrillic -->
+<!ENTITY Zcy "&#x00417;" ><!--=capital ZE, Cyrillic -->
+<!ENTITY zhcy "&#x00436;" ><!--=small zhe, Cyrillic -->
+<!ENTITY ZHcy "&#x00416;" ><!--=capital ZHE, Cyrillic -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isocyr2.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isocyr2.ent
new file mode 100644
index 0000000000..67c477b24d
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isocyr2.ent
@@ -0,0 +1,53 @@
+
+<!--
+ File isocyr2.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY djcy "&#x00452;" ><!--=small dje, Serbian -->
+<!ENTITY DJcy "&#x00402;" ><!--=capital DJE, Serbian -->
+<!ENTITY dscy "&#x00455;" ><!--=small dse, Macedonian -->
+<!ENTITY DScy "&#x00405;" ><!--=capital DSE, Macedonian -->
+<!ENTITY dzcy "&#x0045F;" ><!--=small dze, Serbian -->
+<!ENTITY DZcy "&#x0040F;" ><!--=capital dze, Serbian -->
+<!ENTITY gjcy "&#x00453;" ><!--=small gje, Macedonian -->
+<!ENTITY GJcy "&#x00403;" ><!--=capital GJE Macedonian -->
+<!ENTITY iukcy "&#x00456;" ><!--=small i, Ukrainian -->
+<!ENTITY Iukcy "&#x00406;" ><!--=capital I, Ukrainian -->
+<!ENTITY jsercy "&#x00458;" ><!--=small je, Serbian -->
+<!ENTITY Jsercy "&#x00408;" ><!--=capital JE, Serbian -->
+<!ENTITY jukcy "&#x00454;" ><!--=small je, Ukrainian -->
+<!ENTITY Jukcy "&#x00404;" ><!--=capital JE, Ukrainian -->
+<!ENTITY kjcy "&#x0045C;" ><!--=small kje Macedonian -->
+<!ENTITY KJcy "&#x0040C;" ><!--=capital KJE, Macedonian -->
+<!ENTITY ljcy "&#x00459;" ><!--=small lje, Serbian -->
+<!ENTITY LJcy "&#x00409;" ><!--=capital LJE, Serbian -->
+<!ENTITY njcy "&#x0045A;" ><!--=small nje, Serbian -->
+<!ENTITY NJcy "&#x0040A;" ><!--=capital NJE, Serbian -->
+<!ENTITY tshcy "&#x0045B;" ><!--=small tshe, Serbian -->
+<!ENTITY TSHcy "&#x0040B;" ><!--=capital TSHE, Serbian -->
+<!ENTITY ubrcy "&#x0045E;" ><!--=small u, Byelorussian -->
+<!ENTITY Ubrcy "&#x0040E;" ><!--=capital U, Byelorussian -->
+<!ENTITY yicy "&#x00457;" ><!--=small yi, Ukrainian -->
+<!ENTITY YIcy "&#x00407;" ><!--=capital YI, Ukrainian -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isodia.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isodia.ent
new file mode 100644
index 0000000000..ba6496300f
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isodia.ent
@@ -0,0 +1,41 @@
+
+<!--
+ File isodia.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY acute "&#x000B4;" ><!--=acute accent -->
+<!ENTITY breve "&#x002D8;" ><!--=breve -->
+<!ENTITY caron "&#x002C7;" ><!--=caron -->
+<!ENTITY cedil "&#x000B8;" ><!--=cedilla -->
+<!ENTITY circ "&#x0005E;" ><!--circumflex accent -->
+<!ENTITY dblac "&#x002DD;" ><!--=double acute accent -->
+<!ENTITY die "&#x000A8;" ><!--=dieresis -->
+<!ENTITY dot "&#x002D9;" ><!--=dot above -->
+<!ENTITY grave "&#x00060;" ><!--=grave accent -->
+<!ENTITY macr "&#x000AF;" ><!--=macron -->
+<!ENTITY ogon "&#x002DB;" ><!--=ogonek -->
+<!ENTITY ring "&#x002DA;" ><!--=ring -->
+<!ENTITY tilde "&#x002DC;" ><!--=tilde -->
+<!ENTITY uml "&#x000A8;" ><!--=umlaut mark -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk1.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk1.ent
new file mode 100644
index 0000000000..63b9f14ce8
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk1.ent
@@ -0,0 +1,75 @@
+<!--
+
+ File isogrk1.ent produced by the dsssl script ent.dsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments in the STIX proposal for characters
+ for Mathematics.
+
+ The STIX assignments are temporary and will change if
+ the proposal or some variant of it is adopted by the
+ Unicode Consortium.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+-->
+
+<!ENTITY agr "&#945;" ><!--U03B1 =small alpha, Greek -->
+<!ENTITY Agr "&#913;" ><!--U0391 =capital Alpha, Greek -->
+<!ENTITY bgr "&#946;" ><!--U03B2 =small beta, Greek -->
+<!ENTITY Bgr "&#914;" ><!--U0392 =capital Beta, Greek -->
+<!ENTITY dgr "&#948;" ><!--U03B4 =small delta, Greek -->
+<!ENTITY Dgr "&#916;" ><!--U0394 =capital Delta, Greek -->
+<!ENTITY eegr "&#951;" ><!--U03B7 =small eta, Greek -->
+<!ENTITY egr "&#949;" ><!--U03B5 =small epsilon, Greek -->
+<!ENTITY EEgr "&#919;" ><!--U0397 =capital Eta, Greek -->
+<!ENTITY Egr "&#917;" ><!--U0395 =capital Epsilon, Greek -->
+<!ENTITY ggr "&#947;" ><!--U03B3 =small gamma, Greek -->
+<!ENTITY Ggr "&#915;" ><!--U0393 =capital Gamma, Greek -->
+<!ENTITY igr "&#953;" ><!--U03B9 =small iota, Greek -->
+<!ENTITY Igr "&#921;" ><!--U0399 =capital Iota, Greek -->
+<!ENTITY kgr "&#954;" ><!--U03BA =small kappa, Greek -->
+<!ENTITY khgr "&#967;" ><!--U03C7 =small chi, Greek -->
+<!ENTITY Kgr "&#922;" ><!--U039A =capital Kappa, Greek -->
+<!ENTITY KHgr "&#935;" ><!--U03A7 =capital Chi, Greek -->
+<!ENTITY lgr "&#955;" ><!--U03BB =small lambda, Greek -->
+<!ENTITY Lgr "&#923;" ><!--U039B =capital Lambda, Greek -->
+<!ENTITY mgr "&#956;" ><!--U03BC =small mu, Greek -->
+<!ENTITY Mgr "&#924;" ><!--U039C =capital Mu, Greek -->
+<!ENTITY ngr "&#957;" ><!--U03BD =small nu, Greek -->
+<!ENTITY Ngr "&#925;" ><!--U039D =capital Nu, Greek -->
+<!ENTITY ogr "&#959;" ><!--U03BF =small omicron, Greek -->
+<!ENTITY ohgr "&#969;" ><!--U03C9 =small omega, Greek -->
+<!ENTITY Ogr "&#927;" ><!--U039F =capital Omicron, Greek -->
+<!ENTITY OHgr "&#937;" ><!--U03A9 =capital Omega, Greek -->
+<!ENTITY pgr "&#960;" ><!--U03C0 =small pi, Greek -->
+<!ENTITY phgr "&#966;" ><!--U03C6 =small phi, Greek -->
+<!ENTITY psgr "&#968;" ><!--U03C8 =small psi, Greek -->
+<!ENTITY Pgr "&#928;" ><!--U03A0 =capital Pi, Greek -->
+<!ENTITY PHgr "&#934;" ><!--U03A6 =capital Phi, Greek -->
+<!ENTITY PSgr "&#936;" ><!--U03A8 =capital Psi, Greek -->
+<!ENTITY rgr "&#961;" ><!--U03C1 =small rho, Greek -->
+<!ENTITY Rgr "&#929;" ><!--U03A1 =capital Rho, Greek -->
+<!ENTITY sfgr "&#962;" ><!--U03C2 =final small sigma, Greek -->
+<!ENTITY sgr "&#963;" ><!--U03C3 =small sigma, Greek -->
+<!ENTITY Sgr "&#931;" ><!--U03A3 =capital Sigma, Greek -->
+<!ENTITY tgr "&#964;" ><!--U03C4 =small tau, Greek -->
+<!ENTITY thgr "&#952;" ><!--U03B8 =small theta, Greek -->
+<!ENTITY Tgr "&#932;" ><!--U03A4 =capital Tau, Greek -->
+<!ENTITY THgr "&#920;" ><!--U0398 =capital Theta, Greek -->
+<!ENTITY ugr "&#965;" ><!--U03C5 =small upsilon, Greek -->
+<!ENTITY Ugr "&#933;" ><!--U03A5 =capital Upsilon, Greek -->
+<!ENTITY xgr "&#958;" ><!--U03BE =small xi, Greek -->
+<!ENTITY Xgr "&#926;" ><!--U039E =capital Xi, Greek -->
+<!ENTITY zgr "&#950;" ><!--U03B6 =small zeta, Greek -->
+<!ENTITY Zgr "&#918;" ><!--U0396 =capital Zeta, Greek -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk2.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk2.ent
new file mode 100644
index 0000000000..424786cabb
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk2.ent
@@ -0,0 +1,46 @@
+<!--
+
+ File isogrk2.ent produced by the dsssl script ent.dsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments in the STIX proposal for characters
+ for Mathematics.
+
+ The STIX assignments are temporary and will change if
+ the proposal or some variant of it is adopted by the
+ Unicode Consortium.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+-->
+
+<!ENTITY aacgr "&#940;" ><!--U03AC =small alpha, accent, Greek -->
+<!ENTITY Aacgr "&#902;" ><!--U0386 =capital Alpha, accent, Greek -->
+<!ENTITY eacgr "&#941;" ><!--U03AD =small epsilon, accent, Greek -->
+<!ENTITY eeacgr "&#942;" ><!--U03AE =small eta, accent, Greek -->
+<!ENTITY Eacgr "&#904;" ><!--U0388 =capital Epsilon, accent, Greek -->
+<!ENTITY EEacgr "&#905;" ><!--U0389 =capital Eta, accent, Greek -->
+<!ENTITY iacgr "&#943;" ><!--U03AF =small iota, accent, Greek -->
+<!ENTITY idiagr "&#912;" ><!--U0390 =small iota, dieresis, accent, Greek -->
+<!ENTITY idigr "&#970;" ><!--U03CA =small iota, dieresis, Greek -->
+<!ENTITY Iacgr "&#906;" ><!--U038A =capital Iota, accent, Greek -->
+<!ENTITY Idigr "&#938;" ><!--U03AA =capital Iota, dieresis, Greek -->
+<!ENTITY oacgr "&#972;" ><!--U03CC =small omicron, accent, Greek -->
+<!ENTITY ohacgr "&#974;" ><!--U03CE =small omega, accent, Greek -->
+<!ENTITY Oacgr "&#908;" ><!--U038C =capital Omicron, accent, Greek -->
+<!ENTITY OHacgr "&#911;" ><!--U038F =capital Omega, accent, Greek -->
+<!ENTITY uacgr "&#973;" ><!--U03CD =small upsilon, accent, Greek -->
+<!ENTITY udiagr "&#944;" ><!--U03B0 =small upsilon, dieresis, accent, Greek -->
+<!ENTITY udigr "&#971;" ><!--U03CB =small upsilon, dieresis, Greek -->
+<!ENTITY Uacgr "&#910;" ><!--U038E =capital Upsilon, accent, Greek -->
+<!ENTITY Udigr "&#939;" ><!--U03AB =capital Upsilon, dieresis, Greek -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk3.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk3.ent
new file mode 100644
index 0000000000..fa03355048
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk3.ent
@@ -0,0 +1,70 @@
+
+<!--
+ File isogrk3.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY alpha "&#x003B1;" ><!--/alpha small alpha, Greek -->
+<!ENTITY beta "&#x003B2;" ><!--/beta small beta, Greek -->
+<!ENTITY chi "&#x003C7;" ><!--/chi small chi, Greek -->
+<!ENTITY delta "&#x003B4;" ><!--/delta small delta, Greek -->
+<!ENTITY Delta "&#x00394;" ><!--/Delta capital Delta, Greek -->
+<!ENTITY epsi "&#x003B5;" ><!--/straightepsilon, small epsilon, Greek -->
+<!ENTITY epsiv "&#x0025B;" ><!--/varepsilon -->
+<!ENTITY eta "&#x003B7;" ><!--/eta small eta, Greek -->
+<!ENTITY gamma "&#x003B3;" ><!--/gamma small gamma, Greek -->
+<!ENTITY Gamma "&#x00393;" ><!--/Gamma capital Gamma, Greek -->
+<!ENTITY gammad "&#x003DC;" ><!--/digamma -->
+<!ENTITY Gammad "&#x003DC;" ><!--capital digamma -->
+<!ENTITY iota "&#x003B9;" ><!--/iota small iota, Greek -->
+<!ENTITY kappa "&#x003BA;" ><!--/kappa small kappa, Greek -->
+<!ENTITY kappav "&#x003F0;" ><!--/varkappa -->
+<!ENTITY lambda "&#x003BB;" ><!--/lambda small lambda, Greek -->
+<!ENTITY Lambda "&#x0039B;" ><!--/Lambda capital Lambda, Greek -->
+<!ENTITY mu "&#x003BC;" ><!--/mu small mu, Greek -->
+<!ENTITY nu "&#x003BD;" ><!--/nu small nu, Greek -->
+<!ENTITY omega "&#x003C9;" ><!--/omega small omega, Greek -->
+<!ENTITY Omega "&#x003A9;" ><!--/Omega capital Omega, Greek -->
+<!ENTITY phi "&#x003C6;" ><!--/straightphi - small phi, Greek -->
+<!ENTITY Phi "&#x003A6;" ><!--/Phi capital Phi, Greek -->
+<!ENTITY phiv "&#x003D5;" ><!--/varphi - curly or open phi -->
+<!ENTITY pi "&#x003C0;" ><!--/pi small pi, Greek -->
+<!ENTITY Pi "&#x003A0;" ><!--/Pi capital Pi, Greek -->
+<!ENTITY piv "&#x003D6;" ><!--/varpi -->
+<!ENTITY psi "&#x003C8;" ><!--/psi small psi, Greek -->
+<!ENTITY Psi "&#x003A8;" ><!--/Psi capital Psi, Greek -->
+<!ENTITY rho "&#x003C1;" ><!--/rho small rho, Greek -->
+<!ENTITY rhov "&#x003F1;" ><!--/varrho -->
+<!ENTITY sigma "&#x003C3;" ><!--/sigma small sigma, Greek -->
+<!ENTITY Sigma "&#x003A3;" ><!--/Sigma capital Sigma, Greek -->
+<!ENTITY sigmav "&#x003C2;" ><!--/varsigma -->
+<!ENTITY tau "&#x003C4;" ><!--/tau small tau, Greek -->
+<!ENTITY theta "&#x003B8;" ><!--/theta straight theta, small theta, Greek -->
+<!ENTITY Theta "&#x00398;" ><!--/Theta capital Theta, Greek -->
+<!ENTITY thetav "&#x003D1;" ><!--/vartheta - curly or open theta -->
+<!ENTITY upsi "&#x003C5;" ><!--/upsilon small upsilon, Greek -->
+<!ENTITY Upsi "&#x003D2;" ><!--/Upsilon capital Upsilon, Greek -->
+<!ENTITY xi "&#x003BE;" ><!--/xi small xi, Greek -->
+<!ENTITY Xi "&#x0039E;" ><!--/Xi capital Xi, Greek -->
+<!ENTITY zeta "&#x003B6;" ><!--/zeta small zeta, Greek -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk4.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk4.ent
new file mode 100644
index 0000000000..71f834042b
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isogrk4.ent
@@ -0,0 +1,69 @@
+<!--
+
+ File isogrk4.ent produced by the dsssl script ent.dsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments in the STIX proposal for characters
+ for Mathematics.
+
+ The STIX assignments are temporary and will change if
+ the proposal or some variant of it is adopted by the
+ Unicode Consortium.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+-->
+
+<!ENTITY b.alpha "&#59136;" ><!--UE700 small alpha, Greek -->
+<!ENTITY b.beta "&#59137;" ><!--UE701 small beta, Greek -->
+<!ENTITY b.chi "&#59175;" ><!--UE727 small chi, Greek -->
+<!ENTITY b.delta "&#59142;" ><!--UE706 small delta, Greek -->
+<!ENTITY b.Delta "&#59143;" ><!--UE707 capital delta, Greek -->
+<!ENTITY b.epsi "&#59144;" ><!--UE708 small epsilon, Greek -->
+<!ENTITY b.epsiv "&#59146;" ><!--UE709 varepsilion -->
+<!ENTITY b.eta "&#59148;" ><!--UE70C small eta, Greek -->
+<!ENTITY b.gamma "&#59138;" ><!--UE702 small gamma, Greek -->
+<!ENTITY b.gammad "&#59140;" ><!--UE704 digamma, Greek -->
+<!ENTITY b.Gamma "&#59139;" ><!--UE703 capital gamma, Greek -->
+<!ENTITY b.Gammad "&#59141;" ><!--UE705 capital digamma, Greek -->
+<!ENTITY b.iota "&#59152;" ><!--UE710 small iota, Greek -->
+<!ENTITY b.kappa "&#59153;" ><!--UE711 small kappa, Greek -->
+<!ENTITY b.kappav "&#59154;" ><!--UE712 var kappa, Greek -->
+<!ENTITY b.lambda "&#59155;" ><!--UE713 small lambda, Greek -->
+<!ENTITY b.Lambda "&#59156;" ><!--UE714 capital lambda, Greek -->
+<!ENTITY b.mu "&#59157;" ><!--UE715 small mu, Greek -->
+<!ENTITY b.nu "&#59158;" ><!--UE716 small nu, Greek -->
+<!ENTITY b.omega "&#59178;" ><!--UE72A small omega, Greek -->
+<!ENTITY b.Omega "&#59179;" ><!--UE72B capital Omega, Greek -->
+<!ENTITY b.phis "&#59172;" ><!--UE724 straight phi, Greek -->
+<!ENTITY b.phiv "&#59174;" ><!--UE726 varphi -->
+<!ENTITY b.pi "&#59161;" ><!--UE719 small pi, Greek -->
+<!ENTITY b.piv "&#59163;" ><!--UE71B varpi -->
+<!ENTITY b.psi "&#59176;" ><!--UE728 small psi, Greek -->
+<!ENTITY b.Phi "&#59173;" ><!--UE725 capital Phi, Greek -->
+<!ENTITY b.Pi "&#59162;" ><!--UE71A capital pi, Greek -->
+<!ENTITY b.Psi "&#59177;" ><!--UE729 capital Psi, Greek -->
+<!ENTITY b.rho "&#59164;" ><!--UE71C small rho, Greek -->
+<!ENTITY b.rhov "&#59165;" ><!--UE71D varrho -->
+<!ENTITY b.sigma "&#59166;" ><!--UE71E small sigma, Greek -->
+<!ENTITY b.sigmav "&#59168;" ><!--UE720 varsigma -->
+<!ENTITY b.Sigma "&#59167;" ><!--UE71F capital sigma, Greek -->
+<!ENTITY b.tau "&#59169;" ><!--UE721 small tau, Greek -->
+<!ENTITY b.thetas "&#59149;" ><!--UE70D straight theta, Greek -->
+<!ENTITY b.thetav "&#59151;" ><!--UE70F var theta, Greek -->
+<!ENTITY b.Theta "&#59150;" ><!--UE70E capital theta, Greek -->
+<!ENTITY b.upsi "&#59170;" ><!--UE722 small upsilon, Greek -->
+<!ENTITY b.Upsilon "&#59171;" ><!--UE723 capital upsilon, Greek -->
+<!ENTITY b.xi "&#59159;" ><!--UE717 small xi, Greek -->
+<!ENTITY b.Xi "&#59160;" ><!--UE718 capital xi, Greek -->
+<!ENTITY b.zeta "&#59145;" ><!--UE70B small zeta, Greek -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isolat1.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isolat1.ent
new file mode 100644
index 0000000000..849d360aea
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isolat1.ent
@@ -0,0 +1,89 @@
+
+<!--
+ File isolat1.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY aacute "&#x000E1;" ><!--=small a, acute accent -->
+<!ENTITY Aacute "&#x000C1;" ><!--=capital A, acute accent -->
+<!ENTITY acirc "&#x000E2;" ><!--=small a, circumflex accent -->
+<!ENTITY Acirc "&#x000C2;" ><!--=capital A, circumflex accent -->
+<!ENTITY aelig "&#x000E6;" ><!--=small ae diphthong (ligature) -->
+<!ENTITY AElig "&#x000C6;" ><!--=capital AE diphthong (ligature) -->
+<!ENTITY agrave "&#x000E0;" ><!--=small a, grave accent -->
+<!ENTITY Agrave "&#x000C0;" ><!--=capital A, grave accent -->
+<!ENTITY aring "&#x000E5;" ><!--=small a, ring -->
+<!ENTITY Aring "&#x000C5;" ><!--=capital A, ring -->
+<!ENTITY atilde "&#x000E3;" ><!--=small a, tilde -->
+<!ENTITY Atilde "&#x000C3;" ><!--=capital A, tilde -->
+<!ENTITY auml "&#x000E4;" ><!--=small a, dieresis or umlaut mark -->
+<!ENTITY Auml "&#x000C4;" ><!--=capital A, dieresis or umlaut mark -->
+<!ENTITY ccedil "&#x000E7;" ><!--=small c, cedilla -->
+<!ENTITY Ccedil "&#x000C7;" ><!--=capital C, cedilla -->
+<!ENTITY eacute "&#x000E9;" ><!--=small e, acute accent -->
+<!ENTITY Eacute "&#x000C9;" ><!--=capital E, acute accent -->
+<!ENTITY ecirc "&#x000EA;" ><!--=small e, circumflex accent -->
+<!ENTITY Ecirc "&#x000CA;" ><!--=capital E, circumflex accent -->
+<!ENTITY egrave "&#x000E8;" ><!--=small e, grave accent -->
+<!ENTITY Egrave "&#x000C8;" ><!--=capital E, grave accent -->
+<!ENTITY eth "&#x000F0;" ><!--=small eth, Icelandic -->
+<!ENTITY ETH "&#x000D0;" ><!--=capital Eth, Icelandic -->
+<!ENTITY euml "&#x000EB;" ><!--=small e, dieresis or umlaut mark -->
+<!ENTITY Euml "&#x000CB;" ><!--=capital E, dieresis or umlaut mark -->
+<!ENTITY iacute "&#x000ED;" ><!--=small i, acute accent -->
+<!ENTITY Iacute "&#x000CD;" ><!--=capital I, acute accent -->
+<!ENTITY icirc "&#x000EE;" ><!--=small i, circumflex accent -->
+<!ENTITY Icirc "&#x000CE;" ><!--=capital I, circumflex accent -->
+<!ENTITY igrave "&#x000EC;" ><!--=small i, grave accent -->
+<!ENTITY Igrave "&#x000CC;" ><!--=capital I, grave accent -->
+<!ENTITY iuml "&#x000EF;" ><!--=small i, dieresis or umlaut mark -->
+<!ENTITY Iuml "&#x000CF;" ><!--=capital I, dieresis or umlaut mark -->
+<!ENTITY ntilde "&#x000F1;" ><!--=small n, tilde -->
+<!ENTITY Ntilde "&#x000D1;" ><!--=capital N, tilde -->
+<!ENTITY oacute "&#x000F3;" ><!--=small o, acute accent -->
+<!ENTITY Oacute "&#x000D3;" ><!--=capital O, acute accent -->
+<!ENTITY ocirc "&#x000F4;" ><!--=small o, circumflex accent -->
+<!ENTITY Ocirc "&#x000D4;" ><!--=capital O, circumflex accent -->
+<!ENTITY ograve "&#x000F2;" ><!--=small o, grave accent -->
+<!ENTITY Ograve "&#x000D2;" ><!--=capital O, grave accent -->
+<!ENTITY oslash "&#x000F8;" ><!--latin small letter o with stroke -->
+<!ENTITY Oslash "&#x000D8;" ><!--=capital O, slash -->
+<!ENTITY otilde "&#x000F5;" ><!--=small o, tilde -->
+<!ENTITY Otilde "&#x000D5;" ><!--=capital O, tilde -->
+<!ENTITY ouml "&#x000F6;" ><!--=small o, dieresis or umlaut mark -->
+<!ENTITY Ouml "&#x000D6;" ><!--=capital O, dieresis or umlaut mark -->
+<!ENTITY szlig "&#x000DF;" ><!--=small sharp s, German (sz ligature) -->
+<!ENTITY thorn "&#x000FE;" ><!--=small thorn, Icelandic -->
+<!ENTITY THORN "&#x000DE;" ><!--=capital THORN, Icelandic -->
+<!ENTITY uacute "&#x000FA;" ><!--=small u, acute accent -->
+<!ENTITY Uacute "&#x000DA;" ><!--=capital U, acute accent -->
+<!ENTITY ucirc "&#x000FB;" ><!--=small u, circumflex accent -->
+<!ENTITY Ucirc "&#x000DB;" ><!--=capital U, circumflex accent -->
+<!ENTITY ugrave "&#x000F9;" ><!--=small u, grave accent -->
+<!ENTITY Ugrave "&#x000D9;" ><!--=capital U, grave accent -->
+<!ENTITY uuml "&#x000FC;" ><!--=small u, dieresis or umlaut mark -->
+<!ENTITY Uuml "&#x000DC;" ><!--=capital U, dieresis or umlaut mark -->
+<!ENTITY yacute "&#x000FD;" ><!--=small y, acute accent -->
+<!ENTITY Yacute "&#x000DD;" ><!--=capital Y, acute accent -->
+<!ENTITY yuml "&#x000FF;" ><!--=small y, dieresis or umlaut mark -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isolat2.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isolat2.ent
new file mode 100644
index 0000000000..3049be7f1f
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isolat2.ent
@@ -0,0 +1,148 @@
+
+<!--
+ File isolat2.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY abreve "&#x00103;" ><!--=small a, breve -->
+<!ENTITY Abreve "&#x00102;" ><!--=capital A, breve -->
+<!ENTITY amacr "&#x00101;" ><!--=small a, macron -->
+<!ENTITY Amacr "&#x00100;" ><!--=capital A, macron -->
+<!ENTITY aogon "&#x00105;" ><!--=small a, ogonek -->
+<!ENTITY Aogon "&#x00104;" ><!--=capital A, ogonek -->
+<!ENTITY cacute "&#x00107;" ><!--=small c, acute accent -->
+<!ENTITY Cacute "&#x00106;" ><!--=capital C, acute accent -->
+<!ENTITY ccaron "&#x0010D;" ><!--=small c, caron -->
+<!ENTITY Ccaron "&#x0010C;" ><!--=capital C, caron -->
+<!ENTITY ccirc "&#x00109;" ><!--=small c, circumflex accent -->
+<!ENTITY Ccirc "&#x00108;" ><!--=capital C, circumflex accent -->
+<!ENTITY cdot "&#x0010B;" ><!--=small c, dot above -->
+<!ENTITY Cdot "&#x0010A;" ><!--=capital C, dot above -->
+<!ENTITY dcaron "&#x0010F;" ><!--=small d, caron -->
+<!ENTITY Dcaron "&#x0010E;" ><!--=capital D, caron -->
+<!ENTITY dstrok "&#x00111;" ><!--=small d, stroke -->
+<!ENTITY Dstrok "&#x00110;" ><!--=capital D, stroke -->
+<!ENTITY ecaron "&#x0011B;" ><!--=small e, caron -->
+<!ENTITY Ecaron "&#x0011A;" ><!--=capital E, caron -->
+<!ENTITY edot "&#x00117;" ><!--=small e, dot above -->
+<!ENTITY Edot "&#x00116;" ><!--=capital E, dot above -->
+<!ENTITY emacr "&#x00113;" ><!--=small e, macron -->
+<!ENTITY Emacr "&#x00112;" ><!--=capital E, macron -->
+<!ENTITY eng "&#x0014B;" ><!--=small eng, Lapp -->
+<!ENTITY ENG "&#x0014A;" ><!--=capital ENG, Lapp -->
+<!ENTITY eogon "&#x00119;" ><!--=small e, ogonek -->
+<!ENTITY Eogon "&#x00118;" ><!--=capital E, ogonek -->
+<!ENTITY gacute "&#x001F5;" ><!--=small g, acute accent -->
+<!ENTITY gbreve "&#x0011F;" ><!--=small g, breve -->
+<!ENTITY Gbreve "&#x0011E;" ><!--=capital G, breve -->
+<!ENTITY Gcedil "&#x00122;" ><!--=capital G, cedilla -->
+<!ENTITY gcirc "&#x0011D;" ><!--=small g, circumflex accent -->
+<!ENTITY Gcirc "&#x0011C;" ><!--=capital G, circumflex accent -->
+<!ENTITY gdot "&#x00121;" ><!--=small g, dot above -->
+<!ENTITY Gdot "&#x00120;" ><!--=capital G, dot above -->
+<!ENTITY hcirc "&#x00125;" ><!--=small h, circumflex accent -->
+<!ENTITY Hcirc "&#x00124;" ><!--=capital H, circumflex accent -->
+<!ENTITY hstrok "&#x00127;" ><!--=small h, stroke -->
+<!ENTITY Hstrok "&#x00126;" ><!--=capital H, stroke -->
+<!ENTITY Idot "&#x00130;" ><!--=capital I, dot above -->
+<!ENTITY ijlig "&#x00133;" ><!--=small ij ligature -->
+<!ENTITY IJlig "&#x00132;" ><!--=capital IJ ligature -->
+<!ENTITY imacr "&#x0012B;" ><!--=small i, macron -->
+<!ENTITY Imacr "&#x0012A;" ><!--=capital I, macron -->
+<!ENTITY inodot "&#x00131;" ><!--=small i without dot -->
+<!ENTITY iogon "&#x0012F;" ><!--=small i, ogonek -->
+<!ENTITY Iogon "&#x0012E;" ><!--=capital I, ogonek -->
+<!ENTITY itilde "&#x00129;" ><!--=small i, tilde -->
+<!ENTITY Itilde "&#x00128;" ><!--=capital I, tilde -->
+<!ENTITY jcirc "&#x00135;" ><!--=small j, circumflex accent -->
+<!ENTITY Jcirc "&#x00134;" ><!--=capital J, circumflex accent -->
+<!ENTITY kcedil "&#x00137;" ><!--=small k, cedilla -->
+<!ENTITY Kcedil "&#x00136;" ><!--=capital K, cedilla -->
+<!ENTITY kgreen "&#x00138;" ><!--=small k, Greenlandic -->
+<!ENTITY lacute "&#x0013A;" ><!--=small l, acute accent -->
+<!ENTITY Lacute "&#x00139;" ><!--=capital L, acute accent -->
+<!ENTITY lcaron "&#x0013E;" ><!--=small l, caron -->
+<!ENTITY Lcaron "&#x0013D;" ><!--=capital L, caron -->
+<!ENTITY lcedil "&#x0013C;" ><!--=small l, cedilla -->
+<!ENTITY Lcedil "&#x0013B;" ><!--=capital L, cedilla -->
+<!ENTITY lmidot "&#x00140;" ><!--=small l, middle dot -->
+<!ENTITY Lmidot "&#x0013F;" ><!--=capital L, middle dot -->
+<!ENTITY lstrok "&#x00142;" ><!--=small l, stroke -->
+<!ENTITY Lstrok "&#x00141;" ><!--=capital L, stroke -->
+<!ENTITY nacute "&#x00144;" ><!--=small n, acute accent -->
+<!ENTITY Nacute "&#x00143;" ><!--=capital N, acute accent -->
+<!ENTITY napos "&#x00149;" ><!--=small n, apostrophe -->
+<!ENTITY ncaron "&#x00148;" ><!--=small n, caron -->
+<!ENTITY Ncaron "&#x00147;" ><!--=capital N, caron -->
+<!ENTITY ncedil "&#x00146;" ><!--=small n, cedilla -->
+<!ENTITY Ncedil "&#x00145;" ><!--=capital N, cedilla -->
+<!ENTITY odblac "&#x00151;" ><!--=small o, double acute accent -->
+<!ENTITY Odblac "&#x00150;" ><!--=capital O, double acute accent -->
+<!ENTITY oelig "&#x00153;" ><!--=small oe ligature -->
+<!ENTITY OElig "&#x00152;" ><!--=capital OE ligature -->
+<!ENTITY omacr "&#x0014D;" ><!--=small o, macron -->
+<!ENTITY Omacr "&#x0014C;" ><!--=capital O, macron -->
+<!ENTITY racute "&#x00155;" ><!--=small r, acute accent -->
+<!ENTITY Racute "&#x00154;" ><!--=capital R, acute accent -->
+<!ENTITY rcaron "&#x00159;" ><!--=small r, caron -->
+<!ENTITY Rcaron "&#x00158;" ><!--=capital R, caron -->
+<!ENTITY rcedil "&#x00157;" ><!--=small r, cedilla -->
+<!ENTITY Rcedil "&#x00156;" ><!--=capital R, cedilla -->
+<!ENTITY sacute "&#x0015B;" ><!--=small s, acute accent -->
+<!ENTITY Sacute "&#x0015A;" ><!--=capital S, acute accent -->
+<!ENTITY scaron "&#x00161;" ><!--=small s, caron -->
+<!ENTITY Scaron "&#x00160;" ><!--=capital S, caron -->
+<!ENTITY scedil "&#x0015F;" ><!--=small s, cedilla -->
+<!ENTITY Scedil "&#x0015E;" ><!--=capital S, cedilla -->
+<!ENTITY scirc "&#x0015D;" ><!--=small s, circumflex accent -->
+<!ENTITY Scirc "&#x0015C;" ><!--=capital S, circumflex accent -->
+<!ENTITY tcaron "&#x00165;" ><!--=small t, caron -->
+<!ENTITY Tcaron "&#x00164;" ><!--=capital T, caron -->
+<!ENTITY tcedil "&#x00163;" ><!--=small t, cedilla -->
+<!ENTITY Tcedil "&#x00162;" ><!--=capital T, cedilla -->
+<!ENTITY tstrok "&#x00167;" ><!--=small t, stroke -->
+<!ENTITY Tstrok "&#x00166;" ><!--=capital T, stroke -->
+<!ENTITY ubreve "&#x0016D;" ><!--=small u, breve -->
+<!ENTITY Ubreve "&#x0016C;" ><!--=capital U, breve -->
+<!ENTITY udblac "&#x00171;" ><!--=small u, double acute accent -->
+<!ENTITY Udblac "&#x00170;" ><!--=capital U, double acute accent -->
+<!ENTITY umacr "&#x0016B;" ><!--=small u, macron -->
+<!ENTITY Umacr "&#x0016A;" ><!--=capital U, macron -->
+<!ENTITY uogon "&#x00173;" ><!--=small u, ogonek -->
+<!ENTITY Uogon "&#x00172;" ><!--=capital U, ogonek -->
+<!ENTITY uring "&#x0016F;" ><!--=small u, ring -->
+<!ENTITY Uring "&#x0016E;" ><!--=capital U, ring -->
+<!ENTITY utilde "&#x00169;" ><!--=small u, tilde -->
+<!ENTITY Utilde "&#x00168;" ><!--=capital U, tilde -->
+<!ENTITY wcirc "&#x00175;" ><!--=small w, circumflex accent -->
+<!ENTITY Wcirc "&#x00174;" ><!--=capital W, circumflex accent -->
+<!ENTITY ycirc "&#x00177;" ><!--=small y, circumflex accent -->
+<!ENTITY Ycirc "&#x00176;" ><!--=capital Y, circumflex accent -->
+<!ENTITY Yuml "&#x00178;" ><!--=capital Y, dieresis or umlaut mark -->
+<!ENTITY zacute "&#x0017A;" ><!--=small z, acute accent -->
+<!ENTITY Zacute "&#x00179;" ><!--=capital Z, acute accent -->
+<!ENTITY zcaron "&#x0017E;" ><!--=small z, caron -->
+<!ENTITY Zcaron "&#x0017D;" ><!--=capital Z, caron -->
+<!ENTITY zdot "&#x0017C;" ><!--=small z, dot above -->
+<!ENTITY Zdot "&#x0017B;" ><!--=capital Z, dot above -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isomfrk.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isomfrk.ent
new file mode 100644
index 0000000000..397212a643
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isomfrk.ent
@@ -0,0 +1,79 @@
+
+<!--
+ File isomfrk.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY afr "&#x1D51E;" ><!--/frak a, lower case a -->
+<!ENTITY Afr "&#x1D504;" ><!--/frak A, upper case a -->
+<!ENTITY bfr "&#x1D51F;" ><!--/frak b, lower case b -->
+<!ENTITY Bfr "&#x1D505;" ><!--/frak B, upper case b -->
+<!ENTITY cfr "&#x1D520;" ><!--/frak c, lower case c -->
+<!ENTITY Cfr "&#x1D506;" ><!--/frak C, upper case c -->
+<!ENTITY dfr "&#x1D521;" ><!--/frak d, lower case d -->
+<!ENTITY Dfr "&#x1D507;" ><!--/frak D, upper case d -->
+<!ENTITY efr "&#x1D522;" ><!--/frak e, lower case e -->
+<!ENTITY Efr "&#x1D508;" ><!--/frak E, upper case e -->
+<!ENTITY ffr "&#x1D523;" ><!--/frak f, lower case f -->
+<!ENTITY Ffr "&#x1D509;" ><!--/frak F, upper case f -->
+<!ENTITY gfr "&#x1D524;" ><!--/frak g, lower case g -->
+<!ENTITY Gfr "&#x1D50A;" ><!--/frak G, upper case g -->
+<!ENTITY hfr "&#x1D525;" ><!--/frak h, lower case h -->
+<!ENTITY Hfr "&#x1D50B;" ><!--/frak H, upper case h -->
+<!ENTITY ifr "&#x1D526;" ><!--/frak i, lower case i -->
+<!ENTITY Ifr "&#x1D50C;" ><!--/frak I, upper case i -->
+<!ENTITY jfr "&#x1D527;" ><!--/frak j, lower case j -->
+<!ENTITY Jfr "&#x1D50D;" ><!--/frak J, upper case j -->
+<!ENTITY kfr "&#x1D528;" ><!--/frak k, lower case k -->
+<!ENTITY Kfr "&#x1D50E;" ><!--/frak K, upper case k -->
+<!ENTITY lfr "&#x1D529;" ><!--/frak l, lower case l -->
+<!ENTITY Lfr "&#x1D50F;" ><!--/frak L, upper case l -->
+<!ENTITY mfr "&#x1D52A;" ><!--/frak m, lower case m -->
+<!ENTITY Mfr "&#x1D510;" ><!--/frak M, upper case m -->
+<!ENTITY nfr "&#x1D52B;" ><!--/frak n, lower case n -->
+<!ENTITY Nfr "&#x1D511;" ><!--/frak N, upper case n -->
+<!ENTITY ofr "&#x1D52C;" ><!--/frak o, lower case o -->
+<!ENTITY Ofr "&#x1D512;" ><!--/frak O, upper case o -->
+<!ENTITY pfr "&#x1D52D;" ><!--/frak p, lower case p -->
+<!ENTITY Pfr "&#x1D513;" ><!--/frak P, upper case p -->
+<!ENTITY qfr "&#x1D52E;" ><!--/frak q, lower case q -->
+<!ENTITY Qfr "&#x1D514;" ><!--/frak Q, upper case q -->
+<!ENTITY rfr "&#x1D52F;" ><!--/frak r, lower case r -->
+<!ENTITY Rfr "&#x1D515;" ><!--/frak R, upper case r -->
+<!ENTITY sfr "&#x1D530;" ><!--/frak s, lower case s -->
+<!ENTITY Sfr "&#x1D516;" ><!--/frak S, upper case s -->
+<!ENTITY tfr "&#x1D531;" ><!--/frak t, lower case t -->
+<!ENTITY Tfr "&#x1D517;" ><!--/frak T, upper case t -->
+<!ENTITY ufr "&#x1D532;" ><!--/frak u, lower case u -->
+<!ENTITY Ufr "&#x1D518;" ><!--/frak U, upper case u -->
+<!ENTITY vfr "&#x1D533;" ><!--/frak v, lower case v -->
+<!ENTITY Vfr "&#x1D519;" ><!--/frak V, upper case v -->
+<!ENTITY wfr "&#x1D534;" ><!--/frak w, lower case w -->
+<!ENTITY Wfr "&#x1D51A;" ><!--/frak W, upper case w -->
+<!ENTITY xfr "&#x1D535;" ><!--/frak x, lower case x -->
+<!ENTITY Xfr "&#x1D51B;" ><!--/frak X, upper case x -->
+<!ENTITY yfr "&#x1D536;" ><!--/frak y, lower case y -->
+<!ENTITY Yfr "&#x1D51C;" ><!--/frak Y, upper case y -->
+<!ENTITY zfr "&#x1D537;" ><!--/frak z, lower case z -->
+<!ENTITY Zfr "&#x1D51D;" ><!--/frak Z, upper case z -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isomopf.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isomopf.ent
new file mode 100644
index 0000000000..806b2fb4fe
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isomopf.ent
@@ -0,0 +1,53 @@
+
+<!--
+ File isomopf.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY Aopf "&#x1D538;" ><!--/Bbb A, open face A -->
+<!ENTITY Bopf "&#x1D539;" ><!--/Bbb B, open face B -->
+<!ENTITY Copf "&#x1D53A;" ><!--/Bbb C, open face C -->
+<!ENTITY Dopf "&#x1D53B;" ><!--/Bbb D, open face D -->
+<!ENTITY Eopf "&#x1D53C;" ><!--/Bbb E, open face E -->
+<!ENTITY Fopf "&#x1D53D;" ><!--/Bbb F, open face F -->
+<!ENTITY Gopf "&#x1D53E;" ><!--/Bbb G, open face G -->
+<!ENTITY Hopf "&#x1D53F;" ><!--/Bbb H, open face H -->
+<!ENTITY Iopf "&#x1D540;" ><!--/Bbb I, open face I -->
+<!ENTITY Jopf "&#x1D541;" ><!--/Bbb J, open face J -->
+<!ENTITY Kopf "&#x1D542;" ><!--/Bbb K, open face K -->
+<!ENTITY Lopf "&#x1D543;" ><!--/Bbb L, open face L -->
+<!ENTITY Mopf "&#x1D544;" ><!--/Bbb M, open face M -->
+<!ENTITY Nopf "&#x1D545;" ><!--/Bbb N, open face N -->
+<!ENTITY Oopf "&#x1D546;" ><!--/Bbb O, open face O -->
+<!ENTITY Popf "&#x1D547;" ><!--/Bbb P, open face P -->
+<!ENTITY Qopf "&#x1D548;" ><!--/Bbb Q, open face Q -->
+<!ENTITY Ropf "&#x1D549;" ><!--/Bbb R, open face R -->
+<!ENTITY Sopf "&#x1D54A;" ><!--/Bbb S, open face S -->
+<!ENTITY Topf "&#x1D54B;" ><!--/Bbb T, open face T -->
+<!ENTITY Uopf "&#x1D54C;" ><!--/Bbb U, open face U -->
+<!ENTITY Vopf "&#x1D54D;" ><!--/Bbb V, open face V -->
+<!ENTITY Wopf "&#x1D54E;" ><!--/Bbb W, open face W -->
+<!ENTITY Xopf "&#x1D54F;" ><!--/Bbb X, open face X -->
+<!ENTITY Yopf "&#x1D550;" ><!--/Bbb Y, open face Y -->
+<!ENTITY Zopf "&#x1D551;" ><!--/Bbb Z, open face Z -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isomscr.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isomscr.ent
new file mode 100644
index 0000000000..a1bb39c36c
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isomscr.ent
@@ -0,0 +1,79 @@
+
+<!--
+ File isomscr.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY ascr "&#x1D4B6;" ><!--/scr a, script letter a -->
+<!ENTITY Ascr "&#x1D49C;" ><!--/scr A, script letter A -->
+<!ENTITY bscr "&#x1D4B7;" ><!--/scr b, script letter b -->
+<!ENTITY Bscr "&#x1D49D;" ><!--/scr B, script letter B -->
+<!ENTITY cscr "&#x1D4B8;" ><!--/scr c, script letter c -->
+<!ENTITY Cscr "&#x1D49E;" ><!--/scr C, script letter C -->
+<!ENTITY dscr "&#x1D4B9;" ><!--/scr d, script letter d -->
+<!ENTITY Dscr "&#x1D49F;" ><!--/scr D, script letter D -->
+<!ENTITY escr "&#x1D4BA;" ><!--/scr e, script letter e -->
+<!ENTITY Escr "&#x1D4A0;" ><!--/scr E, script letter E -->
+<!ENTITY fscr "&#x1D4BB;" ><!--/scr f, script letter f -->
+<!ENTITY Fscr "&#x1D4A1;" ><!--/scr F, script letter F -->
+<!ENTITY gscr "&#x1D4BC;" ><!--/scr g, script letter g -->
+<!ENTITY Gscr "&#x1D4A2;" ><!--/scr G, script letter G -->
+<!ENTITY hscr "&#x1D4BD;" ><!--/scr h, script letter h -->
+<!ENTITY Hscr "&#x1D4A3;" ><!--/scr H, script letter H -->
+<!ENTITY iscr "&#x1D4BE;" ><!--/scr i, script letter i -->
+<!ENTITY Iscr "&#x1D4A4;" ><!--/scr I, script letter I -->
+<!ENTITY jscr "&#x1D4BF;" ><!--/scr j, script letter j -->
+<!ENTITY Jscr "&#x1D4A5;" ><!--/scr J, script letter J -->
+<!ENTITY kscr "&#x1D4C0;" ><!--/scr k, script letter k -->
+<!ENTITY Kscr "&#x1D4A6;" ><!--/scr K, script letter K -->
+<!ENTITY lscr "&#x1D4C1;" ><!--/scr l, script letter l -->
+<!ENTITY Lscr "&#x1D4A7;" ><!--/scr L, script letter L -->
+<!ENTITY mscr "&#x1D4C2;" ><!--/scr m, script letter m -->
+<!ENTITY Mscr "&#x1D4A8;" ><!--/scr M, script letter M -->
+<!ENTITY nscr "&#x1D4C3;" ><!--/scr n, script letter n -->
+<!ENTITY Nscr "&#x1D4A9;" ><!--/scr N, script letter N -->
+<!ENTITY oscr "&#x1D4C4;" ><!--/scr o, script letter o -->
+<!ENTITY Oscr "&#x1D4AA;" ><!--/scr O, script letter O -->
+<!ENTITY pscr "&#x1D4C5;" ><!--/scr p, script letter p -->
+<!ENTITY Pscr "&#x1D4AB;" ><!--/scr P, script letter P -->
+<!ENTITY qscr "&#x1D4C6;" ><!--/scr q, script letter q -->
+<!ENTITY Qscr "&#x1D4AC;" ><!--/scr Q, script letter Q -->
+<!ENTITY rscr "&#x1D4C7;" ><!--/scr r, script letter r -->
+<!ENTITY Rscr "&#x1D4AD;" ><!--/scr R, script letter R -->
+<!ENTITY sscr "&#x1D4C8;" ><!--/scr s, script letter s -->
+<!ENTITY Sscr "&#x1D4AE;" ><!--/scr S, script letter S -->
+<!ENTITY tscr "&#x1D4C9;" ><!--/scr t, script letter t -->
+<!ENTITY Tscr "&#x1D4AF;" ><!--/scr T, script letter T -->
+<!ENTITY uscr "&#x1D4CA;" ><!--/scr u, script letter u -->
+<!ENTITY Uscr "&#x1D4B0;" ><!--/scr U, script letter U -->
+<!ENTITY vscr "&#x1D4CB;" ><!--/scr v, script letter v -->
+<!ENTITY Vscr "&#x1D4B1;" ><!--/scr V, script letter V -->
+<!ENTITY wscr "&#x1D4CC;" ><!--/scr w, script letter w -->
+<!ENTITY Wscr "&#x1D4B2;" ><!--/scr W, script letter W -->
+<!ENTITY xscr "&#x1D4CD;" ><!--/scr x, script letter x -->
+<!ENTITY Xscr "&#x1D4B3;" ><!--/scr X, script letter X -->
+<!ENTITY yscr "&#x1D4CE;" ><!--/scr y, script letter y -->
+<!ENTITY Yscr "&#x1D4B4;" ><!--/scr Y, script letter Y -->
+<!ENTITY zscr "&#x1D4CF;" ><!--/scr z, script letter z -->
+<!ENTITY Zscr "&#x1D4B5;" ><!--/scr Z, script letter Z -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isonum.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isonum.ent
new file mode 100644
index 0000000000..e5a7002fb4
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isonum.ent
@@ -0,0 +1,103 @@
+
+<!--
+ File isonum.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY amp "&#x26;&#x00026;" ><!--=ampersand -->
+<!ENTITY apos "&#x00027;" ><!--=apostrophe -->
+<!ENTITY ast "&#x0002A;" ><!--/ast B: =asterisk -->
+<!ENTITY brvbar "&#x000A6;" ><!--=broken (vertical) bar -->
+<!ENTITY bsol "&#x0005C;" ><!--/backslash =reverse solidus -->
+<!ENTITY cent "&#x000A2;" ><!--=cent sign -->
+<!ENTITY colon "&#x0003A;" ><!--/colon P: -->
+<!ENTITY comma "&#x0002C;" ><!--P: =comma -->
+<!ENTITY commat "&#x00040;" ><!--=commercial at -->
+<!ENTITY copy "&#x000A9;" ><!--=copyright sign -->
+<!ENTITY curren "&#x000A4;" ><!--=general currency sign -->
+<!ENTITY darr "&#x02193;" ><!--/downarrow A: =downward arrow -->
+<!ENTITY deg "&#x000B0;" ><!--=degree sign -->
+<!ENTITY divide "&#x000F7;" ><!--/div B: =divide sign -->
+<!ENTITY dollar "&#x00024;" ><!--=dollar sign -->
+<!ENTITY equals "&#x0003D;" ><!--=equals sign R: -->
+<!ENTITY excl "&#x00021;" ><!--=exclamation mark -->
+<!ENTITY frac12 "&#x000BD;" ><!--=fraction one-half -->
+<!ENTITY frac14 "&#x000BC;" ><!--=fraction one-quarter -->
+<!ENTITY frac18 "&#x0215B;" ><!--=fraction one-eighth -->
+<!ENTITY frac34 "&#x000BE;" ><!--=fraction three-quarters -->
+<!ENTITY frac38 "&#x0215C;" ><!--=fraction three-eighths -->
+<!ENTITY frac58 "&#x0215D;" ><!--=fraction five-eighths -->
+<!ENTITY frac78 "&#x0215E;" ><!--=fraction seven-eighths -->
+<!ENTITY gt "&#x0003E;" ><!--=greater-than sign R: -->
+<!ENTITY half "&#x000BD;" ><!--=fraction one-half -->
+<!ENTITY horbar "&#x02015;" ><!--=horizontal bar -->
+<!ENTITY hyphen "&#x02010;" ><!--=hyphen -->
+<!ENTITY iexcl "&#x000A1;" ><!--=inverted exclamation mark -->
+<!ENTITY iquest "&#x000BF;" ><!--=inverted question mark -->
+<!ENTITY laquo "&#x000AB;" ><!--=angle quotation mark, left -->
+<!ENTITY larr "&#x02190;" ><!--/leftarrow /gets A: =leftward arrow -->
+<!ENTITY lcub "&#x0007B;" ><!--/lbrace O: =left curly bracket -->
+<!ENTITY ldquo "&#x0201C;" ><!--=double quotation mark, left -->
+<!ENTITY lowbar "&#x0005F;" ><!--=low line -->
+<!ENTITY lpar "&#x00028;" ><!--O: =left parenthesis -->
+<!ENTITY lsqb "&#x0005B;" ><!--/lbrack O: =left square bracket -->
+<!ENTITY lsquo "&#x02018;" ><!--=single quotation mark, left -->
+<!ENTITY lt "&#x26;&#x0003C;" ><!--=less-than sign R: -->
+<!ENTITY micro "&#x000B5;" ><!--=micro sign -->
+<!ENTITY middot "&#x000B7;" ><!--/centerdot B: =middle dot -->
+<!ENTITY nbsp "&#x000A0;" ><!--=no break (required) space -->
+<!ENTITY not "&#x000AC;" ><!--/neg /lnot =not sign -->
+<!ENTITY num "&#x00023;" ><!--=number sign -->
+<!ENTITY ohm "&#x02126;" ><!--=ohm sign -->
+<!ENTITY ordf "&#x000AA;" ><!--=ordinal indicator, feminine -->
+<!ENTITY ordm "&#x000BA;" ><!--=ordinal indicator, masculine -->
+<!ENTITY para "&#x000B6;" ><!--=pilcrow (paragraph sign) -->
+<!ENTITY percnt "&#x00025;" ><!--=percent sign -->
+<!ENTITY period "&#x0002E;" ><!--=full stop, period -->
+<!ENTITY plus "&#x0002B;" ><!--=plus sign B: -->
+<!ENTITY plusmn "&#x000B1;" ><!--/pm B: =plus-or-minus sign -->
+<!ENTITY pound "&#x000A3;" ><!--=pound sign -->
+<!ENTITY quest "&#x0003F;" ><!--=question mark -->
+<!ENTITY quot "&#x00022;" ><!--=quotation mark -->
+<!ENTITY raquo "&#x000BB;" ><!--=angle quotation mark, right -->
+<!ENTITY rarr "&#x02192;" ><!--/rightarrow /to A: =rightward arrow -->
+<!ENTITY rcub "&#x0007D;" ><!--/rbrace C: =right curly bracket -->
+<!ENTITY rdquo "&#x0201D;" ><!--=double quotation mark, right -->
+<!ENTITY reg "&#x000AE;" ><!--/circledR =registered sign -->
+<!ENTITY rpar "&#x00029;" ><!--C: =right parenthesis -->
+<!ENTITY rsqb "&#x0005D;" ><!--/rbrack C: =right square bracket -->
+<!ENTITY rsquo "&#x02019;" ><!--=single quotation mark, right -->
+<!ENTITY sect "&#x000A7;" ><!--=section sign -->
+<!ENTITY semi "&#x0003B;" ><!--=semicolon P: -->
+<!ENTITY shy "&#x000AD;" ><!--=soft hyphen -->
+<!ENTITY sol "&#x0002F;" ><!--=solidus -->
+<!ENTITY sung "&#x0266A;" ><!--=music note (sung text sign) -->
+<!ENTITY sup1 "&#x000B9;" ><!--=superscript one -->
+<!ENTITY sup2 "&#x000B2;" ><!--=superscript two -->
+<!ENTITY sup3 "&#x000B3;" ><!--=superscript three -->
+<!ENTITY times "&#x000D7;" ><!--/times B: =multiply sign -->
+<!ENTITY trade "&#x02122;" ><!--=trade mark sign -->
+<!ENTITY uarr "&#x02191;" ><!--/uparrow A: =upward arrow -->
+<!ENTITY verbar "&#x0007C;" ><!--/vert =vertical bar -->
+<!ENTITY yen "&#x000A5;" ><!--/yen =yen sign -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isopub.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isopub.ent
new file mode 100644
index 0000000000..5591fc390e
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isopub.ent
@@ -0,0 +1,111 @@
+
+<!--
+ File isopub.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY blank "&#x02423;" ><!--=significant blank symbol -->
+<!ENTITY blk12 "&#x02592;" ><!--=50% shaded block -->
+<!ENTITY blk14 "&#x02591;" ><!--=25% shaded block -->
+<!ENTITY blk34 "&#x02593;" ><!--=75% shaded block -->
+<!ENTITY block "&#x02588;" ><!--=full block -->
+<!ENTITY bull "&#x02022;" ><!--/bullet B: =round bullet, filled -->
+<!ENTITY caret "&#x02041;" ><!--=caret (insertion mark) -->
+<!ENTITY check "&#x02713;" ><!--/checkmark =tick, check mark -->
+<!ENTITY cir "&#x025CB;" ><!--/circ B: =circle, open -->
+<!ENTITY clubs "&#x02663;" ><!--/clubsuit =club suit symbol -->
+<!ENTITY copysr "&#x02117;" ><!--=sound recording copyright sign -->
+<!ENTITY cross "&#x02717;" ><!--=ballot cross -->
+<!ENTITY dagger "&#x02020;" ><!--/dagger B: =dagger -->
+<!ENTITY Dagger "&#x02021;" ><!--/ddagger B: =double dagger -->
+<!ENTITY dash "&#x02010;" ><!--=hyphen (true graphic) -->
+<!ENTITY diams "&#x02666;" ><!--/diamondsuit =diamond suit symbol -->
+<!ENTITY dlcrop "&#x0230D;" ><!--downward left crop mark -->
+<!ENTITY drcrop "&#x0230C;" ><!--downward right crop mark -->
+<!ENTITY dtri "&#x025BF;" ><!--/triangledown =down triangle, open -->
+<!ENTITY dtrif "&#x025BE;" ><!--/blacktriangledown =dn tri, filled -->
+<!ENTITY emsp "&#x02003;" ><!--=em space -->
+<!ENTITY emsp13 "&#x02004;" ><!--=1/3-em space -->
+<!ENTITY emsp14 "&#x02005;" ><!--=1/4-em space -->
+<!ENTITY ensp "&#x02002;" ><!--=en space (1/2-em) -->
+<!ENTITY female "&#x02640;" ><!--=female symbol -->
+<!ENTITY ffilig "&#x0FB03;" ><!--small ffi ligature -->
+<!ENTITY fflig "&#x0FB00;" ><!--small ff ligature -->
+<!ENTITY ffllig "&#x0FB04;" ><!--small ffl ligature -->
+<!ENTITY filig "&#x0FB01;" ><!--small fi ligature -->
+<!ENTITY flat "&#x0266D;" ><!--/flat =musical flat -->
+<!ENTITY fllig "&#x0FB02;" ><!--small fl ligature -->
+<!ENTITY frac13 "&#x02153;" ><!--=fraction one-third -->
+<!ENTITY frac15 "&#x02155;" ><!--=fraction one-fifth -->
+<!ENTITY frac16 "&#x02159;" ><!--=fraction one-sixth -->
+<!ENTITY frac23 "&#x02154;" ><!--=fraction two-thirds -->
+<!ENTITY frac25 "&#x02156;" ><!--=fraction two-fifths -->
+<!ENTITY frac35 "&#x02157;" ><!--=fraction three-fifths -->
+<!ENTITY frac45 "&#x02158;" ><!--=fraction four-fifths -->
+<!ENTITY frac56 "&#x0215A;" ><!--=fraction five-sixths -->
+<!ENTITY hairsp "&#x0200A;" ><!--=hair space -->
+<!ENTITY hearts "&#x02661;" ><!--/heartsuit =heart suit symbol -->
+<!ENTITY hellip "&#x02026;" ><!--=ellipsis (horizontal) -->
+<!ENTITY hybull "&#x02043;" ><!--rectangle, filled (hyphen bullet) -->
+<!ENTITY incare "&#x02105;" ><!--=in-care-of symbol -->
+<!ENTITY ldquor "&#x0201E;" ><!--=rising dbl quote, left (low) -->
+<!ENTITY lhblk "&#x02584;" ><!--=lower half block -->
+<!ENTITY loz "&#x025CA;" ><!--/lozenge - lozenge or total mark -->
+<!ENTITY lozf "&#x029EB;" ><!--/blacklozenge - lozenge, filled -->
+<!ENTITY lsquor "&#x0201A;" ><!--=rising single quote, left (low) -->
+<!ENTITY ltri "&#x025C3;" ><!--/triangleleft B: l triangle, open -->
+<!ENTITY ltrif "&#x025C2;" ><!--/blacktriangleleft R: =l tri, filled -->
+<!ENTITY male "&#x02642;" ><!--=male symbol -->
+<!ENTITY malt "&#x02720;" ><!--/maltese =maltese cross -->
+<!ENTITY marker "&#x025AE;" ><!--=histogram marker -->
+<!ENTITY mdash "&#x02014;" ><!--=em dash -->
+<!ENTITY mldr "&#x02026;" ><!--em leader -->
+<!ENTITY natur "&#x0266E;" ><!--/natural - music natural -->
+<!ENTITY ndash "&#x02013;" ><!--=en dash -->
+<!ENTITY nldr "&#x02025;" ><!--=double baseline dot (en leader) -->
+<!ENTITY numsp "&#x02007;" ><!--=digit space (width of a number) -->
+<!ENTITY phone "&#x0260E;" ><!--=telephone symbol -->
+<!ENTITY puncsp "&#x02008;" ><!--=punctuation space (width of comma) -->
+<!ENTITY rdquor "&#x0201D;" ><!--rising dbl quote, right (high) -->
+<!ENTITY rect "&#x025AD;" ><!--=rectangle, open -->
+<!ENTITY rsquor "&#x02019;" ><!--rising single quote, right (high) -->
+<!ENTITY rtri "&#x025B9;" ><!--/triangleright B: r triangle, open -->
+<!ENTITY rtrif "&#x025B8;" ><!--/blacktriangleright R: =r tri, filled -->
+<!ENTITY rx "&#x0211E;" ><!--pharmaceutical prescription (Rx) -->
+<!ENTITY sext "&#x02736;" ><!--sextile (6-pointed star) -->
+<!ENTITY sharp "&#x0266F;" ><!--/sharp =musical sharp -->
+<!ENTITY spades "&#x02660;" ><!--/spadesuit =spades suit symbol -->
+<!ENTITY squ "&#x025A1;" ><!--=square, open -->
+<!ENTITY squf "&#x025AA;" ><!--/blacksquare =sq bullet, filled -->
+<!ENTITY star "&#x022C6;" ><!--=star, open -->
+<!ENTITY starf "&#x02605;" ><!--/bigstar - star, filled -->
+<!ENTITY target "&#x02316;" ><!--register mark or target -->
+<!ENTITY telrec "&#x02315;" ><!--=telephone recorder symbol -->
+<!ENTITY thinsp "&#x02009;" ><!--=thin space (1/6-em) -->
+<!ENTITY uhblk "&#x02580;" ><!--=upper half block -->
+<!ENTITY ulcrop "&#x0230F;" ><!--upward left crop mark -->
+<!ENTITY urcrop "&#x0230E;" ><!--upward right crop mark -->
+<!ENTITY utri "&#x025B5;" ><!--/triangle =up triangle, open -->
+<!ENTITY utrif "&#x025B4;" ><!--/blacktriangle =up tri, filled -->
+<!ENTITY vellip "&#x022EE;" ><!--vertical ellipsis -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/isotech.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isotech.ent
new file mode 100644
index 0000000000..dc1fc01354
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/isotech.ent
@@ -0,0 +1,183 @@
+
+<!--
+ File isotech.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+ Entity names in this file are derived from files carrying the
+ following notice:
+
+ (C) International Organization for Standardization 1991
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+-->
+
+<!ENTITY acd "&#x0223F;" ><!--ac current -->
+<!ENTITY aleph "&#x02135;" ><!--/aleph aleph, Hebrew -->
+<!ENTITY and "&#x02227;" ><!--/wedge /land B: logical and -->
+<!ENTITY And "&#x02A53;" ><!--dbl logical and -->
+<!ENTITY andand "&#x02A55;" ><!--two logical and -->
+<!ENTITY andd "&#x02A5C;" ><!--and, horizontal dash -->
+<!ENTITY andslope "&#x02A58;" ><!--sloping large and -->
+<!ENTITY andv "&#x02A5A;" ><!--and with middle stem -->
+<!ENTITY angrt "&#x0221F;" ><!--right (90 degree) angle -->
+<!ENTITY angsph "&#x02222;" ><!--/sphericalangle angle-spherical -->
+<!ENTITY angst "&#x0212B;" ><!--Angstrom capital A, ring -->
+<!ENTITY ap "&#x02248;" ><!--/approx R: approximate -->
+<!ENTITY apacir "&#x02A6F;" ><!--approximate, circumflex accent -->
+<!ENTITY awconint "&#x02233;" ><!--contour integral, anti-clockwise -->
+<!ENTITY awint "&#x02A11;" ><!--anti clock-wise integration -->
+<!ENTITY becaus "&#x02235;" ><!--/because R: because -->
+<!ENTITY bernou "&#x0212C;" ><!--Bernoulli function (script capital B) -->
+<!ENTITY bne "&#x0003D;&#x020E5;" ><!--reverse not equal -->
+<!ENTITY bnequiv "&#x02261;&#x020E5;" ><!--reverse not equivalent -->
+<!ENTITY bnot "&#x02310;" ><!--reverse not -->
+<!ENTITY bNot "&#x02AED;" ><!--reverse not with two horizontal strokes -->
+<!ENTITY bottom "&#x022A5;" ><!--/bot bottom -->
+<!ENTITY cap "&#x02229;" ><!--/cap B: intersection -->
+<!ENTITY Cconint "&#x02230;" ><!--triple contour integral operator -->
+<!ENTITY cirfnint "&#x02A10;" ><!--circulation function -->
+<!ENTITY compfn "&#x02218;" ><!--/circ B: composite function (small circle) -->
+<!ENTITY cong "&#x02245;" ><!--/cong R: congruent with -->
+<!ENTITY conint "&#x0222E;" ><!--/oint L: contour integral operator -->
+<!ENTITY Conint "&#x0222F;" ><!--double contour integral operator -->
+<!ENTITY ctdot "&#x022EF;" ><!--/cdots, three dots, centered -->
+<!ENTITY cup "&#x0222A;" ><!--/cup B: union or logical sum -->
+<!ENTITY cwconint "&#x02232;" ><!--contour integral, clockwise -->
+<!ENTITY cwint "&#x02231;" ><!--clockwise integral -->
+<!ENTITY cylcty "&#x0232D;" ><!--cylindricity -->
+<!ENTITY disin "&#x022F2;" ><!--set membership, long horizontal stroke -->
+<!ENTITY Dot "&#x000A8;" ><!--dieresis or umlaut mark -->
+<!ENTITY DotDot "&#x020DC;" ><!--four dots above -->
+<!ENTITY dsol "&#x02052;" ><!--solidus, bar above -->
+<!ENTITY dtdot "&#x022F1;" ><!--/ddots, three dots, descending -->
+<!ENTITY dwangle "&#x029A6;" ><!--large downward pointing angle -->
+<!ENTITY epar "&#x022D5;" ><!--parallel, equal; equal or parallel -->
+<!ENTITY eparsl "&#x029E3;" ><!--parallel, slanted, equal; homothetically congruent to -->
+<!ENTITY equiv "&#x02261;" ><!--/equiv R: identical with -->
+<!ENTITY eqvparsl "&#x029E5;" ><!--equivalent, equal; congruent and parallel -->
+<!ENTITY exist "&#x02203;" ><!--/exists at least one exists -->
+<!ENTITY fnof "&#x00192;" ><!--function of (italic small f) -->
+<!ENTITY forall "&#x02200;" ><!--/forall for all -->
+<!ENTITY fpartint "&#x02A0D;" ><!--finite part integral -->
+<!ENTITY ge "&#x02265;" ><!--/geq /ge R: greater-than-or-equal -->
+<!ENTITY hamilt "&#x0210B;" ><!--Hamiltonian (script capital H) -->
+<!ENTITY iff "&#x021D4;" ><!--/iff if and only if -->
+<!ENTITY iinfin "&#x029DC;" ><!--infinity sign, incomplete -->
+<!ENTITY imped "&#x1D543;" ><!--impedance -->
+<!ENTITY infin "&#x0221E;" ><!--/infty infinity -->
+<!ENTITY int "&#x0222B;" ><!--/int L: integral operator -->
+<!ENTITY Int "&#x0222C;" ><!--double integral operator -->
+<!ENTITY intlarhk "&#x02A17;" ><!--integral, left arrow with hook -->
+<!ENTITY isin "&#x02208;" ><!--/in R: set membership -->
+<!ENTITY isindot "&#x022F5;" ><!--set membership, dot above -->
+<!ENTITY isinE "&#x022F9;" ><!--set membership, two horizontal strokes -->
+<!ENTITY isins "&#x022F4;" ><!--set membership, vertical bar on horizontal stroke -->
+<!ENTITY isinsv "&#x022F3;" ><!--large set membership, vertical bar on horizontal stroke -->
+<!ENTITY isinv "&#x02208;" ><!--set membership, variant -->
+<!ENTITY lagran "&#x02112;" ><!--Lagrangian (script capital L) -->
+<!ENTITY lang "&#x03008;" ><!--/langle O: left angle bracket -->
+<!ENTITY Lang "&#x0300A;" ><!--left angle bracket, double -->
+<!ENTITY lArr "&#x021D0;" ><!--/Leftarrow A: is implied by -->
+<!ENTITY lbbrk "&#x03014;" ><!--left broken bracket -->
+<!ENTITY le "&#x02264;" ><!--/leq /le R: less-than-or-equal -->
+<!ENTITY loang "&#x03018;" ><!--left open angular bracket -->
+<!ENTITY lobrk "&#x0301A;" ><!--left open bracket -->
+<!ENTITY lopar "&#x02985;" ><!--left open parenthesis -->
+<!ENTITY lowast "&#x02217;" ><!--low asterisk -->
+<!ENTITY minus "&#x02212;" ><!--B: minus sign -->
+<!ENTITY mnplus "&#x02213;" ><!--/mp B: minus-or-plus sign -->
+<!ENTITY nabla "&#x02207;" ><!--/nabla del, Hamilton operator -->
+<!ENTITY ne "&#x02260;" ><!--/ne /neq R: not equal -->
+<!ENTITY nedot "&#x02260;&#x02063;" ><!--not equal, dot -->
+<!ENTITY nhpar "&#x02AF2;" ><!--not, horizontal, parallel -->
+<!ENTITY ni "&#x0220B;" ><!--/ni /owns R: contains -->
+<!ENTITY nis "&#x022FC;" ><!--contains, vertical bar on horizontal stroke -->
+<!ENTITY nisd "&#x022FA;" ><!--contains, long horizontal stroke -->
+<!ENTITY niv "&#x0220B;" ><!--contains, variant -->
+<!ENTITY Not "&#x02AEC;" ><!--not with two horizontal strokes -->
+<!ENTITY notin "&#x02209;" ><!--/notin N: negated set membership -->
+<!ENTITY notindot "&#x022F6;&#x02063;" ><!--negated set membership, dot above -->
+<!ENTITY notinva "&#x02209;&#x00338;" ><!--negated set membership, variant -->
+<!ENTITY notinvb "&#x022F7;" ><!--negated set membership, variant -->
+<!ENTITY notinvc "&#x022F6;" ><!--negated set membership, variant -->
+<!ENTITY notni "&#x0220C;" ><!--negated contains -->
+<!ENTITY notniva "&#x0220C;" ><!--negated contains, variant -->
+<!ENTITY notnivb "&#x022FE;" ><!--contains, variant -->
+<!ENTITY notnivc "&#x022FD;" ><!--contains, variant -->
+<!ENTITY nparsl "&#x02225;&#x02063;&#x020E5;" ><!--not parallel, slanted -->
+<!ENTITY npart "&#x02202;&#x00338;" ><!--not partial differential -->
+<!ENTITY npolint "&#x02A14;" ><!--line integration, not including the pole -->
+<!ENTITY nvinfin "&#x029DE;" ><!--not, vert, infinity -->
+<!ENTITY olcross "&#x029BB;" ><!--circle, cross -->
+<!ENTITY or "&#x02228;" ><!--/vee /lor B: logical or -->
+<!ENTITY Or "&#x02A54;" ><!--dbl logical or -->
+<!ENTITY ord "&#x02A5D;" ><!--or, horizontal dash -->
+<!ENTITY order "&#x02134;" ><!--order of (script small o) -->
+<!ENTITY oror "&#x02A56;" ><!--two logical or -->
+<!ENTITY orslope "&#x02A57;" ><!--sloping large or -->
+<!ENTITY orv "&#x02A5B;" ><!--or with middle stem -->
+<!ENTITY par "&#x02225;" ><!--/parallel R: parallel -->
+<!ENTITY parsl "&#x02225;&#x02063;" ><!--parallel, slanted -->
+<!ENTITY part "&#x02202;" ><!--/partial partial differential -->
+<!ENTITY permil "&#x02030;" ><!--per thousand -->
+<!ENTITY perp "&#x022A5;" ><!--/perp R: perpendicular -->
+<!ENTITY pertenk "&#x02031;" ><!--per 10 thousand -->
+<!ENTITY phmmat "&#x02133;" ><!--physics M-matrix (script capital M) -->
+<!ENTITY pointint "&#x02A15;" ><!--integral around a point operator -->
+<!ENTITY prime "&#x02032;" ><!--/prime prime or minute -->
+<!ENTITY Prime "&#x02033;" ><!--double prime or second -->
+<!ENTITY profalar "&#x0232E;" ><!--all-around profile -->
+<!ENTITY profline "&#x02312;" ><!--profile of a line -->
+<!ENTITY profsurf "&#x02313;" ><!--profile of a surface -->
+<!ENTITY prop "&#x0221D;" ><!--/propto R: is proportional to -->
+<!ENTITY qint "&#x02A0C;" ><!--/iiiint quadruple integral operator -->
+<!ENTITY qprime "&#x02057;" ><!--quadruple prime -->
+<!ENTITY quatint "&#x02A16;" ><!--quaternion integral operator -->
+<!ENTITY radic "&#x0221A;" ><!--/surd radical -->
+<!ENTITY rang "&#x03009;" ><!--/rangle C: right angle bracket -->
+<!ENTITY Rang "&#x0300B;" ><!--right angle bracket, double -->
+<!ENTITY rArr "&#x021D2;" ><!--/Rightarrow A: implies -->
+<!ENTITY rbbrk "&#x03015;" ><!--right broken bracket -->
+<!ENTITY roang "&#x03019;" ><!--right open angular bracket -->
+<!ENTITY robrk "&#x0301B;" ><!--right open bracket -->
+<!ENTITY ropar "&#x02986;" ><!--right open parenthesis -->
+<!ENTITY rppolint "&#x02A12;" ><!--line integration, rectangular path around pole -->
+<!ENTITY scpolint "&#x02A13;" ><!--line integration, semi-circular path around pole -->
+<!ENTITY sim "&#x0223C;" ><!--/sim R: similar -->
+<!ENTITY simdot "&#x02A6A;" ><!--similar, dot -->
+<!ENTITY sime "&#x02243;" ><!--/simeq R: similar, equals -->
+<!ENTITY smeparsl "&#x029E4;" ><!--similar, parallel, slanted, equal -->
+<!ENTITY square "&#x025A1;" ><!--/square, square -->
+<!ENTITY squarf "&#x025AA;" ><!--/blacksquare, square, filled -->
+<!ENTITY sub "&#x02282;" ><!--/subset R: subset or is implied by -->
+<!ENTITY sube "&#x02286;" ><!--/subseteq R: subset, equals -->
+<!ENTITY sup "&#x02283;" ><!--/supset R: superset or implies -->
+<!ENTITY supe "&#x02287;" ><!--/supseteq R: superset, equals -->
+<!ENTITY tdot "&#x020DB;" ><!--three dots above -->
+<!ENTITY there4 "&#x02234;" ><!--/therefore R: therefore -->
+<!ENTITY tint "&#x0222D;" ><!--/iiint triple integral operator -->
+<!ENTITY top "&#x022A4;" ><!--/top top -->
+<!ENTITY topbot "&#x02336;" ><!--top and bottom -->
+<!ENTITY topcir "&#x02AF1;" ><!--top, circle below -->
+<!ENTITY tprime "&#x02034;" ><!--triple prime -->
+<!ENTITY utdot "&#x022F0;" ><!--three dots, ascending -->
+<!ENTITY uwangle "&#x029A7;" ><!--large upward pointing angle -->
+<!ENTITY vangrt "&#x022BE;" ><!--right angle, variant -->
+<!ENTITY veeeq "&#x0225A;" ><!--logical or, equals -->
+<!ENTITY Verbar "&#x02016;" ><!--/Vert dbl vertical bar -->
+<!ENTITY wedgeq "&#x02259;" ><!--/wedgeq R: corresponds to (wedge, equals) -->
+<!ENTITY xnis "&#x022FB;" ><!--large contains, vertical bar on horizontal stroke -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/mmlalias.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/mmlalias.ent
new file mode 100644
index 0000000000..f5901b3846
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/mmlalias.ent
@@ -0,0 +1,529 @@
+
+<!--
+ File mmlalias.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+-->
+
+<!ENTITY angle "&#x02220;" ><!--alias ISOAMSO ang -->
+<!ENTITY approx "&#x02248;" ><!--alias ISOTECH ap -->
+<!ENTITY approxeq "&#x0224A;" ><!--alias ISOAMSR ape -->
+<!ENTITY backcong "&#x0224C;" ><!--alias ISOAMSR bcong -->
+<!ENTITY backepsilon "&#x0213C;" ><!--alias ISOAMSR bepsi -->
+<!ENTITY backprime "&#x02035;" ><!--alias ISOAMSO bprime -->
+<!ENTITY backsim "&#x0223D;" ><!--alias ISOAMSR bsim -->
+<!ENTITY backsimeq "&#x022CD;" ><!--alias ISOAMSR bsime -->
+<!ENTITY Backslash "&#x02216;" ><!--alias ISOAMSB setmn -->
+<!ENTITY barwedge "&#x022BC;" ><!--alias ISOAMSB barwed -->
+<!ENTITY because "&#x02235;" ><!--alias ISOTECH becaus -->
+<!ENTITY Because "&#x02235;" ><!--alias ISOTECH becaus -->
+<!ENTITY Bernoullis "&#x0212C;" ><!--alias ISOTECH bernou -->
+<!ENTITY between "&#x0226C;" ><!--alias ISOAMSR twixt -->
+<!ENTITY bigcap "&#x022C2;" ><!--alias ISOAMSB xcap -->
+<!ENTITY bigcirc "&#x025EF;" ><!--alias ISOAMSB xcirc -->
+<!ENTITY bigcup "&#x022C3;" ><!--alias ISOAMSB xcup -->
+<!ENTITY bigodot "&#x02299;" ><!--alias ISOAMSB xodot -->
+<!ENTITY bigoplus "&#x02295;" ><!--alias ISOAMSB xoplus -->
+<!ENTITY bigotimes "&#x02297;" ><!--alias ISOAMSB xotime -->
+<!ENTITY bigsqcup "&#x02294;" ><!--alias ISOAMSB xsqcup -->
+<!ENTITY bigstar "&#x02605;" ><!--ISOPUB starf -->
+<!ENTITY bigtriangledown "&#x025BD;" ><!--alias ISOAMSB xdtri -->
+<!ENTITY bigtriangleup "&#x025B3;" ><!--alias ISOAMSB xutri -->
+<!ENTITY biguplus "&#x0228E;" ><!--alias ISOAMSB xuplus -->
+<!ENTITY bigvee "&#x022C1;" ><!--alias ISOAMSB xvee -->
+<!ENTITY bigwedge "&#x022C0;" ><!--alias ISOAMSB xwedge -->
+<!ENTITY bkarow "&#x0290D;" ><!--alias ISOAMSA rbarr -->
+<!ENTITY blacklozenge "&#x029EB;" ><!--alias ISOPUB lozf -->
+<!ENTITY blacksquare "&#x025AA;" ><!--ISOTECH squarf -->
+<!ENTITY blacktriangle "&#x025B4;" ><!--alias ISOPUB utrif -->
+<!ENTITY blacktriangledown "&#x025BE;" ><!--alias ISOPUB dtrif -->
+<!ENTITY blacktriangleleft "&#x025C2;" ><!--alias ISOPUB ltrif -->
+<!ENTITY blacktriangleright "&#x025B8;" ><!--alias ISOPUB rtrif -->
+<!ENTITY bot "&#x022A5;" ><!--alias ISOTECH bottom -->
+<!ENTITY boxminus "&#x0229F;" ><!--alias ISOAMSB minusb -->
+<!ENTITY boxplus "&#x0229E;" ><!--alias ISOAMSB plusb -->
+<!ENTITY boxtimes "&#x022A0;" ><!--alias ISOAMSB timesb -->
+<!ENTITY Breve "&#x002D8;" ><!--alias ISODIA breve -->
+<!ENTITY bullet "&#x02022;" ><!--alias ISOPUB bull -->
+<!ENTITY bumpeq "&#x0224F;" ><!--alias ISOAMSR bumpe -->
+<!ENTITY Bumpeq "&#x0224E;" ><!--alias ISOAMSR bump -->
+<!ENTITY Cedilla "&#x000B8;" ><!--alias ISODIA cedil -->
+<!ENTITY centerdot "&#x000B7;" ><!--alias ISONUM middot -->
+<!ENTITY CenterDot "&#x000B7;" ><!--alias ISONUM middot -->
+<!ENTITY checkmark "&#x02713;" ><!--alias ISOPUB check -->
+<!ENTITY circeq "&#x02257;" ><!--alias ISOAMSR cire -->
+<!ENTITY circlearrowleft "&#x021BA;" ><!--alias ISOAMSA olarr -->
+<!ENTITY circlearrowright "&#x021BB;" ><!--alias ISOAMSA orarr -->
+<!ENTITY circledast "&#x0229B;" ><!--alias ISOAMSB oast -->
+<!ENTITY circledcirc "&#x0229A;" ><!--alias ISOAMSB ocir -->
+<!ENTITY circleddash "&#x0229D;" ><!--alias ISOAMSB odash -->
+<!ENTITY CircleDot "&#x02299;" ><!--alias ISOAMSB odot -->
+<!ENTITY circledR "&#x000AE;" ><!--alias ISONUM reg -->
+<!ENTITY circledS "&#x024C8;" ><!--alias ISOAMSO oS -->
+<!ENTITY CircleMinus "&#x02296;" ><!--alias ISOAMSB ominus -->
+<!ENTITY CirclePlus "&#x02295;" ><!--alias ISOAMSB oplus -->
+<!ENTITY CircleTimes "&#x02297;" ><!--alias ISOAMSB otimes -->
+<!ENTITY ClockwiseContourIntegral "&#x02232;" ><!--alias ISOTECH cwconint -->
+<!ENTITY CloseCurlyDoubleQuote "&#x0201D;" ><!--alias ISONUM rdquo -->
+<!ENTITY CloseCurlyQuote "&#x02019;" ><!--alias ISONUM rsquo -->
+<!ENTITY clubsuit "&#x02663;" ><!--ISOPUB clubs -->
+<!ENTITY coloneq "&#x02254;" ><!--alias ISOAMSR colone -->
+<!ENTITY complement "&#x02201;" ><!--alias ISOAMSO comp -->
+<!ENTITY Congruent "&#x02261;" ><!--alias ISOTECH equiv -->
+<!ENTITY ContourIntegral "&#x0222E;" ><!--alias ISOTECH conint -->
+<!ENTITY Coproduct "&#x02210;" ><!--alias ISOAMSB coprod -->
+<!ENTITY CounterClockwiseContourIntegral "&#x02233;" ><!--alias ISOTECH awconint -->
+<!ENTITY CupCap "&#x0224D;" ><!--alias ISOAMSR asymp -->
+<!ENTITY curlyeqprec "&#x022DE;" ><!--alias ISOAMSR cuepr -->
+<!ENTITY curlyeqsucc "&#x022DF;" ><!--alias ISOAMSR cuesc -->
+<!ENTITY curlyvee "&#x022CE;" ><!--alias ISOAMSB cuvee -->
+<!ENTITY curlywedge "&#x022CF;" ><!--alias ISOAMSB cuwed -->
+<!ENTITY curvearrowleft "&#x021B6;" ><!--alias ISOAMSA cularr -->
+<!ENTITY curvearrowright "&#x021B7;" ><!--alias ISOAMSA curarr -->
+<!ENTITY dbkarow "&#x0290F;" ><!--alias ISOAMSA rBarr -->
+<!ENTITY ddagger "&#x02021;" ><!--alias ISOPUB Dagger -->
+<!ENTITY ddotseq "&#x02A77;" ><!--alias ISOAMSR eDDot -->
+<!ENTITY Del "&#x02207;" ><!--alias ISOTECH nabla -->
+<!ENTITY DiacriticalAcute "&#x000B4;" ><!--alias ISODIA acute -->
+<!ENTITY DiacriticalDot "&#x002D9;" ><!--alias ISODIA dot -->
+<!ENTITY DiacriticalDoubleAcute "&#x002DD;" ><!--alias ISODIA dblac -->
+<!ENTITY DiacriticalGrave "&#x00060;" ><!--alias ISODIA grave -->
+<!ENTITY DiacriticalTilde "&#x002DC;" ><!--alias ISODIA tilde -->
+<!ENTITY diamond "&#x022C4;" ><!--alias ISOAMSB diam -->
+<!ENTITY Diamond "&#x022C4;" ><!--alias ISOAMSB diam -->
+<!ENTITY diamondsuit "&#x02666;" ><!--ISOPUB diams -->
+<!ENTITY digamma "&#x003DC;" ><!--alias ISOGRK3 gammad -->
+<!ENTITY div "&#x000F7;" ><!--alias ISONUM divide -->
+<!ENTITY divideontimes "&#x022C7;" ><!--alias ISOAMSB divonx -->
+<!ENTITY doteq "&#x02250;" ><!--alias ISOAMSR esdot -->
+<!ENTITY doteqdot "&#x02251;" ><!--alias ISOAMSR eDot -->
+<!ENTITY DotEqual "&#x02250;" ><!--alias ISOAMSR esdot -->
+<!ENTITY dotminus "&#x02238;" ><!--alias ISOAMSB minusd -->
+<!ENTITY dotplus "&#x02214;" ><!--alias ISOAMSB plusdo -->
+<!ENTITY dotsquare "&#x022A1;" ><!--alias ISOAMSB sdotb -->
+<!ENTITY doublebarwedge "&#x02306;" ><!--alias ISOAMSB Barwed -->
+<!ENTITY DoubleContourIntegral "&#x0222F;" ><!--alias ISOTECH Conint -->
+<!ENTITY DoubleDot "&#x000A8;" ><!--alias ISODIA die -->
+<!ENTITY DoubleDownArrow "&#x021D3;" ><!--alias ISOAMSA dArr -->
+<!ENTITY DoubleLeftArrow "&#x021D0;" ><!--alias ISOTECH lArr -->
+<!ENTITY DoubleLeftRightArrow "&#x021D4;" ><!--alias ISOAMSA hArr -->
+<!ENTITY DoubleLeftTee "&#x02AE4;" ><!--alias for &Dashv; -->
+<!ENTITY DoubleLongLeftArrow "&#x021D0;" ><!--alias ISOAMSA xlArr -->
+<!ENTITY DoubleLongLeftRightArrow "&#x021D4;" ><!--alias ISOAMSA xhArr -->
+<!ENTITY DoubleLongRightArrow "&#x021D2;" ><!--alias ISOAMSA xrArr -->
+<!ENTITY DoubleRightArrow "&#x021D2;" ><!--alias ISOTECH rArr -->
+<!ENTITY DoubleRightTee "&#x022A8;" ><!--alias ISOAMSR vDash -->
+<!ENTITY DoubleUpArrow "&#x021D1;" ><!--alias ISOAMSA uArr -->
+<!ENTITY DoubleUpDownArrow "&#x021D5;" ><!--alias ISOAMSA vArr -->
+<!ENTITY DoubleVerticalBar "&#x02225;" ><!--alias ISOTECH par -->
+<!ENTITY downarrow "&#x02193;" ><!--alias ISONUM darr -->
+<!ENTITY Downarrow "&#x021D3;" ><!--alias ISOAMSA dArr -->
+<!ENTITY DownArrow "&#x02193;" ><!--alias ISONUM darr -->
+<!ENTITY DownArrowUpArrow "&#x021F5;" ><!--alias ISOAMSA duarr -->
+<!ENTITY downdownarrows "&#x021CA;" ><!--alias ISOAMSA ddarr -->
+<!ENTITY downharpoonleft "&#x021C3;" ><!--alias ISOAMSA dharl -->
+<!ENTITY downharpoonright "&#x021C2;" ><!--alias ISOAMSA dharr -->
+<!ENTITY DownLeftVector "&#x021BD;" ><!--alias ISOAMSA lhard -->
+<!ENTITY DownRightVector "&#x021C1;" ><!--alias ISOAMSA rhard -->
+<!ENTITY DownTee "&#x022A4;" ><!--alias ISOTECH top -->
+<!ENTITY drbkarow "&#x02910;" ><!--alias ISOAMSA RBarr -->
+<!ENTITY Element "&#x02208;" ><!--alias ISOTECH isinv -->
+<!ENTITY emptyset "&#x02205;&#x02063;" ><!--alias ISOAMSO empty -->
+<!ENTITY eqcirc "&#x02256;" ><!--alias ISOAMSR ecir -->
+<!ENTITY eqcolon "&#x02255;" ><!--alias ISOAMSR ecolon -->
+<!ENTITY eqsim "&#x02242;" ><!--alias ISOAMSR esim -->
+<!ENTITY eqslantgtr "&#x022DD;" ><!--alias ISOAMSR egs -->
+<!ENTITY eqslantless "&#x022DC;" ><!--alias ISOAMSR els -->
+<!ENTITY EqualTilde "&#x02242;" ><!--alias ISOAMSR esim -->
+<!ENTITY Equilibrium "&#x021CC;" ><!--alias ISOAMSA rlhar -->
+<!ENTITY Exists "&#x02203;" ><!--alias ISOTECH exist -->
+<!ENTITY fallingdotseq "&#x02252;" ><!--alias ISOAMSR efDot -->
+<!ENTITY ForAll "&#x02200;" ><!--alias ISOTECH forall -->
+<!ENTITY geq "&#x02265;" ><!--alias ISOTECH ge -->
+<!ENTITY geqq "&#x02267;" ><!--alias ISOAMSR gE -->
+<!ENTITY geqslant "&#x02A7E;" ><!--alias ISOAMSR ges -->
+<!ENTITY gg "&#x0226B;" ><!--alias ISOAMSR Gt -->
+<!ENTITY ggg "&#x022D9;" ><!--alias ISOAMSR Gg -->
+<!ENTITY gnapprox "&#x02A8A;" ><!--alias ISOAMSN gnap -->
+<!ENTITY gneq "&#x02269;" ><!--alias ISOAMSN gne -->
+<!ENTITY gneqq "&#x02269;" ><!--alias ISOAMSN gnE -->
+<!ENTITY GreaterEqual "&#x02265;" ><!--alias ISOTECH ge -->
+<!ENTITY GreaterEqualLess "&#x022DB;" ><!--alias ISOAMSR gel -->
+<!ENTITY GreaterFullEqual "&#x02267;" ><!--alias ISOAMSR gE -->
+<!ENTITY GreaterLess "&#x02277;" ><!--alias ISOAMSR gl -->
+<!ENTITY GreaterSlantEqual "&#x02A7E;" ><!--alias ISOAMSR ges -->
+<!ENTITY GreaterTilde "&#x02273;" ><!--alias ISOAMSR gsim -->
+<!ENTITY gtrapprox "&#x02273;" ><!--alias ISOAMSR gap -->
+<!ENTITY gtrdot "&#x022D7;" ><!--alias ISOAMSR gtdot -->
+<!ENTITY gtreqless "&#x022DB;" ><!--alias ISOAMSR gel -->
+<!ENTITY gtreqqless "&#x022DB;" ><!--alias ISOAMSR gEl -->
+<!ENTITY gtrless "&#x02277;" ><!--alias ISOAMSR gl -->
+<!ENTITY gtrsim "&#x02273;" ><!--alias ISOAMSR gsim -->
+<!ENTITY gvertneqq "&#x02269;&#x00338;" ><!--alias ISOAMSN gvnE -->
+<!ENTITY Hacek "&#x002C7;" ><!--alias ISODIA caron -->
+<!ENTITY Hat "&#x00302;" ><!--circumflex accent (circ in ISODIA) -->
+<!ENTITY hbar "&#x0210F;" ><!--alias ISOAMSO plank -->
+<!ENTITY heartsuit "&#x02661;" ><!--ISOPUB hearts -->
+<!ENTITY hksearow "&#x02925;" ><!--alias ISOAMSA searhk -->
+<!ENTITY hkswarow "&#x02926;" ><!--alias ISOAMSA swarhk -->
+<!ENTITY hookleftarrow "&#x021A9;" ><!--alias ISOAMSA larrhk -->
+<!ENTITY hookrightarrow "&#x021AA;" ><!--alias ISOAMSA rarrhk -->
+<!ENTITY hslash "&#x0210F;" ><!--alias ISOAMSO plankv -->
+<!ENTITY HumpDownHump "&#x0224E;" ><!--alias ISOAMSR bump -->
+<!ENTITY HumpEqual "&#x0224F;" ><!--alias ISOAMSR bumpe -->
+<!ENTITY iiiint "&#x02A0C;" ><!--alias ISOTECH qint -->
+<!ENTITY iiint "&#x0222D;" ><!--alias ISOTECH tint -->
+<!ENTITY Im "&#x02111;" ><!--alias ISOAMSO image -->
+<!ENTITY imagpart "&#x02111;" ><!--alias ISOAMSO image -->
+<!ENTITY Implies "&#x021D2;" ><!--alias ISOTECH rArr -->
+<!ENTITY in "&#x02208;" ><!--ISOTECH isin -->
+<!ENTITY Integral "&#x0222B;" ><!--alias ISOTECH int -->
+<!ENTITY intercal "&#x022BA;" ><!--alias ISOAMSB intcal -->
+<!ENTITY Intersection "&#x022C2;" ><!--alias ISOAMSB xcap -->
+<!ENTITY intprod "&#x02A3C;" ><!--alias ISOAMSB iprod -->
+<!ENTITY langle "&#x03008;" ><!--alias ISOTECH lang -->
+<!ENTITY lbrace "&#x0007B;" ><!--alias ISONUM lcub -->
+<!ENTITY lbrack "&#x0005B;" ><!--alias ISONUM lsqb -->
+<!ENTITY LeftAngleBracket "&#x03008;" ><!--alias ISOTECH lang -->
+<!ENTITY leftarrow "&#x02190;" ><!--alias ISONUM larr -->
+<!ENTITY Leftarrow "&#x021D0;" ><!--alias ISOTECH lArr -->
+<!ENTITY LeftArrow "&#x02190;" ><!--alias ISONUM larr -->
+<!ENTITY LeftArrowRightArrow "&#x021C6;" ><!--alias ISOAMSA lrarr -->
+<!ENTITY leftarrowtail "&#x021A2;" ><!--alias ISOAMSA larrtl -->
+<!ENTITY LeftCeiling "&#x02308;" ><!--alias ISOAMSC lceil -->
+<!ENTITY LeftDoubleBracket "&#x0301A;" ><!--left double bracket delimiter -->
+<!ENTITY LeftDownVector "&#x021C3;" ><!--alias ISOAMSA dharl -->
+<!ENTITY LeftFloor "&#x0230A;" ><!--alias ISOAMSC lfloor -->
+<!ENTITY leftharpoondown "&#x021BD;" ><!--alias ISOAMSA lhard -->
+<!ENTITY leftharpoonup "&#x021BC;" ><!--alias ISOAMSA lharu -->
+<!ENTITY leftleftarrows "&#x021C7;" ><!--alias ISOAMSA llarr -->
+<!ENTITY leftrightarrow "&#x02194;" ><!--alias ISOAMSA harr -->
+<!ENTITY Leftrightarrow "&#x021D4;" ><!--alias ISOAMSA hArr -->
+<!ENTITY LeftRightArrow "&#x02194;" ><!--alias ISOAMSA harr -->
+<!ENTITY leftrightarrows "&#x021C6;" ><!--alias ISOAMSA lrarr -->
+<!ENTITY leftrightharpoons "&#x021CB;" ><!--alias ISOAMSA lrhar -->
+<!ENTITY leftrightsquigarrow "&#x021AD;" ><!--alias ISOAMSA harrw -->
+<!ENTITY LeftTee "&#x022A3;" ><!--alias ISOAMSR dashv -->
+<!ENTITY leftthreetimes "&#x022CB;" ><!--alias ISOAMSB lthree -->
+<!ENTITY LeftTriangle "&#x022B2;" ><!--alias ISOAMSR vltri -->
+<!ENTITY LeftTriangleEqual "&#x022B4;" ><!--alias ISOAMSR ltrie -->
+<!ENTITY LeftUpVector "&#x021BF;" ><!--alias ISOAMSA uharl -->
+<!ENTITY LeftVector "&#x021BC;" ><!--alias ISOAMSA lharu -->
+<!ENTITY leq "&#x02264;" ><!--alias ISOTECH le -->
+<!ENTITY leqq "&#x02266;" ><!--alias ISOAMSR lE -->
+<!ENTITY leqslant "&#x02A7D;" ><!--alias ISOAMSR les -->
+<!ENTITY lessapprox "&#x02272;" ><!--alias ISOAMSR lap -->
+<!ENTITY lessdot "&#x022D6;" ><!--alias ISOAMSR ltdot -->
+<!ENTITY lesseqgtr "&#x022DA;" ><!--alias ISOAMSR leg -->
+<!ENTITY lesseqqgtr "&#x022DA;" ><!--alias ISOAMSR lEg -->
+<!ENTITY LessEqualGreater "&#x022DA;" ><!--alias ISOAMSR leg -->
+<!ENTITY LessFullEqual "&#x02266;" ><!--alias ISOAMSR lE -->
+<!ENTITY LessGreater "&#x02276;" ><!--alias ISOAMSR lg -->
+<!ENTITY lessgtr "&#x02276;" ><!--alias ISOAMSR lg -->
+<!ENTITY lesssim "&#x02272;" ><!--alias ISOAMSR lsim -->
+<!ENTITY LessSlantEqual "&#x02A7D;" ><!--alias ISOAMSR les -->
+<!ENTITY LessTilde "&#x02272;" ><!--alias ISOAMSR lsim -->
+<!ENTITY ll "&#x0226A;" ><!--alias ISOAMSR Lt -->
+<!ENTITY llcorner "&#x0231E;" ><!--alias ISOAMSC dlcorn -->
+<!ENTITY Lleftarrow "&#x021DA;" ><!--alias ISOAMSA lAarr -->
+<!ENTITY lmoustache "&#x02998;" ><!--alias ISOAMSC lmoust -->
+<!ENTITY lnapprox "&#x02A89;" ><!--alias ISOAMSN lnap -->
+<!ENTITY lneq "&#x02268;" ><!--alias ISOAMSN lne -->
+<!ENTITY lneqq "&#x02268;" ><!--alias ISOAMSN lnE -->
+<!ENTITY longleftarrow "&#x02190;" ><!--alias ISOAMSA xlarr -->
+<!ENTITY Longleftarrow "&#x021D0;" ><!--alias ISOAMSA xlArr -->
+<!ENTITY LongLeftArrow "&#x02190;" ><!--alias ISOAMSA xlarr -->
+<!ENTITY longleftrightarrow "&#x02194;" ><!--alias ISOAMSA xharr -->
+<!ENTITY Longleftrightarrow "&#x021D4;" ><!--alias ISOAMSA xhArr -->
+<!ENTITY LongLeftRightArrow "&#x02194;" ><!--alias ISOAMSA xharr -->
+<!ENTITY longmapsto "&#x021A6;" ><!--alias ISOAMSA xmap -->
+<!ENTITY longrightarrow "&#x02192;" ><!--alias ISOAMSA xrarr -->
+<!ENTITY Longrightarrow "&#x021D2;" ><!--alias ISOAMSA xrArr -->
+<!ENTITY LongRightArrow "&#x02192;" ><!--alias ISOAMSA xrarr -->
+<!ENTITY looparrowleft "&#x021AB;" ><!--alias ISOAMSA larrlp -->
+<!ENTITY looparrowright "&#x021AC;" ><!--alias ISOAMSA rarrlp -->
+<!ENTITY LowerLeftArrow "&#x02199;" ><!--alias ISOAMSA swarr -->
+<!ENTITY LowerRightArrow "&#x02198;" ><!--alias ISOAMSA searr -->
+<!ENTITY lozenge "&#x025CA;" ><!--alias ISOPUB loz -->
+<!ENTITY lrcorner "&#x0231F;" ><!--alias ISOAMSC drcorn -->
+<!ENTITY Lsh "&#x021B0;" ><!--alias ISOAMSA lsh -->
+<!ENTITY lvertneqq "&#x02268;&#x00338;" ><!--alias ISOAMSN lvnE -->
+<!ENTITY maltese "&#x02720;" ><!--alias ISOPUB malt -->
+<!ENTITY mapsto "&#x021A6;" ><!--alias ISOAMSA map -->
+<!ENTITY measuredangle "&#x02221;" ><!--alias ISOAMSO angmsd -->
+<!ENTITY MinusPlus "&#x02213;" ><!--alias ISOTECH mnplus -->
+<!ENTITY mp "&#x02213;" ><!--alias ISOTECH mnplus -->
+<!ENTITY multimap "&#x022B8;" ><!--alias ISOAMSA mumap -->
+<!ENTITY napprox "&#x02249;" ><!--alias ISOAMSN nap -->
+<!ENTITY natural "&#x0266E;" ><!--alias ISOPUB natur -->
+<!ENTITY nearrow "&#x02197;" ><!--alias ISOAMSA nearr -->
+<!ENTITY NestedGreaterGreater "&#x0226B;" ><!--alias ISOAMSR Gt -->
+<!ENTITY NestedLessLess "&#x0226A;" ><!--alias ISOAMSR Lt -->
+<!ENTITY nexists "&#x02204;" ><!--alias ISOAMSO nexist -->
+<!ENTITY ngeq "&#x02271;&#x020E5;" ><!--alias ISOAMSN nge -->
+<!ENTITY ngeqq "&#x02271;" ><!--alias ISOAMSN ngE -->
+<!ENTITY ngeqslant "&#x02271;" ><!--alias ISOAMSN nges -->
+<!ENTITY ngtr "&#x0226F;" ><!--alias ISOAMSN ngt -->
+<!ENTITY nleftarrow "&#x0219A;" ><!--alias ISOAMSA nlarr -->
+<!ENTITY nLeftarrow "&#x021CD;" ><!--alias ISOAMSA nlArr -->
+<!ENTITY nleftrightarrow "&#x021AE;" ><!--alias ISOAMSA nharr -->
+<!ENTITY nLeftrightarrow "&#x021CE;" ><!--alias ISOAMSA nhArr -->
+<!ENTITY nleq "&#x02270;&#x020E5;" ><!--alias ISOAMSN nle -->
+<!ENTITY nleqq "&#x02270;" ><!--alias ISOAMSN nlE -->
+<!ENTITY nleqslant "&#x02270;" ><!--alias ISOAMSN nles -->
+<!ENTITY nless "&#x0226E;" ><!--alias ISOAMSN nlt -->
+<!ENTITY NotCongruent "&#x02262;" ><!--alias ISOAMSN nequiv -->
+<!ENTITY NotDoubleVerticalBar "&#x02226;" ><!--alias ISOAMSN npar -->
+<!ENTITY NotElement "&#x02209;" ><!--alias ISOTECH notin -->
+<!ENTITY NotEqual "&#x02260;" ><!--alias ISOTECH ne -->
+<!ENTITY NotExists "&#x02204;" ><!--alias ISOAMSO nexist -->
+<!ENTITY NotGreater "&#x0226F;" ><!--alias ISOAMSN ngt -->
+<!ENTITY NotGreaterEqual "&#x02271;&#x020E5;" ><!--alias ISOAMSN nge -->
+<!ENTITY NotGreaterFullEqual "&#x02270;" ><!--alias ISOAMSN nlE -->
+<!ENTITY NotGreaterGreater "&#x0226B;&#x00338;&#x02063;" ><!--alias ISOAMSN nGtv -->
+<!ENTITY NotGreaterLess "&#x02279;" ><!--alias ISOAMSN ntvgl -->
+<!ENTITY NotGreaterSlantEqual "&#x02271;" ><!--alias ISOAMSN nges -->
+<!ENTITY NotGreaterTilde "&#x02275;" ><!--alias ISOAMSN ngsim -->
+<!ENTITY NotLeftTriangle "&#x022EA;" ><!--alias ISOAMSN nltri -->
+<!ENTITY NotLeftTriangleEqual "&#x022EC;" ><!--alias ISOAMSN nltrie -->
+<!ENTITY NotLess "&#x0226E;" ><!--alias ISOAMSN nlt -->
+<!ENTITY NotLessEqual "&#x02270;&#x020E5;" ><!--alias ISOAMSN nle -->
+<!ENTITY NotLessGreater "&#x02278;" ><!--alias ISOAMSN ntvlg -->
+<!ENTITY NotLessLess "&#x0226A;&#x00338;&#x02063;" ><!--alias ISOAMSN nLtv -->
+<!ENTITY NotLessSlantEqual "&#x02270;" ><!--alias ISOAMSN nles -->
+<!ENTITY NotLessTilde "&#x02274;" ><!--alias ISOAMSN nlsim -->
+<!ENTITY NotPrecedes "&#x02280;" ><!--alias ISOAMSN npr -->
+<!ENTITY NotPrecedesEqual "&#x02AAF;&#x00338;" ><!--alias ISOAMSN npre -->
+<!ENTITY NotPrecedesSlantEqual "&#x022E0;" ><!--alias ISOAMSN nprcue -->
+<!ENTITY NotReverseElement "&#x0220C;" ><!--alias ISOTECH notniva -->
+<!ENTITY NotRightTriangle "&#x022EB;" ><!--alias ISOAMSN nrtri -->
+<!ENTITY NotRightTriangleEqual "&#x022ED;" ><!--alias ISOAMSN nrtrie -->
+<!ENTITY NotSquareSubsetEqual "&#x022E2;" ><!--alias ISOAMSN nsqsube -->
+<!ENTITY NotSquareSupersetEqual "&#x022E3;" ><!--alias ISOAMSN nsqsupe -->
+<!ENTITY NotSubset "&#x02284;" ><!--alias ISOAMSN vnsub -->
+<!ENTITY NotSubsetEqual "&#x02288;" ><!--alias ISOAMSN nsube -->
+<!ENTITY NotSucceeds "&#x02281;" ><!--alias ISOAMSN nsc -->
+<!ENTITY NotSucceedsEqual "&#x02AB0;&#x00338;" ><!--alias ISOAMSN nsce -->
+<!ENTITY NotSucceedsSlantEqual "&#x022E1;" ><!--alias ISOAMSN nsccue -->
+<!ENTITY NotSuperset "&#x02285;" ><!--alias ISOAMSN vnsup -->
+<!ENTITY NotSupersetEqual "&#x02289;" ><!--alias ISOAMSN nsupe -->
+<!ENTITY NotTilde "&#x02241;" ><!--alias ISOAMSN nsim -->
+<!ENTITY NotTildeEqual "&#x02244;" ><!--alias ISOAMSN nsime -->
+<!ENTITY NotTildeFullEqual "&#x02247;" ><!--alias ISOAMSN ncong -->
+<!ENTITY NotTildeTilde "&#x02249;" ><!--alias ISOAMSN nap -->
+<!ENTITY NotVerticalBar "&#x02224;" ><!--alias ISOAMSN nmid -->
+<!ENTITY nparallel "&#x02226;" ><!--alias ISOAMSN npar -->
+<!ENTITY nprec "&#x02280;" ><!--alias ISOAMSN npr -->
+<!ENTITY npreceq "&#x02AAF;&#x00338;" ><!--alias ISOAMSN npre -->
+<!ENTITY nrightarrow "&#x0219B;" ><!--alias ISOAMSA nrarr -->
+<!ENTITY nRightarrow "&#x021CF;" ><!--alias ISOAMSA nrArr -->
+<!ENTITY nshortmid "&#x02224;&#x02063;" ><!--alias ISOAMSN nsmid -->
+<!ENTITY nshortparallel "&#x02226;&#x02063;" ><!--alias ISOAMSN nspar -->
+<!ENTITY nsimeq "&#x02244;" ><!--alias ISOAMSN nsime -->
+<!ENTITY nsubset "&#x02284;" ><!--alias ISOAMSN vnsub -->
+<!ENTITY nsubseteq "&#x02288;" ><!--alias ISOAMSN nsube -->
+<!ENTITY nsubseteqq "&#x02288;" ><!--alias ISOAMSN nsubE -->
+<!ENTITY nsucc "&#x02281;" ><!--alias ISOAMSN nsc -->
+<!ENTITY nsucceq "&#x02AB0;&#x00338;" ><!--alias ISOAMSN nsce -->
+<!ENTITY nsupset "&#x02285;" ><!--alias ISOAMSN vnsup -->
+<!ENTITY nsupseteq "&#x02289;" ><!--alias ISOAMSN nsupe -->
+<!ENTITY nsupseteqq "&#x02289;" ><!--alias ISOAMSN nsupE -->
+<!ENTITY ntriangleleft "&#x022EA;" ><!--alias ISOAMSN nltri -->
+<!ENTITY ntrianglelefteq "&#x022EC;" ><!--alias ISOAMSN nltrie -->
+<!ENTITY ntriangleright "&#x022EB;" ><!--alias ISOAMSN nrtri -->
+<!ENTITY ntrianglerighteq "&#x022ED;" ><!--alias ISOAMSN nrtrie -->
+<!ENTITY nwarrow "&#x02196;" ><!--alias ISOAMSA nwarr -->
+<!ENTITY oint "&#x0222E;" ><!--alias ISOTECH conint -->
+<!ENTITY OpenCurlyDoubleQuote "&#x0201C;" ><!--alias ISONUM ldquo -->
+<!ENTITY OpenCurlyQuote "&#x02018;" ><!--alias ISONUM lsquo -->
+<!ENTITY orderof "&#x02134;" ><!--alias ISOTECH order -->
+<!ENTITY parallel "&#x02225;" ><!--alias ISOTECH par -->
+<!ENTITY PartialD "&#x02202;" ><!--alias ISOTECH part -->
+<!ENTITY pitchfork "&#x022D4;" ><!--alias ISOAMSR fork -->
+<!ENTITY PlusMinus "&#x000B1;" ><!--alias ISONUM plusmn -->
+<!ENTITY pm "&#x000B1;" ><!--alias ISONUM plusmn -->
+<!ENTITY prec "&#x0227A;" ><!--alias ISOAMSR pr -->
+<!ENTITY precapprox "&#x0227E;" ><!--alias ISOAMSR prap -->
+<!ENTITY preccurlyeq "&#x0227C;" ><!--alias ISOAMSR prcue -->
+<!ENTITY Precedes "&#x0227A;" ><!--alias ISOAMSR pr -->
+<!ENTITY PrecedesEqual "&#x02AAF;" ><!--alias ISOAMSR pre -->
+<!ENTITY PrecedesSlantEqual "&#x0227C;" ><!--alias ISOAMSR prcue -->
+<!ENTITY PrecedesTilde "&#x0227E;" ><!--alias ISOAMSR prsim -->
+<!ENTITY preceq "&#x02AAF;" ><!--alias ISOAMSR pre -->
+<!ENTITY precnapprox "&#x022E8;" ><!--alias ISOAMSN prnap -->
+<!ENTITY precneqq "&#x02AB5;" ><!--alias ISOAMSN prnE -->
+<!ENTITY precnsim "&#x022E8;" ><!--alias ISOAMSN prnsim -->
+<!ENTITY precsim "&#x0227E;" ><!--alias ISOAMSR prsim -->
+<!ENTITY Proportion "&#x02237;" ><!--alias ISOAMSR Colon -->
+<!ENTITY Proportional "&#x0221D;" ><!--alias ISOTECH prop -->
+<!ENTITY propto "&#x0221D;" ><!--alias ISOTECH prop -->
+<!ENTITY questeq "&#x0225F;" ><!--alias ISOAMSR equest -->
+<!ENTITY rangle "&#x03009;" ><!--alias ISOTECH rang -->
+<!ENTITY rbrace "&#x0007D;" ><!--alias ISONUM rcub -->
+<!ENTITY rbrack "&#x0005D;" ><!--alias ISONUM rsqb -->
+<!ENTITY Re "&#x0211C;" ><!--alias ISOAMSO real -->
+<!ENTITY realpart "&#x0211C;" ><!--alias ISOAMSO real -->
+<!ENTITY ReverseElement "&#x0220B;" ><!--alias ISOTECH niv -->
+<!ENTITY ReverseEquilibrium "&#x021CB;" ><!--alias ISOAMSA lrhar -->
+<!ENTITY ReverseUpEquilibrium "&#x0296F;" ><!--alias ISOAMSA duhar -->
+<!ENTITY RightAngleBracket "&#x03009;" ><!--alias ISOTECH rang -->
+<!ENTITY rightarrow "&#x02192;" ><!--alias ISONUM rarr -->
+<!ENTITY Rightarrow "&#x021D2;" ><!--alias ISOTECH rArr -->
+<!ENTITY RightArrow "&#x02192;" ><!--alias ISONUM rarr -->
+<!ENTITY RightArrowLeftArrow "&#x021C4;" ><!--alias ISOAMSA rlarr -->
+<!ENTITY rightarrowtail "&#x021A3;" ><!--alias ISOAMSA rarrtl -->
+<!ENTITY RightCeiling "&#x02309;" ><!--alias ISOAMSC rceil -->
+<!ENTITY RightDoubleBracket "&#x0301B;" ><!--right double bracket delimiter -->
+<!ENTITY RightDownVector "&#x021C2;" ><!--alias ISOAMSA dharr -->
+<!ENTITY RightFloor "&#x0230B;" ><!--alias ISOAMSC rfloor -->
+<!ENTITY rightharpoondown "&#x021C1;" ><!--alias ISOAMSA rhard -->
+<!ENTITY rightharpoonup "&#x021C0;" ><!--alias ISOAMSA rharu -->
+<!ENTITY rightleftarrows "&#x021C4;" ><!--alias ISOAMSA rlarr -->
+<!ENTITY rightleftharpoons "&#x021CC;" ><!--alias ISOAMSA rlhar -->
+<!ENTITY rightrightarrows "&#x021C9;" ><!--alias ISOAMSA rrarr -->
+<!ENTITY rightsquigarrow "&#x021DD;" ><!--alias ISOAMSA rarrw -->
+<!ENTITY RightTee "&#x022A2;" ><!--alias ISOAMSR vdash -->
+<!ENTITY RightTeeArrow "&#x021A6;" ><!--alias ISOAMSA map -->
+<!ENTITY rightthreetimes "&#x022CC;" ><!--alias ISOAMSB rthree -->
+<!ENTITY RightTriangle "&#x022B3;" ><!--alias ISOAMSR vrtri -->
+<!ENTITY RightTriangleEqual "&#x022B5;" ><!--alias ISOAMSR rtrie -->
+<!ENTITY RightUpVector "&#x021BE;" ><!--alias ISOAMSA uharr -->
+<!ENTITY RightVector "&#x021C0;" ><!--alias ISOAMSA rharu -->
+<!ENTITY risingdotseq "&#x02253;" ><!--alias ISOAMSR erDot -->
+<!ENTITY rmoustache "&#x02997;" ><!--alias ISOAMSC rmoust -->
+<!ENTITY Rrightarrow "&#x021DB;" ><!--alias ISOAMSA rAarr -->
+<!ENTITY Rsh "&#x021B1;" ><!--alias ISOAMSA rsh -->
+<!ENTITY searrow "&#x02198;" ><!--alias ISOAMSA searr -->
+<!ENTITY setminus "&#x02216;" ><!--alias ISOAMSB setmn -->
+<!ENTITY ShortLeftArrow "&#x02190;&#x02063;" ><!--alias ISOAMSA slarr -->
+<!ENTITY shortmid "&#x02223;&#x02063;" ><!--alias ISOAMSR smid -->
+<!ENTITY shortparallel "&#x02225;&#x02063;" ><!--alias ISOAMSR spar -->
+<!ENTITY ShortRightArrow "&#x02192;&#x02063;" ><!--alias ISOAMSA srarr -->
+<!ENTITY simeq "&#x02243;" ><!--alias ISOTECH sime -->
+<!ENTITY SmallCircle "&#x02218;" ><!--alias ISOTECH compfn -->
+<!ENTITY smallsetminus "&#x02216;" ><!--alias ISOAMSB ssetmn -->
+<!ENTITY spadesuit "&#x02660;" ><!--ISOPUB spades -->
+<!ENTITY Sqrt "&#x0221A;" ><!--alias ISOTECH radic -->
+<!ENTITY sqsubset "&#x0228F;" ><!--alias ISOAMSR sqsub -->
+<!ENTITY sqsubseteq "&#x02291;" ><!--alias ISOAMSR sqsube -->
+<!ENTITY sqsupset "&#x02290;" ><!--alias ISOAMSR sqsup -->
+<!ENTITY sqsupseteq "&#x02292;" ><!--alias ISOAMSR sqsupe -->
+<!ENTITY Square "&#x025A1;" ><!--alias for square -->
+<!ENTITY SquareIntersection "&#x02293;" ><!--alias ISOAMSB sqcap -->
+<!ENTITY SquareSubset "&#x0228F;" ><!--alias ISOAMSR sqsub -->
+<!ENTITY SquareSubsetEqual "&#x02291;" ><!--alias ISOAMSR sqsube -->
+<!ENTITY SquareSuperset "&#x02290;" ><!--alias ISOAMSR sqsup -->
+<!ENTITY SquareSupersetEqual "&#x02292;" ><!--alias ISOAMSR sqsupe -->
+<!ENTITY SquareUnion "&#x02294;" ><!--alias ISOAMSB sqcup -->
+<!ENTITY Star "&#x022C6;" ><!--alias ISOAMSB sstarf -->
+<!ENTITY straightepsilon "&#x003B5;" ><!--alias ISOGRK3 epsi -->
+<!ENTITY straightphi "&#x003C6;" ><!--alias ISOGRK3 phi -->
+<!ENTITY subset "&#x02282;" ><!--alias ISOTECH sub -->
+<!ENTITY Subset "&#x022D0;" ><!--alias ISOAMSR Sub -->
+<!ENTITY subseteq "&#x02286;" ><!--alias ISOTECH sube -->
+<!ENTITY subseteqq "&#x02286;" ><!--alias ISOAMSR subE -->
+<!ENTITY SubsetEqual "&#x02286;" ><!--alias ISOTECH sube -->
+<!ENTITY subsetneq "&#x0228A;" ><!--alias ISOAMSN subne -->
+<!ENTITY subsetneqq "&#x0228A;" ><!--alias ISOAMSN subnE -->
+<!ENTITY succ "&#x0227B;" ><!--alias ISOAMSR sc -->
+<!ENTITY succapprox "&#x0227F;" ><!--alias ISOAMSR scap -->
+<!ENTITY succcurlyeq "&#x0227D;" ><!--alias ISOAMSR sccue -->
+<!ENTITY Succeeds "&#x0227B;" ><!--alias ISOAMSR sc -->
+<!ENTITY SucceedsEqual "&#x0227D;" ><!--alias ISOAMSR sce -->
+<!ENTITY SucceedsSlantEqual "&#x0227D;" ><!--alias ISOAMSR sccue -->
+<!ENTITY SucceedsTilde "&#x0227F;" ><!--alias ISOAMSR scsim -->
+<!ENTITY succeq "&#x0227D;" ><!--alias ISOAMSR sce -->
+<!ENTITY succnapprox "&#x022E9;" ><!--alias ISOAMSN scnap -->
+<!ENTITY succneqq "&#x02AB6;" ><!--alias ISOAMSN scnE -->
+<!ENTITY succnsim "&#x022E9;" ><!--alias ISOAMSN scnsim -->
+<!ENTITY succsim "&#x0227F;" ><!--alias ISOAMSR scsim -->
+<!ENTITY SuchThat "&#x0220B;" ><!--ISOTECH ni -->
+<!ENTITY Sum "&#x02211;" ><!--alias ISOAMSB sum -->
+<!ENTITY Superset "&#x02283;" ><!--alias ISOTECH sup -->
+<!ENTITY SupersetEqual "&#x02287;" ><!--alias ISOTECH supe -->
+<!ENTITY supset "&#x02283;" ><!--alias ISOTECH sup -->
+<!ENTITY Supset "&#x022D1;" ><!--alias ISOAMSR Sup -->
+<!ENTITY supseteq "&#x02287;" ><!--alias ISOTECH supe -->
+<!ENTITY supseteqq "&#x02287;" ><!--alias ISOAMSR supE -->
+<!ENTITY supsetneq "&#x0228B;" ><!--alias ISOAMSN supne -->
+<!ENTITY supsetneqq "&#x0228B;" ><!--alias ISOAMSN supnE -->
+<!ENTITY swarrow "&#x02199;" ><!--alias ISOAMSA swarr -->
+<!ENTITY therefore "&#x02234;" ><!--alias ISOTECH there4 -->
+<!ENTITY Therefore "&#x02234;" ><!--alias ISOTECH there4 -->
+<!ENTITY thickapprox "&#x02248;&#x02063;" ><!--ISOAMSR thkap -->
+<!ENTITY thicksim "&#x0223C;" ><!--ISOAMSR thksim -->
+<!ENTITY ThinSpace "&#x02009;" ><!--space of width 3/18 em alias ISOPUB thinsp -->
+<!ENTITY Tilde "&#x0223C;" ><!--alias ISOTECH sim -->
+<!ENTITY TildeEqual "&#x02243;" ><!--alias ISOTECH sime -->
+<!ENTITY TildeFullEqual "&#x02245;" ><!--alias ISOTECH cong -->
+<!ENTITY TildeTilde "&#x02248;" ><!--alias ISOTECH ap -->
+<!ENTITY toea "&#x02928;" ><!--alias ISOAMSA nesear -->
+<!ENTITY tosa "&#x02929;" ><!--alias ISOAMSA seswar -->
+<!ENTITY triangle "&#x025B5;" ><!--alias ISOPUB utri -->
+<!ENTITY triangledown "&#x025BF;" ><!--alias ISOPUB dtri -->
+<!ENTITY triangleleft "&#x025C3;" ><!--alias ISOPUB ltri -->
+<!ENTITY trianglelefteq "&#x022B4;" ><!--alias ISOAMSR ltrie -->
+<!ENTITY triangleq "&#x0225C;" ><!--alias ISOAMSR trie -->
+<!ENTITY triangleright "&#x025B9;" ><!--alias ISOPUB rtri -->
+<!ENTITY trianglerighteq "&#x022B5;" ><!--alias ISOAMSR rtrie -->
+<!ENTITY TripleDot "&#x020DB;" ><!--alias ISOTECH tdot -->
+<!ENTITY twoheadleftarrow "&#x0219E;" ><!--alias ISOAMSA Larr -->
+<!ENTITY twoheadrightarrow "&#x021A0;" ><!--alias ISOAMSA Rarr -->
+<!ENTITY ulcorner "&#x0231C;" ><!--alias ISOAMSC ulcorn -->
+<!ENTITY Union "&#x022C3;" ><!--alias ISOAMSB xcup -->
+<!ENTITY UnionPlus "&#x0228E;" ><!--alias ISOAMSB uplus -->
+<!ENTITY uparrow "&#x02191;" ><!--alias ISONUM uarr -->
+<!ENTITY Uparrow "&#x021D1;" ><!--alias ISOAMSA uArr -->
+<!ENTITY UpArrow "&#x02191;" ><!--alias ISONUM uarr -->
+<!ENTITY UpArrowDownArrow "&#x021C5;" ><!--alias ISOAMSA udarr -->
+<!ENTITY updownarrow "&#x02195;" ><!--alias ISOAMSA varr -->
+<!ENTITY Updownarrow "&#x021D5;" ><!--alias ISOAMSA vArr -->
+<!ENTITY UpDownArrow "&#x02195;" ><!--alias ISOAMSA varr -->
+<!ENTITY UpEquilibrium "&#x0296E;" ><!--alias ISOAMSA udhar -->
+<!ENTITY upharpoonleft "&#x021BF;" ><!--alias ISOAMSA uharl -->
+<!ENTITY upharpoonright "&#x021BE;" ><!--alias ISOAMSA uharr -->
+<!ENTITY UpperLeftArrow "&#x02196;" ><!--alias ISOAMSA nwarr -->
+<!ENTITY UpperRightArrow "&#x02197;" ><!--alias ISOAMSA nearr -->
+<!ENTITY upsilon "&#x003C5;" ><!--alias ISOGRK3 upsi -->
+<!ENTITY Upsilon "&#x003D2;" ><!--alias ISOGRK3 Upsi -->
+<!ENTITY UpTee "&#x022A5;" ><!--alias ISOTECH perp -->
+<!ENTITY upuparrows "&#x021C8;" ><!--alias ISOAMSA uuarr -->
+<!ENTITY urcorner "&#x0231D;" ><!--alias ISOAMSC urcorn -->
+<!ENTITY varepsilon "&#x0025B;" ><!--alias ISOGRK3 epsiv -->
+<!ENTITY varkappa "&#x003F0;" ><!--alias ISOGRK3 kappav -->
+<!ENTITY varnothing "&#x02205;" ><!--alias ISOAMSO emptyv -->
+<!ENTITY varphi "&#x003D5;" ><!--alias ISOGRK3 phiv -->
+<!ENTITY varpi "&#x003D6;" ><!--alias ISOGRK3 piv -->
+<!ENTITY varpropto "&#x0221D;" ><!--alias ISOAMSR vprop -->
+<!ENTITY varrho "&#x003F1;" ><!--alias ISOGRK3 rhov -->
+<!ENTITY varsigma "&#x003C2;" ><!--alias ISOGRK3 sigmav -->
+<!ENTITY varsubsetneq "&#x0228A;&#x02063;" ><!--alias ISOAMSN vsubne -->
+<!ENTITY varsubsetneqq "&#x0228A;&#x02063;" ><!--alias ISOAMSN vsubnE -->
+<!ENTITY varsupsetneq "&#x0228B;&#x02063;" ><!--alias ISOAMSN vsupne -->
+<!ENTITY varsupsetneqq "&#x0228B;&#x02063;" ><!--alias ISOAMSN vsupnE -->
+<!ENTITY vartheta "&#x003D1;" ><!--alias ISOGRK3 thetav -->
+<!ENTITY vartriangleleft "&#x022B2;" ><!--alias ISOAMSR vltri -->
+<!ENTITY vartriangleright "&#x022B3;" ><!--alias ISOAMSR vrtri -->
+<!ENTITY vee "&#x02228;" ><!--alias ISOTECH or -->
+<!ENTITY Vee "&#x022C1;" ><!--alias ISOAMSB xvee -->
+<!ENTITY vert "&#x0007C;" ><!--alias ISONUM verbar -->
+<!ENTITY Vert "&#x02016;" ><!--alias ISOTECH Verbar -->
+<!ENTITY VerticalBar "&#x02223;" ><!--alias ISOAMSR mid -->
+<!ENTITY VerticalTilde "&#x02240;" ><!--alias ISOAMSB wreath -->
+<!ENTITY VeryThinSpace "&#x0200A;" ><!--space of width 1/18 em alias ISOPUB hairsp -->
+<!ENTITY wedge "&#x02227;" ><!--alias ISOTECH and -->
+<!ENTITY Wedge "&#x022C0;" ><!--alias ISOAMSB xwedge -->
+<!ENTITY wp "&#x02118;" ><!--alias ISOAMSO weierp -->
+<!ENTITY wr "&#x02240;" ><!--alias ISOAMSB wreath -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/ent/mmlextra.ent b/docs/xslt/db2latex-xsl/xsl/mathml/ent/mmlextra.ent
new file mode 100644
index 0000000000..e76de448cc
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/ent/mmlextra.ent
@@ -0,0 +1,134 @@
+
+<!--
+ File mmlextra.ent produced by the XSL script mmldtd.xsl
+ from input data in unicode.xml.
+
+ Please report any errors to
+ David Carlisle <davidc@nag.co.uk>.
+
+ The numeric character values assigned to each entity
+ (should) match either official Unicode assignments
+ or assignments provisionally allocated by the
+ Unicode Consortium based on the characters in the `STIX'
+ propsal for mathematics. Note that these assignments
+ have not been ratified by the corresponding ISO
+ committee and thus should be considered liable to
+ change.
+
+-->
+
+<!ENTITY af "&#x02061;" ><!--short form of &ApplyFunction; -->
+<!ENTITY ApplyFunction "&#x02061;" ><!--character showing function application in presentation tagging -->
+<!ENTITY Assign "&#x02254;" ><!--assignment operator -->
+<!ENTITY CapitalDifferentialD "&#x02145;" ><!--D for use in differentials, e.g., within integrals -->
+<!ENTITY Cayleys "&#x0212D;" ><!--the non-associative ring of octonions or Cayley numbers -->
+<!ENTITY complexes "&#x02102;" ><!--the field of complex numbers -->
+<!ENTITY Cross "&#x02A2F;" ><!--cross or vector product -->
+<!ENTITY dd "&#x02146;" ><!--short form of &DifferentialD; -->
+<!ENTITY DD "&#x02145;" ><!--short form of CapitalDifferentialD -->
+<!ENTITY DifferentialD "&#x02146;" ><!--d for use in differentials, e.g., within integrals -->
+<!ENTITY DownArrowBar "&#x02913;" ><!--down arrow to bar -->
+<!ENTITY DownBreve "&#x00311;" ><!--breve, inverted (non-spacing) -->
+<!ENTITY DownLeftRightVector "&#x02950;" ><!--left-down-right-down harpoon -->
+<!ENTITY DownLeftTeeVector "&#x0295E;" ><!--left-down harpoon from bar -->
+<!ENTITY DownLeftVectorBar "&#x02956;" ><!--left-down harpoon to bar -->
+<!ENTITY DownRightTeeVector "&#x0295F;" ><!--right-down harpoon from bar -->
+<!ENTITY DownRightVectorBar "&#x02957;" ><!--right-down harpoon to bar -->
+<!ENTITY DownTeeArrow "&#x021A7;" ><!--alias for mapstodown -->
+<!ENTITY ee "&#x02147;" ><!--short form of &ExponentialE; -->
+<!ENTITY EmptySmallSquare "&#x025FD;" ><!--empty small square -->
+<!ENTITY EmptyVerySmallSquare "&#x025FD;" ><!--empty small square -->
+<!ENTITY Equal "&#x02A75;" ><!--two consecutive equal signs -->
+<!ENTITY expectation "&#x02130;" ><!--expectation (operator) -->
+<!ENTITY exponentiale "&#x0212F;" ><!--base of the Napierian logarithms -->
+<!ENTITY ExponentialE "&#x02147;" ><!--e use for the exponential base of the natural logarithms -->
+<!ENTITY FilledSmallSquare "&#x025FE;" ><!--filled small square -->
+<!ENTITY FilledVerySmallSquare "&#x025FE;" ><!--filled very small square -->
+<!ENTITY Fouriertrf "&#x02131;" ><!--Fourier transform -->
+<!ENTITY GreaterGreater "&#x02AA2;" ><!--alias for GT -->
+<!ENTITY HilbertSpace "&#x0210B;" ><!--Hilbert space -->
+<!ENTITY HorizontalLine "&#x02500;" ><!--short horizontal line -->
+<!ENTITY ic "&#x0200B;" ><!--short form of &InvisibleComma; -->
+<!ENTITY ii "&#x02148;" ><!--short form of &ImaginaryI; -->
+<!ENTITY ImaginaryI "&#x02148;" ><!--i for use as a square root of -1 -->
+<!ENTITY imagline "&#x02110;" ><!--the geometric imaginary line -->
+<!ENTITY integers "&#x02124;" ><!--the ring of integers -->
+<!ENTITY InvisibleComma "&#x0200B;" ><!--used as a separator, e.g., in indices -->
+<!ENTITY InvisibleTimes "&#x02062;" ><!--marks multiplication when it is understood without a mark -->
+<!ENTITY it "&#x02062;" ><!--short form of &InvisibleTimes; -->
+<!ENTITY Laplacetrf "&#x02112;" ><!--Laplace transform -->
+<!ENTITY larrb "&#x021E4;" ><!--leftwards arrow to bar -->
+<!ENTITY LeftArrowBar "&#x021E4;" ><!--alias for larrb -->
+<!ENTITY LeftDownTeeVector "&#x02961;" ><!--down-left harpoon from bar -->
+<!ENTITY LeftDownVectorBar "&#x02959;" ><!--down-left harpoon to bar -->
+<!ENTITY LeftRightVector "&#x0294E;" ><!--left-up-right-up harpoon -->
+<!ENTITY LeftTeeArrow "&#x021A4;" ><!--alias for mapstoleft -->
+<!ENTITY LeftTeeVector "&#x0295A;" ><!--left-up harpoon from bar -->
+<!ENTITY LeftTriangleBar "&#x029CF;" ><!--not left triangle, vertical bar -->
+<!ENTITY LeftUpDownVector "&#x02951;" ><!--up-left-down-left harpoon -->
+<!ENTITY LeftUpTeeVector "&#x02960;" ><!--up-left harpoon from bar -->
+<!ENTITY LeftUpVectorBar "&#x02958;" ><!--up-left harpoon to bar -->
+<!ENTITY LeftVectorBar "&#x02952;" ><!--left-up harpoon to bar -->
+<!ENTITY LessLess "&#x02AA1;" ><!--alias for Lt -->
+<!ENTITY mapstodown "&#x021A7;" ><!--downwards arrow from bar -->
+<!ENTITY mapstoleft "&#x021A4;" ><!--leftwards arrow from bar -->
+<!ENTITY mapstoup "&#x021A5;" ><!--upwards arrow from bar -->
+<!ENTITY Mellintrf "&#x02133;" ><!--Mellin transform -->
+<!ENTITY naturals "&#x02115;" ><!--the semi-ring of natural numbers -->
+<!ENTITY nbump "&#x0224E;&#x00338;" ><!--not bumpy equals -->
+<!ENTITY nbumpe "&#x0224F;&#x00338;" ><!--not bumpy single equals -->
+<!ENTITY NegativeMediumSpace "&#x0205F;&#x02063;" ><!--space of width -4/18 em -->
+<!ENTITY NegativeThickSpace "&#x02005;&#x02063;" ><!--space of width -5/18 em -->
+<!ENTITY NegativeThinSpace "&#x02009;&#x02063;" ><!--space of width -3/18 em -->
+<!ENTITY NegativeVeryThinSpace "&#x0200A;&#x02063;" ><!--space of width -1/18 em -->
+<!ENTITY nesim "&#x02242;&#x00338;" ><!--not equal or similar -->
+<!ENTITY NewLine "&#x0000A;" ><!--force a line break; line feed -->
+<!ENTITY NoBreak "&#x0FEFF;" ><!--never break line here -->
+<!ENTITY NotCupCap "&#x0226D;" ><!--alias for &nasymp; -->
+<!ENTITY NotEqualTilde "&#x02242;&#x00338;" ><!--alias for &nesim; -->
+<!ENTITY NotHumpDownHump "&#x0224E;&#x00338;" ><!--alias for &nbump; -->
+<!ENTITY NotHumpEqual "&#x0224F;&#x00338;" ><!--alias for &nbumpe; -->
+<!ENTITY NotLeftTriangleBar "&#x029CF;&#x00338;" ><!--not left triangle, vertical bar -->
+<!ENTITY NotNestedGreaterGreater "&#x024A2;&#x00338;" ><!--not double greater-than sign -->
+<!ENTITY NotNestedLessLess "&#x024A1;&#x00338;" ><!--not double less-than sign -->
+<!ENTITY NotRightTriangleBar "&#x029D0;&#x00338;" ><!--not vertical bar, right triangle -->
+<!ENTITY NotSquareSubset "&#x0228F;&#x00338;" ><!--square not subset -->
+<!ENTITY NotSquareSuperset "&#x02290;&#x00338;" ><!--negated set-like partial order operator -->
+<!ENTITY NotSucceedsTilde "&#x0227F;&#x00338;" ><!--not succeeds or similar -->
+<!ENTITY OverBar "&#x000AF;" ><!--over bar -->
+<!ENTITY OverBrace "&#x0FE37;" ><!--over brace -->
+<!ENTITY OverBracket "&#x023B4;" ><!--over bracket -->
+<!ENTITY OverParenthesis "&#x0FE35;" ><!--over parenthesis -->
+<!ENTITY planckh "&#x0210E;" ><!--the ring (skew field) of quaternions -->
+<!ENTITY Poincareplane "&#x0210C;" ><!--the Poincare upper half-plane -->
+<!ENTITY primes "&#x02119;" ><!--the prime natural numbers -->
+<!ENTITY Product "&#x0220F;" ><!--alias for &prod -->
+<!ENTITY quaternions "&#x0210D;" ><!--the ring (skew field) of quaternions -->
+<!ENTITY rarrb "&#x021E5;" ><!--leftwards arrow to bar -->
+<!ENTITY rationals "&#x0211A;" ><!--the field of rational numbers -->
+<!ENTITY realine "&#x0211B;" ><!--the geometric real line -->
+<!ENTITY reals "&#x0211D;" ><!--the field of real numbers -->
+<!ENTITY RightArrowBar "&#x021E5;" ><!--alias for rarrb -->
+<!ENTITY RightDownTeeVector "&#x0295D;" ><!--down-right harpoon from bar -->
+<!ENTITY RightDownVectorBar "&#x02955;" ><!--down-right harpoon to bar -->
+<!ENTITY RightTeeVector "&#x0295B;" ><!--right-up harpoon from bar -->
+<!ENTITY RightTriangleBar "&#x029D0;" ><!--vertical bar, right triangle -->
+<!ENTITY RightUpDownVector "&#x0294F;" ><!--up-right-down-right harpoon -->
+<!ENTITY RightUpTeeVector "&#x0295C;" ><!--up-right harpoon from bar -->
+<!ENTITY RightUpVectorBar "&#x02954;" ><!--up-right harpoon to bar -->
+<!ENTITY RightVectorBar "&#x02953;" ><!--up-right harpoon to bar -->
+<!ENTITY RoundImplies "&#x02970;" ><!--round implies -->
+<!ENTITY RuleDelayed "&#x029F4;" ><!--rule-delayed (colon right arrow) -->
+<!ENTITY ShortDownArrow "&#x02304;&#x02063;" ><!--short down arrow -->
+<!ENTITY ShortUpArrow "&#x02303;&#x02063;" ><!--short up arrow -->
+<!ENTITY Tab "&#x00009;" ><!--tabulator stop; horizontal tabulation -->
+<!ENTITY ThickSpace "&#x02005;" ><!--space of width 5/18 em -->
+<!ENTITY UnderBar "&#x00332;" ><!--combining low line -->
+<!ENTITY UnderBrace "&#x0FE38;" ><!--under brace -->
+<!ENTITY UnderBracket "&#x023B5;" ><!--under bracket -->
+<!ENTITY UpArrowBar "&#x02912;" ><!--up arrow to bar -->
+<!ENTITY UpTeeArrow "&#x021A5;" ><!--Alias mapstoup -->
+<!ENTITY VerticalLine "&#x02758;" ><!--short vertical line -->
+<!ENTITY VerticalSeparator "&#x02758;" ><!--vertical separating operator -->
+<!ENTITY zeetrf "&#x02128;" ><!--zee transform -->
+<!ENTITY ZeroWidthSpace "&#x0200B;" ><!--zero width space -->
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/latex.entities.dtd b/docs/xslt/db2latex-xsl/xsl/mathml/latex.entities.dtd
new file mode 100644
index 0000000000..7ec703e2c7
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/latex.entities.dtd
@@ -0,0 +1,7 @@
+<!ELEMENT character (#PCDATA)>
+
+<!ATTLIST character
+entity CDATA #REQUIRED
+arguments CDATA #IMPLIED
+>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/latex.entities.xml b/docs/xslt/db2latex-xsl/xsl/mathml/latex.entities.xml
new file mode 100644
index 0000000000..e5290aba10
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/latex.entities.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0'?>
+<!DOCTYPE latex SYSTEM "latex.entities.dtd" []>
+
+<latex>
+ <character entity="&#948;">\delta</character>
+ <character entity="&#954;">\kappa</character>
+ <character entity="&#960;">\pi</character>
+ <character entity="&#x02212;">-</character>
+ <character entity="&#x003B2;">\beta</character>
+ <character entity="&#x00302;">\sphat</character><!-- superscript=""-->
+ <character entity="&#x00302;" arguments="1">\hat</character>
+</latex>
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.constsymb.mod.xsl b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.constsymb.mod.xsl
new file mode 100644
index 0000000000..3d3afdded8
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.constsymb.mod.xsl
@@ -0,0 +1,101 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet
+[
+ <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
+ <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
+]>
+<!--#############################################################################
+ | $Id: mathml.content.constsymb.mod.xsl,v 1.2 2004/01/18 10:40:17 j-devenish Exp $
+ |- #############################################################################
+ | $Author: j-devenish $
+ |
+ | PURPOSE: MathML content markup, constants and symbols, 4.4.12.
+ | MathML namespace used -> mml
+ + ############################################################################## -->
+
+<xsl:stylesheet version='1.0'
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
+
+<!-- integer numbers -->
+<xsl:template match="mml:integers">
+ <xsl:text>\mathbb Z </xsl:text>
+</xsl:template>
+
+<!-- real numbers -->
+<xsl:template match="mml:reals">
+ <xsl:text>\mathbb R </xsl:text>
+</xsl:template>
+
+<!-- rational numbers -->
+<xsl:template match="mml:rationals">
+ <xsl:text>\mathbb Q </xsl:text>
+</xsl:template>
+
+<!-- natural numbers -->
+<xsl:template match="mml:naturalnumbers">
+ <xsl:text>\mathbb N </xsl:text>
+</xsl:template>
+
+<!-- complex numbers -->
+<xsl:template match="mml:complexes">
+ <xsl:text>\mathbb C </xsl:text>
+</xsl:template>
+
+<!-- prime numbers -->
+<xsl:template match="mml:primes">
+ <xsl:text>\mathbb P </xsl:text>
+ <mi><xsl:text disable-output-escaping='yes'>&amp;#x1D547;</xsl:text></mi> <!-- open face P --> <!-- UNICODE char does not work -->
+</xsl:template>
+
+
+
+
+
+
+
+<!-- exponential base -->
+<xsl:template match="mml:exponentiale">
+ <xsl:text>\textrm{e} </xsl:text>
+</xsl:template>
+
+<!-- square root of -1 -->
+<xsl:template match="mml:imaginaryi">
+ <xsl:text>\textrm{i} </xsl:text>
+</xsl:template>
+
+<xsl:template match="mml:notanumber">
+ <xsl:text>\NaN </xsl:text>
+</xsl:template>
+
+<!-- logical constant for truth -->
+<xsl:template match="mml:true">
+ <xsl:text>true</xsl:text>
+</xsl:template>
+
+<!-- logical constant for falsehood -->
+<xsl:template match="mml:false">
+ <xsl:text>false</xsl:text>
+</xsl:template>
+
+<!-- empty set -->
+<xsl:template match="mml:emptyset">
+ <xsl:text>\empty</xsl:text>
+</xsl:template>
+
+<!-- ratio of a circle's circumference to its diameter -->
+<xsl:template match="mml:pi">
+ <xsl:text>\pi</xsl:text>
+</xsl:template>
+
+<!-- Euler's constant -->
+<xsl:template match="mml:eulergamma">
+ <xsl:text>\Gamma</xsl:text>
+</xsl:template>
+
+<!-- Infinity -->
+<xsl:template match="mml:infinity">
+ <xsl:text>\infty</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.functions.mod.xsl b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.functions.mod.xsl
new file mode 100644
index 0000000000..2b6258e10a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.functions.mod.xsl
@@ -0,0 +1,750 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet
+[
+ <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
+ <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
+]>
+<!--#############################################################################
+ | $Id: mathml.content.functions.mod.xsl,v 1.2 2004/01/18 10:45:35 j-devenish Exp $
+ |- #############################################################################
+ | $Author: j-devenish $
+ |
+ | PURPOSE: MathML content markup.
+ | Note: these elements are not part of the DocBook DTD. I have extended
+ | the docbook DTD in order to support this tags, so that's why I have these
+ | templates here.
+ |
+ | MathML namespace used -> mml
+ + ############################################################################## -->
+
+<xsl:stylesheet version='1.0'
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
+
+<xsl:template match="mml:fn">
+</xsl:template>
+
+<!--
+<xsl:template match="mml:apply/lowlimit">
+<xsl:variable name="first" select="../child::*[1]"/>
+</xsl:template>
+
+<xsl:template match="mml:apply/uplimit">
+<xsl:variable name="first" select="../child::*[1]"/>
+</xsl:template>
+
+<xsl:template match="mml:apply/degree">
+<xsl:variable name="first" select="../child::*[1]"/>
+</xsl:template>
+-->
+
+
+<!-- conditions -->
+<!-- no support for deprecated reln-->
+<xsl:template match="mml:condition">
+ <xsl:text>{</xsl:text><xsl:apply-templates/><xsl:text>}</xsl:text>
+</xsl:template>
+
+
+
+
+
+
+<!--UNARY
+ unary arithmetic exp, factorial, minus, abs, conjugate, arg, real, imaginary
+ unary logical not
+ unary functional inverse, ident
+ unary elementary classical
+ functions sin, cos, tan, sec, csc, cot, sinh, cosh, tanh, sech, csch, coth, arcsin,
+ arccos, arctan, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsinh,
+ arctanh, exp, ln, log
+ unary linear algebra determinant, transpose
+ unary calculus and vector calculus
+ divergence, grad, curl, laplacian
+ unary set-theoretic card
+-->
+
+<!-- BINARY
+ binary arithmetic quotient, divide, minus, power, rem
+ binary logical implies, equivalent, approx
+ binary set operators setdiff
+ binary linear algebra vectorproduct, scalarproduct, outerproduct
+-->
+
+<!-- N-ARY and OTHER
+ n-ary statistical mean, sdev, variance, median, mode
+ n-ary logical and, or, xor
+ n-ary linear algebra selector
+ n-ary set operator union, intersect
+ n-ary functional fn, compose
+ integral, sum, product operators int, sum, product
+ differential operator diff, partialdiff
+ quantifier forall, exists
+-->
+<!-- Get the first child (operator), and check if its name is a fn , or operator-->
+<!-- Is the operator taking qualifiers? -->
+<!-- Operators : int, sum, product, root, diff, partialdiff, limit, log, moment, min, max, forall, exists -->
+<!-- Qualifiers : lowlimit, uplimit, bvar, degree, logbase, interval, condition -->
+
+
+<!-- apply/apply -->
+<xsl:template match="mml:apply[mml:apply]"> <!-- when the function itself is defined by other functions: (F+G)(x) -->
+ <xsl:choose>
+ <xsl:when test="count(child::*)>=2">
+ <xsl:text>{</xsl:text><xsl:apply-templates select="child::*[position()=1]"/><xsl:text>}</xsl:text>
+ <xsl:text>{</xsl:text><xsl:apply-templates select="child::*[position()!=1]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise> <!-- apply only contains apply, no operand-->
+ <xsl:text>{</xsl:text><xsl:apply-templates select="child::*"/><xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+
+<!-- force function or operator MathML 1.0 deprecated-->
+<!-- partial support for func/operators defined using presentation markup-->
+<xsl:template match="mml:apply[mml:fn]">
+<mrow>
+<xsl:choose>
+<xsl:when test="*[position()=1 and self::mml:fn]/mml:mo/mml:mchar/@name='PlusMinus'">
+ <!--if operator is infix (we assume this to be the default when we have mchars(for instance PlusMinus); perhaps we should test further the name attribute)-->
+ <xsl:choose>
+ <xsl:when test="count(child::*)>=3">
+ <mrow>
+ <xsl:for-each select="child::*[position()!=last() and position()!=1]">
+ <xsl:apply-templates select="."/><xsl:copy-of select="preceding-sibling::mml:fn/*"/>
+ </xsl:for-each>
+ <xsl:apply-templates select="child::*[position()!=1 and position()=last()]"/>
+ </mrow>
+ </xsl:when>
+ <xsl:when test="count(child::*)=2">
+ <mrow><xsl:copy-of select="child::mml:fn[position()=1]/*"/><xsl:apply-templates select="child::*[position()=2]"/></mrow>
+ </xsl:when>
+ <xsl:otherwise> <!-- apply only contains fn, no operand-->
+ <mrow><xsl:apply-templates select="child::mml:fn/*"/></mrow>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:when>
+<xsl:otherwise> <!-- if operator is prefix (common case)-->
+ <xsl:choose>
+ <xsl:when test="name(mml:fn/*[position()=1])='apply'"> <!-- fn definition is complex, surround with brackets, but only one child-->
+ <mfenced separators=""><mrow><xsl:apply-templates select="mml:fn/*"/></mrow></mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <mi><xsl:apply-templates select="mml:fn/*"/></mi>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="count(*)>1"> <!-- if no operands, don't put empty parentheses-->
+ <mo><mchar name="ApplyFunction"/></mo>
+ <mfenced>
+ <xsl:apply-templates select="*[position()!=1]"/>
+ </mfenced>
+ </xsl:if>
+</xsl:otherwise>
+</xsl:choose>
+</mrow>
+</xsl:template>
+
+
+
+
+<!-- quotient -->
+<xsl:template match="mml:apply[mml:quotient]">
+ <mrow> <!-- the third notation uses UNICODE chars x0230A and x0230B -->
+ <mo>integer part of</mo>
+ <mrow>
+ <xsl:choose> <!-- surround with brackets if operands are composed-->
+ <xsl:when test="child::*[position()=2] and name()='mml:apply'">
+ <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="*[position()=2]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <mo>/</mo>
+ <xsl:choose>
+ <xsl:when test="child::*[position()=3] and name()='mml:apply'">
+ <mfenced separators=""><xsl:apply-templates select="*[position()=3]"/></mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="*[position()=3]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </mrow>
+ </mrow>
+</xsl:template>
+
+
+<!-- factorial -->
+<xsl:template match="mml:apply[mml:factorial]">
+ <xsl:text>{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="name(*[position()=2])='mml:apply'">
+ <xsl:text>{</xsl:text><xsl:apply-templates select="*[position()=2]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="*[position()=2]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>!(fact)</xsl:text>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+
+<!-- divide -->
+<xsl:template match="mml:apply[mml:divide]">
+ <xsl:text>{ \frac</xsl:text>
+ <xsl:text>{ </xsl:text>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <xsl:text>}</xsl:text>
+ <xsl:text>{ </xsl:text>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ <xsl:text>}</xsl:text>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+
+<!-- APPLY CONTAINING MAX -->
+<xsl:template match="mml:apply/mml:max"/>
+<xsl:template match="mml:apply[mml:max]">
+ <xsl:text>{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="mml:bvar"> <!-- if there are bvars-->
+ <xsl:text>\max_{</xsl:text>
+ <!-- Select every bvar except the last one (position() only counts bvars, not the other siblings)-->
+ <xsl:for-each select="mml:bvar[position()!=last()]">
+ <xsl:apply-templates select="."/><xsl:text>,</xsl:text>
+ </xsl:for-each>
+ <xsl:apply-templates select="mml:bvar[position()=last()]"/>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise> <!-- No bvars, no underscore... -->
+ <xsl:text>\max</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>\left\{</xsl:text>
+ <xsl:for-each select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:max' and position()!=last()]">
+ <xsl:apply-templates select="."/><xsl:text>,</xsl:text>
+ <xsl:message>RCAS: MathML mml:apply[mml:min] Applying templates to <xsl:copy-of select="name(.)"/></xsl:message>
+ </xsl:for-each>
+ <xsl:apply-templates select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:max' and position()=last()]"/>
+ <!-- If there is a condition, do not close... -->
+ <xsl:if test="mml:condition">
+ <xsl:text>|</xsl:text><xsl:apply-templates select="mml:condition"/>
+ </xsl:if>
+ <xsl:text>\right\}</xsl:text>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+
+<!-- APPLY CONTAINING MIN -->
+<xsl:template match="mml:apply/mml:min"/>
+<xsl:template match="mml:apply[mml:min]">
+ <xsl:text>{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="mml:bvar"> <!-- if there are bvars-->
+ <xsl:text>\min_{</xsl:text>
+ <!-- Select every bvar except the last one (position() only counts bvars, not the other siblings)-->
+ <xsl:for-each select="mml:bvar[position()!=last()]">
+ <xsl:apply-templates select="."/><xsl:text>,</xsl:text>
+ </xsl:for-each>
+ <xsl:apply-templates select="mml:bvar[position()=last()]"/>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise> <!-- No bvars, no underscore... -->
+ <xsl:text>\min</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>\left\{</xsl:text>
+ <xsl:for-each select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:min' and position()!=last()]">
+ <xsl:message>RCAS: MathML mml:apply[mml:min] Applying templates to <xsl:copy-of select="name(.)"/></xsl:message>
+ <xsl:apply-templates select="."/>
+ <xsl:text>,</xsl:text>
+ </xsl:for-each>
+ <xsl:apply-templates select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:min' and position()=last()]"/>
+ <!-- If there is a condition, do not close... -->
+ <xsl:if test="mml:condition">
+ <xsl:text>|</xsl:text><xsl:apply-templates select="mml:condition"/>
+ </xsl:if>
+ <xsl:text>\right\}</xsl:text>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+
+
+
+
+
+
+
+<!-- APPLY CONTAINING substraction(minus) -->
+<!-- unary or binary operator -->
+<xsl:template match="mml:apply[mml:minus]">
+<xsl:text>{</xsl:text>
+<xsl:choose> <!-- binary -->
+ <xsl:when test="count(child::*)=3">
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <xsl:text>-</xsl:text>
+ <xsl:choose>
+ <xsl:when test="((name(*[position()=3])='mml:ci' or name(*[position()=3])='mml:cn') and contains(*[position()=3]/text(),'-')) or (name(*[position()=3])='mml:apply')">
+ <xsl:text>\left(</xsl:text> <xsl:apply-templates select="*[position()=3]"/><xsl:text>\right)</xsl:text>
+ <!-- surround negative or complex things with brackets -->
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="*[position()=3]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise> <!-- unary -->
+ <xsl:text>-</xsl:text>
+ <xsl:choose>
+ <xsl:when test=
+ "((name(*[position()=2])='mml:ci' or name(*[position()=2])='mml:cn') and contains(*[position()=2]/text(),'-')) or (name(*[position()=2])='mml:apply')">
+ <xsl:text>\left(</xsl:text>
+ <xsl:apply-templates select="child::*[position()=last()]"/>
+ <xsl:text>\right)</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="child::*[position()=last()]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+</xsl:choose>
+<xsl:text>}</xsl:text>
+</xsl:template>
+
+
+<!-- addition -->
+<xsl:template match="mml:apply[mml:plus]">
+ <xsl:choose>
+ <xsl:when test="count(child::*)>=3">
+ <mrow>
+ <xsl:choose>
+ <xsl:when test="((name(*[position()=2])='mml:ci' or name(*[position()=2])='mml:cn') and contains(*[position()=2]/text(),'-')) or (*[position()=2 and self::mml:apply and child::mml:minus])">
+ <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced> <!-- surround negative things with brackets -->
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="*[position()=2]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:for-each select="child::*[position()!=1 and position()!=2]">
+ <xsl:choose>
+ <xsl:when test="((name(.)='mml:ci' or name(.)='mml:cn') and contains(./text(),'-')) or (self::mml:apply and child::mml:minus)"> <!-- surround negative things with brackets -->
+ <mo>+</mo><mfenced separators=""><xsl:apply-templates select="."/></mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <mo>+</mo><xsl:apply-templates select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ </mrow>
+ </xsl:when>
+ <xsl:when test="count(child::*)=2">
+ <mrow>
+ <mo>+</mo><xsl:apply-templates select="child::*[position()=2]"/>
+ </mrow>
+ </xsl:when>
+ <xsl:otherwise>
+ <mo>+</mo>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- power -->
+<xsl:template match="mml:apply[mml:power]">
+ <xsl:text> {</xsl:text>
+ <xsl:choose>
+ <xsl:when test="name(*[position()=2])='mml:apply'">
+ <xsl:text>\left(</xsl:text>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <xsl:text>\rigth)</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}^{</xsl:text>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ <xsl:text>} </xsl:text>
+</xsl:template>
+
+<!-- remainder -->
+<xsl:template match="mml:apply[mml:rem]">
+ <mrow>
+ <xsl:choose> <!-- surround with brackets if operands are composed-->
+ <xsl:when test="name(*[position()=2])='mml:apply'">
+ <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="*[position()=2]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <mo>mod</mo>
+ <xsl:choose>
+ <xsl:when test="name(*[position()=3])='mml:apply'">
+ <mfenced separators=""><xsl:apply-templates select="*[position()=3]"/></mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="*[position()=3]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </mrow>
+</xsl:template>
+
+<!-- multiplication -->
+<xsl:template match="mml:apply[mml:times]">
+<xsl:choose>
+<xsl:when test="count(child::*)>=3">
+ <mrow>
+ <xsl:for-each select="child::*[position()!=last() and position()!=1]">
+ <xsl:choose>
+ <xsl:when test="mml:plus"> <!--add brackets around + children for priority purpose-->
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="InvisibleTimes"/></mo>
+ </xsl:when>
+ <xsl:when test="mml:minus"> <!--add brackets around - children for priority purpose-->
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="InvisibleTimes"/></mo>
+ </xsl:when>
+ <xsl:when test="(name(.)='mml:ci' or name(.)='mml:cn') and contains(text(),'-')"> <!-- have to do it using contains because starts-with doesn't seem to work well in XT-->
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="InvisibleTimes"/></mo>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="."/><mo><mchar name="InvisibleTimes"/></mo>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ <xsl:for-each select="child::*[position()=last()]">
+ <xsl:choose>
+ <xsl:when test="mml:plus">
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
+ </xsl:when>
+ <xsl:when test="mml:minus">
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
+ </xsl:when>
+ <xsl:when test="(name(.)='mml:ci' or name(.)='mml:cn') and contains(text(),'-')"> <!-- have to do it using contains because starts-with doesn't seem to work well in XT-->
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ </mrow>
+</xsl:when>
+<xsl:when test="count(child::*)=2"> <!-- unary -->
+ <mrow>
+ <mo><mchar name="InvisibleTimes"/></mo>
+ <xsl:choose>
+ <xsl:when test="mml:plus">
+ <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
+ </xsl:when>
+ <xsl:when test="mml:minus">
+ <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
+ </xsl:when>
+ <xsl:when test="(*[position()=2 and self::mml:ci] or *[position()=2 and self::mml:cn]) and contains(*[position()=2]/text(),'-')">
+ <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="*[position()=2]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </mrow>
+</xsl:when>
+<xsl:otherwise> <!-- no operand -->
+ <mo><mchar name="InvisibleTimes"/></mo>
+</xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<!-- root -->
+<xsl:template match="mml:apply[mml:root]">
+ <xsl:choose>
+ <xsl:when test="mml:degree">
+ <xsl:choose>
+ <xsl:when test="mml:degree/mml:cn/text()='2'"> <!--if degree=2 display a standard square root-->
+ <msqrt>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ </msqrt>
+ </xsl:when>
+ <xsl:otherwise>
+ <mroot>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ <mrow><xsl:apply-templates select="mml:degree/*"/></mrow>
+ </mroot>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise> <!-- no degree specified-->
+ <msqrt>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ </msqrt>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- greatest common divisor -->
+<xsl:template match="mml:apply[mml:gcd]">
+ <mrow>
+ <mi>gcd</mi><mo><mchar name="ApplyFunction"/></mo>
+ <mfenced>
+ <xsl:apply-templates select="child::*[position()!=1]"/>
+ </mfenced>
+ </mrow>
+</xsl:template>
+
+<!-- AND -->
+<xsl:template match="mml:apply[mml:and]">
+<mrow>
+ <xsl:choose>
+ <xsl:when test="count(*)>=3"> <!-- at least two operands (common case)-->
+ <xsl:for-each select="child::*[position()!=last() and position()!=1]">
+ <xsl:choose>
+ <xsl:when test="mml:or"> <!--add brackets around OR children for priority purpose-->
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="And"/></mo>
+ </xsl:when>
+ <xsl:when test="mml:xor"> <!--add brackets around XOR children for priority purpose-->
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="And"/></mo>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="."/><mo><mchar name="And"/></mo>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ <xsl:for-each select="child::*[position()=last()]">
+ <xsl:choose>
+ <xsl:when test="mml:or">
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
+ </xsl:when>
+ <xsl:when test="mml:xor">
+ <mfenced separators=""><xsl:apply-templates select="."/></mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:when test="count(*)=2">
+ <mo><mchar name="And"/></mo><xsl:apply-templates select="*[position()=last()]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <mo><mchar name="And"/></mo>
+ </xsl:otherwise>
+ </xsl:choose>
+</mrow>
+</xsl:template>
+
+<!-- OR -->
+<xsl:template match="mml:apply[mml:or]">
+<mrow>
+ <xsl:choose>
+ <xsl:when test="count(*)>=3">
+ <xsl:for-each select="child::*[position()!=last() and position()!=1]">
+ <xsl:apply-templates select="."/><mo><mchar name="Or"/></mo>
+ </xsl:for-each>
+ <xsl:apply-templates select="child::*[position()=last()]"/>
+ </xsl:when>
+ <xsl:when test="count(*)=2">
+ <mo><mchar name="Or"/></mo><xsl:apply-templates select="*[position()=last()]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <mo><mchar name="Or"/></mo>
+ </xsl:otherwise>
+ </xsl:choose>
+</mrow>
+</xsl:template>
+
+<!-- XOR -->
+<xsl:template match="mml:apply[mml:xor]">
+<mrow>
+ <xsl:choose>
+ <xsl:when test="count(*)>=3">
+ <xsl:for-each select="child::*[position()!=last() and position()!=1]">
+ <xsl:apply-templates select="."/><mo>xor</mo>
+ </xsl:for-each>
+ <xsl:apply-templates select="child::*[position()=last()]"/>
+ </xsl:when>
+ <xsl:when test="count(*)=2">
+ <mo>xor</mo><xsl:apply-templates select="*[position()=last()]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <mo>xor</mo>
+ </xsl:otherwise>
+ </xsl:choose>
+</mrow>
+</xsl:template>
+
+<!-- NOT -->
+<xsl:template match="mml:apply[mml:not]">
+ <mrow>
+ <mo><mchar name="Not"/></mo>
+ <xsl:choose>
+ <xsl:when test="child::mml:apply"><!--add brackets around OR,AND,XOR children for priority purpose-->
+ <mfenced separators="">
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ </mfenced>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </mrow>
+</xsl:template>
+
+<!-- implies -->
+<xsl:template match="mml:apply[mml:implies]">
+ <mrow>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <mo><mchar name="DoubleRightArrow"/></mo>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ </mrow>
+</xsl:template>
+
+<xsl:template match="mml:reln[mml:implies]">
+ <mrow>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <mo><mchar name="DoubleRightArrow"/></mo>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ </mrow>
+</xsl:template>
+
+<!-- for all-->
+<xsl:template match="mml:apply[mml:forall]">
+ <mrow>
+ <mo><mchar name="ForAll"/></mo>
+ <mrow>
+ <xsl:for-each select="mml:bvar[position()!=last()]">
+ <xsl:apply-templates select="."/><mo>,</mo>
+ </xsl:for-each>
+ <xsl:apply-templates select="mml:bvar[position()=last()]"/>
+ </mrow>
+ <xsl:if test="mml:condition">
+ <mrow><mo>,</mo><xsl:apply-templates select="mml:condition"/></mrow>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="mml:apply">
+ <mo>:</mo><xsl:apply-templates select="mml:apply"/>
+ </xsl:when>
+ <xsl:when test="mml:reln">
+ <mo>:</mo><xsl:apply-templates select="mml:reln"/>
+ </xsl:when>
+ </xsl:choose>
+ </mrow>
+</xsl:template>
+
+<!-- in -->
+<xsl:template match="mml:apply[mml:in]">
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <xsl:text>\in</xsl:text>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+<!-- leq -->
+<xsl:template match="mml:apply[mml:leq]">
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <xsl:text>\leq</xsl:text>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+<!-- geq -->
+<xsl:template match="mml:apply[mml:geq]">
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <xsl:text>\geq</xsl:text>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+<!-- domain -->
+<xsl:template match="mml:apply[mml:domain]">
+ <xsl:text>\mbox{dom}(</xsl:text>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <xsl:text>)</xsl:text>
+</xsl:template>
+
+<!-- notin -->
+<xsl:template match="mml:apply[mml:notin]">
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <xsl:text>\notin</xsl:text>
+ <xsl:apply-templates select="child::*[position()=3]"/>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+<!-- exist-->
+<xsl:template match="mml:apply[mml:exists]">
+ <mrow>
+ <mo><mchar name="Exists"/></mo>
+ <mrow>
+ <xsl:for-each select="mml:bvar[position()!=last()]">
+ <xsl:apply-templates select="."/><mo>,</mo>
+ </xsl:for-each>
+ <xsl:apply-templates select="mml:bvar[position()=last()]"/>
+ </mrow>
+ <xsl:if test="mml:condition">
+ <mrow><mo>,</mo><xsl:apply-templates select="mml:condition"/></mrow>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="mml:apply">
+ <mo>:</mo><xsl:apply-templates select="mml:apply"/>
+ </xsl:when>
+ <xsl:when test="mml:reln">
+ <mo>:</mo><xsl:apply-templates select="mml:reln"/>
+ </xsl:when>
+ </xsl:choose>
+ </mrow>
+</xsl:template>
+
+<!-- absolute value -->
+<xsl:template match="mml:apply[mml:abs]">
+ <mrow><mo>|</mo><xsl:apply-templates select="child::*[position()=last()]"/><mo>|</mo></mrow>
+</xsl:template>
+
+<!-- conjugate -->
+<xsl:template match="mml:apply[mml:conjugate]">
+ <mover>
+ <xsl:apply-templates select="child::*[position()=2]"/>
+ <mo><mchar name="ovbar"/></mo> <!-- does not work, UNICODE x0233D or perhaps OverBar-->
+ </mover>
+</xsl:template>
+
+<!-- argument of complex number -->
+<xsl:template match="mml:apply[mml:arg]">
+ <mrow>
+ <mi>arg</mi><mo><mchar name="ApplyFunction"/></mo><mfenced separators=""><xsl:apply-templates select="child::*[position()=2]"/></mfenced>
+ </mrow>
+</xsl:template>
+
+<!-- real part of complex number -->
+<xsl:template match="mml:apply[mml:real]">
+ <mrow>
+ <mi><xsl:text disable-output-escaping='yes'>&amp;#x0211C;</xsl:text><!-- mchar Re or realpart should work--></mi>
+ <mo><mchar name="ApplyFunction"/></mo>
+ <mfenced separators=""><xsl:apply-templates select="child::*[position()=2]"/></mfenced>
+ </mrow>
+</xsl:template>
+
+<!-- imaginary part of complex number -->
+<xsl:template match="mml:apply[mml:imaginary]">
+ <mrow>
+ <mi><xsl:text disable-output-escaping='yes'>&amp;#x02111;</xsl:text><!-- mchar Im or impart should work--></mi>
+ <mo><mchar name="ApplyFunction"/></mo>
+ <mfenced separators=""><xsl:apply-templates select="child::*[position()=2]"/></mfenced>
+ </mrow>
+</xsl:template>
+
+<!-- lowest common multiple -->
+<xsl:template match="mml:apply[mml:lcm]">
+ <mrow>
+ <mi>lcm</mi><mo><mchar name="ApplyFunction"/></mo>
+ <mfenced>
+ <xsl:apply-templates select="child::*[position()!=1]"/>
+ </mfenced>
+ </mrow>
+</xsl:template>
+
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.mod.xsl b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.mod.xsl
new file mode 100644
index 0000000000..29d9d82682
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.mod.xsl
@@ -0,0 +1,99 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet
+[
+ <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
+ <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
+]>
+<!--#############################################################################
+ | $Id: mathml.content.mod.xsl,v 1.1.1.1 2003/03/14 10:42:54 rcasellas Exp $
+ |- #############################################################################
+ | $Author: rcasellas $
+ |
+ | PURPOSE: MathML content markup.
+ | Note: these elements are not part of the DocBook DTD. I have extended
+ | the docbook DTD in order to support this tags, so that's why I have these
+ | templates here.
+ |
+ | MathML namespace used -> mml
+ + ############################################################################## -->
+
+<xsl:stylesheet version='1.0'
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
+
+<xsl:template match="mml:semantics">
+</xsl:template>
+
+
+<xsl:template match="mml:set|mml:list">
+</xsl:template>
+
+
+<xsl:template match="mml:matrix">
+</xsl:template>
+
+<xsl:template match="mml:reln">
+</xsl:template>
+
+<xsl:template match="mml:lambda">
+</xsl:template>
+
+
+
+
+
+
+<!-- Interval -->
+<!-- att. closure : open, closed, open-closed, or closed-open, with a default value of closed. -->
+<xsl:template match="mml:interval">
+<xsl:choose>
+ <xsl:when test="@closure = 'open'">
+ <xsl:call-template name="interval.render">
+ <xsl:with-param name="node" select="."/>
+ <xsl:with-param name="fst">\left( </xsl:with-param>
+ <xsl:with-param name="scd">\right) </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="@closure = 'open-closed'">
+ <xsl:call-template name="interval.render">
+ <xsl:with-param name="node" select="."/>
+ <xsl:with-param name="fst">\left( </xsl:with-param>
+ <xsl:with-param name="scd">\right] </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="@closure = 'closed-open'">
+ <xsl:call-template name="interval.render">
+ <xsl:with-param name="node" select="."/>
+ <xsl:with-param name="fst">\left[ </xsl:with-param>
+ <xsl:with-param name="scd">\right) </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="interval.render">
+ <xsl:with-param name="node" select="."/>
+ <xsl:with-param name="fst">\left[ </xsl:with-param>
+ <xsl:with-param name="scd">\right] </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<xsl:template name="interval.render">
+<xsl:param name="node"/>
+<xsl:param name="fst"/>
+<xsl:param name="scd"/>
+<xsl:choose>
+ <!-- Two real numbers define the interval -->
+ <xsl:when test="count(child::*) = 2">
+ <xsl:value-of select="$fst"/>
+ <xsl:apply-templates select="$node/child::*[1]"/>
+ <xsl:text> , </xsl:text>
+ <xsl:apply-templates select="$node/child::*[2]"/>
+ <xsl:value-of select="$scd"/>
+ </xsl:when>
+ <!-- A condition defines the interval -->
+ <xsl:otherwise> </xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.token.mod.xsl b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.token.mod.xsl
new file mode 100644
index 0000000000..c36ca7162b
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.content.token.mod.xsl
@@ -0,0 +1,232 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet
+[
+ <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
+ <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
+]>
+<!--#############################################################################
+ | $Id: mathml.content.token.mod.xsl,v 1.1.1.1 2003/03/14 10:42:54 rcasellas Exp $
+ |- #############################################################################
+ | $Author: rcasellas $
+ |
+ | PURPOSE: MathML Content Markup, tokens (ci, cn, csymbol)
+ | MathML namespace used -> mml
+ + ############################################################################## -->
+
+<xsl:stylesheet version='1.0'
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
+
+<xsl:strip-space elements="mml:math mml:mrow"/>
+
+
+<!-- Content Number -->
+<!-- support for bases and types-->
+<xsl:template match="mml:cn">
+ <xsl:text>{</xsl:text>
+ <xsl:text>{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="./@type='complex-cartesian' or ./@type='complex'">
+ <mn><xsl:value-of select="text()[position()=1]"/></mn>
+ <xsl:choose>
+ <xsl:when test="contains(text()[position()=2],'-')">
+ <xsl:text>-</xsl:text><xsl:value-of select="substring-after(text()[position()=2],'-')"/>
+ <!-- substring-after does not seem to work well in XT :
+ if imaginary part is expressed with at least one space char
+ before the minus sign, then it does not work (we end up with
+ two minus sign since the one in the text is kept)-->
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>+</xsl:text> <xsl:value-of select="text()[position()=2]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>\dot\textrm{i}</xsl:text>
+ </xsl:when>
+ <xsl:when test="./@type='complex-polar'">
+ <xsl:text>\textrm{Polar}(</xsl:text><xsl:value-of select="text()[position()=1]"/><xsl:text>,</xsl:text>
+ <xsl:value-of select="text()[position()=2]"/>
+ <xsl:text>)</xsl:text>
+ </xsl:when>
+ <xsl:when test="./@type='rational'">
+ <xsl:text>\frac{</xsl:text><xsl:value-of select="text()[position()=1]"/><xsl:text>}{</xsl:text>
+ <xsl:value-of select="text()[position()=2]"/>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ <xsl:if test="@base and @base!=10"> <!-- base specified and different from 10 ; if base = 10 we do not display it -->
+ <xsl:text>_{</xsl:text><xsl:value-of select="@base"/><xsl:text>}</xsl:text>
+ </xsl:if>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+
+
+<!-- Content Identifier -->
+<!-- identifier -->
+<!--support for presentation markup-->
+<xsl:template match="mml:ci">
+<xsl:choose>
+<xsl:when test="./@type='complex-cartesian' or ./@type='complex'">
+ <xsl:choose>
+ <xsl:when test="count(*)>0"> <!--if identifier is composed of real+imag parts-->
+ <xsl:text>{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="*[self::mml:mchar and position()=1]"> <!-- if real part is an mchar -->
+ <xsl:text>\textrm{</xsl:text><xsl:copy-of select="*[position()=1]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise> <!-- if real part is simple text -->
+ <xsl:text>\textrm{</xsl:text><xsl:copy-of select="*[position()=1]"/><xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:choose> <!-- im part is negative-->
+ <xsl:when test="contains(text()[preceding-sibling::*[position()=1 and self::mml:sep]],'-')">
+ <xsl:text>-\textrm{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="mml:mchar[preceding-sibling::*[self::mml:sep]]"><!-- if im part is an mchar -->
+ <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/>
+ </xsl:when>
+ <xsl:otherwise><!-- if im part is simple text -->
+ <xsl:value-of select="substring-after(text()[preceding-sibling::*[position()=1 and self::mml:sep]],'-')"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ <xsl:text>\dot\textrm{i}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise> <!-- im part is not negative-->
+ <xsl:text>+\textrm{</xsl:text>
+ <xsl:choose><!-- if im part is an mchar -->
+ <xsl:when test="mml:mchar[preceding-sibling::*[self::mml:sep]]">
+ <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/>
+ </xsl:when>
+ <xsl:otherwise><!-- if im part is simple text -->
+ <xsl:value-of select="text()[preceding-sibling::*[position()=1 and self::mml:sep]]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ <xsl:text>\dot\textrm{i}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise> <!-- if identifier is composed only of one text child-->
+ <xsl:text>\dot\textrm{</xsl:text><xsl:value-of select="."/><xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:when>
+<xsl:when test="./@type='complex-polar'">
+ <xsl:choose>
+ <xsl:when test="count(*)>0"> <!--if identifier is composed of real+imag parts-->
+ <xsl:text>{</xsl:text>
+ <mi>Polar</mi>
+ <mfenced><mi>
+ <xsl:value-of select="text()[following-sibling::*[self::mml:sep]]"/>
+ <xsl:if test="mml:mchar[following-sibling::*[self::mml:sep]]">
+ <xsl:copy-of select="mml:mchar[following-sibling::*[self::mml:sep]]"/>
+ </xsl:if>
+ </mi>
+ <mi>
+ <xsl:value-of select="text()[preceding-sibling::*[self::mml:sep]]"/>
+ <xsl:if test="mml:mchar[preceding-sibling::*[self::mml:sep]]">
+ <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/>
+ </xsl:if>
+ </mi></mfenced>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise> <!-- if identifier is composed only of one text child-->
+ <mi><xsl:value-of select="."/></mi>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:when>
+<xsl:when test="./@type='rational'">
+ <xsl:choose>
+ <xsl:when test="count(*)>0"> <!--if identifier is composed of two parts-->
+ <xsl:text>{</xsl:text><mi>
+ <xsl:value-of select="text()[following-sibling::*[self::mml:sep]]"/>
+ <xsl:if test="mml:mchar[following-sibling::*[self::mml:sep]]">
+ <xsl:copy-of select="mml:mchar[following-sibling::*[self::mml:sep]]"/>
+ </xsl:if>
+ </mi>
+ <mo>/</mo>
+ <mi>
+ <xsl:value-of select="text()[preceding-sibling::*[self::mml:sep]]"/>
+ <xsl:if test="mml:mchar[preceding-sibling::*[self::mml:sep]]">
+ <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/>
+ </xsl:if>
+ </mi><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise> <!-- if identifier is composed only of one text child-->
+ <mi><xsl:value-of select="."/></mi>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="./@type='vector'">
+ <mi fontweight="bold">
+ <xsl:value-of select="text()"/>
+ <xsl:if test="mml:mchar">
+ <xsl:copy-of select="mml:mchar"/>
+ </xsl:if>
+ </mi>
+</xsl:when>
+ <!-- type 'set' seems to be deprecated (use 4.4.12 instead); besides, there is no easy way to translate set identifiers to chars in ISOMOPF -->
+<xsl:otherwise> <!-- no type attribute provided -->
+ <xsl:choose>
+ <xsl:when test="mml:mchar"> <!-- test if identifier is expressed using mchar nodes -->
+ <mi><xsl:value-of select="text()"/><xsl:copy-of select="mml:mchar"/></mi>
+ </xsl:when>
+ <xsl:when test="count(node()) != count(text())">
+ <!--test if children are not all text nodes, meaning there is markup assumed
+ to be presentation markup (the case where there are mchar nodes has been tested just before)-->
+ <xsl:text>{</xsl:text><xsl:copy-of select="child::*"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise> <!-- common case -->
+ <mi><xsl:value-of select="."/></mi>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+
+
+
+
+
+<!-- externally defined symbols-->
+<xsl:template match="mml:apply[mml:csymbol]">
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="mml:csymbol[position()=1]"/>
+ <xsl:text>\left(</xsl:text>
+ <xsl:for-each select="child::*[position()!=1]">
+ <xsl:apply-templates select="."/>
+ </xsl:for-each>
+ <xsl:text>\right)</xsl:text>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+
+<xsl:template match="mml:csymbol">
+<xsl:choose>
+ <!--test if children are not all text nodes, meaning there is markup assumed to be presentation markup-->
+ <!--perhaps it would be sufficient to test if there is more than one node or text node-->
+ <xsl:when test="count(node()) != count(text())">
+ <xsl:text>{</xsl:text> <xsl:copy-of select="child::*"/> <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\textrm{</xsl:text> <xsl:copy-of select="."/> <xsl:text>}</xsl:text>
+ </xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<xsl:template match="mml:mchar">
+ <xsl:copy-of select="."/>
+</xsl:template>
+<!--
+<xsl:template match="mml:mtext">
+ <xsl:copy-of select="."/>
+</xsl:template>
+-->
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/mathml.mod.xsl b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.mod.xsl
new file mode 100644
index 0000000000..32262afab4
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.mod.xsl
@@ -0,0 +1,48 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet
+[
+ <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
+ <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
+]>
+<!--#############################################################################
+ | $Id: mathml.mod.xsl,v 1.4 2004/01/18 10:39:23 j-devenish Exp $
+ |- #############################################################################
+ | $Author: j-devenish $
+ |
+ | PURPOSE: MathML presentation and content markup.
+ | Note: these elements are not part of the DocBook DTD. I have extended
+ | the docbook DTD in order to support this tags, so that's why I have these
+ | templates here.
+ |
+ | MathML namespace used -> mml
+ + ############################################################################## -->
+
+<xsl:stylesheet version='1.0'
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
+
+ <xsl:strip-space elements="mml:math mml:mrow"/>
+
+ <xsl:template match="mml:math">
+ <xsl:text>\begin{displaymath}</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>\end{displaymath}%&#10;</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="mml:math[@mode='inline']">
+ <xsl:text>\begin{math}</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>\end{math}</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="mml:math[@mode='display']">
+ <xsl:text>\begin{displaymath}</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>\end{displaymath}%&#10;</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="p">
+ <xsl:text>\section{</xsl:text> <xsl:value-of select="normalize-space(.)"/> <xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/mathml/mathml.presentation.mod.xsl b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.presentation.mod.xsl
new file mode 100644
index 0000000000..a3a67e17be
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mathml/mathml.presentation.mod.xsl
@@ -0,0 +1,493 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet
+[
+ <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias;
+ <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra;
+]>
+<!--#############################################################################
+ | $Id: mathml.presentation.mod.xsl,v 1.4 2004/01/18 10:39:50 j-devenish Exp $
+ |- #############################################################################
+ | $Author: j-devenish $
+ |
+ | PURPOSE: MathML presentation markup.
+ | Note: these elements are not part of the DocBook DTD. I have extended
+ | the docbook DTD in order to support this tags, so that's why I have these
+ | templates here.
+ |
+ | MathML namespace used -> mml
+ + ############################################################################## -->
+
+<xsl:stylesheet version='1.0'
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML">
+
+<xsl:template match="mml:mrow">
+ <xsl:text>{</xsl:text> <xsl:apply-templates/> <xsl:text>}</xsl:text>
+</xsl:template>
+
+<xsl:variable name="latex.entities.xml" select="document('latex.entities.xml')"/>
+
+
+<!-- TOKENS -->
+<!-- Math Identifier -->
+<xsl:template match="mml:mi">
+ <xsl:variable name="fontstyle" select="@fontstyle"/>
+ <xsl:variable name="identifier" select="normalize-space(.)"/>
+ <xsl:variable name="equivalent">
+ <xsl:if test="string-length($identifier)=1">
+ <xsl:value-of select="$latex.entities.xml/latex/character[@entity=$identifier]"/>
+ </xsl:if>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$identifier='&ExponentialE;'">
+ <xsl:text>\textrm{e}</xsl:text>
+ </xsl:when>
+ <xsl:when test="$identifier='&ImaginaryI;'">
+ <xsl:text>\textrm{i}</xsl:text>
+ </xsl:when>
+ <xsl:when test="$identifier='&#x0221E;'"><!--/infty infinity -->
+ <xsl:text>\infty</xsl:text>
+ </xsl:when>
+ <!-- currently tries to map single-character identifiers only -->
+ <xsl:when test="$equivalent!=''">
+ <xsl:text>{</xsl:text>
+ <xsl:copy-of select="$equivalent"/>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="$fontstyle='normal' or string-length($identifier)&gt;1">
+ <xsl:text>\textrm</xsl:text>
+ </xsl:if>
+ <xsl:text>{</xsl:text>
+ <xsl:copy-of select="$identifier"/>
+ <xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- Math Number -->
+<xsl:template match="mml:mn">
+ <xsl:copy-of select="normalize-space(.)"/>
+</xsl:template>
+
+<!-- Math Phantom -->
+<xsl:template match="mml:mphantom">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<!-- Empty unless $character is a single character -->
+<xsl:template name="generate.equivalent">
+ <xsl:param name="arguments" select="0"/>
+ <xsl:param name="character"/>
+ <xsl:if test="string-length($character)=1">
+ <xsl:choose>
+ <xsl:when test="$arguments&gt;0">
+ <xsl:value-of select="$latex.entities.xml/latex/character[@entity=$character and @arguments=$arguments]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$latex.entities.xml/latex/character[@entity=$character and @arguments='']"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+</xsl:template>
+
+<!-- Math Operator -->
+<xsl:template match="mml:mo">
+ <xsl:variable name="operator" select="normalize-space(.)"/>
+ <xsl:variable name="equivalent">
+ <xsl:call-template name="generate.equivalent">
+ <xsl:with-param name="character" select="$operator"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$operator='&ApplyFunction;'">
+ <xsl:text></xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&InvisibleComma;'">
+ <xsl:text>\thinspace</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&InvisibleTimes;'">
+ <xsl:text>\thinspace</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&Integral;'">
+ <xsl:text>\int</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&Product;'">
+ <xsl:text>\prod</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&Sum;'">
+ <xsl:text>\sum</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&Hat;'">
+ <xsl:text>\sphat</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&RightArrow;'">
+ <xsl:text>\longrightarrow</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&Element;'">
+ <xsl:text>\in</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&VerticalBar;'">
+ <xsl:text>|</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='&DifferentialD;'">
+ <xsl:text>\textrm{d}</xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='('">
+ <xsl:text> {\left( </xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator=')'">
+ <xsl:text> \right)} </xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='{'">
+ <xsl:text> {\left\{ </xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='}'">
+ <xsl:text> \right\}} </xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='['">
+ <xsl:text> {\left[ </xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator=']'">
+ <xsl:text> \right]} </xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='max'">
+ <xsl:text> \max </xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='min'">
+ <xsl:text> \min </xsl:text>
+ </xsl:when>
+ <xsl:when test="$operator='+' or $operator='-' or $operator='/' or $operator='*'">
+ <xsl:value-of select="$operator"/>
+ </xsl:when>
+ <xsl:when test="$equivalent">
+ <xsl:value-of select="$equivalent"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\operatorname{</xsl:text>
+ <xsl:value-of select="$operator" />
+ <xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- Math String -->
+<xsl:template match="mml:ms">
+ <xsl:text>\textrm{</xsl:text>
+ <xsl:copy-of select="normalize-space(.)" />
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+<!-- Math Text -->
+<xsl:template match="mml:mtext">
+ <xsl:message>RCAS mtext, <xsl:copy-of select="."/> </xsl:message>
+ <xsl:text>\textrm{</xsl:text>
+ <xsl:copy-of select="." />
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+<!-- Math Space -->
+<xsl:template match="mml:mspace">
+ <xsl:if test="@width!='' and not(contains(@width,'%'))">
+ <xsl:text>\textrm{\hspace{</xsl:text><!-- kludge! -->
+ <xsl:value-of select="@width"/>
+ <xsl:text>}}</xsl:text>
+ </xsl:if>
+ <xsl:if test="@height!='' or @depth!=''">
+ <xsl:message>Warning: mspace support does not include height or depth.</xsl:message>
+ </xsl:if>
+</xsl:template>
+
+
+
+
+
+<xsl:template match="mml:msup">
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:text>^{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text>
+</xsl:template>
+
+<xsl:template match="mml:msub">
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:text>_{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text>
+</xsl:template>
+
+<xsl:template match="mml:msubsup">
+<xsl:choose>
+ <xsl:when test="name(*[1])='mo'">
+ <xsl:apply-templates select="*[1]"/>
+ <!-- sub -->
+ <xsl:text>_{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text>
+ <!-- super -->
+ <xsl:text>^{</xsl:text><xsl:apply-templates select="*[3]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- base -->
+ <xsl:text>{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
+ <!-- sub -->
+ <xsl:text>_{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text>
+ <!-- super -->
+ <xsl:text>^{</xsl:text><xsl:apply-templates select="*[3]"/><xsl:text>}</xsl:text>
+ </xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<xsl:template match="mml:mmultiscripts">
+</xsl:template>
+
+<xsl:template match="mml:munder">
+<!--
+<xsl:choose>
+ <xsl:when test="*[2] = &#818;">
+ <xsl:text>\underline{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:when test="normalize-space(*[2]) = &#65080;">
+ <xsl:text>\underbrace{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:when test="normalize-space(*[2]) = &#9141;">
+ <xsl:text>\underbrace{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\underset{</xsl:text>
+ <xsl:apply-templates select="*[2]"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:text>}</xsl:text>
+-->
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:text>_{</xsl:text>
+ <xsl:apply-templates select="*[2]"/>
+ <xsl:text>}}</xsl:text>
+<!--
+ </xsl:otherwise>
+</xsl:choose>
+-->
+</xsl:template>
+<xsl:template match="mml:mover">
+<!--<xsl:choose>
+ <xsl:when test="normalize-space(*[2]) = &#175;">
+ <xsl:text>\overline{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:when test="normalize-space(*[2]) = &#65079;">
+ <xsl:text>\overbrace{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:when test="normalize-space(*[2]) = &#65077;">
+ <xsl:text>\widehat{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:when test="normalize-space(*[2]) = &#9140;">
+ <xsl:text>\widehat{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ </xsl:otherwise>
+</xsl:choose>-->
+ <xsl:choose>
+ <xsl:when test="@accent='true' or ( local-name(*[2])='mo' and not(@accent='false'))">
+ <xsl:variable name="equivalent">
+ <xsl:call-template name="generate.equivalent">
+ <xsl:with-param name="arguments" select="1"/>
+ <xsl:with-param name="character" select="normalize-space(*[2])"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$equivalent!=''">
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$equivalent"/>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:text>}}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:text>^{</xsl:text>
+ <xsl:apply-templates select="*[2]"/>
+ <xsl:text>}}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:text>^{</xsl:text>
+ <xsl:apply-templates select="*[2]"/>
+ <xsl:text>}}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+
+
+<!-- Math UnderOver -->
+<xsl:template match="mml:munderover">
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:text>_{</xsl:text>
+ <xsl:apply-templates select="*[2]"/>
+ <xsl:text>}</xsl:text>
+ <xsl:text>^{</xsl:text>
+ <xsl:apply-templates select="*[3]"/>
+ <xsl:text>}}</xsl:text>
+ <!--
+ <xsl:text>\overset{</xsl:text>
+ <xsl:apply-templates select="*[3]"/>
+ <xsl:text>}{\underset{</xsl:text>
+ <xsl:apply-templates select="*[2]"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:text>}}</xsl:text>
+ -->
+</xsl:template>
+
+
+
+<!-- Math Fenced -->
+<xsl:template match="mml:mfenced">
+<!-- get open,close, separators att -->
+ <xsl:choose>
+ <xsl:when test="@open='('">
+ <xsl:text> {\left( </xsl:text>
+ </xsl:when>
+ <xsl:when test="@open='{'">
+ <xsl:text> {\left\{ </xsl:text>
+ </xsl:when>
+ <xsl:when test="@open='['">
+ <xsl:text> {\left[\, </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text> {\left( </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="*[1]"/>
+ <xsl:choose>
+ <xsl:when test="@close=')'">
+ <xsl:text> \right)} </xsl:text>
+ </xsl:when>
+ <xsl:when test="@close='}'">
+ <xsl:text> \right\}} </xsl:text>
+ </xsl:when>
+ <xsl:when test="@close=']'">
+ <xsl:text> \,\right]} </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text> \right)} </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+
+
+<!-- Math frac -->
+<xsl:template match="mml:mfrac">
+<xsl:choose>
+<xsl:when test="@linethickness">
+ <xsl:choose>
+ <xsl:when test="@linethickness='thin'">
+ <xsl:text> \frac[1pt]{ </xsl:text>
+ </xsl:when>
+ <xsl:when test="@linethickness='medium'">
+ <xsl:text> \frac[1.1pt]{ </xsl:text>
+ </xsl:when>
+ <xsl:when test="@linethickness='thick'">
+ <xsl:text> \frac[1.2pt]{ </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text> \frac[</xsl:text><xsl:value-of select="@linethickness"/><xsl:text>]{ </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:when>
+<xsl:otherwise>
+ <xsl:text> \frac{ </xsl:text>
+</xsl:otherwise>
+</xsl:choose>
+<!-- <xsl:value-of select="*[1]"/> -->
+<xsl:apply-templates select="*[1]"/>
+<xsl:text> }{ </xsl:text>
+<!-- <xsl:value-of select="*[2]"/> -->
+<xsl:apply-templates select="*[2]"/>
+<xsl:text> }</xsl:text>
+</xsl:template>
+
+
+<!-- Math msqrt -->
+<xsl:template match="mml:msqrt">
+ <xsl:text> \sqrt{ </xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text> }</xsl:text>
+</xsl:template>
+
+
+<!-- Math mroot -->
+<xsl:template match="mml:mroot">
+ <xsl:text> \sqrt[</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>]{</xsl:text>
+ <xsl:apply-templates select="*[2]"/><xsl:text> }</xsl:text>
+</xsl:template>
+
+
+
+<xsl:template name="mtable.format.tabular">
+ <xsl:param name="cols" select="1"/>
+ <xsl:param name="i" select="1"/>
+ <xsl:choose>
+ <!-- Out of the recursive iteration -->
+ <xsl:when test="$i > $cols"></xsl:when>
+ <!-- There are still columns to count -->
+ <xsl:otherwise>
+ <xsl:text>c</xsl:text>
+ <!-- Recursive for next column -->
+ <xsl:call-template name="mtable.format.tabular">
+ <xsl:with-param name="i" select="$i+1"/>
+ <xsl:with-param name="cols" select="$cols"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+
+<xsl:template match="mml:mtable">
+<xsl:variable name="rows" select="mml:mtr"/>
+<xsl:text>\begin{array}{</xsl:text>
+<xsl:call-template name="mtable.format.tabular"><xsl:with-param name="cols" select="count($rows)"/></xsl:call-template>
+<xsl:text>}&#10;</xsl:text>
+ <xsl:apply-templates/>
+<xsl:text>\end{array} </xsl:text>
+</xsl:template>
+
+<xsl:template match="mml:mtr">
+<!-- Row starts here -->
+<xsl:apply-templates/>
+<!-- End Row here -->
+</xsl:template>
+
+<xsl:template match="mml:mtd">
+ <xsl:apply-templates/><xsl:text> &amp; </xsl:text>
+</xsl:template>
+
+<xsl:template match="mml:mtd[position()=last()]">
+ <xsl:apply-templates/><xsl:text>\\&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="mml:mtd[position()=last()]">
+ <xsl:apply-templates/><xsl:text>\\&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="mml:mphantom">
+ <xsl:apply-templates mode="phantom"/>
+</xsl:template>
+
+<xsl:template match="mml:mi" mode="phantom">
+ <xsl:variable name="fontstyle" select="@fontstyle"/>
+ <xsl:variable name="identifier" select="normalize-space(.)"/>
+ <xsl:choose>
+ <xsl:when test="$identifier='&ExponentialE;'">
+ <xsl:text>\textrm{e}</xsl:text>
+ </xsl:when>
+ <xsl:when test="$identifier='&ImaginaryI;'">
+ <xsl:text>\textrm{i}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\textrm{</xsl:text> <xsl:copy-of select="$identifier"/> <xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/mediaobject.mod.xsl b/docs/xslt/db2latex-xsl/xsl/mediaobject.mod.xsl
new file mode 100644
index 0000000000..b0a0bc5bd4
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/mediaobject.mod.xsl
@@ -0,0 +1,350 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: mediaobject.mod.xsl,v 1.22 2004/01/12 13:52:30 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="mediaobject" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: mediaobject.mod.xsl,v 1.22 2004/01/12 13:52:30 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.12">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>MediaObjects <filename>mediaobject.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>textobject</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="textobject">
+ <!-- TODO if mixed in with imageobjects, use subfigure (if appropriate) -->
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template basename="mediaobject" xmlns="">
+ <refpurpose>Process <doc:db>mediaobject</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Calls <xref linkend="template.mediacontent"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_subfig;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="mediaobject">
+ <xsl:if test="local-name(preceding-sibling::*[1])!='mediaobject'">
+ <xsl:text>&#10;</xsl:text>
+ </xsl:if>
+ <xsl:call-template name="mediacontent"/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="mediaobject" xmlns="">
+ <refpurpose>Process a <doc:db>para</doc:db>'s <doc:db>mediaobject</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a <doc:db>mediaobject</doc:db> as a block surrounded by paragraph text.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Inserts newline characters around the output of <xref
+ linkend="template.mediacontent"/>.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="para/mediaobject">
+ <xsl:text>&#10;&#10;</xsl:text>
+ <xsl:call-template name="mediacontent"/>
+ <xsl:text>&#10;&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>inlinemediaobject</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="inlinemediaobject">
+ <xsl:call-template name="mediacontent"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process media and inline media </refpurpose>
+ <doc:description>
+ <para>
+ Formats image media.
+ Would be good to be able to include text media, too,
+ so that mixed-content figures look proper.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ The template first attempts to obtain a count of the number
+ of media within this <doc:db>figure</doc:db>, if this is within a <sgmltag>figure</sgmltag>.
+ If the number of objects is greater than one, a <function condition="latex">subfigure</function>
+ command will be invoked with the contents of any <doc:db>caption</doc:db>.
+ If there are no <doc:db basename="imageobject">imageobjects</doc:db>, <doc:db basename="textobject">textobjects</doc:db>
+ will be selected.
+ Otherwise, the following algorithm will be used:
+ </para>
+ <procedure>
+ <step><simpara>If <xref linkend="param.use.role.for.mediaobject"/> is set and there is an <doc:db>imageobject</doc:db> with a <sgmltag class="attribute">role</sgmltag> equal to the current <xref linkend="param.preferred.mediaobject.role"/> then that object will be used.</simpara></step>
+ <step><simpara>Otherwise, if <xref linkend="param.use.role.for.mediaobject"/> is set and there is an <sgmltag>imageobject</sgmltag> with a role of <quote>latex</quote> or <quote>tex</quote>, that object will be used.</simpara></step>
+ <step><simpara>Otherwise, if <xref linkend="param.latex.graphics.formats"/> is set and there are <sgmltag>imagedata</sgmltag> with non-empty <sgmltag class="attribute">format</sgmltag> attributes, and at least one of them has a matching format, then the first one of those objects is used. If none match, then the first <sgmltag>imagedata</sgmltag> with an <emphasis>empty</emphasis> format is used. Otherwise, the first <doc:db>textobject</doc:db> is used.</simpara></step>
+ <step><simpara>Otherwise, the first <sgmltag>imageobject</sgmltag> is used regardless.</simpara></step>
+ </procedure>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="mediacontent">
+ <!--
+ <xsl:variable name="actualmediacnt" select="count(../../..//mediaobject[imageobject or textobject])"/>
+ -->
+ <xsl:variable name="actualmediacnt" select="count(../mediaobject)"/>
+ <xsl:if test="$actualmediacnt &gt; 1 and $latex.use.subfigure='1' and count(ancestor::figure) &gt; 0">
+ <xsl:text>\subfigure[</xsl:text>
+ <!-- TODO does subfigure stuff up with there are square brackets in here? -->
+ <xsl:if test="caption">
+ <xsl:apply-templates select="caption[1]"/>
+ </xsl:if>
+ <xsl:text>]</xsl:text>
+ </xsl:if>
+ <xsl:text>{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="count(imageobject)&lt;1">
+ <xsl:apply-templates select="textobject[1]"/>
+ </xsl:when>
+ <xsl:when test="$use.role.for.mediaobject='1' and $preferred.mediaobject.role!='' and count(imageobject[@role=$preferred.mediaobject.role])!=0">
+ <xsl:apply-templates select="imageobject[@role=$preferred.mediaobject.role]"/>
+ </xsl:when>
+ <xsl:when test="$use.role.for.mediaobject='1' and count(imageobject[@role='latex'])!=0">
+ <xsl:apply-templates select="imageobject[@role='latex']"/>
+ </xsl:when>
+ <xsl:when test="$use.role.for.mediaobject='1' and count(imageobject[@role='tex'])!=0">
+ <xsl:apply-templates select="imageobject[@role='tex']"/>
+ </xsl:when>
+ <xsl:when test="$latex.graphics.formats!='' and count(imageobject/imagedata[@format!=''])!=0">
+ <!-- this is not really the right method: formats to the left of $latex.graphics.formats
+ should be given higher 'priority' than those to the right in a command-separated list -->
+ <xsl:variable name="formats" select="concat(',',$latex.graphics.formats,',')"/>
+ <xsl:variable name="candidates" select="imageobject/imagedata[contains($formats,concat(',',@format,','))]"/>
+ <xsl:choose>
+ <xsl:when test="count($candidates)!=0">
+ <xsl:apply-templates select="$candidates[1]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="fallbacks" select="imageobject/imagedata[@format='']"/>
+ <xsl:choose>
+ <xsl:when test="count($fallbacks)!=0">
+ <xsl:apply-templates select="$fallbacks[1]"/>
+ </xsl:when>
+ <xsl:when test="count(textobject)!=0">
+ <xsl:apply-templates select="textobject[1]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="imageobject[1]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="imageobject[1]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="imageobject" xmlns="">
+ <refpurpose>Process <doc:db>imageobject</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="imageobject">
+ <xsl:apply-templates select="imagedata"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>imagedata</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a picture using <function condition="latex">includegraphics</function>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>filename</term>
+ <listitem><simpara>The file path to be passsed to <function
+ condition="latex">includegraphics</function>. By default,
+ the name of the graphics file is gathered from the <sgmltag
+ class="attribute">entityref</sgmltag> attribute, if it is
+ present, or otherwise from the <sgmltag
+ class="attribute">fileref</sgmltag> attribute.
+ Often with &LaTeX;, the <sgmltag class="attribute">fileref</sgmltag>
+ attribute need not end with any <quote>filename extension</quote>
+ (see <xref linkend="param.graphic.default.extension"/>).
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <itemizedlist>
+ <listitem><para>If both <literal>@width</literal> and <literal>@scale</literal> are given but <literal>@scalefit='0'</literal>, whitespace is added to the left and right in order to match the specified width.</para></listitem>
+ <listitem><para>If <literal>@width</literal> is given and either <literal>@scalefit=1</literal> or no <literal>@scale</literal> is given, then the image is scale to <literal>@width</literal>. Otherwise, <literal>@scale</literal> is used, if it is present.</para></listitem>
+ <listitem><para>If this is not the only <literal>imagedata</literal> within the figure, this will be rendered as a 'subfigure', including the <literal>caption</literal> of its enclosing <literal>mediaobject</literal>.</para></listitem>
+ </itemizedlist>
+ <para>
+ For widths, those containing a percent symbol (<quote>%</quote>) will be
+ taken relative to the <function condition="latex">textwidth</function>.
+ </para>
+ <para>
+ The <quote>PRN</quote> value of the <sgmltag class="attribute">format</sgmltag> attribute is honoured.
+ </para>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="imagedata" name="imagedata">
+ <xsl:param name="filename">
+ <xsl:choose>
+ <xsl:when test="@entityref">
+ <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@fileref"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:param name="is.imageobjectco" select="false()"/>
+ <xsl:variable name="width">
+ <xsl:choose>
+ <xsl:when test="contains(@width, '%') and substring-after(@width, '%')=''">
+ <xsl:value-of select="number(substring-before(@width, '%')) div 100"/>
+ <xsl:text>\textwidth</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@width"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:if test="$width!='' and (@scalefit='0' or count(@scale)&gt;0)">
+ <xsl:text>\makebox[</xsl:text><xsl:value-of select='$width' /><xsl:text>]</xsl:text>
+ </xsl:if>
+ <!-- TODO this logic actually needs to make decisions based on the ALLOWED imagedata,
+ not all the imagedata present in the source file. -->
+ <xsl:choose>
+ <xsl:when test="$is.imageobjectco=1">
+ <xsl:text>{\begin{overpic}[</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>{\includegraphics[</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="@scale">
+ <xsl:text>scale=</xsl:text>
+ <xsl:value-of select="number(@scale) div 100"/>
+ </xsl:when>
+ <xsl:when test="$width!='' and @scalefit='1'">
+ <xsl:text>width=</xsl:text><xsl:value-of select="normalize-space($width)"/>
+ </xsl:when>
+ <xsl:when test="@depth!='' and @scalefit='1'">
+ <xsl:text>height=</xsl:text><xsl:value-of select="normalize-space(@depth)"/>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="@format = 'PRN'"><xsl:text>,angle=270</xsl:text></xsl:when>
+ </xsl:choose>
+ <xsl:text>]{</xsl:text>
+ <xsl:value-of select="$filename"/>
+ <xsl:choose>
+ <xsl:when test="$is.imageobjectco=1">
+ <xsl:text>}&#10;\calsscale&#10;</xsl:text>
+ <xsl:apply-templates select="ancestor::imageobjectco/areaspec//area"/>
+ <xsl:text>\end{overpic}}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>}}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>caption</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="caption">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/msgset.mod.xsl b/docs/xslt/db2latex-xsl/xsl/msgset.mod.xsl
new file mode 100644
index 0000000000..06a8cd07d1
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/msgset.mod.xsl
@@ -0,0 +1,237 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: msgset.mod.xsl,v 1.2 2004/01/01 14:04:58 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="msgset" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: msgset.mod.xsl,v 1.2 2004/01/01 14:04:58 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.2">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Message Sets <filename>msgset.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msgset</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Applies templates.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="msgset">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msgentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a block object using <xref linkend="template.block.object"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msgentry">
+ <xsl:call-template name="block.object"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>simplemsgentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a block object using <xref linkend="template.block.object"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="simplemsgentry">
+ <xsl:call-template name="block.object"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msg</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a block object using <xref linkend="template.block.object"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msg">
+ <xsl:call-template name="block.object"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msgmain</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a block object using <xref linkend="template.block.object"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msgmain">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msgmain</doc:db>'s <doc:db>title</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates inside a <function condition="latex">textbf</function> command.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msgmain/title|msgsub/title|msgrel/title">
+ <xsl:text>{\textbf{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}} </xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msgsub</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msgsub">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msgrel</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msgrel">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msgtext</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msgtext">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msginfo</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a block object using <xref linkend="template.block.object"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msginfo">
+ <xsl:call-template name="block.object"/>
+ </xsl:template>
+
+ <!-- localised -->
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msglevel</doc:db>, <doc:db>msgorig</doc:db> and <doc:db>msgaud</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates as a block, preceded by gentext inside a
+ <function condition="latex">textbf</function> command.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msglevel|msgorig|msgaud">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>{\textbf{</xsl:text>
+ <xsl:call-template name="gentext.element.name"/>
+ <xsl:text>: </xsl:text>
+ <xsl:text>}} </xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>msgexplan</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a block object using <xref linkend="template.block.object"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="msgexplan">
+ <xsl:call-template name="block.object"/>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/normalize-scape.mod.xsl b/docs/xslt/db2latex-xsl/xsl/normalize-scape.mod.xsl
new file mode 100644
index 0000000000..c561bd88e3
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/normalize-scape.mod.xsl
@@ -0,0 +1,615 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: normalize-scape.mod.xsl,v 1.33 2004/01/26 09:40:12 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
+|
+| PURPOSE:
+| Escape LaTeX and normalize-space templates.
+| < > # $ % & ~ _ ^ \ { } |
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="normalize-scape" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: normalize-scape.mod.xsl,v 1.33 2004/01/26 09:40:12 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.30">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Whitespace Normalization and Character Encoding <filename>normalize-scape.mod.xsl</filename></title>
+ <partintro>
+
+ <para>Normalize whitespace and and escape <quote>active</quote> &latex; characters.</para>
+ <para>Includes the auto-generated <filename>scape.mod.xsl</filename> module.</para>
+
+ </partintro>
+ </doc:reference>
+
+ <xsl:include href="scape.mod.xsl"/>
+
+ <doc:template match="text()" xmlns="">
+ <refpurpose>Process <literal>text()</literal> nodes</refpurpose>
+ <doc:description>
+ <para>
+
+ Handles regular text content (i.e. <literal>#PCDATA</literal>)
+ from &docbook; documents.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ For most elements, &latex; active characters
+ will be escaped using the <xref linkend="template.scape"/>
+ template.
+ However, for text within the following elements, the
+ <xref linkend="template.scape-verbatim"/> template
+ will be used to typeset monospace text:
+ <doc:db>literal</doc:db>,
+ <doc:db>filename</doc:db>,
+ <doc:db>userinput</doc:db>,
+ <doc:db>systemitem</doc:db>,
+ <doc:db>prompt</doc:db>,
+ <doc:db>email</doc:db>,
+ <doc:db>sgmltag</doc:db>.
+
+ </para>
+ <para>
+
+ In all cases, interior whitespace will be normalised according
+ to the XSLT specification with the additional feature that
+ leading and trailing whitespace will be elided (as expected
+ with SGML parsers).
+
+ </para>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="gentext"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.inputenc"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="text()" name="text">
+ <xsl:call-template name="trim-outer">
+ <xsl:with-param name="string">
+ <xsl:choose>
+ <xsl:when test="ancestor::literal|ancestor::filename|ancestor::userinput|ancestor::systemitem|ancestor::prompt|ancestor::email|ancestor::sgmltag">
+ <xsl:call-template name="scape-verbatim">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="scape">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <!--
+ <xsl:template match="abbrev/text()">
+ <xsl:variable name="string">
+ <xsl:call-template name="text"/>
+ </xsl:variable>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="to">.\ </xsl:with-param>
+ <xsl:with-param name="from">. </xsl:with-param>
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:template>
+ -->
+
+ <doc:template match="text()" mode="xref.text" xmlns="">
+ <refpurpose>Process <literal>text()</literal> nodes</refpurpose>
+ <doc:description>
+ <para>
+
+ Handles regular text content (i.e. <literal>#PCDATA</literal>)
+ from &docbook; documents when they are forming the displayed
+ text of an <doc:db>xref</doc:db>.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ &latex; active characters will be escaped using the <xref
+ linkend="template.scape"/> template.
+
+ </para>
+ <para>
+
+ In all cases, interior whitespace will be normalised according
+ to the XSLT specification with the additional feature that
+ leading and trailing whitespace will be elided (as expected
+ with SGML parsers).
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="text()" mode="xref.text">
+ <xsl:call-template name="trim-outer">
+ <xsl:with-param name="string">
+ <xsl:call-template name="scape">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template match="text()" mode="xref-to" xmlns="">
+ <refpurpose>Process <literal>text()</literal> nodes</refpurpose>
+ <doc:description>
+ <para>
+
+ Handles regular text content (i.e. <literal>#PCDATA</literal>)
+ from &docbook; documents when they are forming the displayed
+ text of an <doc:db>xref</doc:db>.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ &latex; active characters will be escaped using the <xref
+ linkend="template.scape"/> template.
+
+ </para>
+ <para>
+
+ In all cases, interior whitespace will be normalised according
+ to the XSLT specification with the additional feature that
+ leading and trailing whitespace will be elided (as expected
+ with SGML parsers).
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="text()" mode="xref-to">
+ <xsl:call-template name="trim-outer">
+ <xsl:with-param name="string">
+ <xsl:call-template name="scape">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template match="text()" mode="latex.verbatim" xmlns="">
+ <refpurpose>Process <literal>text()</literal> nodes</refpurpose>
+ <doc:description>
+ <para>
+
+ Handles regular text content (i.e. <literal>#PCDATA</literal>)
+ from &docbook; documents with they occur within certain
+ <quote>verbatim</quote>-mode elements.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <variablelist>
+ <varlistentry>
+ <term><xref linkend="param.latex.trim.verbatim"/></term>
+ <listitem><simpara>
+ When this variable is enabled, leading and trailing whitespace
+ will be elided. Otherwise, all text is used verbatim.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ Unlike other <literal>text()</literal> templates, &latex;
+ characters are not escaped by this template. This will result
+ in invalid output in some instances. However, it is currently
+ necessary for <quote>verbatim</quote>-mode support. Whitespace
+ is neither normalised nor elided.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="text()" mode="latex.verbatim">
+ <xsl:choose>
+ <xsl:when test="$latex.trim.verbatim=1">
+ <xsl:call-template name="trim.verbatim"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template match="text()" mode="slash.hyphen" xmlns="">
+ <refpurpose>Process <literal>text()</literal> nodes</refpurpose>
+ <doc:description>
+ <para>
+
+ Handles URL text content from &docbook; documents.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ This template is only used by <xref
+ linkend="template.generate.string.url"/> and only when <xref
+ linkend="param.latex.hyphenation.tttricks"/> is disabled.
+ &latex; active characters will be escaped or hyphenated in a
+ fashion that is tailored for URLs via
+ <xref linkend="template.scape.slash.hyphen"/>.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="text()" mode="slash.hyphen">
+ <xsl:call-template name="trim-outer">
+ <xsl:with-param name="string">
+ <xsl:call-template name="scape.slash.hyphen">
+ <xsl:with-param name="string" select="." />
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template name="trim-outer" xmlns="">
+ <refpurpose>Whitespace Normalization and Discretionary Elision</refpurpose>
+ <doc:description>
+ <para>
+
+ This template is used by various <literal>text()</literal>
+ templates to normalise interior whitespace and trim whitespace
+ that occurs at the start or end of a &docbook; element's
+ content.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>string</term>
+ <listitem><simpara>The text to be processed.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ The template is normally called when the context node is within
+ a &docbook; document. The elision of leading or trailing
+ whitespace is dependent on values of the XPath functions
+ <function condition="xpath">position()</function> and <function
+ condition="xpath">last()</function>. This is similar to the
+ handling of whitespace by SGML parsers and allows authors to
+ format their XML documents with <quote>pretty</quote>
+ indentation without causing spurious whitespace in &latex;.
+
+ </para>
+ <para>
+
+ In all cases, interiour whitespace will be normalised with the
+ XPath <function condition="xpath">normalize-space()</function>
+ function. This is necessary to prevent blank-line problems in
+ &latex;.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="trim-outer">
+ <xsl:param name="string"/>
+ <xsl:variable name="trimleft" select="position()=1"/>
+ <xsl:variable name="trimright" select="position()=last()"/>
+ <xsl:choose>
+ <xsl:when test="$trimleft and not($trimright)">
+ <xsl:value-of select="substring-before(normalize-space(concat($string,'$$')),'$$')"/>
+ </xsl:when>
+ <xsl:when test="$trimright and not($trimleft)">
+ <xsl:value-of select="substring-after(normalize-space(concat('$$',$string)),'$$')"/>
+ </xsl:when>
+ <xsl:when test="$trimleft and $trimright">
+ <xsl:value-of select="normalize-space($string)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="substring-after(substring-before(normalize-space(concat('$$',$string,'$$$')),'$$$'),'$$')"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template name="scape.slash.hyphen" xmlns="">
+ <refpurpose>Process URL text</refpurpose>
+ <doc:description>
+ <para>
+
+ Escapes or hyphenates &latex; active characters is URLs.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>string</term>
+ <listitem><simpara>The URL text to be processed.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ This template is called by <xref
+ linkend="template.text()-slash.hyphen"/>. Text will be escaped
+ and hyphenated by the <xref linkend="template.scape-slash"/>
+ template, except that any portion up to <literal>://</literal>
+ will not be treated specially.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="scape.slash.hyphen">
+ <xsl:param name="string" />
+ <xsl:choose>
+ <xsl:when test="contains($string,'://')">
+ <xsl:call-template name="scape-slash">
+ <xsl:with-param name="string">
+ <xsl:value-of select="substring-before($string,'://')"/>
+ <xsl:value-of select="'://'"/>
+ <xsl:call-template name="scape">
+ <xsl:with-param name="string" select="substring-after($string,'://')"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="scape-slash">
+ <xsl:with-param name="string">
+ <xsl:call-template name="scape">
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template name="normalize-scape" xmlns="">
+ <refpurpose>Character Escaping and Whitespace Normalization</refpurpose>
+ <doc:description>
+ <para>
+
+ This template is used by various templates to escape &latex;
+ active characters and to normalise whitespace.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>string</term>
+ <listitem><simpara>The text to be processed.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ This template will call the <xref linkend="template.scape"/>
+ template and process its output with the XPath
+ <function condition="xpath">normalize-space</function>
+ function.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="normalize-scape">
+ <xsl:param name="string"/>
+ <xsl:variable name="result">
+ <xsl:call-template name="scape">
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:value-of select="normalize-space($result)"/>
+ </xsl:template>
+
+ <doc:template name="string-replace" xmlns="">
+ <refpurpose>Search-and-replace</refpurpose>
+ <doc:description>
+ <para>
+
+ This template performs search-and-replace to modify all
+ instances of a substring.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>string</term>
+ <listitem><simpara>The text to be searched.</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>from</term>
+ <listitem><simpara>The text (substring) to be replaced.</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>to</term>
+ <listitem><simpara>The text that replaces the <literal>from</literal> text.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ This template will search within the <literal>string</literal>
+ text for all occurrences of <literal>from</literal> and replace
+ them with the <literal>to</literal> text.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="string-replace">
+ <xsl:param name="string"/>
+ <xsl:param name="from"/>
+ <xsl:param name="to"/>
+
+ <xsl:choose>
+ <xsl:when test="contains($string, $from)">
+
+ <xsl:variable name="before" select="substring-before($string, $from)"/>
+ <xsl:variable name="after" select="substring-after($string, $from)"/>
+ <xsl:variable name="prefix" select="concat($before, $to)"/>
+
+ <xsl:value-of select="$before"/>
+ <xsl:value-of select="$to"/>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="string" select="$after"/>
+ <xsl:with-param name="from" select="$from"/>
+ <xsl:with-param name="to" select="$to"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$string"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <!--
+ (c) David Carlisle
+ replace all occurences of the character(s) `from'
+ by the string `to' in the string `string'.
+ <xsl:template name="string-replace" >
+ <xsl:param name="string"/>
+ <xsl:param name="from"/>
+ <xsl:param name="to"/>
+ <xsl:choose>
+ <xsl:when test="contains($string,$from)">
+ <xsl:value-of select="substring-before($string,$from)"/>
+ <xsl:value-of select="$to"/>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="string" select="substring-after($string,$from)"/>
+ <xsl:with-param name="from" select="$from"/>
+ <xsl:with-param name="to" select="$to"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$string"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+ -->
+
+ <xsl:template name="trim.verbatim">
+ <xsl:variable name="before" select="preceding-sibling::node()"/>
+ <xsl:variable name="after" select="following-sibling::node()"/>
+
+ <xsl:variable name="conts" select="."/>
+
+ <xsl:variable name="contsl">
+ <xsl:choose>
+ <xsl:when test="count($before) = 0">
+ <xsl:call-template name="remove-lf-left">
+ <xsl:with-param name="astr" select="$conts"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$conts"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="contslr">
+ <xsl:choose>
+ <xsl:when test="count($after) = 0">
+ <xsl:call-template name="remove-ws-right">
+ <xsl:with-param name="astr" select="$contsl"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$contsl"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:value-of select="$contslr"/>
+ </xsl:template>
+
+ <xsl:template name="remove-lf-left">
+ <xsl:param name="astr"/>
+ <xsl:choose>
+ <xsl:when test="starts-with($astr,'&#xA;') or
+ starts-with($astr,'&#xD;') or
+ starts-with($astr,'&#x20;') or
+ starts-with($astr,'&#x9;')">
+ <xsl:call-template name="remove-lf-left">
+ <xsl:with-param name="astr" select="substring($astr, 2)"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$astr"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="remove-ws-right">
+ <xsl:param name="astr"/>
+ <xsl:variable name="last-char">
+ <xsl:value-of select="substring($astr, string-length($astr), 1)"/>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="($last-char = '&#xA;') or
+ ($last-char = '&#xD;') or
+ ($last-char = '&#x20;') or
+ ($last-char = '&#x9;')">
+ <xsl:call-template name="remove-ws-right">
+ <xsl:with-param name="astr" select="substring($astr, 1, string-length($astr) - 1)"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$astr"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/para.mod.xsl b/docs/xslt/db2latex-xsl/xsl/para.mod.xsl
new file mode 100644
index 0000000000..13af7da4af
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/para.mod.xsl
@@ -0,0 +1,221 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: para.mod.xsl,v 1.16 2004/01/13 14:17:45 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
+|
+| PURPOSE:
++ ############################################################################## -->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+
+ <!--############################################################################# -->
+ <!-- DOCUMENTATION -->
+ <doc:reference id="para" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: para.mod.xsl,v 1.16 2004/01/13 14:17:45 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.8">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Paragraphs <filename>para.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>para.mod.xsl</filename> contains the
+ XSL template for <doc:db>para</doc:db>, <doc:db>simpara</doc:db> and <doc:db>formalpara</doc:db>.</para>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.parskip"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.formalpara.title.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Use normal paragraph spacing instead of parskip spacing</refpurpose>
+ <doc:description>
+ <para>
+ Uses <function condition="latex">docbooktolatexnoparskip</function>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.parskip"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ &essential_preamble;
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="latex.noparskip">
+ <xsl:if test="$latex.use.parskip=1">
+ <xsl:text>\docbooktolatexnoparskip&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Use parkip spacing, if user desires it</refpurpose>
+ <doc:description>
+ <para>
+ Uses <function condition="latex">docbooktolatexrestoreparskip</function>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.parskip"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ &essential_preamble;
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="latex.restoreparskip">
+ <xsl:if test="$latex.use.parskip=1">
+ <xsl:text>\docbooktolatexrestoreparskip&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template basename="para" match="para|simpara" xmlns="">
+ <refpurpose>Process <doc:db>para</doc:db> and <doc:db>simpara</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Starts new lines above and below its contents.
+ Thus, consecutive <doc:db basename="para">paras</doc:db> will have
+ one blank line between them.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.parskip"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>In &latex;, there is no distinction between <doc:db>para</doc:db> and <doc:db>simpara</doc:db>.</para>
+ <para>The accuracy of block elements within <sgmltag basename="para">paras</sgmltag> is unknown.</para>
+ <para><doc:todo>The use of <sgmltag>para</sgmltag> within <doc:db basename="footnote">footnotes</doc:db> is unproven.</doc:todo></para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_blocks;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.para-noline"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="para|simpara">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template match="formalpara" xmlns="">
+ <refpurpose>Process <doc:db>formalpara</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Starts new lines above and below its contents.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara>The <doc:db>title</doc:db> is typeset using <xref linkend="param.latex.formalpara.title.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>The accuracy of block elements within <doc:db basename="formalpara">formalparas</doc:db> is unknown.</para>
+ <para><doc:todo>The use of <sgmltag>formalpara</sgmltag> within <doc:db basename="footnote">footnotes</doc:db> is unproven.</doc:todo></para>
+ <para>Calls <xref linkend="template.generate.formalpara.title.delimiter"/>.</para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_blocks;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="formalpara">
+ <xsl:text>&#10;{</xsl:text>
+ <xsl:value-of select="$latex.formalpara.title.style"/>
+ <xsl:text>{{</xsl:text>
+ <xsl:apply-templates select="title"/>
+ <xsl:text>}</xsl:text>
+ <xsl:call-template name="generate.formalpara.title.delimiter"/>
+ <xsl:text>}}\ </xsl:text>
+ <xsl:apply-templates select="node()[not(self::title)]"/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Delimite a <doc:db>formalpara</doc:db>'s <doc:db>title</doc:db> from its <doc:db>para</doc:db></refpurpose>
+ <doc:description>
+ <para>
+ Emits a full stop (period).
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ This template can be used to emit any &LaTeX; sequence that you
+ desire. You can make the appearance be conditional upon some
+ attribute or document location, for instance. However, a
+ 'space' will <emphasis>always</emphasis> be generated between
+ this delimiter and the subsequent <doc:db>para</doc:db>
+ contents.
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="generate.formalpara.title.delimiter">
+ <xsl:text>.</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="para" xmlns="">
+ <refpurpose>Suppressed paragraphs</refpurpose>
+ <doc:description>
+ <para>
+ These paragraphs are not separated like normal paragraphs.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>This template exists to handle &latex; problems with
+ <function condition="latex">par</function> in certain contexts. <doc:todo>These
+ problems should be periodically reviewed by the &db2latex; team.</doc:todo></para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_blocks;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="textobject/para|step/para|entry/para|question/para" name="para-noline">
+ <xsl:if test="position()&gt;1">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:apply-templates/>
+ <xsl:if test="position()&lt;last()">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/param-common.mod.xsl b/docs/xslt/db2latex-xsl/xsl/param-common.mod.xsl
new file mode 100644
index 0000000000..dd77a9a4a5
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/param-common.mod.xsl
@@ -0,0 +1,381 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--############################################################################
+| $Id: param-common.mod.xsl,v 1.12 2004/01/26 13:25:17 j-devenish Exp $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="param-common" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: param-common.mod.xsl,v 1.12 2004/01/26 13:25:17 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.1">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Parameters: Common Options <filename>param-common.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ This file contains parameters that are shared with other XSL
+ stylesheets such as those as <ulink
+ url="http://docbook.sourceforge.net"/> (see <citetitle>Parameter
+ References</citetitle> in the <ulink
+ url="http://docbook.sourceforge.net/release/xsl/current/doc/reference.html">DocBook
+ XSL Stylesheet Reference Documentation</ulink>). These are
+ parameters are honoured so that you can coordinate your XHTML or FO
+ stylesheets with &DB2LaTeX;.
+
+ </para>
+ <note>
+ <para>
+
+ In some stylesheets, tests of parameter values use
+ <quote>!=0</quote> logic. However, &DB2LaTeX; uses
+ <quote>=1</quote> logic. This means that empty parameters are
+ <quote>off</quote> in &DB2LaTeX; but <quote>on</quote> in those
+ other stylesheets. The <ulink
+ url="http://www.w3.org">XPath</ulink> values
+ <quote>true()</quote> and <quote>false()</quote> work as
+ expected.
+
+ </para>
+ </note>
+ </partintro>
+ </doc:reference>
+
+ <doc:param xmlns="">
+ <refpurpose> &LaTeX; location for admonition graphics </refpurpose>
+ <doc:description>
+ <para>The file path that will be passed to &LaTeX; in order to find admonition graphics.</para>
+ <para>An empty value suppresses the use of admonition graphics.</para>
+ <para>If your figures are in <quote>the current directory</quote> then use a value of
+ <quote>.</quote> (i.e. the full stop or period on its own) to signify this.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="admon.graphics.path">
+ <xsl:choose>
+ <xsl:when test="$latex.admonition.path!=''">
+ <xsl:message>Warning: $latex.admonition.path is deprecated: use $admon.graphics.path instead</xsl:message>
+ <xsl:value-of select="$latex.admonition.path"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>figures</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:param name="latex.admonition.path"/>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the escaping of <doc:db>alt</doc:db> text </refpurpose>
+ <doc:description>
+ <para>
+
+ Text within <doc:db>alt</doc:db> elements <!--within equation-type
+ elements--> is assumed to be valid &LaTeX; and is passed through
+ unescaped by default (though you should set its value to
+ <quote>plain</quote> or <quote>latex</quote>, which are considered
+ confirmative and equivalent by &DB2LaTeX;). If this is not
+ appropriate for your document, set this variable to the empty
+ value. If you use an explicit <sgmltag
+ class="attribute">role</sgmltag> attribute with the values
+ <quote>latex</quote> or <quote>tex</quote>, you need not concern
+ yourself with this variable. Alt text within equation-type
+ elements is currently assumed to be valid &LaTeX; regardless
+ of this variable (this is probably a bug!).
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="tex.math.in.alt">
+ <xsl:if test="$latex.alt.is.latex!=''">
+ <xsl:message>Warning: $latex.alt.is.latex is deprecated: use $tex.math.in.alt instead</xsl:message>
+ <xsl:if test="$latex.alt.is.latex=1">
+ <xsl:text>latex</xsl:text>
+ </xsl:if>
+ </xsl:if>
+ </xsl:param>
+ <xsl:param name="latex.alt.is.latex"/>
+
+ <doc:param xmlns="">
+ <refpurpose> Display <doc:db>remark</doc:db> and <doc:db>comment</doc:db> elements? </refpurpose>
+ <doc:description>
+ <para>
+
+ Enables or disables the display of <doc:db basename="comment">comments</doc:db> and <doc:db basename="remark">remarks</doc:db>.
+ By default, this is equal to <xref linkend="param.latex.is.draft"/>.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="show.comments">
+ <xsl:value-of select="$latex.is.draft"/>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the display of <doc:db>othername</doc:db> elements in <doc:db basename="author">authors</doc:db> </refpurpose>
+ <doc:description>
+ <para>
+
+ When disabled, <doc:db>othername</doc:db> elements will be suppressed when
+ <doc:db>author</doc:db> elements are formatted.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="author.othername.in.middle" select="1"/>
+
+ <doc:param xmlns="">
+ <refpurpose> Separator for bibliography items </refpurpose>
+ <doc:description>
+ <para><doc:todo>This parameter is under review.</doc:todo></para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="biblioentry.item.separator">, </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Cull table-of-contents entries that are deeply nested </refpurpose>
+ <doc:description>
+ <para>Specifies the maximum depth before sections are omitted from the table of contents.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="toc.section.depth">4</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the automatic numbering of section, parts, and chapters </refpurpose>
+ <doc:description>
+ <para>
+ Specifies the maximum depth before sections cease to be uniquely numbered.
+ This is passed to &LaTeX; using the <literal>secnumdepth</literal> counter.
+ Therefore, it is possible to use a value of <quote>0</quote> (zero) to disable section numbering.
+ A value of <quote>-1</quote> will disable the numbering of parts and chapters, too.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="section.depth">4</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Default filename extension for <function condition="latex">includegraphics</function> </refpurpose>
+ <doc:description>
+ <para>
+ Specify the &LaTeX; search parameters for graphics filenames.
+ If empty, &DB2LaTeX; will specify some explicit defaults.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="graphic.default.extension"/>
+
+ <doc:param xmlns="">
+ <refpurpose> Control <sgmltag class="element">mediaobject</sgmltag> selection methods </refpurpose>
+ <doc:description>
+ <para>
+
+ This controls how &DB2LaTeX; behaves when a <doc:db>figure</doc:db>
+ contains multiple <doc:db
+ basename="mediaobject">mediaobjects</doc:db>. When enabled,
+ &DB2LaTeX; will prefer the <sgmltag>mediaobject</sgmltag> with the
+ <quote>latex</quote>, <quote>tex</quote> or <xref
+ linkend="param.preferred.mediaobject.role"/> role, if any.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="use.role.for.mediaobject">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control <sgmltag class="element">mediaobject</sgmltag> selection methods </refpurpose>
+ <doc:description>
+ <para>
+
+ When <xref linkend="param.use.role.for.mediaobject"/> is enabled,
+ this variable can be used to specify the
+ <doc:db>mediaobject</doc:db> <sgmltag
+ class="attribute">role</sgmltag> that your document uses for
+ &LaTeX; output. &DB2LaTeX; will try to use this role before using
+ the <quote>latex</quote> or <quote>tex</quote> roles. For example,
+ some authors may choose to set this to
+ <quote><literal>pdf</literal></quote>.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="preferred.mediaobject.role"/>
+
+ <doc:param xmlns="">
+ <refpurpose> Specifies where formal component titles should occur </refpurpose>
+ <doc:description>
+ <para>
+
+ Titles for the formal object types (figure, example, quation,
+ table, and procedure) can be placed before or after those
+ objects. The keyword <quote>before</quote> is recognised. All
+ other strings qualify as <quote>after</quote>.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="formal.title.placement">
+ figure not_before
+ example before
+ equation not_before
+ table before
+ procedure before
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the appearance of page numbers in cross references </refpurpose>
+ <doc:description>
+ <para>
+
+ When enabled, <doc:db basename="xref">xrefs</doc:db> will
+ include page numbers after their generated cross-reference
+ text.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="insert.xref.page.number">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the display of URLs after <doc:db basename="ulink">ulinks</doc:db> </refpurpose>
+ <doc:description>
+ <para>
+
+ When this option is enabled, and a ulink has a URL that is different
+ from the displayed content, the URL will be typeset after the content.
+ If the URL and content are identical, only one of them will appear.
+ Otherwise, the URL is hyperlinked and the content is not.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="ulink.show">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the generation of footnotes for ulinks </refpurpose>
+ <doc:description>
+ <para>
+
+ When this option is enabled, a <doc:db>ulink</doc:db> that has
+ content different to its URL will have an associated footnote. The
+ contents of the footnote will be the URL. If the ulink is within a
+ <doc:db>footnote</doc:db>, the URL is shown after the content.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="ulink.footnotes">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Honour role as proxy for xrefstyle </refpurpose>
+ <doc:description>
+ <para>
+
+ The <sgmltag class="attribute">xrefstyle</sgmltag> attribute is not
+ yet part of &DocBook; so the <sgmltag
+ class="attribute">role</sgmltag> attribute can be used until
+ xrefstyle is available for <doc:db>xref</doc:db> elements.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="use.role.as.xrefstyle">0</xsl:param>
+
+ <xsl:variable name="default-classsynopsis-language">java</xsl:variable>
+ <doc:param xmlns="">
+ <refpurpose> Choose whether to include <doc:db>manvolnum</doc:db> in cross-references </refpurpose>
+ <doc:description>
+ <para>
+
+ When this option is enabled, <doc:db
+ basename="manvolnum">manvolnums</doc:db> will be displayed when
+ cross-referencing <doc:db
+ basename="refentry">refentries</doc:db>.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="refentry.xref.manvolnum" select="1"/>
+ <xsl:variable name="funcsynopsis.style">kr</xsl:variable>
+ <xsl:variable name="funcsynopsis.decoration" select="1"/>
+ <xsl:variable name="function.parens">0</xsl:variable>
+ <doc:param xmlns="">
+ <refpurpose> Control the use of NAME headers </refpurpose>
+ <doc:description>
+ <para>
+
+ See <ulink url="http://docbook.sourceforge.net/release/xsl/current/doc/fo/refentry.generate.name.html"/>.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="refentry.generate.name" select="1"/>
+ <xsl:param name="glossentry.show.acronym" select="'no'"/>
+
+ <xsl:variable name="section.autolabel" select="1"/>
+ <xsl:variable name="section.label.includes.component.label" select="0"/>
+ <xsl:variable name="chapter.autolabel" select="1"/>
+ <xsl:variable name="preface.autolabel" select="0"/>
+ <xsl:variable name="part.autolabel" select="1"/>
+ <xsl:variable name="qandadiv.autolabel" select="1"/>
+ <xsl:variable name="autotoc.label.separator" select="'. '"/>
+ <xsl:variable name="qanda.inherit.numeration" select="1"/>
+ <xsl:variable name="qanda.defaultlabel">number</xsl:variable>
+
+ <xsl:param name="punct.honorific" select="'.'"/>
+ <xsl:param name="stylesheet.result.type" select="'xhtml'"/>
+ <xsl:param name="use.svg" select="0"/>
+ <xsl:param name="formal.procedures" select="1"/>
+ <xsl:param name="xref.with.number.and.title" select="1"/>
+ <xsl:param name="xref.label-title.separator">: </xsl:param>
+ <xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param>
+ <xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param>
+ <xsl:template name="is.graphic.extension">
+ <xsl:message terminate="yes">Logic error: is.graphic.extension is unsupported.</xsl:message>
+ </xsl:template>
+ <xsl:template name="is.graphic.format">
+ <xsl:message terminate="yes">Logic error: is.graphic.format is unsupported.</xsl:message>
+ </xsl:template>
+ <xsl:template name="lookup.key">
+ <xsl:message terminate="yes">Logic error: lookup.key is unsupported.</xsl:message>
+ </xsl:template>
+ <xsl:variable name="check.idref">1</xsl:variable>
+
+ <doc:param xmlns="">
+ <refpurpose> Process only one element tree within a document </refpurpose>
+ <doc:description>
+ <para>
+
+ When this variable is non-empty, it is interpreted as the ID of
+ an element that should be typeset by &DB2LaTeX;. The element's
+ children, but none of its siblings or ancestors, will be
+ processed as per normal. When the root element is a
+ <doc:db>book</doc:db> or <doc:db>article</doc:db>, that
+ component will have its normal infrastructure (including
+ <doc:db>bookinfo</doc:db> or <doc:db>articleinfo</doc:db>)
+ processed before the <quote>rootid</quote> element.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="rootid" select="''"/>
+
+ <!--
+ <xsl:variable name="link.mailto.url"></xsl:variable>
+ <xsl:variable name="toc.list.type">dl</xsl:variable>
+ -->
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/param-direct.mod.xsl b/docs/xslt/db2latex-xsl/xsl/param-direct.mod.xsl
new file mode 100644
index 0000000000..e31b3dfb34
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/param-direct.mod.xsl
@@ -0,0 +1,589 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--############################################################################
+| $Id: param-direct.mod.xsl,v 1.7 2004/01/31 11:05:05 j-devenish Exp $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="param-direct" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: param-direct.mod.xsl,v 1.7 2004/01/31 11:05:05 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.1">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Parameters: &LaTeX;-direct Strings <filename>param-direct.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ The values of the parameters in this file will be passed
+ directly to &LaTeX;.
+ All parameter names begin with <quote>latex.</quote>.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX document class </refpurpose>
+ <doc:description>
+ <para>
+ This variable is normally empty and the stylesheets will determine
+ the correct document class according to whether the document is a
+ book or an article. If you wish to use your own document class,
+ put its non-empty value in this variable. It will apply for both
+ books and articles.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.documentclass"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> The <literal>\maketitle</literal> for books and articles. </refpurpose>
+ <doc:description>
+ <para>Some users may wish to override or eliminate <literal>\maketitle</literal>.</para>
+ <note><para>Does not apply to <sgmltag class="element">article</sgmltag>s within <sgmltag class="element">book</sgmltag>s.</para></note>
+ <para>By default, uses LaTeX <literal>\maketitle</literal> with the 'empty' pagestyle
+ for the first page. The page style of subsequent pages is determined by
+ <xref linkend="template.generate.latex.pagestyle"/>.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.maketitle">
+ <xsl:text>{\maketitle</xsl:text>
+ <xsl:call-template name="generate.latex.pagestyle"/>
+ <xsl:text>\thispagestyle{empty}}&#10;</xsl:text>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Undocumented </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.article.preamble.pre">
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Undocumented </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.article.preamble.post">
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Controls what is output after the LaTeX preamble. </refpurpose>
+ <doc:description>
+ <para>Default values decrease edge margins and allow a large quantity of figures to be set on each page. </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.article.varsets">
+ <xsl:text><![CDATA[
+\usepackage{anysize}
+\marginsize{2cm}{2cm}{2cm}{2cm}
+\renewcommand\floatpagefraction{.9}
+\renewcommand\topfraction{.9}
+\renewcommand\bottomfraction{.9}
+\renewcommand\textfraction{.1}
+]]>
+ </xsl:text>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Undocumented </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.book.preamble.pre">
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Undocumented </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.book.preamble.post">
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>
+ All purpose commands to change text width, height, counters, etc.
+ Defaults to a two-sided margin layout.
+ </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.book.varsets">
+ <xsl:text>\usepackage{anysize}&#10;</xsl:text>
+ <xsl:text>\marginsize{3cm}{2cm}{1.25cm}{1.25cm}&#10;</xsl:text>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>
+ Begin document command
+ </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.book.begindocument">
+ <xsl:text>\begin{document}&#10;</xsl:text>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>
+ LaTeX code that is output after the author (e.g.
+ <literal>\makeindex, \makeglossary</literal>
+ </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.book.afterauthor">
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>\makeindex&#10;</xsl:text>
+ <xsl:text>\makeglossary&#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ </xsl:param>
+
+ <doc:template xmlns="">
+ <refpurpose> Format the output of tabular headings. </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="latex.thead.row.entry">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Format the output of tabular footers. </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="latex.tfoot.row.entry">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of article titles </refpurpose>
+ <doc:description>
+ <para>This is passed directly to &LaTeX;. Typically,
+ it is either a \command or an empty string.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.article.title.style">\textbf</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of article titles within books </refpurpose>
+ <doc:description>
+ <para>This is passed directly to &LaTeX;. Typically,
+ it is either a \command or an empty string.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.book.article.title.style">\Large\textbf</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of authors and dates within a book's articles </refpurpose>
+ <doc:description>
+ <para>This is passed directly to &LaTeX;. Typically,
+ it is either a \command or an empty string.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.book.article.header.style">\textsf</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of equation captions </refpurpose>
+ <doc:description>
+ <para>Figure captions are typeset in the default typeface (usually 'roman') but if
+ this option is set to a LaTeX command, such as <literal>\textit</literal>, then
+ that command will precede the caption and it will be typeset accordingly.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.equation.caption.style"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of example captions </refpurpose>
+ <doc:description>
+ <para>Figure captions are typeset in the default typeface (usually 'roman') but if
+ this option is set to a LaTeX command, such as <literal>\textit</literal>, then
+ that command will precede the caption and it will be typeset accordingly.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.example.caption.style"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of figure captions </refpurpose>
+ <doc:description>
+ <para>Figure captions are typeset in the default typeface (usually 'roman') but if
+ this option is set to a LaTeX command, such as <literal>\textit</literal>, then
+ that command will precede the caption and it will be typeset accordingly.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.figure.caption.style"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of figure titles </refpurpose>
+ <doc:description>
+ <para>Figure titles are typeset in the default typeface (usually 'roman') but if
+ this option is set to a LaTeX command, such as <literal>\textit</literal>, then
+ that command will precede the title and it will be typeset accordingly.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.figure.title.style"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of equation captions </refpurpose>
+ <doc:description>
+ <para>The titles of <doc:db basename="formalpara">formalparas</doc:db> are typeset in the bold typeface by default.
+ This parameter can be set to an alternative &latex; command, such as <function condition="latex">textit</function> (or empty).</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.formalpara.title.style">\textbf</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of list titles </refpurpose>
+ <doc:description>
+ <para>List titles are typeset in small caps but if
+ this option is set to a LaTeX command, such as <literal>\textit</literal>, then
+ that command will precede the title and it will be typeset accordingly.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.list.title.style">\sc</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of procedure titles </refpurpose>
+ <doc:description>
+ <para>Procedure titles are typeset in small caps but if
+ this option is set to a LaTeX command, such as <literal>\textit</literal>, then
+ that command will precede the title and it will be typeset accordingly.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.procedure.title.style">\sc</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of segtitles </refpurpose>
+ <doc:description>
+ <para>This is passed directly to &LaTeX;. Typically,
+ it is either a \command or an empty string.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.segtitle.style">\em</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of step titles </refpurpose>
+ <doc:description>
+ <para>Step titles are typeset in small caps but if
+ this option is set to a LaTeX command, such as <literal>\textit</literal>, then
+ that command will precede the title and it will be typeset accordingly.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.step.title.style">\bf</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the style of table captions </refpurpose>
+ <doc:description>
+ <para>Figure captions are typeset in the default typeface (usually 'roman') but if
+ this option is set to a LaTeX command, such as <literal>\textit</literal>, then
+ that command will precede the caption and it will be typeset accordingly.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.table.caption.style"></xsl:param>
+
+ <xsl:param name="latex.fancyhdr.lh">Left Header</xsl:param>
+ <xsl:param name="latex.fancyhdr.ch">Center Header</xsl:param>
+ <xsl:param name="latex.fancyhdr.rh">Right Header</xsl:param>
+ <xsl:param name="latex.fancyhdr.lf">Left Footer</xsl:param>
+ <xsl:param name="latex.fancyhdr.cf">Center Footer</xsl:param>
+ <xsl:param name="latex.fancyhdr.rf">Right Footer</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Override DB2LaTeX's choice of LaTeX page numbering style </refpurpose>
+ <doc:description>
+ <para>By default, DB2LaTeX will choose the 'plain' or 'fancy' page styles,
+ depending on <xref linkend="param.latex.use.fancyhdr"/>. If non-empty, this
+ variable overrides the automatic selection. An example would be the literal
+ string 'empty', to eliminate headers and page numbers.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.pagestyle"/>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX hyperref options</refpurpose>
+ <doc:description>
+ <para>
+ In addition to this variable, you can specify additional options using
+ <literal>latex.hyperref.param.pdftex</literal> or <literal>latex.hyperref.param.dvips</literal>.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.hyperref.param.common">bookmarksnumbered,colorlinks,backref,bookmarks,breaklinks,linktocpage,plainpages=false</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX hyperref options for pdfTeX output</refpurpose>
+ <doc:description>
+ <para>
+ See the hyperref documentation for further information.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.hyperref.param.pdftex">pdfstartview=FitH</xsl:param>
+ <!--
+ what is the unicode option?
+ -->
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX hyperref options for dvips output</refpurpose>
+ <doc:description>
+ <para>
+ See the hyperref documentation for further information.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.hyperref.param.dvips"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Options for the <productname>varioref</productname> LaTeX package</refpurpose>
+ <doc:description><para>Support index generation.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.varioref.options">
+ <xsl:if test="$latex.language.option!='none'">
+ <xsl:value-of select="$latex.language.option" />
+ </xsl:if>
+ </xsl:param>
+
+ <doc:template name="latex.vpageref.options" xmlns="">
+ <refpurpose>Toggle the use of the <productname>varioref</productname> LaTeX package</refpurpose>
+ <doc:description><para>Support index generation.</para></doc:description>
+ </doc:template>
+ <xsl:template name="latex.vpageref.options">on this page</xsl:template>
+
+ <doc:param xmlns="">
+ <refpurpose>Choose indentation for tabs in verbatim environments</refpurpose>
+ <doc:description><para>When <xref linkend="param.latex.use.fancyvrb"/> is enabled,
+ this variable sets the width of a tab in terms of an equivalent number of spaces.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.fancyvrb.tabsize">3</xsl:param>
+
+ <doc:template name="latex.fancyvrb.options" xmlns="">
+ <refpurpose>Insert <productname>LaTeX</productname> options for <productname>fancyvrb</productname> Verbatim environments</refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="latex.fancyvrb.options"/>
+
+ <doc:param xmlns="">
+ <refpurpose>Control the use of the <productname>inputenc</productname> LaTeX package</refpurpose>
+ <doc:description>
+ <para>
+ If this option is non-empty, the <productname>inputenc</productname> package
+ will be used with the specified encoding. This should agree with the your driver
+ file. For example, the default value of <literal>latin1</literal>
+ is compatible with <filename>docbook.xsl</filename>, which contains
+ <literal><![CDATA[<xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>]]></literal>
+ </para>
+ <para>
+ If this option is empty, the <productname>inputenc</productname> package
+ will not be invoked by <productname>DB2LaTeX</productname>.
+ </para>
+ <segmentedlist>
+ <title>Common Combinations</title>
+ <segtitle>Output Encoding</segtitle><segtitle><productname>inputenc</productname> Option</segtitle>
+ <seglistitem><seg>ISO-8859-1</seg><seg>latin1</seg></seglistitem>
+ <seglistitem><seg>UTF-8</seg><seg>utf8<footnote><simpara>When used in conjunction with a package such as <ulink url="http://www.ctan.org/tools/cataloguesearch?action=/search/&amp;catstring=unicode"><productname>unicode</productname></ulink>.</simpara></footnote></seg></seglistitem>
+ </segmentedlist>
+ <para>
+ <productname>inputenc</productname> is a <productname>LaTeX</productname> base package.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.inputenc">latin1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Options for the <productname>fontenc</productname> package </refpurpose>
+ <doc:description>
+ <para> Undocumented. </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.fontenc"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Select the optional parameter(s) for the <productname>unicode</productname> LaTeX package</refpurpose>
+ <doc:description><para>See the <productname>unicode</productname> documentation for details.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.ucs.options"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Select the optional parameter for the <productname>babel</productname> LaTeX package</refpurpose>
+ <doc:description>
+ <para>See the <productname>babel</productname> documentation for details.</para>
+ <para>Although DB2LaTeX will try to choose the correct babel options for your
+ document, you may need to specify the correct choice here. The special value
+ of 'none' (without the quotes) will cause DB2LaTeX to skip babel configuration.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.babel.language"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Adjust bibliography formatting </refpurpose>
+ <doc:description>
+ <para>The environment bibliography accepts a parameter that indicates
+ the widest label, which is used to correctly format the bibliography
+ output. The value of this parameter is output inside the
+ <literal>\begin{thebibliography[]}</literal> LaTeX command.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.bibwidelabel">
+ <xsl:choose>
+ <xsl:when test="$latex.biblioentry.style='ieee' or $latex.biblioentry.style='IEEE'">
+ <xsl:text>123</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>WIDELABEL</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX document class options </refpurpose>
+ <doc:description>
+ <para>
+ These are the first options to be passed to <literal>\documentclass</literal>
+ (The common options are
+ <!--
+ set to <literal>french,english</literal>
+ -->
+ blank
+ by default.)
+ They will be augmented or superseded by article/book options (see $latex.documentclass.article and $latex.documentclass.book) and pdftex/dvips options (see $latex.documentclass.pdftex and $latex.documentclass.dvips).
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.documentclass.common"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX document class options for articles</refpurpose>
+ <doc:description>
+ <para>
+ The article options are set to <literal>a4paper,10pt,twoside,twocolumn</literal> by default.
+ These are the intermediate options to be passed to <literal>\documentclass</literal>,
+ between the common options and the pdftex/dvips options.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.documentclass.article">a4paper,10pt,twoside,twocolumn</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX document class options for books</refpurpose>
+ <doc:description>
+ <para>
+ The book options are set to <literal>a4paper,10pt,twoside,openright</literal> by default.
+ These are the intermediate options to be passed to <literal>\documentclass</literal>,
+ between the common options and the pdftex/dvips options.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.documentclass.book">a4paper,10pt,twoside,openright</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX document class options for pdfTeX output</refpurpose>
+ <doc:description>
+ <para>
+ The pdfTeX options are empty by default.
+ These are the last options to be passed to <literal>\documentclass</literal>
+ and override the common/article/book options.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.documentclass.pdftex"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX document class options for dvips output</refpurpose>
+ <doc:description>
+ <para>
+ The dvips options are empty by default.
+ These are the last options to be passed to <literal>\documentclass</literal>
+ and override the common/article/book options.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.documentclass.dvips"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX graphics admonitions size</refpurpose>
+ <doc:description>
+ <para>
+ Is passed as an optional parameter for <literal>\includegraphics</literal> and
+ can take on any such legal values (or be empty).
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.admonition.imagesize">width=1cm</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX allows using an (externally generated) cover page </refpurpose>
+ <doc:description>
+ <para>
+ You may supply a LaTeX file that will supersede DB2LaTeX's default
+ cover page or title. If the value of this variable is non-empty, the
+ generated LaTeX code includes \input{filename}. Otherwise, it uses the
+ \maketitle command.
+ </para>
+ <warning><para>
+ Bear in mind that using an external cover page breaks the
+ "encapsulation" of DocBook. Further revisions of these stylesheets
+ will add chunking support, and the automation of the cover file
+ generation.
+ </para></warning>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.titlepage.file">title</xsl:param>
+ <doc:param xmlns="">
+ <refpurpose> Document Font(s) </refpurpose>
+ <doc:description>
+ <para>
+ Document fonts can be chosen by providing &LaTeX; package names.
+ Common values include <literal>default</literal>, <literal>times</literal>, <literal>palatcm</literal>, <literal>charter</literal>, <literal>helvet</literal>, <literal>palatino</literal>, <literal>avant</literal>, <literal>newcent</literal> and <literal>bookman</literal>.
+ Particular combinations may also work. For example, <literal>mathptm,charter,courier</literal>.
+ </para>
+ <!--
+ If you want to change explicitly to a certain font, use the command \fontfamily{XYZ}\selectfont whereby XYZ can be set to: pag for Adobe AvantGarde, pbk for Adobe Bookman, pcr for Adobe Courier, phv for Adobe Helvetica, pnc for Adobe NewCenturySchoolbook, ppl for Adobe Palatino, ptm for Adobe Times Roman, pzc for Adobe ZapfChancery
+ -->
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.document.font">palatino</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Override DB2LaTeX's preamble with a custom preamble. </refpurpose>
+ <doc:description>
+ <para>
+ When this variable is set, the entire DB2LaTeX premable will be superseded.
+ <emphasis>You should not normally need or want to use this.</emphasis>
+ It may cause LaTeX typesetting problems. This is a last resort or
+ <quote>expert</quote> feature.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.override"></xsl:param>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/param-switch.mod.xsl b/docs/xslt/db2latex-xsl/xsl/param-switch.mod.xsl
new file mode 100644
index 0000000000..e0956967e3
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/param-switch.mod.xsl
@@ -0,0 +1,698 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--############################################################################
+| $Id: param-switch.mod.xsl,v 1.17 2004/01/31 11:52:31 j-devenish Exp $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="param-switch" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: param-switch.mod.xsl,v 1.17 2004/01/31 11:52:31 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.1">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Parameters: &DB2LaTeX; Switches <filename>param-switch.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ The values of parameters in this file are used to influence
+ the behaviour of &DB2LaTeX; templates through the selection
+ of pre-defined options.
+ All parameter names begin with <quote>latex.</quote>.
+
+ </para>
+ <note>
+ <para>
+
+ In some stylesheets, tests of parameter values use
+ <quote>!=0</quote> logic. However, &DB2LaTeX; uses
+ <quote>=1</quote> logic. This means that empty parameters are
+ <quote>off</quote> in &DB2LaTeX; but <quote>on</quote> in those
+ other stylesheets. The <ulink
+ url="http://www.w3.org">XPath</ulink> values
+ <quote>true()</quote> and <quote>false()</quote> work as
+ expected.
+
+ </para>
+ </note>
+ </partintro>
+ </doc:reference>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the display of <doc:db basename="caption">captions</doc:db> in lists of figures. </refpurpose>
+ <doc:description>
+ <para>
+ By default, lists of figures (see <xref linkend="template.lot"/>)
+ will include both figure <doc:db basename="title">titles</doc:db> and mediaobject <doc:db basename="caption">captions</doc:db>.
+ This is useful for readers, as they have a full description of each figure.
+ However, it is impractical for large documents because the list
+ of figures will occupy too many pages.
+ </para>
+ <para>
+ This variable, when set to '1', authorises DB2LaTeX to include
+ mediaobject captions in lists of figures. It is enabled by default.
+ When set to '0', lists of figures will contain only the
+ titles of figures.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.caption.lot.titles.only">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>
+ Control the output of the \bibliography{.bib}.
+ </refpurpose>
+ <doc:description>
+ <para>The value of this parameter is output.</para>
+ <para>An example is <quote><filename>citations.bib</filename></quote>,
+ if your BibTeX file has that name.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.bibfiles"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Controls the output of LaTeX packages and commands to support
+ documents with math commands and environments..</refpurpose>
+ <doc:description>
+ <para>If this parameter is set to 1, the stylesheets generate code to
+ <emphasis>DEFAULT: 1</emphasis> Only more code is generated.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.math.support">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Controls if the revision history table is generated as the first document
+ table.
+ </refpurpose>
+ <doc:description>
+ <para>If this parameter is set to 1, the stylesheets generate code to
+ <emphasis>DEFAULT: 1</emphasis> Only more code is generated.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.output.revhistory">1</xsl:param>
+
+ <doc:template name="latex.fancybox.options" xmlns="">
+ <refpurpose> Options for fancybox </refpurpose>
+ <doc:description>
+ <!--
+ <xsl:if test="@role">
+ <xsl:choose>
+ <xsl:when test="@role='small'">
+ <xsl:text>,fontsize=\small</xsl:text>
+ </xsl:when>
+ <xsl:when test="@role='large'">
+ <xsl:text>,fontsize=\large</xsl:text>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:if>
+ -->
+ <para>
+ <doc:todo>Undocumented.</doc:todo>
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="latex.fancybox.options">
+ </xsl:template>
+
+ <doc:param xmlns="">
+ <refpurpose> Controls the output of LaTeX commands to support the generation
+ of PDF files.</refpurpose>
+ <doc:description>
+ <para>If this parameter is set to 1, the stylesheets generate code to
+ detect if it is either <literal>latex</literal> or <literal>pdflatex</literal>
+ the shell command that is being used to compile the LaTeX text file. Some
+ packages (<literal>graphicx</literal>, <literal>hyperref</literal>) are used
+ with the right parameters. Finally, the graphic extensions declared, to use in
+ <literal>\includegraphics</literal> commands depends also on which command is
+ being used. If this parameter is set to zero, such code is not generated (which
+ does not mean that the file cannot compile with pdflatex, but some strange issues
+ may appear). <emphasis>DEFAULT: 1</emphasis> Only more code is generated.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.pdf.support">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Enable the generation of indexterms </refpurpose>
+ <doc:description><para>Support index generation.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.generate.indexterm">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> DB2LaTeX hyphenation linebreak tricks </refpurpose>
+ <doc:description>
+ <para>
+ Usually, LaTeX does not perform hyphenation in <quote>teletype</quote> (monospace)
+ text. This can lead to formatting problems. But certain monospace texts, such as
+ URLs and filenames, have <quote>natural</quote> breakpoints such as full stops
+ and slashes. DB2LaTeX's <quote>tttricks</quote> exploit a hyphenation trick in
+ order to provide line wrapping in the middle of monospace text. Set this to '1'
+ to enable these tricks (they are not enabled by default). See also the FAQ.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.hyphenation.tttricks">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Decimal point for &LaTeX; tables </refpurpose>
+ <doc:description>
+ <para>
+
+ This is a non-localisable character that may be used
+ for decimal alignment of &LaTeX; tables.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.decimal.point"/>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the trimming of leading and trailing whitespace in verbatim environments </refpurpose>
+ <doc:description><para>
+ In verbatim environments such as <doc:db>programlisting</doc:db> and <doc:db>screen</doc:db>,
+ it can be useful to trim leading and trailing whitespace. However, this is not compliant
+ with The Definitive Guide.
+ </para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.trim.verbatim">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>ltxtable</productname> LaTeX package</refpurpose>
+ <doc:description>
+ <note><para>
+ This is not implemented as true ltxtable support, yet.
+ It uses longtable until we can integrate proper ltxtable support.
+ One the feature is supported, it should probably be enabled by
+ default!
+ </para></note>
+ <para>If this package is used then tables will be have the capability
+ to run over multiple pages when necessary.</para>
+ <warning><para>
+ Cells spanning multiple columns may require extra passes with LaTeX
+ in order for column widths to 'converge'.
+ </para></warning>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.ltxtable">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>longtable</productname> LaTeX package</refpurpose>
+ <doc:description>
+ <para>
+ Enabling this option allows <doc:db
+ basename="simplelist">simplelists</doc:db> to run over multiple
+ pages. In the future, it will be superseded by <xref
+ linkend="param.latex.use.ltxtable"/>.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.longtable">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>overpic</productname> LaTeX package</refpurpose>
+ <doc:description><para>Facilitates overlays (for callouts).</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.overpic">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>umoline</productname> LaTeX package</refpurpose>
+ <doc:description><para>Provide underlining.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.umoline">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>url</productname> LaTeX package</refpurpose>
+ <doc:description><para>Provide partial support for hyperlinks.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.url">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the the <quote>draft</quote> preamble</refpurpose>
+ <doc:description><para>&DB2LaTeX; provides a number of draft-mode features to aid
+ the refinement of documents. Normally, this mode is enabled or disabled according
+ to the <sgmltag class='attribute'>status</sgmltag> attribute of the top-level
+ <doc:db>book</doc:db> or <doc:db>article</doc:db> element. However, this variable
+ will take precedence when it is not empty. It is empty by default.</para>
+ </doc:description>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_index_draft;
+ &test_draft;
+ </simplelist>
+ </doc:samples>
+ </doc:param>
+ <xsl:param name="latex.is.draft"/>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>varioref</productname> LaTeX package</refpurpose>
+ <doc:description><para><productname>varioref</productname> seemed like a good idea at first,
+ but we not realise it does understand &DocBook; gentext localisations. By default, it is enabled
+ when <xref linkend="param.insert.xref.page.number"/> is enabled.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.varioref">
+ <xsl:if test="$insert.xref.page.number='1'">1</xsl:if>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>fancyhdr</productname> LaTeX package</refpurpose>
+ <doc:description><para>Provides page headers and footers. Disabling support for
+ this package will make headers and footer go away.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.fancyhdr">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the inclusion of chapter titles in <doc:db basename="lot">lots</doc:db> </refpurpose>
+ <doc:description>
+ <para>
+ When this variable is set, lists of tables and lists of figures
+ will be grouped and labeled by chapter.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.bridgehead.in.lot">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Configure the application of truncation partitions </refpurpose>
+ <doc:description>
+ <para>
+
+ For <xref linkend="param.latex.fancyhdr.truncation.partition"/>, the
+ partition can be modulated in a left-right fashion or an
+ inside-outside fashion. Use <quote>lr</quote> for left-right,
+ all other values are inside-outside (<quote>io</quote> is
+ suggested). The default is <quote>io</quote>, because this
+ matches <xref linkend="param.latex.documentclass.book"/>.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.fancyhdr.truncation.style">io</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Configure the width of header portions on each page </refpurpose>
+ <doc:description>
+ <para>
+
+ It is possible that the titles of chapter or sections will
+ occupy more than the width of a single line. When this variable
+ is empty, headers will be allowed to occupy multiple lines.
+ However, it is possible that the left-hand portion of a header
+ will collide with the right-hand portion of header. To prevent
+ this, headers can be truncated if they exceed an allowable
+ width. When this variables is set to a number from zero to 100,
+ the left-hand (or inside) side of each header will have that
+ width reserved. The right-hand (or outside) side will have the
+ remainder. A common option is to set this variable to zero and
+ set <xref linkend="param.latex.fancyhdr.truncation.style"/> to
+ <quote>io</quote>.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.fancyhdr.truncation.partition">50</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Section/chapter style for fancy headers </refpurpose>
+ <doc:description>
+ <para>
+
+ &DB2LaTeX; comes with some pre-configured styles for page
+ headers. These include <quote></quote>, the default, which is
+ determined by the <productname>fancyhdr</productname> package.
+ Another option is <quote>natural</quote>, in which both the
+ chapter and section are shown on each page with their numbers.
+ An alternative is to provide your own <xref
+ linkend="template.generate.latex.pagestyle"/> template with a
+ value such as <literal>\pagestyle{headings}</literal> (the
+ <quote>headings</quote> page style, which is not a
+ <productname>fancyhdr</productname> style, shows page numbers
+ in the headers whereas the others show page numbers in the
+ footers).
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.fancyhdr.style"/>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>parskip</productname> &latex; package</refpurpose>
+ <doc:description>
+ <para>Use <quote>block</quote> paragraph style instead of indentation.</para>
+ </doc:description>
+ <doc:notes>
+ <para><productname>parskip</productname> introduces vertical whitespace between
+ paragraphs and list items. However, &db2latex;'s <doc:db>toc</doc:db> and
+ <doc:db>lot</doc:db> templates attempt to suppress this whitespace.</para>
+ <para>When this option is off, you may wish to investigate <xref linkend="param.latex.use.noindent"/>.</para>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.para"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:param>
+ <xsl:param name="latex.use.parskip">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of <function condition="latex">noindent</function> commands</refpurpose>
+ <doc:description>
+ <para>
+
+ When this parameter is 1, &DB2LaTeX; will deliberately insert
+ noindents at particular locations within your document.
+
+ </para>
+ </doc:description>
+ <doc:notes>
+ <para>
+
+ When traditional &LaTeX; paragraph indentation and spacing is used,
+ it is often necessary to use <function
+ condition="latex">noindent</function> after certain block-formatted
+ elements (e.g. <doc:db>itemizedlist</doc:db>). Let us know if we
+ need to insert more <function
+ condition="latex">noindent</function>---so far, there are few
+ places where we make use of it.
+
+ </para>
+ <para>
+
+ By default, this option will be turned on when <xref
+ linkend="param.latex.use.parskip"/> is <emphasis>off</emphasis> and
+ will be turned off when <xref linkend="param.latex.use.parskip"/>
+ is <emphasis>on</emphasis>.
+
+ </para>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.parskip"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:param>
+ <xsl:param name="latex.use.noindent">
+ <xsl:choose>
+ <xsl:when test="$latex.use.parskip=1">
+ <xsl:value-of select="0"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>subfigure</productname> LaTeX package</refpurpose>
+ <doc:description><para>Used to provide nice layout of multiple mediaobjects in figures.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.subfigure">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>rotating</productname> LaTeX package</refpurpose>
+ <doc:description><para>Undocumented.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.rotating">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>tabularx</productname> LaTeX package</refpurpose>
+ <doc:description><para>Used to provide certain table features. Has some incompatabilities
+ with packages, but also solves some conflicts that the regular tabular
+ environment has.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.tabularx">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>dcolumn</productname> LaTeX package</refpurpose>
+ <doc:description>
+ <warning><para>
+ Currently, <productname>dcolumn</productname> support does not function
+ correctly.
+ </para></warning>
+ <para>
+ <productname>dcolumn</productname> provides support for the <literal>char</literal>
+ alignment of table cells.
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.decimal.point"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:param>
+ <xsl:param name="latex.use.dcolumn">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>hyperref</productname> LaTeX package</refpurpose>
+ <doc:description><para>This is used extensively for hyperlinking within documents.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.hyperref">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>fancybox</productname> LaTeX package</refpurpose>
+ <doc:description><para>This is essential for admonitions.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.fancybox">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>fancyvrb</productname> LaTeX package</refpurpose>
+ <doc:description><para>Provides support for tabbed whitespace in verbatim environments.
+ See also <xref linkend="param.latex.fancyvrb.tabsize"/>.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.fancyvrb">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose>Toggle the use of the <productname>isolatin1</productname> LaTeX package</refpurpose>
+ <doc:description>
+ <warning><para>
+ This option is deprecated. See <xref linkend="param.latex.inputenc"/>.
+ </para></warning>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.isolatin1">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Choose whether to use the <productname>unicode</productname> LaTeX package</refpurpose>
+ <doc:description><para>See the <productname>unicode</productname> documentation for details.</para></doc:description>
+ </doc:param>
+ <xsl:param name="latex.use.ucs">0</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control which references are cited in the bibliography </refpurpose>
+ <doc:description>
+ <para>
+ The DB2LaTeX generated bibliography (bibitems) may either
+ include all biblioentries found in the document, or only thee ones explicitly
+ cited with <sgmltag class="element">citation</sgmltag>.
+ </para>
+ <para>Two values are possible: <quote>all</quote> or <quote>cited</quote>.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.biblio.output">all</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control bibliographic citation style </refpurpose>
+ <doc:description>
+ <para>By default, this value is empty. Alternatively, a special value
+ is recognised: <quote>ieee</quote> (or <quote>IEEE</quote>).</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.biblioentry.style"/>
+
+ <doc:param xmlns="">
+ <refpurpose> Improved typesetting of captions </refpurpose>
+ <doc:description>
+ <para>
+ DB2LaTeX supports <link linkend="param.formal.title.placement">$formal.title.placement</link>
+ as a mechanism for choosing whether captions will appear above or below the objects they describe.
+ <!--
+ ($formal.title.placement is described in the <ulink
+ url="http://docbook.sourceforge.net/release/xsl/current/doc/html/formal.title.placement.html">DocBook
+ XSL Stylesheet HTML Parameter Reference</ulink>.)
+ -->
+ However, LaTeX will often produce an ugly result when captions occur
+ above their corresponding content. This usually arises because of
+ unsuitable \abovecaptionskip and \belowcaptionskip.
+ </para>
+ <para>
+ This variable, when set to '1', authorises DB2LaTeX to swap the caption
+ 'skip' lengths when a caption is placed <emphasis>above</emphasis> its
+ corresponding content. This is enabled by default.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.caption.swapskip">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control <sgmltag class="element">imagedata</sgmltag> selection. </refpurpose>
+ <doc:description>
+ <para>This controls how DB2LaTeX behaves when a <sgmltag class="element">mediaobject</sgmltag> contains
+ multiple <sgmltag class="element">imagedata</sgmltag>. When non-empty, DB2LaTeX will exclude
+ imagedata that have a format no listed within this variable.</para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.graphics.formats"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control Unicode character handling. </refpurpose>
+ <doc:description>
+ <para>
+ Normally, XSLT processors will convert SGML character entities into
+ Unicode characters and DB2LaTeX doesn't have much chance to do anything
+ toward converting them to LaTeX equivalents. We do not yet know how we
+ can solve this problem best.
+ </para>
+ <para>
+ Proposed values: 'catcode', 'unicode', 'extension'.
+ Currently only 'catcode' is supported. All other values will
+ cause no special handling except for certain mappings in MathML.
+ In future, perhaps the 'unicode' LaTeX package could be of assistance.
+ 'Extension' could be an XSLT extension that handles the characters
+ using a mapping table.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.entities"></xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the use of <sgmltag class="attribute">otherterm</sgmltag> attributes </refpurpose>
+ <doc:description>
+ <para>
+ When a <doc:db>glosssee</doc:db> or <doc:db>glossseealso</doc:db> element contains
+ both an <quote>otherterm</quote> attribute <emphasis>and</emphasis> content templates,
+ this variable elects which will be the source of the displayed text. By default,
+ this variable is enabled and a cross-reference to the otherwterm will be
+ generated (i.e. content templates will be ignored).
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.otherterm.is.preferred">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the use of <sgmltag class="element">alt</sgmltag> text </refpurpose>
+ <doc:description>
+ <para>
+ By default, DB2LaTeX assumes that <sgmltag class="element">alt</sgmltag>
+ text should be typeset in preference to any
+ <sgmltag class="element">mediaobject</sgmltag>s.
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.tex.math.in.alt"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:param>
+ <xsl:param name="latex.alt.is.preferred">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Whether to apply templates for component titles. </refpurpose>
+ <doc:description>
+ <para>
+ Controls whether component titles will be generated by
+ applying templates or by conversion to string values.
+ When enabled, templates will be applied. This enables template
+ expression in titles but may have problematic side-effects such
+ as nested links.
+ </para>
+ <note>
+ <para>
+ This variable does not influence all <sgmltag class="element">title</sgmltag>
+ elements. Some may have their own configuration variables or be non-configurable.
+ </para>
+ </note>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.apply.title.templates">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Whether to apply templates for admonition titles. </refpurpose>
+ <doc:description>
+ <para>
+ Controls whether admonition titles will be generated by
+ applying templates or by conversion to string values.
+ When enabled, templates will be applied.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.apply.title.templates.admonitions">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Whether to delimit URLs with quotation characters </refpurpose>
+ <doc:description>
+ <para>
+ When this option is enabled, gentext quotation characters
+ (urlstartquote and urlendquote) are used to delimit the
+ URLs when they are displayed as part of <doc:db>ulink</doc:db>
+ formatting. The delimiters do not form part of the URL or
+ hyperlink per se.
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.url.quotation">1</xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Control string comparison for <doc:db basename="ulink">ulinks</doc:db> </refpurpose>
+ <doc:description>
+ <para>
+
+ The formatting of a <doc:db>ulink</doc:db> element varies according
+ to whether its <sgmltag class="attribute">url</sgmltag> attribute
+ differs from its content. When this option is enabled, the
+ comparison between these two values ignores the
+ <quote>protocol</quote> portion of the URL (that which occurs
+ before ':' or '://', as a concession to HTTP URLs). For example,
+ when this option is enabled, <quote>a.b.c/d</quote> would be
+ considered equivalent to <quote>http://a.b.c/d</quote> and
+ <quote>file:a.b.c/d</quote>.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.ulink.protocols.relaxed">
+ <xsl:choose>
+ <xsl:when test="$ulink.protocols.relaxed!=''">
+ <xsl:message>Warning: $ulink.protocols.relaxed was a misnomer: use $latex.ulink.protocols.relaxed instead</xsl:message>
+ <xsl:value-of select="$ulink.protocols.relaxed"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="0"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:param name="ulink.protocols.relaxed"/>
+
+ <doc:param xmlns="">
+ <refpurpose> Control the suppression of headers/footers on blank pages in double-side documents </refpurpose>
+ <doc:description>
+ <para>
+
+ When this option is enabled, &DB2LaTeX; will attempt to
+ suppress headers and footers on pages that contain no
+ other content (i.e. left-handed pages in a double-sided
+ document). When this option is disabled, &DB2LaTeX; does
+ not interfere with the default appearance of headers and
+ footers.
+
+ </para>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.suppress.blank.page.headers">1</xsl:param>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/part-chap-app.mod.xsl b/docs/xslt/db2latex-xsl/xsl/part-chap-app.mod.xsl
new file mode 100644
index 0000000000..915a23f4d9
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/part-chap-app.mod.xsl
@@ -0,0 +1,167 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: part-chap-app.mod.xsl,v 1.7 2004/01/18 11:56:29 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="part-chap-app" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: part-chap-app.mod.xsl,v 1.7 2004/01/18 11:56:29 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.4">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Parts, Chapters and Appendixes <filename>part-chap-app.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>set</doc:db>, <doc:db>part</doc:db> and <doc:db>chapter</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes the mapping templates and applies content templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="set|part|chapter">
+ <xsl:call-template name="map.begin"/>
+ <xsl:call-template name="content-templates-rootid"/>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <!--
+ <doc:template match="chapter" xmlns="">
+ <refpurpose> XSL template for Chapters.</refpurpose>
+ <doc:description>
+ <para> This is the main entry point for a <sgmltag class="start">chapter</sgmltag> subtree.
+ This template processes any chapter. Outputs <literal>\chapter{title}</literal>, calls
+ templates and apply-templates. Since chapters only apply in books,
+ some assumptions could be done in order to optimize the stylesheet behaviour.</para>
+
+ <formalpara><title>Remarks and Bugs</title>
+ <itemizedlist>
+ <listitem><para>
+ EMPTY templates: chapter/title,
+ chapter/titleabbrev,
+ chapter/subtitle,
+ chapter/docinfo|chapterinfo.</para></listitem>
+ </itemizedlist>
+ </formalpara>
+
+ <formalpara><title>Affected by</title> map.
+ </formalpara>
+ </doc:description>
+ </doc:template>
+ -->
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>appendix</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats appendices.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ For each appendix, mappings are used and content templates are
+ applies.
+ </para>
+ <para>
+ For <doc:db>appendix</doc:db> elements that occur as children of
+ <doc:db>book</doc:db> or <doc:db>part</doc:db>, the &LaTeX;
+ <function condition="latex">chapter</function> command will be
+ used. Otherwise, the <function condition="latex">section</function>
+ will be used.
+ </para>
+ <para>
+ If an <doc:db>appendix</doc:db> is the first, or the last, then
+ the &LaTeX; mappings for appendix-groups will be invoked in
+ addition to the mapping for the appendix itself. For
+ chapter-level appendices, the <quote>appendices-chapter</quote>
+ is used. Otherwise, the <quote>appendices-section</quote>
+ mapping is used.
+ </para>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="appendix">
+ <xsl:if test="not (preceding-sibling::appendix)">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="local-name(..)='book' or local-name(..)='part'">
+ <xsl:text>\newcommand{\dbappendix}[1]{\chapter{#1}}%&#10;</xsl:text>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="keyword">appendices-chapter</xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\newcommand{\dbappendix}[1]{\section{#1}}%&#10;</xsl:text>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="keyword">appendices-section</xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ <xsl:call-template name="map.begin"/>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end"/>
+ <xsl:if test="not (following-sibling::appendix)">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="local-name(..)='book' or local-name(..)='part'">
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="keyword">appendices-chapter</xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="keyword">appendices-section</xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/pi.mod.xsl b/docs/xslt/db2latex-xsl/xsl/pi.mod.xsl
new file mode 100644
index 0000000000..efaf497425
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/pi.mod.xsl
@@ -0,0 +1,231 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: pi.mod.xsl,v 1.6 2004/01/01 11:37:00 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="pi" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: pi.mod.xsl,v 1.6 2004/01/01 11:37:00 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.12">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Processing Instructions <filename>pi.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ Some processing instructions are handled by templates in this file
+ while other are present in <xref linkend="figure"/>, <xref
+ linkend="biblio"/> and <xref linkend="index"/>.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose> Process generic processing instructions </refpurpose>
+ <doc:description>
+ <para>
+
+ Processing instructions are allowed but are ignored unless they
+ have a &DB2LaTeX;-specific name.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>This template suppresses processing instructions.</para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="processing-instruction()"/>
+
+ <doc:template xmlns="">
+ <refpurpose> Output arbitrary &LaTeX; text </refpurpose>
+ <doc:description>
+ <para>
+
+ The contents of this processing instruction will
+ output directly by &DB2LaTeX;. This allows the
+ inclusion of &latex;-specific instructions that
+ will be recognised only by &latex; stylesheets.
+ For example, <literal><![CDATA[<?latex \sloppy?>]]></literal>
+ would insert <literal>\sloppy</literal> into the output
+ without any character escaping.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="processing-instruction('latex')">
+ <xsl:value-of select="."/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Output arbitrary &LaTeX; text </refpurpose>
+ <doc:description>
+ <para>
+
+ The contents of this processing instruction will
+ output directly by &DB2LaTeX;. This allows the
+ inclusion of &latex;-specific instructions that
+ will be recognised only by &latex; stylesheets.
+ For example, <literal><![CDATA[<?latex \sloppy?>]]></literal>
+ would insert <literal>\sloppy</literal> into the output
+ without any character escaping.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="processing-instruction('db2latex')">
+ <xsl:value-of select="."/>
+ </xsl:template>
+
+ <xsl:template match="processing-instruction('rcas')">
+ <xsl:processing-instruction name="dbhtml">
+ <xsl:value-of select="."/>
+ </xsl:processing-instruction>
+ </xsl:template>
+
+ <xsl:template name="process.cmdsynopsis.list">
+ <xsl:param name="cmdsynopses"/><!-- empty node list by default -->
+ <xsl:param name="count" select="1"/>
+
+ <xsl:choose>
+ <xsl:when test="$count>count($cmdsynopses)"></xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="cmdsyn" select="$cmdsynopses[$count]"/>
+
+ <dt>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:call-template name="label.id">
+ <xsl:with-param name="object" select="$cmdsyn"/>
+ </xsl:call-template>
+ </xsl:attribute>
+
+ <xsl:choose>
+ <xsl:when test="$cmdsyn/@xreflabel">
+ <xsl:call-template name="xref.xreflabel">
+ <xsl:with-param name="target" select="$cmdsyn"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- RCAS Fixme
+ <xsl:call-template name="xref.cmdsynopsis">
+ <xsl:with-param name="target" select="$cmdsyn"/>
+ </xsl:call-template>-->
+ </xsl:otherwise>
+ </xsl:choose>
+ </a>
+ </dt>
+
+ <xsl:call-template name="process.cmdsynopsis.list">
+ <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
+ <xsl:with-param name="count" select="$count+1"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="processing-instruction('dbcmdlist')">
+ <xsl:variable name="cmdsynopses" select="..//cmdsynopsis"/>
+
+ <xsl:if test="count($cmdsynopses)&lt;1">
+ <xsl:message><xsl:text>No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep?</xsl:text>
+ </xsl:message>
+ </xsl:if>
+
+ <dl>
+ <xsl:call-template name="process.cmdsynopsis.list">
+ <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
+ </xsl:call-template>
+ </dl>
+ </xsl:template>
+
+ <!-- ==================================================================== -->
+
+ <xsl:template name="process.funcsynopsis.list">
+ <xsl:param name="funcsynopses"/><!-- empty node list by default -->
+ <xsl:param name="count" select="1"/>
+
+ <xsl:choose>
+ <xsl:when test="$count>count($funcsynopses)"></xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="cmdsyn" select="$funcsynopses[$count]"/>
+
+ <dt>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:call-template name="label.id">
+ <xsl:with-param name="object" select="$cmdsyn"/>
+ </xsl:call-template>
+ </xsl:attribute>
+
+ <xsl:choose>
+ <xsl:when test="$cmdsyn/@xreflabel">
+ <xsl:call-template name="xref.xreflabel">
+ <xsl:with-param name="target" select="$cmdsyn"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- RCAS Fixme
+ <xsl:call-template name="xref.funcsynopsis">
+ <xsl:with-param name="target" select="$cmdsyn"/>
+ </xsl:call-template>
+ -->
+ </xsl:otherwise>
+ </xsl:choose>
+ </a>
+ </dt>
+
+ <xsl:call-template name="process.funcsynopsis.list">
+ <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
+ <xsl:with-param name="count" select="$count+1"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="processing-instruction('dbfunclist')">
+ <xsl:variable name="funcsynopses" select="..//funcsynopsis"/>
+
+ <xsl:if test="count($funcsynopses)&lt;1">
+ <xsl:message><xsl:text>No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep?</xsl:text>
+ </xsl:message>
+ </xsl:if>
+
+ <dl>
+ <xsl:call-template name="process.funcsynopsis.list">
+ <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
+ </xsl:call-template>
+ </dl>
+ </xsl:template>
+
+ <!-- ==================================================================== -->
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/preamble.mod.xsl b/docs/xslt/db2latex-xsl/xsl/preamble.mod.xsl
new file mode 100644
index 0000000000..3fce8c2a40
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/preamble.mod.xsl
@@ -0,0 +1,1131 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: preamble.mod.xsl,v 1.82 2004/01/31 12:26:12 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
+|
+| PURPOSE: Variables and templates to manage LaTeX preamble.
++ ############################################################################## -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="preamble" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: preamble.mod.xsl,v 1.82 2004/01/31 12:26:12 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.77">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Variables and Templates used in &LaTeX; Preamble Generation</title>
+ <partintro>
+ <para>
+
+ This section described the variables and templates that are used in
+ the generation of the output &LaTeX; preamble. Basically, the
+ &LaTeX; preamble depends on the <acronym>XML</acronym> document, that is, on whether
+ it is an <doc:db>article</doc:db> or a <doc:db>book</doc:db>.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template name="generate.latex.article.preamble" xmlns="">
+ <refpurpose>
+
+ Top level template, called by article template, responsible of
+ generating the &LaTeX; preamble according to user
+ <acronym>XSL</acronym> variables and templates.
+
+ </refpurpose>
+ <doc:description>
+ <para>
+
+ If <xref linkend="param.latex.override"/> is empty, the template
+ outputs <xref linkend="param.latex.article.preamblestart"/> and
+ <xref linkend="param.latex.article.preamble.pre"/>, then calls
+ <xref linkend="template.generate.latex.common.preamble"/> and <xref
+ linkend="template.generate.latex.essential.preamble"/> followed by
+ the value of <xref linkend="param.latex.article.preamble.post"/>.
+ Otherwise, it outputs the value of <xref linkend="param.latex.override"/>
+ followed by <xref
+ linkend="template.generate.latex.essential.preamble"/>.
+
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="generate.latex.article.preamble">
+ <xsl:choose>
+ <xsl:when test="$latex.override = ''">
+ <xsl:value-of select="$latex.article.preamblestart"/>
+ <xsl:value-of select="$latex.article.preamble.pre"/>
+ <xsl:call-template name="label.id"/>
+ <xsl:call-template name="generate.latex.common.preamble"/>
+ <xsl:call-template name="generate.latex.essential.preamble"/>
+ <xsl:value-of select="$latex.article.preamble.post"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$latex.override"/>
+ <xsl:call-template name="generate.latex.essential.preamble"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template name="generate.latex.book.preamble" xmlns="">
+ <refpurpose>
+
+ Top level template, called by book template, responsible of
+ generating the &LaTeX; preamble according to user
+ <acronym>XSL</acronym> variables and templates.
+
+ </refpurpose>
+ <doc:description>
+ <para>
+
+ If <xref linkend="param.latex.override"/> is empty, the template
+ outputs <xref linkend="param.latex.book.preamblestart"/> and
+ <xref linkend="param.latex.book.preamble.pre"/>, then calls
+ <xref linkend="template.generate.latex.common.preamble"/> and <xref
+ linkend="template.generate.latex.essential.preamble"/> followed by
+ the value of <xref linkend="param.latex.book.preamble.post"/>.
+ Otherwise, it outputs the value of <xref linkend="param.latex.override"/>
+ followed by <xref
+ linkend="template.generate.latex.essential.preamble"/>.
+
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="generate.latex.book.preamble">
+ <xsl:choose>
+ <xsl:when test="$latex.override = ''">
+ <xsl:value-of select="$latex.book.preamblestart"/>
+ <xsl:value-of select="$latex.book.preamble.pre"/>
+ <xsl:call-template name="label.id"/>
+ <xsl:call-template name="generate.latex.common.preamble"/>
+ <xsl:call-template name="generate.latex.essential.preamble"/>
+ <xsl:value-of select="$latex.book.preamble.post"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$latex.override"/>
+ <xsl:call-template name="generate.latex.essential.preamble"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:param name="latex.article.preamblestart" xmlns="">
+ <refpurpose> Generate <function condition="latex">documentclass</function> for <doc:db basename="article">articles</doc:db> </refpurpose>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.documentclass.common"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.documentclass.article"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.documentclass.pdftex"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.documentclass.dvips"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.documentclass"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:description>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.article.preamblestart">
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Autogenerated LaTeX file for articles&#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>\ifx\pdfoutput\undefined&#10;</xsl:text>
+ <xsl:text>\documentclass[</xsl:text>
+ <xsl:value-of select='$latex.documentclass.common' />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.article' />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.pdftex' />
+ <xsl:text>]{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when>
+ <xsl:otherwise><xsl:text>article</xsl:text></xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\else&#10;</xsl:text>
+ <xsl:text>\documentclass[pdftex,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.common' />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.article' />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.dvips' />
+ <xsl:text>]{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when>
+ <xsl:otherwise><xsl:text>article</xsl:text></xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\fi&#10;</xsl:text>
+ </xsl:param>
+
+ <doc:param name="latex.book.preamblestart" xmlns="">
+ <refpurpose> Generate <function condition="latex">documentclass</function> for <doc:db basename="book">books</doc:db> </refpurpose>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.documentclass.common"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.documentclass.book"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.documentclass.pdftex"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.documentclass.dvips"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.documentclass"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:description>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.book.preamblestart">
+ <xsl:text>% ------------------------------------------------------------ &#10;</xsl:text>
+ <xsl:text>% Autogenerated LaTeX file for books &#10;</xsl:text>
+ <xsl:text>% ------------------------------------------------------------ &#10;</xsl:text>
+ <xsl:text>\ifx\pdfoutput\undefined&#10;</xsl:text>
+ <xsl:text>\documentclass[</xsl:text>
+ <xsl:value-of select='$latex.documentclass.common' />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.book' />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.pdftex' />
+ <xsl:text>]{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when>
+ <xsl:otherwise><xsl:text>report</xsl:text></xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\else&#10;</xsl:text>
+ <xsl:text>\documentclass[pdftex,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.common' />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.book' />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select='$latex.documentclass.dvips' />
+ <xsl:text>]{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when>
+ <xsl:otherwise><xsl:text>report</xsl:text></xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\fi&#10;</xsl:text>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Select localisation language </refpurpose>
+ <doc:description>
+ <para>
+ Chooses the <quote>gentext</quote> language for the document.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ Selects the root <doc:db>set</doc:db>, <doc:db>book</doc:db> or
+ <doc:db>article</doc:db> element and reads its <sgmltag
+ class="attribute">lang</sgmltag> or <sgmltag
+ class="attribute">xml:lang</sgmltag> attribute.
+
+ </para>
+ </doc:notes>
+ </doc:param>
+ <xsl:param name="document.xml.language">
+ <xsl:call-template name="l10n.language">
+ <xsl:with-param name="target" select="(/set|/book|/article)[1]"/>
+ <!-- now, induce the use of $target rather than the current node: -->
+ <xsl:with-param name="xref-context" select="true()"/>
+ </xsl:call-template>
+ </xsl:param>
+
+ <doc:param xmlns="">
+ <refpurpose> Select <productname>babel</productname> option </refpurpose>
+ <doc:description>
+ <para>
+ If <xref linkend="param.latex.babel.language"/> is not set, this
+ template will select a <productname>babel</productname> option
+ based on the <xref linkend="param.document.xml.language"/>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.babel.language"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.document.xml.language"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>A special value of <quote><literal>none</literal></quote>
+ can be used to disable <productname>babel</productname>.</para>
+ </doc:notes>
+ </doc:param>
+ <xsl:param name="latex.language.option">
+ <xsl:choose>
+ <xsl:when test="$latex.babel.language!=''">
+ <xsl:value-of select="$latex.babel.language"/>
+ </xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'af')">afrikaans</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'br')">breton</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'ca')">catalan</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'cs')">czech</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'cy')">welsh</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'da')">danish</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'de')">ngerman</xsl:when><!-- ngerman, german or germanb? -->
+ <xsl:when test="starts-with($document.xml.language,'el')">greek</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'en')">
+ <xsl:choose>
+ <xsl:when test="starts-with($document.xml.language,'en-CA')">canadian</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'en-GB')">british</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'en-US')">USenglish</xsl:when>
+ <xsl:otherwise>none</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'eo')">esperanto</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'es')">spanish</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'et')">estonian</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'fi')">finnish</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'fr')">french</xsl:when><!-- francais, french, or frenchb? -->
+ <xsl:when test="starts-with($document.xml.language,'ga')">irish</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'gd')">scottish</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'gl')">galician</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'he')">hebrew</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'hr')">croatian</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'hu')">hungarian</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'id')">bahasa</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'it')">italian</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'nl')">dutch</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'nn')">norsk</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'pl')">polish</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'pt')">
+ <xsl:choose>
+ <xsl:when test="starts-with($document.xml.language,'pt-BR')">brazil</xsl:when>
+ <xsl:otherwise>portugese</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'ro')">romanian</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'ru')">russian</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'sk')">slovak</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'sl')">slovene</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'sv')">swedish</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'tr')">turkish</xsl:when>
+ <xsl:when test="starts-with($document.xml.language,'uk')">ukrainian</xsl:when>
+ </xsl:choose>
+ </xsl:param>
+
+ <doc:template xmlns="">
+ <refpurpose>
+
+ Common &LaTeX; preamble shared by <doc:db>articles</doc:db> and
+ <doc:db>books</doc:db>, and other document classes. Most of the
+ packages and package options are managed here.
+
+ </refpurpose>
+ <doc:description>
+ <para>
+
+ The &LaTeX; preamble, after the <function
+ condition="latex">documentclass</function> command but before the
+ <function condition="env">document</function> environment.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.pdf.support"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.pdf.preamble"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.article.varsets"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.book.varsets"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.bridgehead.in.lot"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.fancyhdr"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.fancyhdr.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.fancyhdr.truncation.partition"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.fancyhdr.truncation.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.varioref"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.varioref.options"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.dcolumn"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.decimal.point"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.fancybox"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.fancyvrb"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.fancyvrb.tabsize"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.isolatin1"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.parskip"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.rotating"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.subfigure"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.tabularx"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.umoline"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.url"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.math.support"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.math.preamble"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.document.font"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.hyperref"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.admonition.environment"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.caption.swapskip"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.hyphenation.tttricks"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.language.option"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.is.draft"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.generate.latex.pagestyle"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.gentext.dingbat"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.hyperref.preamble"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.float.preamble"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.graphicext"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.generate.latex.draft.preamble"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="generate.latex.common.preamble">
+ <xsl:choose>
+ <xsl:when test="$latex.pdf.support=1"><xsl:value-of select="$latex.pdf.preamble"/></xsl:when>
+ <xsl:otherwise><xsl:text>\usepackage{graphicx}&#10;</xsl:text></xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="local-name(.)='article'">
+ <xsl:value-of select="$latex.article.varsets"/>
+ </xsl:if>
+ <xsl:if test="local-name(.)='book'">
+ <xsl:value-of select="$latex.book.varsets"/>
+ </xsl:if>
+ <xsl:if test="$latex.bridgehead.in.lot=1">
+ <xsl:text><![CDATA[
+\makeatletter
+% redefine the listoffigures and listoftables so that the name of the chapter
+% is printed whenever there are figures or tables from that chapter. encourage
+% pagebreak prior to the name of the chapter (discourage orphans).
+\let\save@@chapter\@chapter
+\let\save@@l@figure\l@figure
+\let\the@l@figure@leader\relax
+\def\@chapter[#1]#2{\save@@chapter[{#1}]{#2}%
+\addtocontents{lof}{\protect\def\the@l@figure@leader{\protect\pagebreak[0]\protect\contentsline{chapter}{\protect\numberline{\thechapter}#1}{}{\thepage}}}%
+\addtocontents{lot}{\protect\def\the@l@figure@leader{\protect\pagebreak[0]\protect\contentsline{chapter}{\protect\numberline{\thechapter}#1}{}{\thepage}}}%
+}
+\renewcommand*\l@figure{\the@l@figure@leader\let\the@l@figure@leader\relax\save@@l@figure}
+\let\l@table\l@figure
+\makeatother
+]]></xsl:text>
+ </xsl:if>
+ <xsl:if test="$latex.use.fancyhdr=1">
+ <xsl:text>\usepackage{fancyhdr}&#10;</xsl:text>
+ <xsl:text>\renewcommand{\headrulewidth}{0.4pt}&#10;</xsl:text>
+ <xsl:text>\renewcommand{\footrulewidth}{0.4pt}&#10;</xsl:text>
+ <xsl:if test="$latex.fancyhdr.truncation.partition!=''">
+ <xsl:variable name="partition">
+ <xsl:value-of select="round(number($latex.fancyhdr.truncation.partition))"/>
+ </xsl:variable>
+ <xsl:variable name="left.fraction">
+ <xsl:choose>
+ <xsl:when test="$partition&lt;1">
+ <xsl:text>0</xsl:text>
+ </xsl:when>
+ <xsl:when test="$partition>97">
+ <xsl:text>.98</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- example: 60 becomes .59 -->
+ <xsl:value-of select="($partition - 1) div 100"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="right.fraction" select="0.98 - number($left.fraction)"/>
+ <xsl:text>% Safeguard against long headers.&#10;</xsl:text>
+ <xsl:text>\IfFileExists{truncate.sty}{&#10;</xsl:text>
+ <xsl:text>\usepackage{truncate}&#10;</xsl:text>
+ <xsl:text>% Use an ellipsis when text would be larger than x% of the text width.&#10;</xsl:text>
+ <xsl:text>% Preserve left/right text alignment using \hfill (works for English).&#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.fancyhdr.truncation.style='lr'">
+ <!-- left vs. right -->
+ <xsl:choose>
+ <xsl:when test="$left.fraction &gt; 0.02">
+ <xsl:text>\fancyhead[ol]{\truncate{</xsl:text><xsl:value-of select="$left.fraction"/><xsl:text>\textwidth}{\sl\leftmark}}&#10;</xsl:text>
+ <xsl:text>\fancyhead[el]{\truncate{</xsl:text><xsl:value-of select="$left.fraction"/><xsl:text>\textwidth}{\sl\leftmark}}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\fancyhead[ol]{}&#10;</xsl:text>
+ <xsl:text>\fancyhead[el]{}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="$right.fraction &gt; 0.02">
+ <xsl:text>\fancyhead[or]{\truncate{</xsl:text><xsl:value-of select="$right.fraction"/><xsl:text>\textwidth}{\hfill\sl\rightmark}}&#10;</xsl:text>
+ <xsl:text>\fancyhead[er]{\truncate{</xsl:text><xsl:value-of select="$right.fraction"/><xsl:text>\textwidth}{\hfill\sl\rightmark}}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\fancyhead[or]{}&#10;</xsl:text>
+ <xsl:text>\fancyhead[er]{}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- inside vs. outside -->
+ <xsl:choose>
+ <xsl:when test="$left.fraction &gt; 0.02">
+ <xsl:text>\fancyhead[ol]{\truncate{</xsl:text><xsl:value-of select="$left.fraction"/><xsl:text>\textwidth}{\sl\leftmark}}&#10;</xsl:text>
+ <xsl:text>\fancyhead[er]{\truncate{</xsl:text><xsl:value-of select="$left.fraction"/><xsl:text>\textwidth}{\hfill\sl\rightmark}}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\fancyhead[ol]{}&#10;</xsl:text>
+ <xsl:text>\fancyhead[er]{}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="$right.fraction &gt; 0.02">
+ <xsl:text>\fancyhead[el]{\truncate{</xsl:text><xsl:value-of select="$right.fraction"/><xsl:text>\textwidth}{\sl\leftmark}}&#10;</xsl:text>
+ <xsl:text>\fancyhead[or]{\truncate{</xsl:text><xsl:value-of select="$right.fraction"/><xsl:text>\textwidth}{\hfill\sl\rightmark}}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\fancyhead[el]{}&#10;</xsl:text>
+ <xsl:text>\fancyhead[or]{}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}{\typeout{WARNING: truncate.sty wasn't available and functionality was skipped.}}&#10;</xsl:text>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$latex.fancyhdr.style='natural'">
+ <xsl:text><![CDATA[
+\makeatletter
+% Override the default from fancyhdr (which would be to have all-caps headings).
+\newcommand{\dblatex@chaptermark}[1]{\markboth{{\ifnum \c@secnumdepth>\m@ne \@chapapp\ \thechapter. \ \fi #1}}{}}
+\def\dblatex@chaptersmark#1{\markboth{{#1}}{}}
+\newcommand{\dblatex@sectionmark}[1]{\markright{{\ifnum \c@secnumdepth >\z@ \thesection. \ \fi #1}}}
+\let\dblatex@ps@fancy\ps@fancy
+\def\ps@fancy{
+ \dblatex@ps@fancy
+ \let\chaptermark\dblatex@chaptermark
+ \let\sectionmark\dblatex@sectionmark
+}
+\makeatother
+]]></xsl:text>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:call-template name="generate.latex.pagestyle"/>
+ <!--
+ Add dollar...
+ <xsl:if test="latex.fancyhdr.lh !=''"><xsl:text>\lhead{</xsl:text><xsl:value-of select="$latex.fancyhdr.lh"/><xsl:text>}&#10;</xsl:text></xsl:if>
+ <xsl:if test="latex.fancyhdr.ch !=''"><xsl:text>\chead{</xsl:text><xsl:value-of select="$latex.fancyhdr.ch"/><xsl:text>}&#10;</xsl:text></xsl:if>
+ <xsl:if test="latex.fancyhdr.rh !=''"><xsl:text>\rhead{</xsl:text><xsl:value-of select="$latex.fancyhdr.rh"/><xsl:text>}&#10;</xsl:text></xsl:if>
+ <xsl:if test="latex.fancyhdr.lf !=''"><xsl:text>\lfoot{</xsl:text><xsl:value-of select="$latex.fancyhdr.lf"/><xsl:text>}&#10;</xsl:text></xsl:if>
+ <xsl:if test="latex.fancyhdr.cf !=''"><xsl:text>\cfoot{</xsl:text><xsl:value-of select="$latex.fancyhdr.cf"/><xsl:text>}&#10;</xsl:text></xsl:if>
+ <xsl:if test="latex.fancyhdr.rf !=''"><xsl:text>\rfoot{</xsl:text><xsl:value-of select="$latex.fancyhdr.rf"/><xsl:text>}&#10;</xsl:text></xsl:if>
+ -->
+ </xsl:if>
+ <xsl:text>% ---------------------- &#10;</xsl:text>
+ <xsl:text>% Most Common Packages &#10;</xsl:text>
+ <xsl:text>% ---------------------- &#10;</xsl:text>
+ <xsl:if test="$latex.use.varioref=1">
+ <xsl:text>\usepackage[</xsl:text>
+ <xsl:value-of select="$latex.varioref.options"/>
+ <xsl:text>]{varioref} &#10;</xsl:text>
+ </xsl:if>
+ <xsl:text>\usepackage{latexsym} &#10;</xsl:text>
+ <xsl:if test="$latex.use.dcolumn=1">
+ <xsl:text>\usepackage{dcolumn} &#10;</xsl:text>
+ <xsl:text>% Default decimal point-style column&#10;</xsl:text>
+ <xsl:text>\newcolumntype{d}{D{</xsl:text>
+ <xsl:call-template name="gentext.dingbat">
+ <xsl:with-param name="dingbat">decimalpoint</xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>}{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.decimal.point!=''">
+ <xsl:value-of select="$latex.decimal.point"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext.dingbat">
+ <xsl:with-param name="dingbat">latexdecimal</xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}{-1}}&#10;</xsl:text>
+ </xsl:if>
+ <xsl:text>\usepackage{enumerate} &#10;</xsl:text>
+ <xsl:if test="$latex.use.fancybox=1">
+ <!-- must be before \usepackage{fancyvrb} -->
+ <xsl:text>\usepackage{fancybox} &#10;</xsl:text>
+ </xsl:if>
+ <xsl:text>\usepackage{float} &#10;</xsl:text>
+ <xsl:text>\usepackage{ragged2e} &#10;</xsl:text>
+ <xsl:if test="$latex.use.fancyvrb=1">
+ <!-- must be after \usepackage{fancybox} -->
+ <xsl:text>\usepackage{fancyvrb} &#10;</xsl:text>
+ <xsl:text>\makeatletter\@namedef{FV@fontfamily@default}{\def\FV@FontScanPrep{}\def\FV@FontFamily{}}\makeatother&#10;</xsl:text>
+ <xsl:if test="$latex.fancyvrb.tabsize!=''">
+ <xsl:text>\fvset{obeytabs=true,tabsize=</xsl:text>
+ <xsl:value-of select="$latex.fancyvrb.tabsize"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:if>
+ </xsl:if>
+ <xsl:if test="$latex.use.isolatin1=1">
+ <xsl:message>Please use $latex.inputenc='latin1' instead of $latex.use.isolatin1='1'.</xsl:message>
+ <xsl:text>\usepackage{isolatin1} &#10;</xsl:text>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$latex.use.parskip=1">
+ <xsl:text>\usepackage{parskip} &#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- hack from parksip to stop excess whitespace after figure captions -->
+ <xsl:text><![CDATA[\makeatletter
+\let\dblatex@center\center\let\dblatex@endcenter\endcenter
+\def\dblatex@nolistI{\leftmargin\leftmargini\topsep\z@ \parsep\parskip \itemsep\z@}
+\def\center{\let\@listi\dblatex@nolistI\@listi\dblatex@center\let\@listi\@listI\@listi}
+\def\endcenter{\dblatex@endcenter}
+\makeatother
+]]></xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$latex.use.rotating=1"><xsl:text>\usepackage{rotating} &#10;</xsl:text></xsl:if>
+ <xsl:if test="$latex.use.subfigure=1"><xsl:text>\usepackage{subfigure} &#10;</xsl:text></xsl:if>
+ <xsl:if test="$latex.use.tabularx=1"><xsl:text>\usepackage{tabularx} &#10;</xsl:text></xsl:if>
+ <xsl:if test="$latex.use.ltxtable=1 or $latex.use.longtable=1"><xsl:text>\usepackage{longtable} &#10;</xsl:text></xsl:if>
+ <xsl:if test="$latex.use.umoline=1"><xsl:text>\usepackage{umoline} &#10;</xsl:text></xsl:if>
+ <xsl:if test="$latex.use.url=1"><xsl:text>\usepackage{url} &#10;</xsl:text></xsl:if>
+ <xsl:if test="$latex.math.support=1"><xsl:value-of select="$latex.math.preamble"/></xsl:if>
+
+ <!-- Configure document font. -->
+ <xsl:if test="$latex.document.font != 'default'">
+ <xsl:text>% ---------------&#10;</xsl:text>
+ <xsl:text>% Document Font &#10;</xsl:text>
+ <xsl:text>% ---------------&#10;</xsl:text>
+ <xsl:text>\usepackage{</xsl:text><xsl:value-of select="$latex.document.font"/><xsl:text>}&#10;</xsl:text>
+ </xsl:if>
+
+ <xsl:if test="$latex.use.hyperref=1">
+ <xsl:call-template name="latex.hyperref.preamble"/>
+ </xsl:if>
+ <xsl:value-of select="$latex.admonition.environment"/>
+ <xsl:call-template name="latex.float.preamble"/>
+ <xsl:call-template name="latex.graphicext"/>
+ <xsl:choose>
+ <xsl:when test='$latex.caption.swapskip=1'>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% $latex.caption.swapskip enabled for $formal.title.placement support&#10;</xsl:text>
+ <xsl:text>\newlength{\docbooktolatextempskip}&#10;</xsl:text>
+ <xsl:text>\newcommand{\captionswapskip}{\setlength{\docbooktolatextempskip}{\abovecaptionskip}</xsl:text>
+ <xsl:text>\setlength{\abovecaptionskip}{\belowcaptionskip}</xsl:text>
+ <xsl:text>\setlength{\belowcaptionskip}{\docbooktolatextempskip}}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\newcommand{\captionswapskip}{}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test='$latex.hyphenation.tttricks=1'>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Better linebreaks&#10;</xsl:text>
+ <xsl:text>\newcommand{\docbookhyphenatedot}[1]{{\hyphenchar\font=`\.\relax #1\hyphenchar\font=`\-}}&#10;</xsl:text>
+ <xsl:text>\newcommand{\docbookhyphenatefilename}[1]{{\hyphenchar\font=`\.\relax #1\hyphenchar\font=`\-}}&#10;</xsl:text>
+ <xsl:text>\newcommand{\docbookhyphenateurl}[1]{{\hyphenchar\font=`\/\relax #1\hyphenchar\font=`\-}}&#10;</xsl:text>
+ </xsl:if>
+ <!--
+ <xsl:message>$document.xml.language: '<xsl:value-of select="$document.xml.language"/>'</xsl:message>
+ <xsl:message>$latex.language.option: '<xsl:value-of select="$latex.language.option"/>'</xsl:message>
+ -->
+ <xsl:if test="$latex.language.option!='none'">
+ <xsl:text>\usepackage[</xsl:text><xsl:value-of select="$latex.language.option" /><xsl:text>]{babel} &#10;</xsl:text>
+ </xsl:if>
+ <xsl:if test="$latex.use.hyperref='1'">
+ <xsl:text>% Guard against a problem with old package versions.&#10;</xsl:text>
+ <xsl:text>\makeatletter&#10;</xsl:text>
+ <xsl:text>\AtBeginDocument{&#10;</xsl:text>
+ <xsl:text>\DeclareRobustCommand\ref{\@refstar}&#10;</xsl:text>
+ <xsl:text>\DeclareRobustCommand\pageref{\@pagerefstar}&#10;</xsl:text>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\makeatother&#10;</xsl:text>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$latex.is.draft!=''">
+ <xsl:if test="$latex.is.draft=1">
+ <xsl:call-template name="generate.latex.draft.preamble"/>
+ </xsl:if>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="(/set|/book|/article)[1]/@status='draft'">
+ <xsl:call-template name="generate.latex.draft.preamble"/>
+ </xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>
+
+ Common &LaTeX; preamble shared by <doc:db basename="article">article</doc:db> and
+ <doc:db basename="book">book</doc:db> when their <sgmltag
+ class="attribute">status</sgmltag> is <quote>draft</quote>.
+
+ </refpurpose>
+ <doc:description>
+ <para>
+
+
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.is.draft"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.varioref"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_index_draft;
+ &test_draft;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template name="generate.latex.draft.preamble">
+ <xsl:choose>
+ <xsl:when test="$latex.use.varioref='1'">
+ <xsl:message>Combining varioref with showkeys (and hyperref?) is not supported.</xsl:message>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\usepackage[color]{showkeys}&#10;</xsl:text>
+ <xsl:text>\definecolor{refkey}{gray}{0.5}&#10;</xsl:text>
+ <xsl:text>\definecolor{labelkey}{gray}{0.5}&#10;</xsl:text>
+ <xsl:text>% Rip off things from showkeys to highlight index references&#10;</xsl:text>
+ <xsl:text>\definecolor{indexkey}{gray}{.5}%&#10;</xsl:text>
+ <xsl:text>\makeatletter&#10;</xsl:text>
+ <xsl:text>\def\SK@indexcolor{\color{indexkey}}&#10;</xsl:text>
+ <xsl:text>\def\SK@@@index#1{\@bsphack\SK@\SK@@index{#1}\begingroup\SK@index{#1}\endgroup\@esphack}&#10;</xsl:text>
+ <xsl:text>\def\SK@@index#1>#2\SK@{\leavevmode\vbox to\z@{\vss \SK@indexcolor \rlap{\vrule\raise .75em\hbox{}{\circle*{5}}}}}&#10;</xsl:text>
+ <xsl:text>\AtBeginDocument{\let\SK@index\index&#10;\let\index\SK@@@index}&#10;</xsl:text>
+ <xsl:text>\makeatother&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Unavoidable &LaTeX; preamble shared by <doc:db
+ basename="article">articles</doc:db> and <doc:db
+ basename="book">books</doc:db> </refpurpose>
+ <doc:description>
+ <para>Contains custom commands <emphasis>that you just can't get rid of!</emphasis></para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.hyperref"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.suppress.blank.page.headers"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.ucs"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.entities"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.ucs.options"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.inputenc"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.fontenc"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.latex.preamble.essential.biblio"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.preamble.essential.callout"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.preamble.essential.citation"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.preamble.essential.footnote"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.preamble.essential.glossary"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.latex.preamble.essential.index"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="generate.latex.essential.preamble">
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>\makeatletter&#10;</xsl:text>
+ <xsl:text>\newcommand{\dbz}{\penalty \z@}&#10;</xsl:text>
+ <xsl:text>\newcommand{\docbooktolatexpipe}{\ensuremath{|}\dbz}&#10;</xsl:text>
+ <xsl:text>\newskip\docbooktolatexoldparskip&#10;</xsl:text>
+ <xsl:text>\newcommand{\docbooktolatexnoparskip}{\docbooktolatexoldparskip=\parskip\parskip=0pt plus 1pt}&#10;</xsl:text>
+ <xsl:text>\newcommand{\docbooktolatexrestoreparskip}{\parskip=\docbooktolatexoldparskip}&#10;</xsl:text>
+ <xsl:if test="$latex.use.hyperref!='1'">
+ <xsl:text>\newcommand{\href}[1]{{}}&#10;</xsl:text>
+ <xsl:text>\newcommand{\hyperlink}[1]{{}}&#10;</xsl:text>
+ <xsl:text>\newcommand{\hypertarget}[2]{#2}&#10;</xsl:text>
+ </xsl:if>
+ <!-- don't print headings on blank pages -->
+ <xsl:if test="$latex.suppress.blank.page.headers=1">
+ <xsl:text>\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else\hbox{}\thispagestyle{empty}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}&#10;</xsl:text>
+ </xsl:if>
+ <xsl:if test="$latex.use.ucs='1'">
+ <xsl:text>\usepackage[</xsl:text>
+ <xsl:value-of select="$latex.ucs.options"/>
+ <xsl:text>]{ucs}&#10;</xsl:text>
+ </xsl:if>
+ <xsl:if test="$latex.entities='catcode'">
+ <xsl:text>\catcode`\&amp;=\active\def&amp;{\@ifnextchar##{\begingroup\@sanitize\@docbooktolatexunicode\@gobble}{\&amp;}}&#10;</xsl:text>
+ <xsl:if test="$latex.use.ucs!='1'">
+ <xsl:text><![CDATA[
+% A few example Unicode characters.
+% For full support, use the unicode pacakge from Dominique Unruh/CTAN.
+% \else\ifnum#1=8216{\textquoteleft}%
+% \else\ifnum#1=8217{\textquoteright}%
+\newcommand{\unichar}[1]{%
+ \ifnum#1=8211{--}%
+ \else\ifnum#1=8212{---}%
+ \else\ifnum#1=8216{`}%
+ \else\ifnum#1=8217{'}%
+ \else\ifnum#1=8218{\glq}%
+ \else\ifnum#1=8220{``}%
+ \else\ifnum#1=8221{''}%
+ \else\ifnum#1=8222{\glqq}%
+ \else\&\##1;\fi%
+ \fi\fi\fi\fi\fi%
+ \fi\fi%
+}
+]]></xsl:text>
+ </xsl:if>
+ <xsl:text>\def\@docbooktolatexunicode#1;{\endgroup\edef\@dbtemp{#1}\unichar{\@dbtemp}}&#10;</xsl:text>
+ </xsl:if>
+ <xsl:if test="$latex.inputenc!=''">
+ <xsl:text>\usepackage[</xsl:text>
+ <xsl:value-of select="$latex.inputenc"/>
+ <xsl:text>]{inputenc}&#10;</xsl:text>
+ </xsl:if>
+ <xsl:if test="$latex.fontenc!=''">
+ <xsl:text>\usepackage[</xsl:text>
+ <xsl:value-of select="$latex.fontenc"/>
+ <xsl:text>]{fontenc}&#10;</xsl:text>
+ </xsl:if>
+ <!-- make proper headers for unnumbered chapter-level components -->
+ <!-- TODO make proper headers for unnumbered section-level components -->
+ <xsl:text><![CDATA[
+\ifx\dblatex@chaptersmark\@undefined\def\dblatex@chaptersmark#1{\markboth{\MakeUppercase{#1}}{}}\fi
+\let\save@makeschapterhead\@makeschapterhead
+\def\dblatex@makeschapterhead#1{\vspace*{-80pt}\save@makeschapterhead{#1}}
+\def\@makeschapterhead#1{\dblatex@makeschapterhead{#1}\dblatex@chaptersmark{#1}}
+]]></xsl:text>
+ <xsl:call-template name="latex.preamble.essential.biblio"/>
+ <xsl:call-template name="latex.preamble.essential.callout"/>
+ <xsl:call-template name="latex.preamble.essential.citation"/>
+ <xsl:call-template name="latex.preamble.essential.footnote"/>
+ <xsl:call-template name="latex.preamble.essential.glossary"/>
+ <xsl:call-template name="latex.preamble.essential.index"/>
+ <xsl:text><![CDATA[
+\def\docbooktolatexgobble{\expandafter\@gobble}
+% Prevent multiple openings of the same aux file
+% (happens when backref is used with multiple bibliography environments)
+\ifx\AfterBeginDocument\undefined\let\AfterBeginDocument\AtBeginDocument\fi
+\AfterBeginDocument{
+ \let\latex@@starttoc\@starttoc
+ \def\@starttoc#1{%
+ \@ifundefined{docbooktolatex@aux#1}{%
+ \global\@namedef{docbooktolatex@aux#1}{}%
+ \latex@@starttoc{#1}%
+ }{}
+ }
+}
+% --------------------------------------------
+% Hacks for honouring row/entry/@align
+% (\hspace not effective when in paragraph mode)
+% Naming convention for these macros is:
+% 'docbooktolatex' 'align' {alignment-type} {position-within-entry}
+% where r = right, l = left, c = centre
+\newcommand{\docbooktolatex@align}[2]{\protect\ifvmode#1\else\ifx\LT@@tabarray\@undefined#2\else#1\fi\fi}
+\newcommand{\docbooktolatexalignll}{\docbooktolatex@align{\raggedright}{}}
+\newcommand{\docbooktolatexalignlr}{\docbooktolatex@align{}{\hspace*\fill}}
+\newcommand{\docbooktolatexaligncl}{\docbooktolatex@align{\centering}{\hfill}}
+\newcommand{\docbooktolatexaligncr}{\docbooktolatex@align{}{\hspace*\fill}}
+\newcommand{\docbooktolatexalignrl}{\protect\ifvmode\raggedleft\else\hfill\fi}
+\newcommand{\docbooktolatexalignrr}{}
+\ifx\captionswapskip\@undefined\newcommand{\captionswapskip}{}\fi
+]]></xsl:text>
+ <xsl:text>\makeatother&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template>
+ <refpurpose> Preamble for certain floats </refpurpose>
+ </doc:template>
+ <xsl:template name="latex.float.preamble">
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Commands to manage/style/create floats &#10;</xsl:text>
+ <xsl:text>% figures, tables, algorithms, examples, eqn &#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
+ <xsl:text> \restylefloat{figure}&#10;</xsl:text>
+ <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
+ <xsl:text> \restylefloat{table}&#10;</xsl:text>
+ <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
+ <xsl:text> \newfloat{program}{ht}{lop}[section]&#10;</xsl:text>
+ <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
+ <xsl:text> \newfloat{example}{ht}{loe}[section]&#10;</xsl:text>
+ <xsl:text> \floatname{example}{</xsl:text>
+ <xsl:call-template name="gentext.element.name">
+ <xsl:with-param name="element.name">example</xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text> \floatstyle{ruled}&#10;</xsl:text>
+ <xsl:text> \newfloat{dbequation}{ht}{loe}[section]&#10;</xsl:text>
+ <xsl:text> \makeatletter\def\toclevel@dbequation{0}\makeatother&#10;</xsl:text>
+ <xsl:text> \floatname{dbequation}{</xsl:text>
+ <xsl:call-template name="gentext.element.name">
+ <xsl:with-param name="element.name">equation</xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text> \floatstyle{boxed}&#10;</xsl:text>
+ <xsl:text> \newfloat{algorithm}{ht}{loa}[section]&#10;</xsl:text>
+ <xsl:text> \floatname{algorithm}{Algorithm}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:param name="latex.pdf.preamble" xmlns="">
+ <doc:description>
+ <screen>
+ \usepackage{ifthen}
+ % --------------------------------------------
+ % Check for PDFLaTeX/LaTeX
+ % --------------------------------------------
+ \newif\ifpdf
+ \ifx\pdfoutput\undefined
+ \pdffalse % we are not running PDFLaTeX
+ \else
+ \pdfoutput=1 % we are running PDFLaTeX
+ \pdftrue
+ \fi
+ % --------------------------------------------
+ % Load graphicx package with pdf if needed
+ % --------------------------------------------
+ \ifpdf
+ \usepackage[pdftex]{graphicx}
+ \pdfcompresslevel=9
+ \else
+ \usepackage{graphicx}
+ \fi
+ </screen>
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.pdf.preamble">
+ <xsl:text>\usepackage{ifthen}&#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Check for PDFLaTeX/LaTeX &#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>\newif\ifpdf&#10;</xsl:text>
+ <xsl:text>\ifx\pdfoutput\undefined&#10;</xsl:text>
+ <xsl:text>\pdffalse % we are not running PDFLaTeX&#10;</xsl:text>
+ <xsl:text>\else&#10;</xsl:text>
+ <xsl:text>\pdfoutput=1 % we are running PDFLaTeX&#10;</xsl:text>
+ <xsl:text>\pdftrue&#10;</xsl:text>
+ <xsl:text>\fi&#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Load graphicx package with pdf if needed &#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>\ifpdf&#10;</xsl:text>
+ <xsl:text>\usepackage[pdftex]{graphicx}&#10;</xsl:text>
+ <xsl:text>\pdfcompresslevel=9&#10;</xsl:text>
+ <xsl:text>\else&#10;</xsl:text>
+ <xsl:text>\usepackage{graphicx}&#10;</xsl:text>
+ <xsl:text>\fi&#10;</xsl:text>
+ </xsl:param>
+
+ <doc:template name="latex.hyperref.preamble" xmlns="">
+ <refpurpose> Manage the part of the preamble that handles the hyperref package.</refpurpose>
+ <doc:description>
+ <para> This template outputs the LaTeX code <literal>\usepackage[...]{hyperref}</literal>
+ in order to use hyperlinks, backrefs and other goodies. If PDF support is activated,
+ outputs laTeX code to detect whether the document is being compiled with
+ <filename>pdflatex</filename> or <filename>latex</filename> to supply the
+ right parameters (pdftex, dvips, etc).
+ <doc:todo> The package options should be optained
+ from XSL variables.</doc:todo>
+ </para>
+ <para>Default Value with PDF support:
+ <screen>
+ % --------------------------------------------
+ % Load hyperref package with pdf if needed
+ % --------------------------------------------
+ \ifpdf
+ \usepackage[pdftex,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage]{hyperref}
+ \else
+ \usepackage[bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage]{hyperref}
+ \fi
+ % --------------------------------------------
+ </screen>
+ </para>
+ <para>Default Value without PDF support:
+ <screen>
+ % --------------------------------------------
+ % Load hyperref package
+ % --------------------------------------------
+ \usepackage[bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage]{hyperref}
+ </screen>
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.pdf.support"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.hyperref.param.common"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.hyperref.param.pdftex"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.hyperref.param.dvips"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </doc:template>
+ <xsl:template name="latex.hyperref.preamble">
+ <xsl:choose>
+ <xsl:when test="$latex.pdf.support=1">
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Load hyperref package with pdf if needed &#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>\ifpdf&#10;</xsl:text>
+ <xsl:text>\usepackage[pdftex,</xsl:text>
+ <xsl:value-of select="$latex.hyperref.param.common" />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select="$latex.hyperref.param.pdftex" />
+ <xsl:text>]{hyperref}&#10;</xsl:text>
+ <xsl:text>\else&#10;</xsl:text>
+ <xsl:text>\usepackage[</xsl:text>
+ <xsl:value-of select="$latex.hyperref.param.common" />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select="$latex.hyperref.param.dvips" />
+ <xsl:text>]{hyperref}&#10;</xsl:text>
+ <!--
+ <xsl:text>\makeatletter\def\pdfmark@[#1]#2{}\makeatother&#10;</xsl:text>
+ -->
+ <xsl:text>\fi&#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Load hyperref package &#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>\usepackage[</xsl:text>
+ <xsl:value-of select="$latex.hyperref.param.common" />
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select="$latex.hyperref.param.dvips" />
+ <xsl:text>]{hyperref}&#10;</xsl:text>
+ <!--
+ <xsl:text>\makeatletter\def\pdfmark@[#1]#2{}\makeatother&#10;</xsl:text>
+ -->
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:param xmlns="">
+ <refpurpose> &LaTeX; mathematics support </refpurpose>
+ </doc:param>
+ <xsl:param name="latex.math.preamble">
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Math support &#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra,amsopn}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{thm}{Theorem}[section]&#10;</xsl:text>
+ <xsl:text>%\newtheorem{cor}[section]{Corollary}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{lem}[section]{Lemma}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{defn}[section]{Definition}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{prop}[section]{Proposition}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{ax}{Axiom}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{theorem}[section]{Theorem}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{corollary}{Corollary}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{lemma}{Lemma}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{proposition}{Proposition}&#10;</xsl:text>
+ <xsl:text>%\theoremstyle{definition}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{definition}{Definition}&#10;</xsl:text>
+ <xsl:text>%\theoremstyle{remark}&#10;</xsl:text>
+ <xsl:text>%\newtheorem{rem}{Remark}&#10;</xsl:text>
+ <xsl:text>%\newtheorem*{notation}{Notation}&#10;</xsl:text>
+ <xsl:text>%\newcommand{\ntt}{\normalfont\ttfamily}&#10;</xsl:text>
+ <xsl:text>%\newcommand{\thmref}[1]{Theorem~\ref{#1}}&#10;</xsl:text>
+ <xsl:text>%\newcommand{\secref}[1]{\S\ref{#1}}&#10;</xsl:text>
+ <xsl:text>%\newcommand{\lemref}[1]{Lemma~\ref{#1}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\bysame}{\mbox{\rule{3em}{.4pt}}\,}&#10;</xsl:text>
+ <xsl:text> \newcommand{\A}{\mathcal{A}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\B}{\mathcal{B}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\XcY}{{(X,Y)}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\SX}{{S_X}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\SY}{{S_Y}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\SXY}{{S_{X,Y}}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\SXgYy}{{S_{X|Y}(y)}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\Cw}[1]{{\hat C_#1(X|Y)}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\G}{{G(X|Y)}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\PY}{{P_{\mathcal{Y}}}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\X}{\mathcal{X}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\wt}{\widetilde}&#10;</xsl:text>
+ <xsl:text> \newcommand{\wh}{\widehat}&#10;</xsl:text>
+ <xsl:text> % --------------------------------------------&#10;</xsl:text>
+ <xsl:text> %\DeclareMathOperator{\per}{per}&#10;</xsl:text>
+ <xsl:text> \DeclareMathOperator{\cov}{cov}&#10;</xsl:text>
+ <xsl:text> \DeclareMathOperator{\non}{non}&#10;</xsl:text>
+ <xsl:text> \DeclareMathOperator{\cf}{cf}&#10;</xsl:text>
+ <xsl:text> \DeclareMathOperator{\add}{add}&#10;</xsl:text>
+ <xsl:text> \DeclareMathOperator{\Cham}{Cham}&#10;</xsl:text>
+ <xsl:text> \DeclareMathOperator{\IM}{Im}&#10;</xsl:text>
+ <xsl:text> \DeclareMathOperator{\esssup}{ess\,sup}&#10;</xsl:text>
+ <xsl:text> \DeclareMathOperator{\meas}{meas}&#10;</xsl:text>
+ <xsl:text> \DeclareMathOperator{\seg}{seg}&#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ </xsl:param>
+
+ <doc:template xmlns="">
+ <refpurpose> Declared graphic extensions </refpurpose>
+ <doc:description>
+ <para>
+ This template checks whether the user has overridden <command>grafic.default.extension</command>
+ Otherwise, declares .pdf, .png, .jpg if using pdflatex and .eps if using latex.
+ </para>
+ <programlisting><![CDATA[
+<xsl:template name="latex.graphicext">
+<xsl:choose>
+<xsl:when test="$graphic.default.extension !=''">
+ <xsl:text>\DeclareGraphicsExtensions{</xsl:text>
+ <xsl:if test="not(contains($graphic.default.extension,'.'))">
+ <xsl:text>.</xsl:text>
+ </xsl:if>
+ <xsl:value-of select="$graphic.default.extension"/>
+ <xsl:text>}&#10;</xsl:text>
+</xsl:when>
+<xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$latex.pdf.support=1">
+ <xsl:text>\ifpdf&#10;</xsl:text>
+ <xsl:text>\DeclareGraphicsExtensions{.pdf,.png,.jpg}&#10;</xsl:text>
+ <xsl:text>\else&#10;</xsl:text>
+ <xsl:text>\DeclareGraphicsExtensions{.eps}&#10;</xsl:text>
+ <xsl:text>\fi&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\DeclareGraphicsExtensions{.eps}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+]]></programlisting>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.graphic.default.extension"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.pdf.support"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </doc:template>
+ <xsl:template name="latex.graphicext">
+ <xsl:choose>
+ <xsl:when test="$graphic.default.extension !=''">
+ <xsl:text>\DeclareGraphicsExtensions{</xsl:text>
+ <xsl:if test="not(contains($graphic.default.extension,'.'))">
+ <xsl:text>.</xsl:text>
+ </xsl:if>
+ <xsl:value-of select="$graphic.default.extension"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$latex.pdf.support=1">
+ <xsl:text>\ifpdf&#10;</xsl:text>
+ <xsl:text>\DeclareGraphicsExtensions{.pdf,.png,.jpg}&#10;</xsl:text>
+ <xsl:text>\else&#10;</xsl:text>
+ <xsl:text>\DeclareGraphicsExtensions{.eps}&#10;</xsl:text>
+ <xsl:text>\fi&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\DeclareGraphicsExtensions{.eps}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/procedure.mod.xsl b/docs/xslt/db2latex-xsl/xsl/procedure.mod.xsl
new file mode 100644
index 0000000000..f7c780bd6d
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/procedure.mod.xsl
@@ -0,0 +1,421 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: procedure.mod.xsl,v 1.12 2004/01/13 04:35:43 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="procedure" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: procedure.mod.xsl,v 1.12 2004/01/13 04:35:43 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.10">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Procedures <filename>procedure.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>procedure</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Format a titled, enumerated list of steps.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.formal.title.placement"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>mode</term>
+ <listitem><simpara>
+ Although the <sgmltag class="attribute">mode</sgmltag>
+ parameter is normally empty, this template recognises a
+ special value of <quote>custom</quote>. This influences
+ the type of environment and the method of labelling
+ <doc:db basename="step">steps</doc:db>.
+ </simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>environment</term>
+ <listitem><simpara>
+ This determines the &LaTeX; environment that will be
+ used for each <doc:db>step</doc:db>'s <function
+ condition="latex">item</function>. When the
+ <literal>mode</literal> is <quote>custom</quote>, this
+ parameter defaults to <quote>description</quote>.
+ Otherwise, the default is <quote>enumerate</quote>.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ By default, the &LaTeX; <function
+ condition="env">enumerate</function> environment is used and any
+ <doc:db>step</doc:db>'s <doc:db>title</doc:db> will be typeset
+ after its automatic step number. However, when the
+ <literal>mode</literal> variable is equal to <quote>custom</quote>,
+ the <function condition="env">description</function> environment
+ will be used and step titles will be typeset
+ <emphasis>instead</emphasis> of step numbers.
+
+ </para>
+ <para>
+
+ Although the procedure is a formal, titled block, is is not typeset
+ using <function condition="latex">subsection</function>.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_chemistry;
+ &test_procedure;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.procedure/title"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="procedure" name="procedure">
+ <xsl:param name="mode" select="''"/>
+ <xsl:param name="environment">
+ <xsl:choose>
+ <xsl:when test="$mode='custom'">
+ <xsl:text>description</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>enumerate</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:variable name="placement">
+ <xsl:call-template name="generate.formal.title.placement">
+ <xsl:with-param name="object" select="local-name(.)" />
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="preamble" select="node()[not(self::blockinfo or self::title or self::subtitle or self::titleabbrev or self::step)]"/>
+ <xsl:choose>
+ <xsl:when test="$placement='before' or $placement=''">
+ <xsl:apply-templates select="title" mode="procedure.title"/>
+ <xsl:apply-templates select="$preamble"/>
+ <xsl:text>\begin{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:apply-templates select="step">
+ <xsl:with-param name="mode" select="$mode"/>
+ </xsl:apply-templates>
+ <xsl:text>\end{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="$preamble"/>
+ <xsl:text>\begin{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:apply-templates select="step">
+ <xsl:with-param name="mode" select="$mode"/>
+ </xsl:apply-templates>
+ <xsl:text>\end{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:apply-templates select="title" mode="procedure.title"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process a <doc:db>procedure</doc:db>'s <doc:db>title</doc:db> </refpurpose>
+ <doc:description>
+ <para>
+
+ Format a special bridgehead.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.procedure.title.style"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.apply.title.templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ The title is typeset as a paragraph.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_procedure;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="procedure/title">
+ <xsl:text>&#10;&#10;{</xsl:text>
+ <xsl:value-of select="$latex.procedure.title.style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$latex.apply.title.templates=1">
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="step" xmlns="">
+ <refpurpose>Process <doc:db>step</doc:db> elements </refpurpose>
+ <doc:description>
+ <para>
+
+ Format steps and substeps as part of a procedure.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.step.title.style"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>mode</term>
+ <listitem><simpara>
+
+ The <quote>mode</quote> from the parent
+ <doc:db>procedure</doc:db>. This template
+ needs to know when the <quote>custom</quote>
+ mode is in use, because it needs to pass the
+ step's title as an optional argument to the
+ &LaTeX; <function condition="latex">item</function>
+ command (see <xref linkend="template.procedure"/>).
+ The mode is normally received from the enclosing
+ <doc:db>procedure</doc:db> or <doc:db>substeps</doc:db>
+ template.
+
+ </simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>title</term>
+ <listitem><simpara>
+ The string (typically empty).
+ See <xref linkend="template.generate.step.title"/>
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ Each step is typeset using the &LaTeX; <function condition="latex">item</function> command.
+
+ </para>
+ <para>
+ If there is no <doc:db>title</doc:db> element, the
+ step will be numbered automatically by &LaTeX;.
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_chemistry;
+ &test_procedure;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.generate.step.title"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="step" name="step">
+ <xsl:param name="mode" select="''"/>
+ <xsl:param name="title">
+ <xsl:call-template name="generate.step.title">
+ <xsl:with-param name="mode" select="$mode"/>
+ </xsl:call-template>
+ </xsl:param>
+ <xsl:choose>
+ <xsl:when test="$title!='' and $mode='custom'">
+ <xsl:text>&#10;\item[{</xsl:text>
+ <xsl:value-of select="$latex.step.title.style"/> <!-- by default \sc -->
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$title"/>
+ <xsl:text>}}]&#10;{</xsl:text>
+ </xsl:when>
+ <xsl:when test="$title!=''">
+ <xsl:text>&#10;\item{{</xsl:text>
+ <xsl:value-of select="$latex.step.title.style"/> <!-- by default \sc -->
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$title"/>
+ <xsl:text>}}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>&#10;\item{</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="node()[not(self::title)]"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Generate a <doc:db>step</doc:db>'s title </refpurpose>
+ <doc:description>
+ <para>
+
+ By default, simply applies templates for <doc:db>title</doc:db>
+ elements.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>mode</term>
+ <listitem><simpara>
+
+ See <xref linkend="template.procedure"/>. When the mode
+ is <quote>custom</quote>, this template will use the
+ XSL <literal>number</literal> element to format a title
+ such as "1.", "2.", etc. Otherwise, any
+ <doc:db>title</doc:db> elements will be used.
+
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ If this template generates no content, the
+ <doc:db>step</doc:db> will either be numbered automatically by
+ &LaTeX; or left unlabelled (depending on the
+ <quote>mode</quote>).
+
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template name="generate.step.title">
+ <xsl:param name="mode"/>
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:apply-templates select="title"/>
+ </xsl:when>
+ <xsl:when test="$mode='custom'">
+ <xsl:number format="1."/>
+ </xsl:when>
+ <!-- otherwise, empty -->
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>substep</doc:db> elements </refpurpose>
+ <doc:description>
+ <para>
+
+ Format substeps as part of a step.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>mode</term>
+ <listitem><simpara>
+ See <xref linkend="template.procedure"/>.
+ </simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>environment</term>
+ <listitem><simpara>
+ See <xref linkend="template.procedure"/>.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:notes>
+ <para>
+
+ Substeps are typeset by nesting a &LaTeX;
+ <function condition="env">enumerate</function> environment.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_procedure;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="substeps">
+ <xsl:param name="mode" select="''"/>
+ <xsl:param name="environment">
+ <xsl:choose>
+ <xsl:when test="$mode='custom'">
+ <xsl:text>description</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>enumerate</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:text>\begin{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:apply-templates select="step">
+ <xsl:with-param name="mode" select="$mode"/>
+ </xsl:apply-templates>
+ <xsl:text>\end{</xsl:text>
+ <xsl:value-of select="$environment"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/qandaset.mod.xsl b/docs/xslt/db2latex-xsl/xsl/qandaset.mod.xsl
new file mode 100644
index 0000000000..3cf6fb9de4
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/qandaset.mod.xsl
@@ -0,0 +1,415 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: qandaset.mod.xsl,v 1.13 2004/01/04 13:22:27 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
+| PURPOSE:
+| Portions (c) Norman Walsh, official DocBook XSL stylesheets.
+| See docbook.sf.net
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version="1.0">
+
+ <doc:reference id="qandaset" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: qandaset.mod.xsl,v 1.13 2004/01/04 13:22:27 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.11">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>QandaSet <filename>qandaset.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ Portions (c) Norman Walsh, official DocBook XSL stylesheets. See docbook.sf.net
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>qandadiv</doc:db> elements</refpurpose>
+ <doc:description>
+ <para><doc:todo>Undocumented.</doc:todo></para>
+ </doc:description>
+ </doc:template>
+<xsl:template match="qandaset">
+ <!-- get all children that are not the following -->
+ <xsl:variable name="preamble" select="*[name(.) != 'title'
+ and name(.) != 'titleabbrev'
+ and name(.) != 'blockinfo'
+ and name(.) != 'qandadiv'
+ and name(.) != 'qandaentry']"/>
+ <xsl:variable name="label-width"/>
+ <xsl:variable name="table-summary"/>
+ <xsl:variable name="cellpadding"/>
+ <xsl:variable name="cellspacing"/>
+ <xsl:variable name="toc"/>
+ <xsl:variable name="toc.params"/>
+ <xsl:variable name="qalevel">
+ <xsl:call-template name="qanda.section.level"/>
+ </xsl:variable>
+ <xsl:text>% -------------------------------------------------------------&#10;</xsl:text>
+ <xsl:text>% QandASet &#10;</xsl:text>
+ <xsl:text>% -------------------------------------------------------------&#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="ancestor::sect2">
+ <xsl:text>\subsubsection*{</xsl:text>
+ </xsl:when>
+ <xsl:when test="ancestor::sect1">
+ <xsl:text>\subsection*{</xsl:text>
+ </xsl:when>
+ <xsl:when test="ancestor::article | ancestor::appendix">
+ <xsl:text>\section*{</xsl:text>
+ </xsl:when>
+ <xsl:when test="ancestor::book">
+ <xsl:text>\chapter*{</xsl:text>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:apply-templates select="title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>F.A.Q.</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>&#10;</xsl:text>
+
+ <!-- process toc -->
+ <xsl:if test="contains($toc.params, 'toc') and $toc != '0'">
+ <xsl:call-template name="process.qanda.toc"/>
+ </xsl:if>
+ <!-- process preamble -->
+ <xsl:apply-templates select="$preamble"/>
+ <!-- process divs and entries -->
+ <xsl:apply-templates select="qandaentry|qandadiv"/>
+</xsl:template>
+
+ <doc:template basename="qandaentry" xmlns="">
+ <refpurpose>Process <doc:db>qandadiv</doc:db> elements</refpurpose>
+ <doc:description>
+ <para><doc:todo>Undocumented.</doc:todo></para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="qandaset/qandaentry">
+ <xsl:text>\vspace{1em}&#10;</xsl:text>
+ <xsl:text>\noindent{}</xsl:text>
+ <xsl:value-of select="position()"/>
+ <xsl:text>.~</xsl:text>
+ <xsl:apply-templates select="question"/>
+ <xsl:text>\newline&#10;</xsl:text>
+ <xsl:apply-templates select="answer"/>
+ <xsl:text>\vspace{1em}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>qandadiv</doc:db> elements</refpurpose>
+ <doc:description>
+ <para><doc:todo>Undocumented.</doc:todo></para>
+ </doc:description>
+ </doc:template>
+<xsl:template match="qandadiv">
+ <!-- get the preamble -->
+ <xsl:variable name="preamble" select="*[name(.) != 'title'
+ and name(.) != 'titleabbrev'
+ and name(.) != 'qandadiv'
+ and name(.) != 'qandaentry']"/>
+ <xsl:variable name="qalevel">
+ <xsl:call-template name="qandadiv.section.level"/>
+ </xsl:variable>
+ <!-- process the title if it exists -->
+ <xsl:text>% -----------&#10;</xsl:text>
+ <xsl:text>% QandADiv &#10;</xsl:text>
+ <xsl:text>% -----------&#10;</xsl:text>
+ <xsl:text>\noindent\begin{minipage}{\linewidth}&#10;</xsl:text>
+ <xsl:text>\vspace{0.25em}\hrule\vspace{0.25em}&#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="ancestor::sect2">
+ <xsl:text>\paragraph*{</xsl:text>
+ </xsl:when>
+ <xsl:when test="ancestor::sect1">
+ <xsl:text>\subsubsection*{</xsl:text>
+ </xsl:when>
+ <xsl:when test="ancestor::article | ancestor::appendix">
+ <xsl:text>\subsection*{</xsl:text>
+ </xsl:when>
+ <xsl:when test="ancestor::book">
+ <xsl:text>\section*{</xsl:text>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:apply-templates select="title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>F.A.Q. Part</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>\hrule\vspace{0.25em}&#10;</xsl:text>
+ <xsl:text>\end{minipage}&#10;</xsl:text>
+
+<!--
+ <xsl:text>\begin{toc}&#10;</xsl:text>
+ <xsl:for-each select="qandaentry">
+ <xsl:text>\tocref{</xsl:text>
+ <xsl:value-of select="@id"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:for-each>
+ <xsl:text>\end{toc}&#10;</xsl:text>
+-->
+
+<!-- pseudo table of contents -->
+ <!--
+ <xsl:choose>
+ <xsl:when test="title">
+ <xsl:text>\caption{</xsl:text>
+ <xsl:apply-templates select="title"/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\caption{</xsl:text>
+ <xsl:text>F.A.Q. Part</xsl:text>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ -->
+ <xsl:for-each select="qandaentry">
+ <xsl:text>\noindent{}</xsl:text>
+ <xsl:value-of select="position()"/>
+ <xsl:text>.~</xsl:text>
+ <xsl:apply-templates select="question"/>
+ <xsl:if test="position()!=last()"><xsl:text>\newline&#10;</xsl:text></xsl:if>
+ </xsl:for-each>
+ <xsl:text>\vspace{0.25em}\hrule&#10;</xsl:text>
+
+ <xsl:for-each select="qandaentry">
+ <xsl:text>\vspace{1em}&#10;</xsl:text>
+ <xsl:text>\noindent{}</xsl:text>
+ <xsl:value-of select="position()"/>
+ <xsl:text>.~</xsl:text>
+ <xsl:apply-templates select="question"/>
+ <xsl:text>\newline&#10;</xsl:text>
+ <xsl:apply-templates select="answer"/>
+ </xsl:for-each>
+ <xsl:text>\vspace{1em}&#10;</xsl:text>
+</xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>question</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates as a italicised block, preceded by a bold
+ letter <quote>Q</quote>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>defaultlabel attributes are not honoured.</para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="question">
+ <!-- get the default label
+ <xsl:variable name="deflabel">
+ <xsl:choose>
+ <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+ <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]/@defaultlabel"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="latex.qanda.defaultlabel"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ -->
+ <!-- process the question itself
+ <xsl:apply-templates select="." mode="label.markup"/>
+ <xsl:choose>
+ <xsl:when test="$deflabel = 'none' and not(label)">
+ <xsl:apply-templates select="*[name(.) != 'label']"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="*[name(.) != 'label']"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ -->
+ <xsl:text>\textbf{Q:}~\textit{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>answer</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates as a block, preceded by a bold
+ letter <quote>A</quote>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="answer">
+ <xsl:text>\noindent\textbf{A:}~</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>&#10;&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>label</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="label">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template name="process.qanda.toc">
+ <xsl:apply-templates select="qandadiv" mode="qandatoc.mode"/>
+ <xsl:apply-templates select="qandaentry" mode="qandatoc.mode"/>
+ </xsl:template>
+
+ <doc:template basename="qandadiv" xmlns="">
+ <refpurpose>Process <doc:db>qandadiv</doc:db> elements</refpurpose>
+ <doc:description>
+ <para><doc:todo>Undocumented.</doc:todo></para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="qandadiv" mode="qandatoc.mode">
+ <xsl:apply-templates select="title" mode="qandatoc.mode"/>
+ <xsl:call-template name="process.qanda.toc"/>
+ </xsl:template>
+
+ <doc:template basename="title" xmlns="">
+ <refpurpose>Process a <doc:db>qandadiv</doc:db>'s <doc:db>title</doc:db> elements</refpurpose>
+ <doc:description>
+ <para><doc:todo>Undocumented.</doc:todo></para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="qandadiv/title" mode="qandatoc.mode">
+ <xsl:variable name="qalevel">
+ <xsl:call-template name="qandadiv.section.level"/>
+ </xsl:variable>
+ <xsl:call-template name="label.id">
+ <xsl:with-param name="object" select="parent::*"/>
+ </xsl:call-template>
+ <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/>
+ <xsl:value-of select="$autotoc.label.separator"/>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="" basename="qandaentry">
+ <refpurpose>Process <doc:db>qandaentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para><doc:todo>Undocumented.</doc:todo></para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="qandaentry" mode="qandatoc.mode">
+ <xsl:apply-templates mode="qandatoc.mode"/>
+ </xsl:template>
+
+ <doc:template basename="question" xmlns="">
+ <refpurpose>Process <doc:db>question</doc:db> elements</refpurpose>
+ <doc:description>
+ <para><doc:todo>Undocumented.</doc:todo></para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="question" mode="qandatoc.mode">
+ <xsl:variable name="firstch" select="(*[name(.)!='label'])[1]"/>
+ <xsl:apply-templates select="." mode="label.markup"/>
+ <xsl:text> </xsl:text>
+ </xsl:template>
+
+ <doc:template xmlns="" basename="answer">
+ <refpurpose>Process <doc:db>answer</doc:db> elements</refpurpose>
+ <doc:description>
+ <para><doc:todo>Undocumented.</doc:todo></para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="answer" mode="qandatoc.mode"/>
+
+ <doc:template xmlns="" basename="revhistory">
+ <refpurpose>Process <doc:db>revhistory</doc:db> elements</refpurpose>
+ <doc:description>
+ <para><doc:todo>Undocumented.</doc:todo></para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="revhistory" mode="qandatoc.mode"/>
+
+<xsl:template name="question.answer.label">
+ <!-- variable: deflabel -->
+ <xsl:variable name="deflabel">
+ <!-- chck whether someone has a defaultlabel attribute -->
+ <xsl:choose>
+ <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+ <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]/@defaultlabel"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="latex.qanda.defaultlabel"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="label" select="@label"/>
+ <xsl:choose>
+ <xsl:when test="$deflabel = 'qanda'">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key">
+ <xsl:choose>
+ <xsl:when test="local-name(.) = 'question'">question</xsl:when>
+ <xsl:when test="local-name(.) = 'answer'">answer</xsl:when>
+ <xsl:when test="local-name(.) = 'qandadiv'">qandadiv</xsl:when>
+ <xsl:otherwise>qandaset</xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$deflabel = 'label'">
+ <xsl:value-of select="$label"/>
+ </xsl:when>
+ <xsl:when test="$deflabel = 'number' and local-name(.) = 'question'">
+ <xsl:apply-templates select="ancestor::qandaset[1]" mode="number"/>
+ <xsl:choose>
+ <xsl:when test="ancestor::qandadiv">
+ <xsl:apply-templates select="ancestor::qandadiv[1]" mode="number"/>
+ <xsl:apply-templates select="ancestor::qandaentry" mode="number"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="ancestor::qandaentry" mode="number"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- nothing -->
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/refentry.mod.xsl b/docs/xslt/db2latex-xsl/xsl/refentry.mod.xsl
new file mode 100644
index 0000000000..98c6868564
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/refentry.mod.xsl
@@ -0,0 +1,343 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: refentry.mod.xsl,v 1.7 2004/01/14 14:54:32 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="refentry" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: refentry.mod.xsl,v 1.7 2004/01/14 14:54:32 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.5">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>References and Entries <filename>refentry.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>refentry.mod.xsl</filename> contains
+ XSL templates for <doc:db basename="reference">references</doc:db>.</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>reference</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes the mapping templates and applies content templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="reference">
+ <xsl:call-template name="map.begin"/>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>refentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes the mapping templates and applies content templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="refentry">
+ <xsl:variable name="refmeta" select=".//refmeta"/>
+ <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/>
+ <xsl:variable name="refnamediv" select=".//refnamediv"/>
+ <xsl:variable name="refname" select="$refnamediv//refname"/>
+ <xsl:variable name="title">
+ <xsl:choose>
+ <xsl:when test="$refentrytitle">
+ <xsl:apply-templates select="$refentrytitle[1]"/>
+ </xsl:when>
+ <xsl:when test="$refname">
+ <xsl:apply-templates select="$refname[1]"/>
+ <xsl:apply-templates select="$refnamediv//refpurpose"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="string" select="$title"/>
+ </xsl:call-template>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="string" select="$title"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>refentry</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Suppresses <doc:db basename="refentry">refentries</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="refmeta"/>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>refentrytitle</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Format a reference entry title.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ This template uses <literal>inline.charseq</literal>,
+ though I'm not sure if this should be changed to
+ a single <literal>apply-templates</literal>.
+ </para>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.inline.charseq"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="refentrytitle">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:template>
+
+ <!--
+ <xsl:template match="refnamediv">
+ <xsl:call-template name="block.object"/>
+ </xsl:template>
+ -->
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>manvolnum</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Format a reference volume number.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.refentry.xref.manvolnum"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+ If <xref linkend="param.refentry.xref.manvolnum"/> is set,
+ this template will apply templates. Otherwise, no output
+ is produced.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="manvolnum">
+ <xsl:if test="$refentry.xref.manvolnum != 0">
+ <xsl:text>(</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>)</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>refnamediv</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Format a reference header.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:description>
+ <para>
+ Calls <xref linkend="template.block.object"/>.
+ </para>
+ </doc:description>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.block.object"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="refnamediv">
+ <xsl:call-template name="block.object"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>refname</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a <doc:db>refname</doc:db> as a start-of-section
+ for a <doc:db>refentry</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.refentry.generate.name"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>Will commence a &LaTeX; <function
+ condition="latex">section</function> if necessary.</para>
+ <para>Designed to accommodate multiple <doc:db>refname</doc:db>s in
+ a single <doc:db>refentry</doc:db>.</para>
+ <para>The use of a comma between multiple <doc:db>refname</doc:db>s
+ should probably be localised.</para>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="refname">
+ <xsl:if test="not (preceding-sibling::refname)">
+ <xsl:text>&#10;\section*{</xsl:text>
+ <xsl:if test="$refentry.generate.name != 0">
+ <xsl:call-template name="gentext.element.name"/>
+ </xsl:if>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates/>
+ <xsl:if test="following-sibling::refname">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>refpurpose</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a <doc:db>refpurpose</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>Outputs an em dash and then applies templates.</para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="refpurpose">
+ <xsl:text> --- </xsl:text>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>refdescriptor</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a <doc:db>refdescriptor</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>Suppressed.</para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="refdescriptor">
+ <!-- todo: finish this -->
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>refclass</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a <doc:db>refclass</doc:db>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>Applies templates. If the role attribute is not empty,
+ it will be output prior to content, separated by a colon.</para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="refclass">
+ <xsl:if test="@role!=''">
+ <xsl:value-of select="@role"/>
+ <xsl:text>: </xsl:text>
+ </xsl:if>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>refsynopsisdiv</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Formats a <doc:db>refsynopsisdiv</doc:db> as an unnumbered subsection.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="refsynopsisdiv">
+ <xsl:call-template name="label.id"/>
+ <xsl:text>&#10;\subsection*{Synopsis}&#10;</xsl:text>
+ <xsl:call-template name="content-templates"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>refsect</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Invokes the mapping templates and applies content templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="refsect1|refsect2|refsect3">
+ <xsl:call-template name="map.begin"/>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/revision.mod.xsl b/docs/xslt/db2latex-xsl/xsl/revision.mod.xsl
new file mode 100644
index 0000000000..3e9ae23f89
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/revision.mod.xsl
@@ -0,0 +1,247 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: revision.mod.xsl,v 1.7 2004/01/03 09:48:34 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="revision" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: revision.mod.xsl,v 1.7 2004/01/03 09:48:34 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.12">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Revision Management <filename>revision.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ This file defines the &DB2LaTeX; XSL templates for
+ <doc:db>revision</doc:db> and its children. The basic mapping
+ is to output a &LaTeX; table and a table row for each revision.
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>revhistory</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Format a list of <doc:db basename="revision">revisions</doc:db>
+ as a block.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.output.revhistory"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Uses a &LaTeX; mapping and applies templates.
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_book;
+ &test_ddh;
+ &test_ieeebiblio;
+ &test_mapping;
+ &test_minimal;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="revhistory">
+ <!--
+ <xsl:message>RCAS: Processing Revision History </xsl:message>
+ -->
+ <xsl:if test="$latex.output.revhistory=1">
+ <xsl:call-template name="map.begin"/>
+ <xsl:apply-templates/>
+ <xsl:call-template name="map.end"/>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>revision</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Format a list of <doc:db basename="revision">revisions</doc:db>.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ Each <doc:db>revision</doc:db> corresponds to a &LaTeX; table
+ row containing the revision number, the date, author initials
+ and the description/ remarks of the revision.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_book;
+ &test_ddh;
+ &test_ieeebiblio;
+ &test_mapping;
+ &test_minimal;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>Gentext</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="revision">
+ <xsl:variable name="revnumber" select=".//revnumber"/>
+ <xsl:variable name="revdate" select=".//date"/>
+ <xsl:variable name="revauthor" select=".//authorinitials"/>
+ <xsl:variable name="revremark" select=".//revremark|.//revdescription"/>
+ <!-- Row starts here -->
+ <xsl:if test="$revnumber">
+ <xsl:call-template name="gentext.element.name"/>
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates select="$revnumber"/>
+ </xsl:if>
+ <xsl:text> &amp; </xsl:text>
+ <xsl:apply-templates select="$revdate"/>
+ <xsl:text> &amp; </xsl:text>
+ <xsl:choose>
+ <xsl:when test="count($revauthor)=0">
+ <xsl:call-template name="dingbat">
+ <xsl:with-param name="dingbat">nbsp</xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="$revauthor"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!-- End Row here -->
+ <xsl:text> \\ \hline&#10;</xsl:text>
+ <!-- Add Remark Row if exists-->
+ <xsl:if test="$revremark">
+ <xsl:text>\multicolumn{3}{|l|}{</xsl:text>
+ <xsl:apply-templates select="$revremark"/>
+ <!-- End Row here -->
+ <xsl:text>} \\ \hline&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+
+ <doc:template basename="authorinitials" xmlns="">
+ <refpurpose>Process a <doc:db>revision</doc:db>'s <doc:db>authorinitials</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Applies templates and outputs a "comma" between multiple
+ <doc:db>authorinitials</doc:db> elements.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="revision/authorinitials">
+ <xsl:apply-templates/>
+ <xsl:if test="following-sibling::authorinitials">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>revnumber</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="revnumber">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template basename="date" xmlns="">
+ <refpurpose>Process a <doc:db>revision</doc:db>'s <doc:db>date</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="revision/date">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>revremark</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="revremark">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>revdescription</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="revdescription">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/scape.mod.xsl b/docs/xslt/db2latex-xsl/xsl/scape.mod.xsl
new file mode 100644
index 0000000000..ef0b6374ab
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/scape.mod.xsl
@@ -0,0 +1,629 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This file was generated automatically. -->
+<!-- Developers should not commit sundry patches against this file. -->
+<!-- The source file (with documentation!) is in the admin directory. -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <doc:reference xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" id="scape">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: scape.mod.xsl,v 1.4 2004/01/23 11:36:06 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ <author>
+ <firstname>James</firstname>
+ <surname>Devenish</surname>
+ </author>
+ </authorgroup>
+ <copyright>
+ <year>2003</year>
+ <year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ </referenceinfo>
+ <title><productname condition="noindex">LaTeX</productname> Active-character Escaping</title>
+ </doc:reference>
+ <doc:template xmlns:doc="http://nwalsh.com/xsl/documentation/1.0">
+ <refpurpose>General text escaping for <productname condition="noindex">LaTeX</productname> active characters</refpurpose>
+ <doc:description>
+ <para>
+ Certain characters must be escaped so that <productname condition="noindex">LaTeX</productname> will typeset
+ them verbatim rather than attempting to interpret them as commands.
+ </para>
+ </doc:description>
+ <refsection>
+ <title>Mapping Source</title>
+ <programlisting><![CDATA[<template name="scape">
+
+ <map from="&lt;" to="\textless{}"/>
+
+ <map from="&gt;" to="\textgreater{}"/>
+
+ <map from="~" to="\textasciitilde{}"/>
+
+ <map from="^" to="\textasciicircum{}"/>
+
+ <map from="&amp;" to="\&amp;"/>
+
+ <map from="#" to="\#"/>
+
+ <map from="_" to="\_"/>
+
+ <map from="$" to="\$"/>
+
+ <map from="%" to="\%"/>
+
+ <map from="|" to="\docbooktolatexpipe{}"/>
+
+ <map from="{" to="\{"/>
+
+ <map from="}" to="\}"/>
+
+ <map from="\textbackslash " to="\textbackslash \ "/>
+
+ <map from="\" to="\textbackslash "/>
+
+ </template>]]></programlisting>
+ </refsection>
+ </doc:template>
+ <xsl:template name="scape">
+ <xsl:param name="string"/>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">&lt;</xsl:with-param>
+ <xsl:with-param name="to">\textless{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">&gt;</xsl:with-param>
+ <xsl:with-param name="to">\textgreater{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">~</xsl:with-param>
+ <xsl:with-param name="to">\textasciitilde{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">^</xsl:with-param>
+ <xsl:with-param name="to">\textasciicircum{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">&amp;</xsl:with-param>
+ <xsl:with-param name="to">\&amp;</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">#</xsl:with-param>
+ <xsl:with-param name="to">\#</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">_</xsl:with-param>
+ <xsl:with-param name="to">\_</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">$</xsl:with-param>
+ <xsl:with-param name="to">\$</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">%</xsl:with-param>
+ <xsl:with-param name="to">\%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">|</xsl:with-param>
+ <xsl:with-param name="to">\docbooktolatexpipe{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">{</xsl:with-param>
+ <xsl:with-param name="to">\{</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">}</xsl:with-param>
+ <xsl:with-param name="to">\}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">\textbackslash </xsl:with-param>
+ <xsl:with-param name="to">\textbackslash \ </xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">\</xsl:with-param>
+ <xsl:with-param name="to">\textbackslash </xsl:with-param>
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+ <doc:template xmlns:doc="http://nwalsh.com/xsl/documentation/1.0">
+ <refpurpose>Escape characters for use with <function condition="latex">index</function>
+ <productname condition="noindex">LaTeX</productname> command</refpurpose>
+ <doc:description>
+ <para>
+ In addition to the characters from <xref linkend="template.scape"/>,
+ certain extra characters must be escaped so that <productname condition="noindex">LaTeX</productname> will not treat
+ them as indexing directives.
+ </para>
+ </doc:description>
+ <refsection>
+ <title>Mapping Source</title>
+ <programlisting><![CDATA[<template name="scape-indexterm">
+
+ <map from="!" to="&#34;!"/>
+
+ <map from="|" to="\ensuremath{&#34;|}"/>
+
+ <map from="@" to="&#34;@"/>
+
+ <map from="&lt;" to="\textless{}"/>
+
+ <map from="&gt;" to="\textgreater{}"/>
+
+ <map from="~" to="\textasciitilde{}"/>
+
+ <map from="^" to="\textasciicircum{}"/>
+
+ <map from="&amp;" to="\&amp;"/>
+
+ <map from="#" to="\#"/>
+
+ <map from="_" to="\_"/>
+
+ <map from="$" to="\$"/>
+
+ <map from="%" to="\%"/>
+
+ <map from="\}" to="\textbraceright{}"/>
+
+ <map from="{" to="\textbraceleft{}"/>
+
+ <map from="}" to="\}"/>
+
+ <map from="&#34;" to="&#34;&#34;"/>
+
+ <map from="\textbackslash " to="\textbackslash \ "/>
+
+ <map from="\" to="\textbackslash "/>
+
+ </template>]]></programlisting>
+ </refsection>
+ </doc:template>
+ <xsl:template name="scape-indexterm">
+ <xsl:param name="string"/>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">!</xsl:with-param>
+ <xsl:with-param name="to">"!</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">|</xsl:with-param>
+ <xsl:with-param name="to">\ensuremath{"|}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">@</xsl:with-param>
+ <xsl:with-param name="to">"@</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">&lt;</xsl:with-param>
+ <xsl:with-param name="to">\textless{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">&gt;</xsl:with-param>
+ <xsl:with-param name="to">\textgreater{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">~</xsl:with-param>
+ <xsl:with-param name="to">\textasciitilde{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">^</xsl:with-param>
+ <xsl:with-param name="to">\textasciicircum{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">&amp;</xsl:with-param>
+ <xsl:with-param name="to">\&amp;</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">#</xsl:with-param>
+ <xsl:with-param name="to">\#</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">_</xsl:with-param>
+ <xsl:with-param name="to">\_</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">$</xsl:with-param>
+ <xsl:with-param name="to">\$</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">%</xsl:with-param>
+ <xsl:with-param name="to">\%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">\}</xsl:with-param>
+ <xsl:with-param name="to">\textbraceright{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">{</xsl:with-param>
+ <xsl:with-param name="to">\textbraceleft{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">}</xsl:with-param>
+ <xsl:with-param name="to">\}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">"</xsl:with-param>
+ <xsl:with-param name="to">""</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">\textbackslash </xsl:with-param>
+ <xsl:with-param name="to">\textbackslash \ </xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">\</xsl:with-param>
+ <xsl:with-param name="to">\textbackslash </xsl:with-param>
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+ <doc:template xmlns:doc="http://nwalsh.com/xsl/documentation/1.0">
+ <refpurpose>Verbatim-text escaping for <productname condition="noindex">LaTeX</productname> active characters</refpurpose>
+ <refsection>
+ <title>Mapping Source</title>
+ <programlisting><![CDATA[<template name="scape-verbatim">
+
+ <map from="~" to="\textasciitilde{}"/>
+
+ <map from="^" to="\textasciicircum{}"/>
+
+ <map from="&amp;" to="\&amp;"/>
+
+ <map from="#" to="\#"/>
+
+ <map from="_" to="\_\dbz{}"/>
+
+ <map from="$" to="\$"/>
+
+ <map from="%" to="\%"/>
+
+ <map from="/" to="/\dbz{}"/>
+
+ <map from="-" to="-\dbz{}"/>
+
+ <map from="+" to="+\dbz{}"/>
+
+ <map from="." to=".\dbz{}"/>
+
+ <map from="(" to="(\dbz{}"/>
+
+ <map from=")" to=")\dbz{}"/>
+
+ <map from="{" to="\docbooktolatexgobble\string\{"/>
+
+ <map from="}" to="\docbooktolatexgobble\string\}"/>
+
+ <map from="\" to="\docbooktolatexgobble\string\\"/>
+
+ </template>]]></programlisting>
+ </refsection>
+ </doc:template>
+ <xsl:template name="scape-verbatim">
+ <xsl:param name="string"/>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">~</xsl:with-param>
+ <xsl:with-param name="to">\textasciitilde{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">^</xsl:with-param>
+ <xsl:with-param name="to">\textasciicircum{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">&amp;</xsl:with-param>
+ <xsl:with-param name="to">\&amp;</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">#</xsl:with-param>
+ <xsl:with-param name="to">\#</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">_</xsl:with-param>
+ <xsl:with-param name="to">\_\dbz{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">$</xsl:with-param>
+ <xsl:with-param name="to">\$</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">%</xsl:with-param>
+ <xsl:with-param name="to">\%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">/</xsl:with-param>
+ <xsl:with-param name="to">/\dbz{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">-</xsl:with-param>
+ <xsl:with-param name="to">-\dbz{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">+</xsl:with-param>
+ <xsl:with-param name="to">+\dbz{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">.</xsl:with-param>
+ <xsl:with-param name="to">.\dbz{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">(</xsl:with-param>
+ <xsl:with-param name="to">(\dbz{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">)</xsl:with-param>
+ <xsl:with-param name="to">)\dbz{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">{</xsl:with-param>
+ <xsl:with-param name="to">\docbooktolatexgobble\string\{</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">}</xsl:with-param>
+ <xsl:with-param name="to">\docbooktolatexgobble\string\}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">\</xsl:with-param>
+ <xsl:with-param name="to">\docbooktolatexgobble\string\\</xsl:with-param>
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+ <doc:template xmlns:doc="http://nwalsh.com/xsl/documentation/1.0">
+ <refpurpose>Escape characters for use with the <productname>hyperref</productname>
+ <productname condition="noindex">LaTeX</productname> package</refpurpose>
+ <refsection>
+ <title>Mapping Source</title>
+ <programlisting><![CDATA[<template name="scape-href">
+
+ <map from="&amp;" to="\&amp;"/>
+
+ <map from="%" to="\%"/>
+
+ <map from="[" to="\["/>
+
+ <map from="]" to="\]"/>
+
+ <map from="{" to="\{"/>
+
+ <map from="}" to="\}"/>
+
+ <map from="\" to="\docbooktolatexgobble\string\\"/>
+
+ </template>]]></programlisting>
+ </refsection>
+ </doc:template>
+ <xsl:template name="scape-href">
+ <xsl:param name="string"/>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">&amp;</xsl:with-param>
+ <xsl:with-param name="to">\&amp;</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">%</xsl:with-param>
+ <xsl:with-param name="to">\%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">[</xsl:with-param>
+ <xsl:with-param name="to">\[</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">]</xsl:with-param>
+ <xsl:with-param name="to">\]</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">{</xsl:with-param>
+ <xsl:with-param name="to">\{</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">}</xsl:with-param>
+ <xsl:with-param name="to">\}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">\</xsl:with-param>
+ <xsl:with-param name="to">\docbooktolatexgobble\string\\</xsl:with-param>
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+ <doc:template xmlns:doc="http://nwalsh.com/xsl/documentation/1.0">
+ <refpurpose>Escape characters for use with the <productname>url</productname>
+ <productname condition="noindex">LaTeX</productname> package</refpurpose>
+ <refsection>
+ <title>Mapping Source</title>
+ <programlisting><![CDATA[<template name="scape-url">
+
+ <map from="&amp;" to="\string&amp;"/>
+
+ <map from="%" to="\%"/>
+
+ <map from="{" to="\{"/>
+
+ <map from="}" to="\}"/>
+
+ <map from="\" to="\docbooktolatexgobble\string\\"/>
+
+ </template>]]></programlisting>
+ </refsection>
+ </doc:template>
+ <xsl:template name="scape-url">
+ <xsl:param name="string"/>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">&amp;</xsl:with-param>
+ <xsl:with-param name="to">\string&amp;</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">%</xsl:with-param>
+ <xsl:with-param name="to">\%</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">{</xsl:with-param>
+ <xsl:with-param name="to">\{</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">}</xsl:with-param>
+ <xsl:with-param name="to">\}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">\</xsl:with-param>
+ <xsl:with-param name="to">\docbooktolatexgobble\string\\</xsl:with-param>
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+ <doc:template xmlns:doc="http://nwalsh.com/xsl/documentation/1.0">
+ <refpurpose>Escape the ] character in <productname condition="noindex">LaTeX</productname> optional arguments (experimental)</refpurpose>
+ <refsection>
+ <title>Mapping Source</title>
+ <programlisting><![CDATA[<template name="scape-optionalarg">
+
+ <map from="]" to="{\rbrack}"/>
+
+ </template>]]></programlisting>
+ </refsection>
+ </doc:template>
+ <xsl:template name="scape-optionalarg">
+ <xsl:param name="string"/>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">]</xsl:with-param>
+ <xsl:with-param name="to">{\rbrack}</xsl:with-param>
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:template>
+ <doc:template xmlns:doc="http://nwalsh.com/xsl/documentation/1.0">
+ <refpurpose>Basic line-breaking for verbatim text</refpurpose>
+ <doc:description>
+ <para>
+ Allow line breaking after certain characters.
+ Text should be escaped with the <xref linkend="template.scape"/>
+ template before being passed to this template.
+ </para>
+ </doc:description>
+ <refsection>
+ <title>Mapping Source</title>
+ <programlisting><![CDATA[<template name="scape-slash">
+
+ <map from="." to=".\dbz{}"/>
+
+ <map from="/" to="/\dbz{}"/>
+
+ </template>]]></programlisting>
+ </refsection>
+ </doc:template>
+ <xsl:template name="scape-slash">
+ <xsl:param name="string"/>
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">.</xsl:with-param>
+ <xsl:with-param name="to">.\dbz{}</xsl:with-param>
+ <xsl:with-param name="string">
+ <xsl:call-template name="string-replace">
+ <xsl:with-param name="from">/</xsl:with-param>
+ <xsl:with-param name="to">/\dbz{}</xsl:with-param>
+ <xsl:with-param name="string" select="$string"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/sections.mod.xsl b/docs/xslt/db2latex-xsl/xsl/sections.mod.xsl
new file mode 100644
index 0000000000..c7cdd4a397
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/sections.mod.xsl
@@ -0,0 +1,209 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: sections.mod.xsl,v 1.8 2004/01/03 12:19:15 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="sections" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: sections.mod.xsl,v 1.8 2004/01/03 12:19:15 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.6">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Sections <filename>sections.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>sections.mod.xsl</filename> contains the
+ XSL templates for <doc:db>section</doc:db>, <doc:db>simplesect</doc:db>,
+ and <doc:db>sect1</doc:db>, etc.</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process explicitly-nested sections</refpurpose>
+ <doc:description>
+ <para>
+ Formats a section's title (including numbering, if applicable)
+ then allows all child elements to be processed. The title
+ is formatted the using &LaTeX; mapping identified by the
+ element name (e.g. <doc:db>sect1</doc:db>, etc.).
+ </para>
+ </doc:description>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>bridgehead</term>
+ <listitem>
+ <para>
+
+ If <literal>true()</literal>, the title is
+ processed like a <doc:db>bridgehead</doc:db> (that
+ is, the section is unnumbered and does not appear
+ in the <doc:db>toc</doc:db>). This parameter
+ defaults to <literal>false()</literal> unless the
+ section appears within a preface.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+
+ <para>Currently, <quote>info</quote> elements (e.g.
+ <doc:db>sect1info</doc:db>), <doc:db>subtitle</doc:db> and
+ <doc:db>titleabbrev</doc:db> are not honoured.</para>
+
+ <para>The use of special components such as <doc:db>toc</doc:db>,
+ <doc:db>lot</doc:db>, <doc:db>index</doc:db> and
+ <doc:db>glossary</doc:db> is unlikely to be successful.</para>
+
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><para>&mapping;</para></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+
+ <xsl:template match="sect1|sect2|sect3|sect4|sect5">
+ <xsl:param name="bridgehead" select="ancestor::preface|ancestor::colophon|ancestor::dedication|ancestor::partintro"/>
+ <xsl:variable name="template">
+ <xsl:value-of select="local-name(.)"/>
+ <xsl:if test="$bridgehead"><xsl:text>*</xsl:text></xsl:if>
+ </xsl:variable>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="keyword" select="$template"/>
+ </xsl:call-template>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="keyword" select="$template"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process recursive and leaf sections</refpurpose>
+ <doc:description>
+ <para>
+ Formats a section's title (including numbering, if applicable)
+ then allows all child elements to be processed. The title
+ is formatted the using &LaTeX; mapping identified by the
+ equivalent explicit element (e.g. <doc:db>sect1</doc:db>, etc.).
+ </para>
+ </doc:description>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>bridgehead</term>
+ <listitem>
+ <para>
+
+ If <literal>true()</literal>, the title is
+ processed like a <doc:db>bridgehead</doc:db> (that
+ is, the section is unnumbered and does not appear
+ in the <doc:db>toc</doc:db>). This parameter
+ defaults to <literal>false()</literal> unless the
+ section appears within a preface.
+
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>level</term>
+ <listitem>
+ <para>
+
+ The numeric nesting level of the section. This is
+ automatically calculated as "one greater than the
+ number of ancestor <doc:db>section</doc:db>s".
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+
+ <para>Titles for sections nested beyond a depth of five are
+ formatted like <doc:db>sect5</doc:db>.</para>
+
+ <para>Currently, <quote>info</quote> elements (e.g.
+ <doc:db>sectioninfo</doc:db>), <doc:db>subtitle</doc:db> and
+ <doc:db>titleabbrev</doc:db> are not honoured.</para>
+
+ <para>The use of special components such as <doc:db>toc</doc:db>,
+ <doc:db>lot</doc:db>, <doc:db>index</doc:db> and
+ <doc:db>glossary</doc:db> is unlikely to be successful.</para>
+
+ <para>&LaTeX; makes no semantic distinction between
+ <doc:db>section</doc:db> and <doc:db>simplesect</doc:db>.</para>
+
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><para>&mapping;</para></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="section|simplesect">
+ <xsl:param name="bridgehead" select="ancestor::preface|ancestor::colophon|ancestor::dedication"/>
+ <xsl:param name="level" select="count(ancestor::section)+1"/>
+ <xsl:variable name="template">
+ <xsl:choose>
+ <xsl:when test='$level&lt;6'>
+ <xsl:text>sect</xsl:text>
+ <xsl:value-of select="$level"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>DB2LaTeX: recursive section|simplesect &gt; 5 not well supported.</xsl:message>
+ <xsl:text>sect6</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$bridgehead"><xsl:text>*</xsl:text></xsl:if>
+ </xsl:variable>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="keyword" select="$template"/>
+ </xsl:call-template>
+ <xsl:call-template name="content-templates"/>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="keyword" select="$template"/>
+ </xsl:call-template>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/sgmltag.mod.xsl b/docs/xslt/db2latex-xsl/xsl/sgmltag.mod.xsl
new file mode 100644
index 0000000000..3040a4acd6
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/sgmltag.mod.xsl
@@ -0,0 +1,170 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: sgmltag.mod.xsl,v 1.5 2003/12/31 13:18:04 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="sgmltag" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: sgmltag.mod.xsl,v 1.5 2003/12/31 13:18:04 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.4">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title><acronym>SGML</acronym> Tags <filename>sgmltag.mod.xsl</filename></title>
+ <partintro>
+ <para>The file <filename>sgmltag.mod.xsl</filename> contains the
+ XSL template for <doc:db>sgmltag</doc:db>.</para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose> Process <doc:db>sgmltag</doc:db> elements </refpurpose>
+ <doc:description>
+ <para>
+
+ Expresses the element using inline sequences plus any necessary
+ punctuation. Some classes are formatted as monospace text.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Unknown classes are emitted without special formatting.
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+
+ <xsl:template match="sgmltag">
+ <xsl:param name="class">
+ <xsl:choose>
+ <xsl:when test="@class">
+ <xsl:value-of select="normalize-space(@class)"/>
+ </xsl:when>
+ <xsl:otherwise>element</xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:choose>
+ <xsl:when test="$class='attribute'">
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:when>
+ <xsl:when test="$class='attvalue'">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:when>
+ <xsl:when test="$class='element'">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:when>
+ <xsl:when test="$class='endtag'">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:text>&lt;/</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>&gt;</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$class='genentity'">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:text>\&amp;</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>;</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$class='numcharref'">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:text>\&amp;\#</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>;</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$class='paramentity'">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:text>\%</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>;</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$class='pi'">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:text>&lt;?</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>?&gt;</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$class='xmlpi'">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:text>&lt;?</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>?&gt;</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$class='starttag'">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:text>&lt;</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>&gt;</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$class='emptytag'">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:text>&lt;</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>/&gt;</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$class='sgmlcomment'">
+ <xsl:call-template name="inline.monoseq">
+ <xsl:with-param name="content">
+ <xsl:text>&lt;!--</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>--&gt;</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="inline.charseq"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/foil.mod.xsl b/docs/xslt/db2latex-xsl/xsl/slides/foil.mod.xsl
new file mode 100644
index 0000000000..32f1b895bf
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/foil.mod.xsl
@@ -0,0 +1,52 @@
+<?xml version='1.0'?>
+<!--#############################################################################
+| $Id: foil.mod.xsl,v 1.1 2003/04/06 18:31:49 rcasellas Exp $
+|- #############################################################################
+| $Author: rcasellas $
+|
+| PURPOSE:
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+
+ <!--############################################################################# -->
+ <!-- DOCUMENTATION -->
+ <doc:reference id="foil" xmlns="">
+ </doc:reference>
+ <!--############################################################################# -->
+
+ <xsl:template match="foilgroup">
+ <xsl:text> &#10;&#10;</xsl:text>
+ <xsl:text>%---------------------------------------------------------------------- PART &#10;</xsl:text>
+ <xsl:text>\part{</xsl:text><xsl:apply-templates select="title"/><xsl:text> }&#10;</xsl:text>
+ <xsl:text>%---------------------------------------------------------------------- PART &#10;</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>&#10;&#10;</xsl:text>
+ <xsl:apply-templates select="foil"/>
+ </xsl:template>
+
+ <xsl:template match="foilgroup/title">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="foil">
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>%---------------------------------------------------------------------- SLIDE &#10;</xsl:text>
+ <xsl:text>\begin{slide}{</xsl:text>
+ <xsl:apply-templates select="title"/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:apply-templates select="*[not (self::title)]"/>
+ <xsl:text>\end{slide}&#10;</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="foil/title">
+ <xsl:apply-templates />
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/caution.pdf b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/caution.pdf
new file mode 100755
index 0000000000..a0afabfa23
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/caution.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/important.pdf b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/important.pdf
new file mode 100755
index 0000000000..a0afabfa23
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/important.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/note.pdf b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/note.pdf
new file mode 100755
index 0000000000..ec6c248a2a
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/note.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/tip.pdf b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/tip.pdf
new file mode 100755
index 0000000000..54f5dedb5d
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/tip.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/warning.pdf b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/warning.pdf
new file mode 100755
index 0000000000..a0afabfa23
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/figures/warning.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.pdf b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.pdf
new file mode 100644
index 0000000000..43ae3e68b5
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.pdf
Binary files differ
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.tex b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.tex
new file mode 100644
index 0000000000..47fb1227d8
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.tex
@@ -0,0 +1,420 @@
+\documentclass[17pt,headrule,footrule,landscape]{foils}
+\usepackage[latin1]{inputenc}
+\usepackage{pstricks,pst-node,pst-text,pst-3d}
+\usepackage{subfigure}
+\usepackage{fancybox}
+\usepackage{a4wide}
+\usepackage{times}
+\usepackage{fancyvrb}
+\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra,amsopn}
+\usepackage{anysize}
+\usepackage[pdftex,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage,hyperfigures,hyperindex,citecolor=blue,urlcolor=blue]{hyperref}
+\usepackage[english]{babel}
+\usepackage[pdftex]{graphicx}
+\pdfcompresslevel=9
+%------------------------------------------------------- Values and counters
+\marginsize{1.5cm}{1.5cm}{0.5cm}{0.5cm}
+\renewcommand\floatpagefraction{.9}
+\renewcommand\topfraction{.9}
+\renewcommand\bottomfraction{.9}
+\renewcommand\textfraction{.1}
+
+\usepackage[usenames,pdftex]{color}
+%------------------------------------------------------- BfBlue Command
+\newcommand{\bfblue}[1]{ \textcolor{blue}{\bf #1} }
+
+%------------------------------------------------------- BfGreen Command
+\newcommand{\bfgreen}[1]{ \textcolor{blue}{\bf #1} }
+
+%------------------------------------------------------- BfRed Command
+\newcommand{\bfred}[1]{ \textcolor{red}{\bf #1} }
+
+%------------------------------------------------------- BfBlue Command
+\newcommand{\emblue}[1]{ \textcolor{blue}{\emph{#1}} }
+
+%------------------------------------------------------- BfGreen Command
+\newcommand{\emgreen}[1]{ \textcolor{blue}{\emph{#1}} }
+
+%------------------------------------------------------- BfRed Command
+\newcommand{\emred}[1]{ \textcolor{red}{\emph{#1}} }
+
+%------------------------------------------------------- Part Command
+\newcommand{\part}[1]{
+\foilhead{}
+\vspace{2cm}
+\begin{center}
+\Huge{\textcolor{blue}{#1}}
+\end{center}}
+ \newcommand{\dbz}{}
+%------------------------------------------------------- Slide Command
+\newcommand{\slide}[1]{
+\foilhead[-0.5in]{\large{\textcolor{blue}{#1}}}
+}
+\newcommand{\id}[1]{
+\label{#1}
+\hypertarget{#1}{}
+}
+% --------------------------------------------
+\newenvironment{admminipage}{
+\begin{Sbox}
+\begin{minipage}
+}{
+\end{minipage}
+\end{Sbox}
+\fbox{\TheSbox}
+}
+\newlength{\admlength}
+\newenvironment{admonition}[2] {
+\hspace{0mm}\newline\hspace*\fill\newline
+\noindent
+\setlength{\fboxsep}{5pt}
+\setlength{\admlength}{\linewidth}
+\addtolength{\admlength}{-10\fboxsep}
+\addtolength{\admlength}{-10\fboxrule}
+\admminipage{\admlength}
+\bfblue{\sc\large{#2}}\newline
+\\[1mm]
+%\sffamily
+\includegraphics[width=1cm]{#1}
+\addtolength{\admlength}{-1cm}
+\addtolength{\admlength}{-20pt}
+\begin{minipage}[lt]{\admlength}
+\parskip=0.5\baselineskip \advance\parskip by 0pt plus 2pt
+}{
+\vspace{5mm}
+\end{minipage}
+\endadmminipage
+\vspace{.5em}
+\par
+}
+%--------------------------------------------------SLIDES INFORMATION
+\title{{\black The Slides Document Type}}
+\author{{\black }}
+ \begin{document}
+\maketitle
+%--------------------------------------------------SLIDES INFORMATION
+\title{{\black The Slides Document Type}}
+\author{{\black }}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Introduction}
+\label{id2739608}
+
+This is the introductory slide.
+
+If you use foil groups (previously called sections), you can have introductory slides before the first group.
+
+\begin{admonition}{figures/warning}{Warning! :)}% NOTICE: see the db2latex FAQ w.r.t db2latex variable $latex.admonition.path
+
+This is a work in progress ("release early, release often")
+\end{admonition}
+
+\end{slide}
+
+
+%---------------------------------------------------------------------- PART
+\part{Purpose and History }
+%---------------------------------------------------------------------- PART
+\label{id2739637}
+
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{What Are Slides?}
+\label{id2739648}
+
+\begin{itemize}
+%--- Item
+\item
+An XML presentation tool
+
+
+%--- Item
+\item
+Suitable for HTML or PDF presentations
+
+
+%--- Item
+\item
+Supported by Open Source software
+
+\end{itemize}
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Where Do They Come From?}
+\label{id2739677}
+
+\begin{itemize}
+%--- Item
+\item
+Maintained by the \href{http://docbook.sourceforge.net/}{DocBook Open Repository} Project at
+\href{http://sourceforge.net/}{SourceForge}
+
+
+%--- Item
+\item
+Customization layer of \href{http://www.oasis-open.org/docbook/xml/simple/}{Simplified DocBook}
+
+\end{itemize}
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Why?}
+\label{id2739724}
+
+\begin{itemize}
+%--- Item
+\item
+So Norm could give presentations
+
+
+%--- Item
+\item
+So Norm could publish those presentations on the web
+
+
+%--- Item
+\item
+So Norm could have {\em accessible} presentations that didn't rely on the grotesque HTML output of some otherwise bloated, proprietary tool
+
+
+%--- Item
+\item
+So Norm could cut-and-paste from his DocBook articles and papers directly into his slides
+
+
+%--- Item
+\item
+Oh, let's face it: because it was there. Like the proverbial mountain.
+
+\end{itemize}
+\end{slide}
+
+
+%---------------------------------------------------------------------- PART
+\part{Authoring }
+%---------------------------------------------------------------------- PART
+\label{id2739773}
+
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Minimal Presentation}
+\label{id2739783}
+
+The smallest possible presentation looks like this:
+
+\begin{Verbatim}[]
+<?xml version='1.0'?>
+<!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.0b1//EN"
+ "http://docbook.sourceforge.net/release/slides/3.0b1/slides.dtd">
+<slides>
+<slidesinfo>
+<title>Presentation Title</title>
+</slidesinfo>
+<foil><title>Foil Title</title>
+<para>Foil content</para>
+</foil>
+</slides>
+\end{Verbatim}
+
+Every presentation must contain at least one slide.
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Presentation Metadata}
+\label{id2739810}
+
+Presentations usually have more metadata in the {\texttt{{slidesinfo}}} wrapper. Here's a typical example:
+
+\begin{Verbatim}[]
+<slidesinfo>
+ <title>Supporting Localized Generated Text</title>
+ <titleabbrev>Generated Text</titleabbrev>
+ <author><firstname>Norman</firstname><surname>Walsh</surname></author>
+ <pubdate>Sunday, 08 Apr 2001</pubdate>
+ <confgroup>
+ <conftitle>XSLTUK-01</conftitle>
+ <confdates>08 Apr - 09 Apr 2001</confdates>
+ <conftitle role="address">Keble College, Oxford, UK</conftitle>
+ <confnum>1</confnum>
+ </confgroup>
+ <releaseinfo role="version">Version TEST</releaseinfo>
+ <copyright><year>2001</year>
+ <holder>Sun Microsystems, Inc.</holder></copyright>
+</slidesinfo>
+\end{Verbatim}
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Presentation Content}
+\label{id2739830}
+
+It's common for individual slides to consist of a single bulleted or numbered list. However, the full range of «block level» Simplified DocBook elements are avialable.
+\end{slide}
+
+
+%---------------------------------------------------------------------- PART
+\part{Styling }
+%---------------------------------------------------------------------- PART
+\label{id2739862}
+
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{HTML}
+\label{id2739872}
+
+There are a lot of HTML options. When you publish your presentation on the web, it's probably best to use one of the simpler, more accessible styles. For your actual live presentation, you may want to choose something fancier.
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Plain HTML}
+\label{id2739888}
+
+\begin{itemize}
+%--- Item
+\item
+\href{../default/}{{\texttt{{default.\dbz{}xsl}}}}
+and
+\href{../plain/}{{\texttt{{plain.\dbz{}xsl}}}} produce fairly simple presentations
+
+
+%--- Item
+\item
+\href{../tables/}{{\texttt{{tables.\dbz{}xsl}}}}
+uses a table to show the navigation context (somewhat like the tabular
+\href{http://docbook.sourceforge.net/}{Website} style)
+
+
+%--- Item
+\item
+\href{../vslides/}{{\texttt{{vslides.\dbz{}xsl}}}} places navigation on the left side instead of the top and bottom
+
+
+%--- Item
+\item
+\href{../w3c/}{{\texttt{{w3c.\dbz{}xsl}}}} produces slides that resemble the format used by the W3C for presentations
+
+\end{itemize}
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Fancy HTML}
+\label{id2739970}
+
+\begin{itemize}
+%--- Item
+\item
+\href{../frames1/frames.html}{{\texttt{{frames.\dbz{}xsl}}}} uses frames. There are several options that you can apply:
+
+\begin{itemize}
+%--- Item
+\item
+\href{../frames2/frames.html}{overlay} uses CSS absolute positioning to keep the navigation static on the pages (only works on recent browsers)
+
+
+%--- Item
+\item
+\href{../frames3/frames.html}{multiframe} uses additional frames to keep the navigation static on the pages
+
+
+%--- Item
+\item
+\href{../frames4/frames.html}{dynamic.toc} uses JavaScript to keep the table of contents and the current slide in sync (only works on recent browsers)
+
+
+%--- Item
+\item
+\href{../frames5/frames.html}{active.toc} uses JavaScript to make
+the table of context «active» so that you can open and close the foil groups (only works on recent browsers)
+
+
+%--- Item
+\item
+These toc styles can be combined with \href{../frames6/frames.html}{overlay} or \href{../frames7/frames.html}{multiframe}
+
+\end{itemize}
+
+\end{itemize}
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{PDF}
+\label{id2740078}
+
+The {\texttt{{fo-\dbz{}plain.\dbz{}xsl}}} stylesheet produces XSL Formatting Objects that can subsequently be turned into PDF.
+\end{slide}
+
+
+%---------------------------------------------------------------------- PART
+\part{Presentation }
+%---------------------------------------------------------------------- PART
+\label{id2740095}
+
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Look And Feel}
+\label{id2740106}
+
+For HTML display, most of the actual «look-and-feel» of the presentation is controlled by the CSS stylesheet(s) used.
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Presentation Tips}
+\label{id2740122}
+
+\begin{itemize}
+%--- Item
+\item
+It's usually best if each slide is only one page (avoid scrolling).
+
+
+%--- Item
+\item
+If you'll be giving your presentation with a projector, make sure you know what resolution you'll have available and test your presentation at that resolution.
+
+
+%--- Item
+\item
+Make your fonts bigger so the folks in the back of the room can read your slides.
+
+
+%--- Item
+\item
+Test the equipment before your presentation begins. Really.
+
+
+%--- Item
+\item
+Speak more slowly. I always forget that one.
+
+\end{itemize}
+\end{slide}
+
+
+%---------------------------------------------------------------------- PART
+\part{Conclusions }
+%---------------------------------------------------------------------- PART
+\label{id2740169}
+
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Conclusions}
+\label{id2740175}
+
+It's customary to have a conclusions slide.
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{References}
+\label{id2740187}
+
+References are a good idea too.
+\end{slide}
+
+%---------------------------------------------------------------------- SLIDE
+\begin{slide}{Q\&A}
+\label{id2740198}
+
+Any questions?
+\end{slide}
+\end{document}
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.xml b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.xml
new file mode 100644
index 0000000000..0774e29708
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.xml
@@ -0,0 +1,251 @@
+<?xml version='1.0'?>
+<!--
+<!DOCTYPE slides SYSTEM "../../schema/dtd/slides.dtd">
+-->
+<slides>
+<slidesinfo>
+ <title>The Slides Document Type</title>
+ <author><firstname>Norman</firstname><surname>Walsh</surname></author>
+ <pubdate>Tuesday, 25 June 2002</pubdate>
+ <releaseinfo role="version">3.1.0</releaseinfo>
+ <copyright><year>2002</year>
+ <holder>Norman Walsh</holder></copyright>
+</slidesinfo>
+
+<foil><title>Introduction</title>
+<para>This is the introductory slide.</para>
+<para>If you use foil groups (previously called sections), you can
+have introductory slides before the first group.</para>
+<warning><title>Warning! :)</title>
+<para>This is a work in progress ("release early, release often")</para>
+</warning>
+</foil>
+
+<foilgroup><title>Purpose and History</title>
+
+<para>Groups can now have introductory text as well.</para>
+
+<foil><title>What Are Slides?</title>
+<itemizedlist>
+<listitem><para>An XML presentation tool
+</para></listitem>
+<listitem><para>Suitable for HTML or PDF presentations
+</para></listitem>
+<listitem><para>Supported by Open Source software
+</para></listitem>
+</itemizedlist>
+</foil>
+
+<foil><title>Where Do They Come From?</title>
+
+<itemizedlist>
+<listitem><para>Maintained by the <ulink url="http://docbook.sourceforge.net/">DocBook
+Open Repository</ulink> Project at
+<ulink url="http://sourceforge.net/">SourceForge</ulink>
+</para></listitem>
+<listitem><para>Customization layer of
+<ulink url="http://www.oasis-open.org/docbook/xml/simple/">Simplified DocBook</ulink>
+</para></listitem>
+</itemizedlist>
+</foil>
+
+<foil><title>Why?</title>
+
+<itemizedlist>
+<listitem><para>So Norm could give presentations
+</para></listitem>
+<listitem><para>So Norm could publish those presentations on the web
+</para></listitem>
+<listitem><para>So Norm could have <emphasis>accessible</emphasis> presentations
+that didn't rely on the grotesque HTML output of some otherwise bloated, proprietary
+tool
+</para></listitem>
+<listitem><para>So Norm could cut-and-paste from his DocBook articles and papers
+directly into his slides
+</para></listitem>
+<listitem><para>Oh, let's face it: because it was there. Like the proverbial mountain.
+</para></listitem>
+</itemizedlist>
+</foil>
+</foilgroup>
+
+<foilgroup><title>Authoring</title>
+
+<para>How to write a presentation.</para>
+
+<foil><title>Minimal Presentation</title>
+
+<para>The smallest possible presentation looks like this:</para>
+
+<screen><![CDATA[<?xml version='1.0'?>
+<!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.0b1//EN"
+ "http://docbook.sourceforge.net/release/slides/3.0b1/slides.dtd">
+<slides>
+<slidesinfo>
+<title>Presentation Title</title>
+</slidesinfo>
+<foil><title>Foil Title</title>
+<para>Foil content</para>
+</foil>
+</slides>]]></screen>
+
+<para>Every presentation must contain at least one slide.</para>
+</foil>
+
+<foil><title>Presentation Metadata</title>
+
+<para>Presentations usually have more metadata in the <literal>slidesinfo</literal>
+wrapper. Here's a typical example:</para>
+
+<screen><![CDATA[<slidesinfo>
+ <title>Supporting Localized Generated Text</title>
+ <titleabbrev>Generated Text</titleabbrev>
+ <author><firstname>Norman</firstname><surname>Walsh</surname></author>
+ <pubdate>Sunday, 08 Apr 2001</pubdate>
+ <confgroup>
+ <conftitle>XSLTUK-01</conftitle>
+ <confdates>08 Apr - 09 Apr 2001</confdates>
+ <conftitle role="address">Keble College, Oxford, UK</conftitle>
+ <confnum>1</confnum>
+ </confgroup>
+ <releaseinfo role="version">Version TEST</releaseinfo>
+ <copyright><year>2001</year>
+ <holder>Sun Microsystems, Inc.</holder></copyright>
+</slidesinfo>]]></screen>
+</foil>
+
+<foil><title>Presentation Content</title>
+
+<para>It's common for individual slides to consist of a single
+bulleted or numbered list. However, the full range of <quote>block
+level</quote> Simplified DocBook elements are avialable.</para>
+
+</foil>
+</foilgroup>
+
+<foilgroup><title>Styling</title>
+
+<para>How to transform a presentation.</para>
+
+<foil><title>HTML</title>
+
+<para>There are a lot of HTML options. When you publish your
+presentation on the web, it's probably best to use one of the simpler,
+more accessible styles. For your actual live presentation, you may
+want to choose something fancier.</para>
+
+</foil>
+
+<foil><title>Plain HTML</title>
+
+<itemizedlist>
+<listitem><para><ulink url="../default/"><filename>default.xsl</filename></ulink>
+and
+<ulink url="../plain/"><filename>plain.xsl</filename></ulink>
+produce fairly simple presentations
+</para></listitem>
+<listitem><para><ulink url="../tables/"><filename>tables.xsl</filename></ulink>
+uses a table to show the navigation context (somewhat like the tabular
+<ulink url="http://docbook.sourceforge.net/">Website</ulink> style)
+</para></listitem>
+<listitem><para><ulink url="../vslides/"><filename>vslides.xsl</filename></ulink>
+places navigation on the left side instead of the top and bottom
+</para></listitem>
+<listitem><para><ulink url="../w3c/"><filename>w3c.xsl</filename></ulink>
+produces slides that resemble the format used by the W3C for presentations
+</para></listitem>
+</itemizedlist>
+
+</foil>
+
+<foil><title>Fancy HTML</title>
+
+<itemizedlist>
+<listitem><para><ulink url="../frames1/frames.html"><filename>frames.xsl</filename></ulink>
+uses frames. There are several options that you can apply:
+</para>
+<itemizedlist>
+<listitem><para><ulink url="../frames2/frames.html">overlay</ulink> uses CSS absolute positioning
+to keep the navigation static on the pages (only works on recent browsers)
+</para></listitem>
+<listitem><para><ulink url="../frames3/frames.html">multiframe</ulink> uses additional frames
+to keep the navigation static on the pages
+</para></listitem>
+<listitem><para><ulink url="../frames4/frames.html">dynamic.toc</ulink> uses JavaScript to keep
+the table of contents and the current slide in sync (only works on recent browsers)
+</para></listitem>
+<listitem><para><ulink url="../frames5/frames.html">active.toc</ulink> uses JavaScript to make
+the table of context <quote>active</quote> so that you can open and close the foil
+groups (only works on recent browsers)
+</para></listitem>
+<listitem><para>These toc styles can be combined with
+<ulink url="../frames6/frames.html">overlay</ulink> or <ulink url="../frames7/frames.html">multiframe</ulink>
+</para></listitem>
+</itemizedlist>
+</listitem>
+</itemizedlist>
+</foil>
+
+<foil><title>PDF</title>
+
+<para>The <filename>fo-plain.xsl</filename> stylesheet produces XSL Formatting
+Objects that can subsequently be turned into PDF.</para>
+
+</foil>
+
+</foilgroup>
+
+<foilgroup><title>Presentation</title>
+
+<para>How to customize and present a set of slides.</para>
+
+<foil><title>Look And Feel</title>
+
+<para>For HTML display, most of the actual
+<quote>look-and-feel</quote> of the presentation is controlled by the CSS
+stylesheet(s) used.</para>
+
+</foil>
+
+<foil><title>Presentation Tips</title>
+
+<itemizedlist>
+<listitem><para>It's usually best if each slide is only one page (avoid scrolling).
+</para></listitem>
+<listitem><para>If you'll be giving your presentation with a projector, make sure you
+know what resolution you'll have available and test your presentation at that resolution.
+</para></listitem>
+<listitem><para>Make your fonts bigger so the folks in the back of the room can read
+your slides.
+</para></listitem>
+<listitem><para>Test the equipment before your presentation begins. Really.
+</para></listitem>
+<listitem><para>Speak more slowly. I always forget that one.
+</para></listitem>
+</itemizedlist>
+</foil>
+
+</foilgroup>
+
+<foilgroup><title>Conclusions</title>
+
+<foil><title>Conclusions</title>
+
+<para>It's customary to have a conclusions slide.</para>
+
+</foil>
+
+<foil><title>References</title>
+
+<para>References are a good idea too.</para>
+
+</foil>
+
+<foil><title>Q&amp;A</title>
+
+<para>Any questions?</para>
+
+</foil>
+</foilgroup>
+
+</slides>
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.xsl b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.xsl
new file mode 100644
index 0000000000..bb06cef611
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.xsl
@@ -0,0 +1,158 @@
+<?xml version='1.0'?>
+<!--#############################################################################
+ | $Id: slides.xsl,v 1.1 2003/07/22 07:12:13 rcasellas Exp $
+ |- #############################################################################
+ | $Author: rcasellas $
+ |
+ + ############################################################################## -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+
+<xsl:import href="../slides.xsl"/>
+
+ <xsl:variable name="db2latex.slides.packages">
+ <xsl:text>\usepackage[latin1]{inputenc}&#10;</xsl:text>
+ <xsl:text>\usepackage{pstricks,pst-node,pst-text,pst-3d}&#10;</xsl:text>
+ <xsl:text>\usepackage{subfigure}&#10;</xsl:text>
+ <xsl:text>\usepackage{fancybox}&#10;</xsl:text>
+ <xsl:text>\usepackage{a4wide}&#10;</xsl:text>
+ <xsl:text>\usepackage{times}&#10;</xsl:text>
+ <xsl:text>\usepackage{fancyvrb}&#10;</xsl:text>
+ <xsl:text>\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra,amsopn}&#10;</xsl:text>
+ <xsl:text>\usepackage{anysize}&#10;</xsl:text>
+ <xsl:text>\usepackage[pdftex,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, </xsl:text>
+ <xsl:text>linktocpage,hyperfigures,hyperindex,citecolor=blue,urlcolor=blue]{hyperref}&#10;</xsl:text>
+ <xsl:text>\usepackage[english]{babel}&#10;</xsl:text>
+ <xsl:text>\usepackage[pdftex]{graphicx}&#10;</xsl:text>
+
+ </xsl:variable>
+
+
+
+ <xsl:variable name="db2latex.slides.optpackages"/>
+
+
+ <xsl:variable name="db2latex.slides.beforebegin">
+ <xsl:text>\pdfcompresslevel=9&#10;</xsl:text>
+ <xsl:text>%------------------------------------------------------- Values and counters&#10;</xsl:text>
+ <xsl:text>\marginsize{1.5cm}{1.5cm}{0.5cm}{0.5cm}&#10;</xsl:text>
+ <xsl:text>\renewcommand\floatpagefraction{.9}&#10;</xsl:text>
+ <xsl:text>\renewcommand\topfraction{.9}&#10;</xsl:text>
+ <xsl:text>\renewcommand\bottomfraction{.9}&#10;</xsl:text>
+ <xsl:text>\renewcommand\textfraction{.1}&#10;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>\usepackage[usenames,pdftex]{color}&#10;</xsl:text>
+ <xsl:text>%------------------------------------------------------- BfBlue Command&#10;</xsl:text>
+ <xsl:text>\newcommand{\bfblue}[1]{ \textcolor{blue}{\bf #1} }&#10;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>%------------------------------------------------------- BfGreen Command&#10;</xsl:text>
+ <xsl:text>\newcommand{\bfgreen}[1]{ \textcolor{blue}{\bf #1} }&#10;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>%------------------------------------------------------- BfRed Command&#10;</xsl:text>
+ <xsl:text>\newcommand{\bfred}[1]{ \textcolor{red}{\bf #1} }&#10;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>%------------------------------------------------------- BfBlue Command&#10;</xsl:text>
+ <xsl:text>\newcommand{\emblue}[1]{ \textcolor{blue}{\emph{#1}} }&#10;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>%------------------------------------------------------- BfGreen Command&#10;</xsl:text>
+ <xsl:text>\newcommand{\emgreen}[1]{ \textcolor{blue}{\emph{#1}} }&#10;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>%------------------------------------------------------- BfRed Command&#10;</xsl:text>
+ <xsl:text>\newcommand{\emred}[1]{ \textcolor{red}{\emph{#1}} }&#10;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:text>%------------------------------------------------------- Part Command&#10;</xsl:text>
+ <xsl:text>\newcommand{\part}[1]{&#10;</xsl:text>
+ <xsl:text>\foilhead{}&#10;</xsl:text>
+ <xsl:text>\vspace{2cm}&#10;</xsl:text>
+ <xsl:text>\begin{center}&#10;</xsl:text>
+ <xsl:text>\Huge{\textcolor{blue}{#1}}&#10;</xsl:text>
+ <xsl:text>\end{center}}&#10;</xsl:text>
+ <xsl:text> \newcommand{\dbz}{} &#10;</xsl:text>
+ <xsl:text>%------------------------------------------------------- Slide Command&#10;</xsl:text>
+ <xsl:text>\newcommand{\slide}[1]{&#10;</xsl:text>
+ <xsl:text>\foilhead[-0.5in]{\large{\textcolor{blue}{#1}}}&#10;</xsl:text>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\newcommand{\id}[1]{&#10;</xsl:text>
+ <xsl:text>\label{#1}&#10;</xsl:text>
+ <xsl:text>\hypertarget{#1}{}&#10;</xsl:text>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>\newenvironment{admminipage}{&#10;</xsl:text>
+ <xsl:text>\begin{Sbox}&#10;</xsl:text>
+ <xsl:text>\begin{minipage}&#10;</xsl:text>
+ <xsl:text>}{&#10;</xsl:text>
+ <xsl:text>\end{minipage}&#10;</xsl:text>
+ <xsl:text>\end{Sbox}&#10;</xsl:text>
+ <xsl:text>\fbox{\TheSbox}&#10;</xsl:text>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\newlength{\admlength}&#10;</xsl:text>
+ <xsl:text>\newenvironment{admonition}[2] {&#10;</xsl:text>
+ <xsl:text>\hspace{0mm}\newline\hspace*\fill\newline&#10;</xsl:text>
+ <xsl:text>\noindent&#10;</xsl:text>
+ <xsl:text>\setlength{\fboxsep}{5pt}&#10;</xsl:text>
+ <xsl:text>\setlength{\admlength}{\linewidth}&#10;</xsl:text>
+ <xsl:text>\addtolength{\admlength}{-10\fboxsep}&#10;</xsl:text>
+ <xsl:text>\addtolength{\admlength}{-10\fboxrule}&#10;</xsl:text>
+ <xsl:text>\admminipage{\admlength}&#10;</xsl:text>
+ <xsl:text>\bfblue{\sc\large{#2}}\newline&#10;</xsl:text>
+ <xsl:text>\\[1mm]&#10;</xsl:text>
+ <xsl:text>%\sffamily&#10;</xsl:text>
+ <xsl:text>\includegraphics[width=1cm]{#1}&#10;</xsl:text>
+ <xsl:text>\addtolength{\admlength}{-1cm}&#10;</xsl:text>
+ <xsl:text>\addtolength{\admlength}{-20pt}&#10;</xsl:text>
+ <xsl:text>\begin{minipage}[lt]{\admlength}&#10;</xsl:text>
+ <xsl:text>\parskip=0.5\baselineskip \advance\parskip by 0pt plus 2pt&#10;</xsl:text>
+ <xsl:text>}{&#10;</xsl:text>
+ <xsl:text>\vspace{5mm}&#10;</xsl:text>
+ <xsl:text>\end{minipage}&#10;</xsl:text>
+ <xsl:text>\endadmminipage&#10;</xsl:text>
+ <xsl:text>\vspace{.5em}&#10;</xsl:text>
+ <xsl:text>\par&#10;</xsl:text>
+ <xsl:text>}&#10;</xsl:text>
+
+ </xsl:variable>
+
+
+
+ <xsl:template match="slides">
+<!-- Document class and preamble -->
+ <xsl:text>\documentclass[17pt,headrule,footrule,landscape]{foils}&#10;</xsl:text>
+ <xsl:value-of select="$db2latex.slides.packages"/>
+ <xsl:value-of select="$db2latex.slides.beforebegin"/>
+<!-- Process SlidesInfo -->
+ <xsl:apply-templates select="slidesinfo"/>
+ <xsl:text>\begin{document}&#10;</xsl:text>
+ <xsl:text>\maketitle&#10;</xsl:text>
+<!-- Process Everything except SlidesInfo -->
+ <xsl:apply-templates select="*[not(slidesinfo)]"/>
+<!-- <xsl:apply-templates select="foil|foilgroup"/> -->
+ <xsl:text>\end{document}&#10;</xsl:text>
+ </xsl:template>
+
+
+<xsl:template match="slidesinfo">
+<xsl:text>%--------------------------------------------------SLIDES INFORMATION&#10;</xsl:text>
+<xsl:text>\title{{\black </xsl:text>
+<xsl:apply-templates select="title"/>
+<xsl:text>}}&#10;</xsl:text>
+<xsl:text>\author{{\black </xsl:text>
+<xsl:apply-templates select="author|authorgroup"/>
+<xsl:text>}}&#10;</xsl:text>
+<xsl:text> </xsl:text>
+</xsl:template>
+
+
+
+<xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>
+<xsl:variable name="latex.use.babel">1</xsl:variable>
+<xsl:variable name="latex.use.fancyvrb">1</xsl:variable>
+<xsl:variable name="latex.use.fancybox">1</xsl:variable>
+<xsl:variable name="latex.use.fancyhdr">1</xsl:variable>
+<xsl:variable name="latex.use.subfigure">1</xsl:variable>
+<xsl:variable name="latex.use.rotating">1</xsl:variable>
+<xsl:variable name="latex.use.makeidx">1</xsl:variable>
+<xsl:variable name="latex.pdf.support">1</xsl:variable>
+<xsl:variable name="latex.math.support">1</xsl:variable>
+
+<xsl:variable name="latex.biblio.output">all</xsl:variable>
+<xsl:variable name="latex.document.font">default</xsl:variable>
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/slides.xsl b/docs/xslt/db2latex-xsl/xsl/slides/slides.xsl
new file mode 100644
index 0000000000..52446153b5
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/slides.xsl
@@ -0,0 +1,96 @@
+<?xml version='1.0'?>
+<!--#############################################################################
+| $Id: slides.xsl,v 1.2 2003/04/07 08:40:23 rcasellas Exp $
+|- #############################################################################
+| $Author: rcasellas $
+|
+| PURPOSE:
+| This is the "parent" stylesheet. The used "modules" are included here.
+| output encoding text in ISO-8859-1 indented.
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <xsl:include href="../docbook.xsl"/>
+ <xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>
+ <xsl:include href="slidesinfo.mod.xsl"/>
+ <xsl:include href="slidestoc.mod.xsl"/>
+ <xsl:include href="foil.mod.xsl"/>
+
+
+ <xsl:template match="/">
+ <xsl:variable name="xsl-vendor" select="system-property('xsl:vendor')"/>
+ <xsl:message>################################################################################</xsl:message>
+ <xsl:message> XSLT stylesheets DocBook - LaTeX 2e </xsl:message>
+ <xsl:message> SLIDES DTD </xsl:message>
+ <xsl:message> Reqs: LaTeX 2e installation common packages </xsl:message>
+ <xsl:message>################################################################################</xsl:message>
+ <xsl:message> RELEASE : <xsl:value-of select="$VERSION"/> </xsl:message>
+ <xsl:message> VERSION : <xsl:value-of select="$CVSVERSION"/> </xsl:message>
+ <xsl:message> TAG : <xsl:value-of select="$TAG"/> </xsl:message>
+ <xsl:message> WWW : http://db2latex.sourceforge.net </xsl:message>
+ <xsl:message> SUMMARY : http://www.sourceforge.net/projects/db2latex </xsl:message>
+ <xsl:message> AUTHOR : Ramon Casellas casellas@infres.enst.fr </xsl:message>
+ <xsl:message> AUTHOR : James Devenish j-devenish@users.sf.net </xsl:message>
+ <xsl:message> USING : <xsl:call-template name="set-vendor"/> </xsl:message>
+ <xsl:message><xsl:value-of select="$xsl-vendor"/> </xsl:message>
+ <xsl:message>################################################################################</xsl:message>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+
+
+
+ <xsl:param name="db2latex.slides.class" select="'prosper'"/>
+
+ <xsl:param name="db2latex.slides.customclass" select="'rcas'"/>
+
+ <xsl:param name="db2latex.slides.options" select="'pdf,frames,slideColor'"/>
+
+ <xsl:variable name="db2latex.slides.packages">
+ <xsl:text>\usepackage[latin1]{inputenc}&#10;</xsl:text>
+ <xsl:text>\usepackage{pstricks,pst-node,pst-text,pst-3d}&#10;</xsl:text>
+ </xsl:variable>
+
+ <xsl:variable name="db2latex.slides.optpackages">
+ <xsl:text>\usepackage{subfigure}&#10;</xsl:text>
+ <xsl:text>\usepackage{a4wide}&#10;</xsl:text>
+ <xsl:text>\usepackage{times}&#10;</xsl:text>
+ <xsl:text>\usepackage{fancyvrb}&#10;</xsl:text>
+ <xsl:text>\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra,amsopn}&#10;</xsl:text>
+ </xsl:variable>
+
+ <xsl:variable name="db2latex.slides.beforebegin">
+ <xsl:text>% Definition of new colors&#10;</xsl:text>
+ <xsl:text>\newrgbcolor{LemonChiffon}{1. 0.98 0.8}&#10;</xsl:text>
+ <xsl:text>\newrgbcolor{LightBlue}{0.68 0.85 0.9}&#10;</xsl:text>
+ <xsl:text>\hypersetup{pdfpagemode=FullScreen}&#10;</xsl:text>
+ <xsl:text>\makeatletter&#10;</xsl:text>
+ <xsl:text>%\newdimen\pst@dimz&#10;</xsl:text>
+ </xsl:variable>
+
+
+ <xsl:template match="slides">
+<!-- Document class and preamble -->
+ <xsl:text>\documentclass[</xsl:text><xsl:value-of select="$db2latex.slides.options"/>
+ <xsl:text>, </xsl:text><xsl:value-of select="$db2latex.slides.customclass"/>
+ <xsl:text>]{</xsl:text><xsl:value-of select="$db2latex.slides.class"/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:value-of select="$db2latex.slides.packages"/>
+ <xsl:value-of select="$db2latex.slides.optpackages"/>
+ <xsl:value-of select="$db2latex.slides.beforebegin"/>
+<!-- Process SlidesInfo -->
+ <xsl:apply-templates select="slidesinfo"/>
+ <xsl:text>\begin{document}&#10;</xsl:text>
+ <xsl:text>\maketitle&#10;</xsl:text>
+<!-- Process Everything except SlidesInfo -->
+ <xsl:apply-templates select="*[not(slidesinfo)]"/>
+<!-- <xsl:apply-templates select="foil|foilgroup"/> -->
+ <xsl:text>\end{document}&#10;</xsl:text>
+ </xsl:template>
+
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/slidesinfo.mod.xsl b/docs/xslt/db2latex-xsl/xsl/slides/slidesinfo.mod.xsl
new file mode 100644
index 0000000000..176f852793
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/slidesinfo.mod.xsl
@@ -0,0 +1,61 @@
+<?xml version='1.0'?>
+<!--#############################################################################
+| $Id: slidesinfo.mod.xsl,v 1.2 2003/07/22 07:12:13 rcasellas Exp $
+|- #############################################################################
+| $Author: rcasellas $
+|
+| PURPOSE:
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+
+
+<xsl:template match="slidesinfo">
+<xsl:text>%--------------------------------------------------SLIDES INFORMATION&#10;</xsl:text>
+<xsl:text>\title{{\black </xsl:text>
+<xsl:apply-templates select="title"/>
+<xsl:text>}}&#10;</xsl:text>
+<xsl:text>\subtitle{{\black </xsl:text>
+<xsl:apply-templates select="titleabbrev"/>
+<xsl:text>}}&#10;</xsl:text>
+<xsl:text>\author{{\black </xsl:text>
+<xsl:apply-templates select="author|authorgroup"/>
+<xsl:text>}}&#10;</xsl:text>
+<xsl:text>
+</xsl:text>
+<xsl:text>\renewcommand{\slideparindent}{0mm}&#10;</xsl:text>
+</xsl:template>
+
+
+
+
+<xsl:template match="slidesinfo/title|slidesinfo/titleabbrev">
+<xsl:apply-templates/>
+</xsl:template>
+
+
+<xsl:template match="slidesinfo/authorgroup">
+<xsl:apply-imports/>
+</xsl:template>
+
+<xsl:template match="slidesinfo/author|slidesinfo/authorgroup/author">
+<xsl:apply-imports/>
+</xsl:template>
+
+<xsl:template match="slidesinfo/releaseinfo">
+<xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="slidesinfo/date">
+<xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="slidesinfo/copyright">
+</xsl:template>
+
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/slides/slidestoc.mod.xsl b/docs/xslt/db2latex-xsl/xsl/slides/slidestoc.mod.xsl
new file mode 100644
index 0000000000..5390d319bf
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/slides/slidestoc.mod.xsl
@@ -0,0 +1,34 @@
+<?xml version='1.0'?>
+<!--#############################################################################
+| $Id: slidestoc.mod.xsl,v 1.1 2003/04/06 18:31:49 rcasellas Exp $
+|- #############################################################################
+| $Author: rcasellas $
+|
+| PURPOSE:
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+
+ <!--############################################################################# -->
+ <!-- DOCUMENTATION -->
+ <doc:reference id="slides" xmlns="">
+ </doc:reference>
+ <!--############################################################################# -->
+
+
+<xsl:template match="slides" mode="toc">
+<xsl:call-template name="label.id"/>
+</xsl:template>
+
+<xsl:template match="title|titleabbrev" mode="toc">
+ <xsl:apply-templates mode="toc"/>
+</xsl:template>
+
+<xsl:template match="speakernotes" mode="toc">
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/synop-oop.mod.xsl b/docs/xslt/db2latex-xsl/xsl/synop-oop.mod.xsl
new file mode 100644
index 0000000000..0ae6e8e8bc
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/synop-oop.mod.xsl
@@ -0,0 +1,691 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY RE "&#10;"> ]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+ <!--#############################################################################
+ | $Id: synop-oop.mod.xsl,v 1.1.1.1 2003/03/14 10:42:53 rcasellas Exp $
+ |- #############################################################################
+ | $Author: rcasellas $
+ |
+ | PURPOSE:
+ + ############################################################################## -->
+
+
+
+ <xsl:template match="classsynopsis">
+ <!-- PARAM language : -->
+ <xsl:param name="language">
+ <xsl:choose>
+ <xsl:when test="@language">
+ <xsl:value-of select="@language"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$default-classsynopsis-language"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+
+ <xsl:choose>
+ <xsl:when test="$language='java'"> <xsl:apply-templates select="." mode="java"/> </xsl:when>
+ <xsl:when test="$language='perl'"> <xsl:apply-templates select="." mode="perl"/> </xsl:when>
+ <xsl:when test="$language='idl'"> <xsl:apply-templates select="." mode="idl"/> </xsl:when>
+ <xsl:when test="$language='cpp'"> <xsl:apply-templates select="." mode="cpp"/> </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>Unrecognized language on classsynopsis: <xsl:value-of select="$language"/> </xsl:message>
+ <xsl:apply-templates select=".">
+ <xsl:with-param name="language" select="$default-classsynopsis-language"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+
+
+
+
+ <!-- ===== Java ======================================================== -->
+
+ <xsl:template match="classsynopsis" mode="java">
+ <pre class="{name(.)}">
+ <xsl:apply-templates select="ooclass[1]" mode="java"/>
+ <xsl:if test="ooclass[position() &gt; 1]">
+ <xsl:text> extends</xsl:text>
+ <xsl:apply-templates select="ooclass[position() &gt; 1]" mode="java"/>
+ <xsl:if test="oointerface|ooexception">
+ <xsl:text>&RE; </xsl:text>
+ </xsl:if>
+ </xsl:if>
+ <xsl:if test="oointerface">
+ <xsl:text>implements</xsl:text>
+ <xsl:apply-templates select="oointerface" mode="java"/>
+ <xsl:if test="ooexception">
+ <xsl:text>&RE; </xsl:text>
+ </xsl:if>
+ </xsl:if>
+ <xsl:if test="ooexception">
+ <xsl:text>throws</xsl:text>
+ <xsl:apply-templates select="ooexception" mode="java"/>
+ </xsl:if>
+ <xsl:text> {&RE;&RE;</xsl:text>
+ <xsl:apply-templates select="constructorsynopsis
+ |destructorsynopsis
+ |fieldsynopsis
+ |methodsynopsis
+ |classsynopsisinfo" mode="java"/>
+ <xsl:text>}</xsl:text>
+ </pre>
+ </xsl:template>
+
+ <xsl:template match="classsynopsisinfo" mode="java">
+ <xsl:apply-templates mode="java"/>
+ </xsl:template>
+
+ <xsl:template match="ooclass|oointerface|ooexception" mode="java">
+ <xsl:choose>
+ <xsl:when test="position() &gt; 1">
+ <xsl:text>, </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text> </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ <xsl:apply-templates mode="java"/>
+
+ </xsl:template>
+
+ <xsl:template match="modifier" mode="java">
+
+ <xsl:apply-templates mode="java"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="classname" mode="java">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'classname'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="java"/>
+
+ </xsl:template>
+
+ <xsl:template match="interfacename" mode="java">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="java"/>
+
+ </xsl:template>
+
+ <xsl:template match="exceptionname" mode="java">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="java"/>
+
+ </xsl:template>
+
+ <xsl:template match="fieldsynopsis" mode="java">
+
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates mode="java"/>
+ <xsl:text>;</xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="type" mode="java">
+
+ <xsl:apply-templates mode="java"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="varname" mode="java">
+
+ <xsl:apply-templates mode="java"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="initializer" mode="java">
+
+ <xsl:text>= </xsl:text>
+ <xsl:apply-templates mode="java"/>
+
+ </xsl:template>
+
+ <xsl:template match="void" mode="java">
+
+ <xsl:text>void </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="methodname" mode="java">
+
+ <xsl:apply-templates mode="java"/>
+ </xsl:template>
+
+
+
+
+ <xsl:template match="methodparam" mode="java">
+ <!-- PARAM: indent := 0 -->
+ <xsl:param name="indent">0</xsl:param>
+ <xsl:if test="position() &gt; 1">
+ <xsl:text>,&RE;</xsl:text>
+ <xsl:if test="$indent &gt; 0">
+ <!-- RCAS FIXME: copy-string does not exist
+ <xsl:call-template name="copy-string">
+ <xsl:with-param name="string"> </xsl:with-param>
+ <xsl:with-param name="count" select="$indent + 1"/>
+ </xsl:call-template>
+ -->
+ </xsl:if>
+ </xsl:if>
+ <xsl:apply-templates mode="java"/>
+ </xsl:template>
+
+
+
+ <xsl:template match="parameter" mode="java">
+ <xsl:apply-templates mode="java"/>
+ </xsl:template>
+
+ <xsl:template mode="java"
+ match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+ <xsl:variable name="modifiers" select="modifier"/>
+ <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/>
+ <xsl:variable name="decl">
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates select="$modifiers" mode="java"/>
+
+ <!-- type -->
+ <xsl:if test="name($notmod[1]) != 'methodname'">
+ <xsl:apply-templates select="$notmod[1]" mode="java"/>
+ </xsl:if>
+
+ <xsl:apply-templates select="methodname" mode="java"/>
+ </xsl:variable>
+
+
+ <xsl:copy-of select="$decl"/>
+ <xsl:text>(</xsl:text>
+ <xsl:apply-templates select="methodparam" mode="java">
+ <xsl:with-param name="indent" select="string-length($decl)"/>
+ </xsl:apply-templates>
+ <xsl:text>)</xsl:text>
+ <xsl:if test="exceptionname">
+ <xsl:text>&RE; throws </xsl:text>
+ <xsl:apply-templates select="exceptionname" mode="java"/>
+ </xsl:if>
+ <xsl:text>;</xsl:text>
+
+ </xsl:template>
+
+ <!-- ===== C++ ========================================================= -->
+
+ <xsl:template match="classsynopsis" mode="cpp">
+ <pre class="{name(.)}">
+ <xsl:apply-templates select="ooclass[1]" mode="cpp"/>
+ <xsl:if test="ooclass[position() &gt; 1]">
+ <xsl:text>: </xsl:text>
+ <xsl:apply-templates select="ooclass[position() &gt; 1]" mode="cpp"/>
+ <xsl:if test="oointerface|ooexception">
+ <xsl:text>&RE; </xsl:text>
+ </xsl:if>
+ </xsl:if>
+ <xsl:if test="oointerface">
+ <xsl:text> implements</xsl:text>
+ <xsl:apply-templates select="oointerface" mode="cpp"/>
+ <xsl:if test="ooexception">
+ <xsl:text>&RE; </xsl:text>
+ </xsl:if>
+ </xsl:if>
+ <xsl:if test="ooexception">
+ <xsl:text> throws</xsl:text>
+ <xsl:apply-templates select="ooexception" mode="cpp"/>
+ </xsl:if>
+ <xsl:text> {&RE;&RE;</xsl:text>
+ <xsl:apply-templates select="constructorsynopsis
+ |destructorsynopsis
+ |fieldsynopsis
+ |methodsynopsis
+ |classsynopsisinfo" mode="cpp"/>
+ <xsl:text>}</xsl:text>
+ </pre>
+ </xsl:template>
+
+ <xsl:template match="classsynopsisinfo" mode="cpp">
+ <xsl:apply-templates mode="cpp"/>
+ </xsl:template>
+
+ <xsl:template match="ooclass|oointerface|ooexception" mode="cpp">
+ <xsl:if test="position() &gt; 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="cpp"/>
+
+ </xsl:template>
+
+ <xsl:template match="modifier" mode="cpp">
+
+ <xsl:apply-templates mode="cpp"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="classname" mode="cpp">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'classname'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="cpp"/>
+
+ </xsl:template>
+
+ <xsl:template match="interfacename" mode="cpp">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="cpp"/>
+
+ </xsl:template>
+
+ <xsl:template match="exceptionname" mode="cpp">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="cpp"/>
+
+ </xsl:template>
+
+ <xsl:template match="fieldsynopsis" mode="cpp">
+
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates mode="cpp"/>
+ <xsl:text>;</xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="type" mode="cpp">
+
+ <xsl:apply-templates mode="cpp"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="varname" mode="cpp">
+
+ <xsl:apply-templates mode="cpp"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="initializer" mode="cpp">
+
+ <xsl:text>= </xsl:text>
+ <xsl:apply-templates mode="cpp"/>
+
+ </xsl:template>
+
+ <xsl:template match="void" mode="cpp">
+
+ <xsl:text>void </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="methodname" mode="cpp">
+
+ <xsl:apply-templates mode="cpp"/>
+
+ </xsl:template>
+
+ <xsl:template match="methodparam" mode="cpp">
+ <xsl:if test="position() &gt; 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="cpp"/>
+
+ </xsl:template>
+
+ <xsl:template match="parameter" mode="cpp">
+
+ <xsl:apply-templates mode="cpp"/>
+
+ </xsl:template>
+
+ <xsl:template mode="cpp"
+ match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+ <xsl:variable name="modifiers" select="modifier"/>
+ <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/>
+ <xsl:variable name="type">
+ </xsl:variable>
+
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates select="$modifiers" mode="cpp"/>
+
+ <!-- type -->
+ <xsl:if test="name($notmod[1]) != 'methodname'">
+ <xsl:apply-templates select="$notmod[1]" mode="cpp"/>
+ </xsl:if>
+
+ <xsl:apply-templates select="methodname" mode="cpp"/>
+ <xsl:text>(</xsl:text>
+ <xsl:apply-templates select="methodparam" mode="cpp"/>
+ <xsl:text>)</xsl:text>
+ <xsl:if test="exceptionname">
+ <xsl:text>&RE; throws </xsl:text>
+ <xsl:apply-templates select="exceptionname" mode="cpp"/>
+ </xsl:if>
+ <xsl:text>;</xsl:text>
+
+ </xsl:template>
+
+ <!-- ===== IDL ========================================================= -->
+
+ <xsl:template match="classsynopsis" mode="idl">
+ <pre class="{name(.)}">
+ <xsl:text>interface </xsl:text>
+ <xsl:apply-templates select="ooclass[1]" mode="idl"/>
+ <xsl:if test="ooclass[position() &gt; 1]">
+ <xsl:text>: </xsl:text>
+ <xsl:apply-templates select="ooclass[position() &gt; 1]" mode="idl"/>
+ <xsl:if test="oointerface|ooexception">
+ <xsl:text>&RE; </xsl:text>
+ </xsl:if>
+ </xsl:if>
+ <xsl:if test="oointerface">
+ <xsl:text> implements</xsl:text>
+ <xsl:apply-templates select="oointerface" mode="idl"/>
+ <xsl:if test="ooexception">
+ <xsl:text>&RE; </xsl:text>
+ </xsl:if>
+ </xsl:if>
+ <xsl:if test="ooexception">
+ <xsl:text> throws</xsl:text>
+ <xsl:apply-templates select="ooexception" mode="idl"/>
+ </xsl:if>
+ <xsl:text> {&RE;&RE;</xsl:text>
+ <xsl:apply-templates select="constructorsynopsis
+ |destructorsynopsis
+ |fieldsynopsis
+ |methodsynopsis
+ |classsynopsisinfo" mode="idl"/>
+ <xsl:text>}</xsl:text>
+ </pre>
+ </xsl:template>
+
+ <xsl:template match="classsynopsisinfo" mode="idl">
+ <xsl:apply-templates mode="idl"/>
+ </xsl:template>
+
+ <xsl:template match="ooclass|oointerface|ooexception" mode="idl">
+ <xsl:if test="position() &gt; 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="idl"/>
+
+ </xsl:template>
+
+ <xsl:template match="modifier" mode="idl">
+
+ <xsl:apply-templates mode="idl"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="classname" mode="idl">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'classname'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="idl"/>
+
+ </xsl:template>
+
+ <xsl:template match="interfacename" mode="idl">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="idl"/>
+
+ </xsl:template>
+
+ <xsl:template match="exceptionname" mode="idl">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="idl"/>
+
+ </xsl:template>
+
+ <xsl:template match="fieldsynopsis" mode="idl">
+
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates mode="idl"/>
+ <xsl:text>;</xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="type" mode="idl">
+
+ <xsl:apply-templates mode="idl"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="varname" mode="idl">
+
+ <xsl:apply-templates mode="idl"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="initializer" mode="idl">
+
+ <xsl:text>= </xsl:text>
+ <xsl:apply-templates mode="idl"/>
+
+ </xsl:template>
+
+ <xsl:template match="void" mode="idl">
+
+ <xsl:text>void </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="methodname" mode="idl">
+
+ <xsl:apply-templates mode="idl"/>
+
+ </xsl:template>
+
+ <xsl:template match="methodparam" mode="idl">
+ <xsl:if test="position() &gt; 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="idl"/>
+
+ </xsl:template>
+
+ <xsl:template match="parameter" mode="idl">
+
+ <xsl:apply-templates mode="idl"/>
+
+ </xsl:template>
+
+ <xsl:template mode="idl"
+ match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+ <xsl:variable name="modifiers" select="modifier"/>
+ <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/>
+ <xsl:variable name="type">
+ </xsl:variable>
+
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates select="$modifiers" mode="idl"/>
+
+ <!-- type -->
+ <xsl:if test="name($notmod[1]) != 'methodname'">
+ <xsl:apply-templates select="$notmod[1]" mode="idl"/>
+ </xsl:if>
+
+ <xsl:apply-templates select="methodname" mode="idl"/>
+ <xsl:text>(</xsl:text>
+ <xsl:apply-templates select="methodparam" mode="idl"/>
+ <xsl:text>)</xsl:text>
+ <xsl:if test="exceptionname">
+ <xsl:text>&RE; raises(</xsl:text>
+ <xsl:apply-templates select="exceptionname" mode="idl"/>
+ <xsl:text>)</xsl:text>
+ </xsl:if>
+ <xsl:text>;</xsl:text>
+
+ </xsl:template>
+
+
+
+
+
+ <!-- ===== Perl ======================================================== -->
+
+ <xsl:template match="classsynopsis" mode="perl">
+ <pre class="{name(.)}">
+ <xsl:text>package </xsl:text>
+ <xsl:apply-templates select="ooclass[1]" mode="perl"/>
+ <xsl:text>;&RE;</xsl:text>
+
+ <xsl:if test="ooclass[position() &gt; 1]">
+ <xsl:text>@ISA = (</xsl:text>
+ <xsl:apply-templates select="ooclass[position() &gt; 1]" mode="perl"/>
+ <xsl:text>);&RE;</xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates select="constructorsynopsis
+ |destructorsynopsis
+ |fieldsynopsis
+ |methodsynopsis
+ |classsynopsisinfo" mode="perl"/>
+ </pre>
+ </xsl:template>
+
+ <xsl:template match="classsynopsisinfo" mode="perl">
+ <xsl:apply-templates mode="perl"/>
+ </xsl:template>
+
+ <xsl:template match="ooclass|oointerface|ooexception" mode="perl">
+ <xsl:if test="position() &gt; 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="perl"/>
+
+ </xsl:template>
+
+ <xsl:template match="modifier" mode="perl">
+
+ <xsl:apply-templates mode="perl"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="classname" mode="perl">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'classname'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="perl"/>
+
+ </xsl:template>
+
+ <xsl:template match="interfacename" mode="perl">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="perl"/>
+
+ </xsl:template>
+
+ <xsl:template match="exceptionname" mode="perl">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+
+ <xsl:apply-templates mode="perl"/>
+
+ </xsl:template>
+
+ <xsl:template match="fieldsynopsis" mode="perl">
+
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates mode="perl"/>
+ <xsl:text>;</xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="type" mode="perl">
+
+ <xsl:apply-templates mode="perl"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="varname" mode="perl">
+
+ <xsl:apply-templates mode="perl"/>
+ <xsl:text> </xsl:text>
+
+ </xsl:template>
+
+ <xsl:template match="initializer" mode="perl">
+
+ <xsl:text>= </xsl:text>
+ <xsl:apply-templates mode="perl"/>
+
+ </xsl:template>
+
+ <xsl:template match="void" mode="perl">
+
+ <xsl:text>void </xsl:text>
+
+ </xsl:template>
+
+
+
+ <xsl:template match="methodname" mode="perl">
+ <xsl:apply-templates mode="perl"/>
+ </xsl:template>
+
+ <xsl:template match="methodparam" mode="perl">
+ <xsl:if test="position() &gt; 1"> <xsl:text>, </xsl:text> </xsl:if>
+ <xsl:apply-templates mode="perl"/>
+ </xsl:template>
+
+
+ <xsl:template match="parameter" mode="perl">
+ <xsl:apply-templates mode="perl"/>
+ </xsl:template>
+
+
+ <xsl:template mode="perl" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+ <xsl:variable name="modifiers" select="modifier"/>
+ <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/>
+ <xsl:variable name="type"> </xsl:variable>
+
+ <xsl:text>sub </xsl:text>
+
+ <xsl:apply-templates select="methodname" mode="perl"/>
+ <xsl:text> { ... };</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/synop-struct.mod.xsl b/docs/xslt/db2latex-xsl/xsl/synop-struct.mod.xsl
new file mode 100644
index 0000000000..1b97f288e4
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/synop-struct.mod.xsl
@@ -0,0 +1,248 @@
+<?xml version='1.0'?>
+<!--#############################################################################
+| $Id: synop-struct.mod.xsl,v 1.5 2003/10/19 07:56:56 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
+|
+| PURPOSE:
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <xsl:template match="synopsis">
+ <xsl:call-template name="label.id"/>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="cmdsynopsis">
+ <xsl:call-template name="label.id"/>
+ <xsl:text>&#10;\begin{list}{}{\setlength{\itemindent}{-\leftmargin}\setlength{\parsep}{0mm}}&#10;</xsl:text>
+ <xsl:if test="@label!=''">
+ <xsl:text>\item\textbf{</xsl:text>
+ <xsl:call-template name="normalize-scape"><xsl:with-param name="string" select="@label"/></xsl:call-template>
+ <xsl:text>}&#10;</xsl:text>
+ </xsl:if>
+ <xsl:text>\item\raggedright\texttt{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:text>\end{list}&#10;</xsl:text>
+ </xsl:template>
+
+
+ <xsl:template match="cmdsynopsis/command">
+ <xsl:apply-templates />
+ </xsl:template>
+
+
+ <xsl:template match="cmdsynopsis//replaceable" priority="2">
+ <xsl:text>\textit{</xsl:text>
+ <xsl:apply-templates />
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+
+ <xsl:template match="group|arg">
+ <xsl:variable name="choice" select="@choice"/>
+ <xsl:variable name="rep" select="@rep"/>
+ <xsl:variable name="sepchar">
+ <xsl:choose>
+ <xsl:when test="ancestor-or-self::*/@sepchar">
+ <xsl:value-of select="ancestor-or-self::*/@sepchar"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text> </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:if test="position()>1"><xsl:value-of select="$sepchar"/></xsl:if>
+ <xsl:choose>
+ <xsl:when test="$choice='plain'">
+ <xsl:value-of select="$arg.choice.plain.open.str"/>
+ </xsl:when>
+ <xsl:when test="$choice='req'">
+ <xsl:value-of select="$arg.choice.req.open.str"/>
+ </xsl:when>
+ <xsl:when test="$choice='opt'">
+ <xsl:value-of select="$arg.choice.opt.open.str"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$arg.choice.def.open.str"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates/>
+ <xsl:choose>
+ <xsl:when test="$rep='repeat'">
+ <xsl:value-of select="$arg.rep.repeat.str"/>
+ </xsl:when>
+ <xsl:when test="$rep='norepeat'">
+ <xsl:value-of select="$arg.rep.norepeat.str"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$arg.rep.def.str"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="$choice='plain'">
+ <xsl:value-of select="$arg.choice.plain.close.str"/>
+ </xsl:when>
+ <xsl:when test="$choice='req'">
+ <xsl:value-of select="$arg.choice.req.close.str"/>
+ </xsl:when>
+ <xsl:when test="$choice='opt'">
+ <xsl:value-of select="$arg.choice.opt.close.str"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$arg.choice.def.close.str"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="group/arg">
+ <xsl:variable name="choice" select="@choice"/>
+ <xsl:variable name="rep" select="@rep"/>
+ <xsl:if test="position()>1"><xsl:value-of select="$arg.or.sep"/></xsl:if>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="sbr">
+ <xsl:text>&#10;</xsl:text>
+ </xsl:template>
+
+ <!-- ==================================================================== -->
+
+ <xsl:template match="synopfragmentref">
+ <!-- VAR target : -->
+ <xsl:variable name="target" select="key('id',@linkend)"/>
+ <!-- VAR snum : -->
+ <xsl:variable name="snum">
+ <xsl:apply-templates select="$target" mode="synopfragment.number"/>
+ </xsl:variable>
+
+ <xsl:text> {\em (</xsl:text> <xsl:value-of select="$snum"/> <xsl:text>) }</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="synopfragment" mode="synopfragment.number">
+ <xsl:number format="1"/>
+ </xsl:template>
+
+ <xsl:template match="synopfragment">
+ <xsl:variable name="snum">
+ <xsl:apply-templates select="." mode="synopfragment.number"/>
+ </xsl:variable>
+ <p>
+ <a name="#{@id}">
+ <xsl:text>(</xsl:text>
+ <xsl:value-of select="$snum"/>
+ <xsl:text>)</xsl:text>
+ </a>
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates/>
+ </p>
+ </xsl:template>
+
+
+ <xsl:template match="funcsynopsis">
+ <xsl:call-template name="informal.object"/>
+ </xsl:template>
+
+
+ <xsl:template match="funcsynopsisinfo">
+ <xsl:call-template name="verbatim.apply.templates"/>
+ </xsl:template>
+
+
+ <xsl:template match="funcprototype">
+ <xsl:apply-templates/>
+ <xsl:if test="$funcsynopsis.style='kr'">
+ <xsl:apply-templates select="./paramdef" mode="kr-funcsynopsis-mode"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="funcdef">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="funcdef/function">
+ <xsl:choose>
+ <xsl:when test="$funcsynopsis.decoration != 0">
+ <xsl:text>\textbf{ </xsl:text><xsl:apply-templates/><xsl:text> } </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+
+ <xsl:template match="void">
+ <xsl:choose>
+ <xsl:when test="$funcsynopsis.style='ansi'">
+ <xsl:text>(void);</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>();</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="varargs">
+ <xsl:text>( ... );</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="paramdef">
+ <!-- VAR paramnum -->
+ <xsl:variable name="paramnum"> <xsl:number count="paramdef" format="1"/> </xsl:variable>
+
+ <xsl:if test="$paramnum=1">(</xsl:if>
+ <xsl:choose>
+ <xsl:when test="$funcsynopsis.style='ansi'">
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="./parameter"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="following-sibling::paramdef">
+ <xsl:text>, </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>);</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+
+
+ <xsl:template match="paramdef/parameter">
+ <xsl:choose>
+ <xsl:when test="$funcsynopsis.decoration != 0">
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="following-sibling::parameter">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+
+
+ <xsl:template match="paramdef" mode="kr-funcsynopsis-mode">
+ \newline
+ <xsl:apply-templates/>
+ <xsl:text>;</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="funcparams">
+ <xsl:text>(</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>)</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/table.mod.xsl b/docs/xslt/db2latex-xsl/xsl/table.mod.xsl
new file mode 100644
index 0000000000..10a36e75e2
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/table.mod.xsl
@@ -0,0 +1,1414 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: table.mod.xsl,v 1.32 2004/01/28 02:08:41 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="table" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: table.mod.xsl,v 1.32 2004/01/28 02:08:41 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.24">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Tables <filename>table.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>table</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <variablelist>
+ <varlistentry>
+ <term><xref linkend="param.latex.table.caption.style"/></term>
+ <listitem><simpara>
+ The &LaTeX; command for formatting captions.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ Unless <xref linkend="param.latex.use.ltxtable"/> is in use,
+ tables are typeset as <quote>floats</quote> using the <link
+ linkend="latex.mapping">mapping system</link>. This limits the
+ size of each table to one page. It is possible to use tables
+ without floats, but captions and cross-referencing will not
+ function as intended.
+
+ </para>
+ <para>
+
+ If a <sgmltag class="attribute">condition</sgmltag> attribute
+ exists and begins with <quote>db2latex:</quote>, or a <sgmltag
+ class="pi">latex-float-placement</sgmltag> processing
+ instruction is present, the remainder of its value will be used
+ as the &LaTeX; <quote>float</quote> placement. Otherwise, the
+ default placement is <quote>htb</quote>.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_ecos;
+ &test_pinkjuice;
+ &test_tables;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ <listitem><simpara><xref linkend="template.generate.formal.title.placement"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="table">
+ <xsl:choose>
+ <xsl:when test="caption">
+ <xsl:message>Cannot cope with new-style tables lacking tgroup -- skipped.</xsl:message>
+ </xsl:when>
+ <xsl:when test="$latex.use.ltxtable='1'">
+ <!--
+ <xsl:message>No captions for ltxtable, yet.</xsl:message>
+ -->
+ <!--
+ Can use captions with longtable, but this is handled by
+ the thead and tfoot templates :-(
+ -->
+ <xsl:call-template name="content-templates"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="placement">
+ <xsl:call-template name="generate.formal.title.placement">
+ <xsl:with-param name="object" select="local-name(.)" />
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="position">
+ <xsl:call-template name="generate.latex.float.position">
+ <xsl:with-param name="default" select="'htb'"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="caption">
+ <xsl:call-template name="generate.table.caption"/>
+ </xsl:variable>
+ <xsl:call-template name="map.begin">
+ <xsl:with-param name="string" select="$position"/>
+ </xsl:call-template>
+ <xsl:if test="$placement='before'">
+ <xsl:text>\captionswapskip{}</xsl:text>
+ <xsl:value-of select="$caption" />
+ <xsl:text>\captionswapskip{}</xsl:text>
+ </xsl:if>
+ <xsl:call-template name="content-templates"/>
+ <xsl:if test="$placement!='before'"><xsl:value-of select="$caption" /></xsl:if>
+ <xsl:call-template name="map.end">
+ <xsl:with-param name="string" select="$position"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="generate.table.caption.longtable">
+ <xsl:for-each select="ancestor-or-self::table">
+ <xsl:text>\caption{</xsl:text>
+ <xsl:value-of select="$latex.table.caption.style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates select="title" mode="caption.mode"/>
+ <xsl:text>}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>}\hypertarget{</xsl:text>
+ <xsl:call-template name="generate.label.id"/>
+ <xsl:text>}{}&#10;</xsl:text>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="generate.table.caption">
+ <xsl:for-each select="ancestor-or-self::table">
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$latex.table.caption.style"/>
+ <xsl:text>{\caption{</xsl:text>
+ <xsl:apply-templates select="title" mode="caption.mode"/>
+ <xsl:text>}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:text>}}&#10;</xsl:text>
+ </xsl:for-each>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>informaltable</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Applies templates within a &LaTeX; mapping.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_bind;
+ &test_book;
+ &test_chemistry;
+ &test_tables;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara>&mapping;</simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="informaltable">
+ <xsl:call-template name="map.begin"/>
+ <xsl:apply-templates/>
+ <xsl:call-template name="map.end"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db basename="table">tables</doc:db> using <productname>tabularx</productname> </refpurpose>
+ <doc:description>
+ <para>
+
+ Similar to <xref linkend="template.table.format.tabularx"/> but
+ calculates <quote>relative</quote> column sizes.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_tables;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.table.format.tabular"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="table.format.tabularx">
+ <xsl:param name="cols" select="1"/>
+ <xsl:param name="i" select="1"/>
+ <xsl:param name="colsep" select="1"/>
+ <!-- sum of numeric portions in 1*-like colwidths -->
+ <xsl:param name="starfactor" select="0"/>
+ <xsl:choose>
+ <!-- Out of the recursive iteration -->
+ <xsl:when test="$i > $cols"></xsl:when>
+ <!-- There are still columns to count -->
+ <xsl:otherwise>
+ <xsl:variable name="userwidth">
+ <xsl:choose>
+ <xsl:when test="./colspec[@colnum=$i]">
+ <xsl:value-of select="./colspec[@colnum=$i]/@colwidth"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="./colspec[position()=$i]/@colwidth"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="useralign">
+ <xsl:choose>
+ <xsl:when test="./colspec[@colnum=$i]/@align!=''">
+ <xsl:value-of select="./colspec[@colnum=$i]/@align"/>
+ </xsl:when>
+ <xsl:when test="./colspec[position()=$i]/@align!=''">
+ <xsl:value-of select="./colspec[position()=$i]/@align"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="./@align"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="width">
+ <xsl:variable name="cells" select="thead/row/entry[$i]|tbody/row/entry[$i]"/>
+ <xsl:choose>
+ <xsl:when test="string-length($userwidth)=0 and count($cells//itemizedlist|$cells//orderedlist|$cells//variablelist)&gt;0">
+ <!-- In these specific circumstances, we MUST use a line-wrapped column
+ and yet the user hasn't specified one. -->
+ <xsl:value-of select="'1*'"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- In the general case, we just do what the user wants (may even
+ have no pre-specified width). -->
+ <xsl:value-of select="$userwidth"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <!-- Try to take heed of colspecs -->
+ <xsl:choose>
+ <xsl:when test="$width!=''">
+ <xsl:text>&gt;{</xsl:text>
+ <xsl:if test="contains($width,'*')">
+ <!-- see tabularx documentation -->
+ <xsl:text>\hsize=</xsl:text>
+ <xsl:value-of select="substring-before($width,'*') * $starfactor" />
+ <xsl:text>\hsize</xsl:text>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$useralign='left'"><xsl:text>\RaggedRight</xsl:text></xsl:when>
+ <xsl:when test="$useralign='right'"><xsl:text>\RaggedLeft</xsl:text></xsl:when>
+ <xsl:when test="$useralign='center'"><xsl:text>\Centering</xsl:text></xsl:when>
+ <xsl:when test="$useralign='char' and $latex.use.dcolumn='1'">
+ <xsl:variable name="char" select="(./colspec[@colnum=$i]/@char|./colspec[position()=$i]/@char)[1]"/>
+ <xsl:choose>
+ <xsl:when test="$char=''"><xsl:text>d</xsl:text></xsl:when>
+ <xsl:otherwise>D{<xsl:value-of select="$char"/>}{<xsl:value-of select="$char"/>}{-1}</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$useralign!=''"><xsl:message>Table column '<xsl:value-of select="$useralign"/>' alignment is not supported.</xsl:message></xsl:when>
+ </xsl:choose>
+ <xsl:text>}</xsl:text>
+ <xsl:choose>
+ <xsl:when test="contains($width,'*')">
+ <xsl:text>X</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>p{</xsl:text><xsl:value-of select="$width" /><xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$i&lt;$cols and $colsep='1'">
+ <xsl:text>|</xsl:text>
+ </xsl:if>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$useralign='left'"><xsl:text>l</xsl:text></xsl:when>
+ <xsl:when test="$useralign='right'"><xsl:text>r</xsl:text></xsl:when>
+ <xsl:when test="$useralign='center'"><xsl:text>c</xsl:text></xsl:when>
+ <xsl:when test="$useralign='justify'"><xsl:text>X</xsl:text></xsl:when>
+ <xsl:when test="$useralign='char' and $latex.use.dcolumn='1'">
+ <xsl:variable name="char" select="(./colspec[@colnum=$i]/@char|./colspec[position()=$i]/@char)[1]"/>
+ <xsl:choose>
+ <xsl:when test="$char=''"><xsl:text>d</xsl:text></xsl:when>
+ <xsl:otherwise>D{<xsl:value-of select="$char"/>}{<xsl:value-of select="$char"/>}{-1}</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>c</xsl:text>
+ <xsl:if test="$useralign!=''">
+ <xsl:message>Table column '<xsl:value-of select="$useralign"/>' alignment is not supported.</xsl:message>
+ </xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$i&lt;$cols and $colsep='1'">
+ <xsl:text>|</xsl:text>
+ </xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!-- Recursive for next column -->
+ <xsl:call-template name="table.format.tabularx">
+ <xsl:with-param name="i" select="$i+1"/>
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="colsep" select="$colsep"/>
+ <xsl:with-param name="starfactor" select="$starfactor"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db basename="table">tables</doc:db> using <function condition="env">tabular</function> </refpurpose>
+ <doc:description>
+ <para>
+
+
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_tables;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.table.format.tabularx"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="table.format.tabular">
+ <xsl:param name="cols" select="1"/>
+ <xsl:param name="i" select="1"/>
+ <xsl:param name="colsep" select="1"/>
+ <xsl:choose>
+ <!-- Out of the recursive iteration -->
+ <xsl:when test="$i > $cols"></xsl:when>
+ <!-- There are still columns to count -->
+ <xsl:otherwise>
+ <!-- Try to take heed of colspecs -->
+ <xsl:variable name="width">
+ <xsl:variable name="userwidth">
+ <xsl:choose>
+ <xsl:when test="./colspec[@colnum=$i]">
+ <xsl:value-of select="./colspec[@colnum=$i]/@colwidth"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="./colspec[position()=$i]/@colwidth"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="cells" select="thead/row/entry[$i]|tbody/row/entry[$i]"/>
+ <xsl:choose>
+ <xsl:when test="string-length($userwidth)=0 and count($cells//itemizedlist|$cells//orderedlist|$cells//variablelist)&gt;0">
+ <!-- In these specific circumstances, we MUST use a line-wrapped column
+ and yet the user hasn't specified one. -->
+ <xsl:value-of select="concat(1 div $cols,'\linewidth')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- In the general case, we just do what the user wants (may even
+ have no pre-specified width). -->
+ <xsl:value-of select="$userwidth"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="useralign">
+ <xsl:choose>
+ <xsl:when test="./colspec[@colnum=$i]/@align!=''">
+ <xsl:value-of select="./colspec[@colnum=$i]/@align"/>
+ </xsl:when>
+ <xsl:when test="./colspec[position()=$i]/@align!=''">
+ <xsl:value-of select="./colspec[position()=$i]/@align"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="./@align"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$width!='' and not(contains($width,'*'))">
+ <xsl:choose>
+ <xsl:when test="$useralign='left'"><xsl:text>&gt;{\RaggedRight}</xsl:text></xsl:when>
+ <xsl:when test="$useralign='right'"><xsl:text>&gt;{\RaggedLeft}</xsl:text></xsl:when>
+ <xsl:when test="$useralign='center'"><xsl:text>&gt;{\Centering}</xsl:text></xsl:when>
+ <xsl:when test="$useralign='char'"><xsl:message>Table column 'char' alignment is not supported when width specified.</xsl:message></xsl:when>
+ <xsl:when test="$useralign!=''"><xsl:message>Table column '<xsl:value-of select="$useralign"/>' alignment is not supported.</xsl:message></xsl:when>
+ </xsl:choose>
+ <xsl:text>p{</xsl:text><xsl:value-of select="$width" /><xsl:text>}</xsl:text>
+ <xsl:if test="$i&lt;$cols and $colsep='1'">
+ <xsl:text>|</xsl:text>
+ </xsl:if>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$useralign='left'"><xsl:text>l</xsl:text></xsl:when>
+ <xsl:when test="$useralign='right'"><xsl:text>r</xsl:text></xsl:when>
+ <xsl:when test="$useralign='center'"><xsl:text>c</xsl:text></xsl:when>
+ <xsl:when test="$useralign='justify'"><xsl:text>l</xsl:text></xsl:when>
+ <xsl:when test="$useralign='char' and $latex.use.dcolumn='1'">
+ <xsl:variable name="char" select="(./colspec[@colnum=$i]/@char|./colspec[position()=$i]/@char)[1]"/>
+ <xsl:choose>
+ <xsl:when test="$char=''"><xsl:text>d</xsl:text></xsl:when>
+ <xsl:otherwise>D{<xsl:value-of select="$char"/>}{<xsl:value-of select="$char"/>}{-1}</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>c</xsl:text>
+ <xsl:if test="$useralign!=''">
+ <xsl:message>Table column '<xsl:value-of select="$useralign"/>' alignment is not supported.</xsl:message>
+ </xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$i&lt;$cols and $colsep='1'">
+ <xsl:text>|</xsl:text>
+ </xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!-- Recursive for next column -->
+ <xsl:call-template name="table.format.tabular">
+ <xsl:with-param name="i" select="$i+1"/>
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="colsep" select="$colsep"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <!-- See tabularx documentation. -->
+ <!-- For example, if we have a 1* column and a 3* column, then the
+ the hsizes for each column are (1/(1+3)*2) and (3/(1+3)*2).
+ The ratio of these to the star values (star values being 1 and 3)
+ is 2/(1+3).
+ BUT it is now very complicated because it takes into account columns
+ where the user has not specified a width but LaTeX requires a
+ fixed-width column (i.e. specialcols may vary).
+ Relies on there being (a) colspecs for every column or (b) no
+ colspecs.
+ -->
+ <doc:template xmlns="">
+ <refpurpose>Calculate relative column sizes</refpurpose>
+ <doc:description>
+ <para>
+
+ Determines the width of each column in terms of <quote>relative
+ units</quote>.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_tables;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.table.format.tabular"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.table.format.tabularx"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="generate.starfactor">
+ <xsl:param name="i" select="1"/>
+ <xsl:param name="cols" select="count(colspec)"/>
+ <xsl:param name="sum" select="0"/>
+ <xsl:param name="specialcols" select="count(colspec[contains(@colwidth,'*')])"/>
+ <xsl:choose>
+ <xsl:when test="$i&lt;=$cols and colspec[position()=$i and contains(@colwidth,'*')]">
+ <!-- a * column -->
+ <xsl:call-template name="generate.starfactor">
+ <xsl:with-param name="i" select="$i+1"/>
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="sum" select="$sum+substring-before(colspec[$i]/@colwidth,'*')"/>
+ <xsl:with-param name="specialcols" select="$specialcols"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$i&lt;=$cols">
+ <!-- not a * column, but we are going to pretend that it is -->
+ <xsl:variable name="cells" select="thead/row/entry[$i]|tbody/row/entry[$i]"/>
+ <xsl:variable name="problems" select="count($cells//itemizedlist|$cells//orderedlist|$cells//variablelist)"/>
+ <xsl:choose>
+ <xsl:when test="$problems &gt; 0">
+ <xsl:call-template name="generate.starfactor">
+ <xsl:with-param name="i" select="$i+1"/>
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="sum" select="$sum+1"/>
+ <xsl:with-param name="specialcols" select="$specialcols+1"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="generate.starfactor">
+ <xsl:with-param name="i" select="$i+1"/>
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="sum" select="$sum"/>
+ <xsl:with-param name="specialcols" select="$specialcols"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$specialcols div $sum"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>tgroup</doc:db> elements</refpurpose>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="tgroup">
+ <xsl:variable name="colsep">
+ <xsl:choose>
+ <xsl:when test="@colsep!=''">
+ <xsl:value-of select="number(@colsep)"/>
+ </xsl:when>
+ <xsl:when test="../@colsep!=''">
+ <xsl:value-of select="number(../@colsep)"/>
+ </xsl:when>
+ <xsl:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="frame">
+ <xsl:choose>
+ <xsl:when test="string-length(../@frame)&lt;1">all</xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="../@frame"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="colspecs" select="./colspec"/>
+ <xsl:variable name="usex">
+ <xsl:choose>
+ <xsl:when test="$latex.use.ltxtable='1'">
+ <xsl:text>0</xsl:text>
+ </xsl:when>
+ <!-- if there are lists within cells, we need tabularx -->
+ <xsl:when test="$latex.use.tabularx=1 and (descendant::itemizedlist|descendant::orderedlist|descendant::variablelist)">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ <!-- if there are instances of 1*-style colwidths, we need tabularx -->
+ <xsl:when test="$latex.use.tabularx=1 and contains(colspec/@colwidth,'*')">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ <!-- if there are colspecs with 'justify' alignment and no explicit width, we need tabularx -->
+ <xsl:when test="$latex.use.tabularx=1 and count(colspec[@align='justify'])&gt;0">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>0</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="useminipage">
+ <!-- Hack to get around LaTeX issue with tabular (not necessary with tabularx).
+ This is NOT a good solution, and has problems of its own, but at least the footnotes
+ do not actually disappear (which is what would otherwise happen). -->
+ <xsl:if test="count(.//footnote)!=0">1</xsl:if>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$usex='1'">
+ <xsl:text>\begin{tabularx}{\linewidth}{</xsl:text>
+ </xsl:when>
+ <xsl:when test="$latex.use.ltxtable='1'">
+ <xsl:if test="parent::informaltable">
+ <xsl:text>\addtocounter{table}{-1}</xsl:text>
+ </xsl:if>
+ <xsl:text>\begin{longtable}{</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="$useminipage='1'"><xsl:text>\begin{minipage}{\linewidth}&#10;</xsl:text></xsl:if>
+ <xsl:text>\begin{tabular}{</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$frame='all' or $frame='sides'">
+ <xsl:text>|</xsl:text>
+ </xsl:if>
+ <xsl:variable name="cols">
+ <xsl:choose>
+ <xsl:when test="@cols">
+ <xsl:value-of select="@cols"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="count(tbody/row[1]/entry)"/>
+ <xsl:message>Warning: table's tgroup lacks cols attribute. Assuming <xsl:value-of select="count(tbody/row[1]/entry)"/>.</xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$usex=1">
+ <xsl:call-template name="table.format.tabularx">
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="colsep" select="$colsep"/>
+ <xsl:with-param name="starfactor">
+ <xsl:call-template name="generate.starfactor">
+ <xsl:with-param name="cols" select="$cols"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="table.format.tabular">
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="colsep" select="$colsep"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$frame='all' or $frame='sides'">
+ <xsl:text>|</xsl:text>
+ </xsl:if>
+ <xsl:text>}&#10;</xsl:text>
+ <xsl:variable name="thead.frame">
+ <xsl:choose>
+ <xsl:when test="$frame!='sides' and $frame!='none' and $frame!='bottom'">
+ <xsl:value-of select="1"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="0"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="tfoot.frame">
+ <xsl:choose>
+ <xsl:when test="$frame!='sides' and $frame!='none' and $frame!='top'">
+ <xsl:value-of select="1"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="0"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <!-- APPLY TEMPLATES -->
+ <xsl:choose>
+ <xsl:when test="$latex.use.ltxtable='1' and parent::table">
+ <!-- for tables only, not informaltables -->
+ <xsl:variable name="placement">
+ <xsl:call-template name="generate.formal.title.placement">
+ <xsl:with-param name="object" select="'table'" />
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$placement='before'">
+ <xsl:choose>
+ <xsl:when test="thead">
+ <xsl:apply-templates select="thead" mode="longtable.caption">
+ <xsl:with-param name="frame" select="$thead.frame"/>
+ </xsl:apply-templates>
+ <xsl:apply-templates select="thead" mode="longtable.caption.continuation">
+ <xsl:with-param name="frame" select="$thead.frame"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="thead.longtable.caption">
+ <xsl:with-param name="frame" select="$thead.frame"/>
+ </xsl:call-template>
+ <xsl:call-template name="thead.longtable.caption.continuation">
+ <xsl:with-param name="frame" select="$thead.frame"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="tfoot">
+ <xsl:with-param name="frame" select="$tfoot.frame"/>
+ </xsl:apply-templates>
+ <xsl:if test="$tfoot.frame=1 and not(tfoot)">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="tbody"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="$thead.frame=1 and not(thead)">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="thead">
+ <xsl:with-param name="frame" select="$thead.frame"/>
+ </xsl:apply-templates>
+ <xsl:choose>
+ <xsl:when test="tfoot">
+ <xsl:apply-templates select="tfoot" mode="longtable.caption.continued">
+ <xsl:with-param name="frame" select="$tfoot.frame"/>
+ </xsl:apply-templates>
+ <xsl:apply-templates select="tfoot" mode="longtable.caption">
+ <xsl:with-param name="frame" select="$tfoot.frame"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="tfoot.longtable.caption.continued">
+ <xsl:with-param name="frame" select="$tfoot.frame"/>
+ </xsl:call-template>
+ <xsl:call-template name="tfoot.longtable.caption">
+ <xsl:with-param name="frame" select="$tfoot.frame"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="tbody"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="$thead.frame=1 and not(thead)">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="thead">
+ <xsl:with-param name="frame" select="$thead.frame"/>
+ </xsl:apply-templates>
+ <xsl:apply-templates select="tbody"/>
+ <xsl:apply-templates select="tfoot">
+ <xsl:with-param name="frame" select="$tfoot.frame"/>
+ </xsl:apply-templates>
+ <xsl:if test="$tfoot.frame=1 and not(tfoot)">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!-- -->
+ <xsl:choose>
+ <xsl:when test="$usex=1">
+ <xsl:text>\end{tabularx}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:when test="$latex.use.ltxtable='1'">
+ <xsl:text>\end{longtable}&#10;</xsl:text>
+ <!-- catcode touchup ARGH -->
+ <xsl:call-template name="generate.latex.cell.separator">
+ <xsl:with-param name="which" select="'post'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\end{tabular}&#10;</xsl:text>
+ <xsl:if test="$useminipage='1'"><xsl:text>\end{minipage}&#10;</xsl:text></xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>colspec</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Suppressed.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ <doc:db basename="colspec">Colspec</doc:db> are interpreted by
+ the <doc:db>tgroup</doc:db> template.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_tables;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.tgroup"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="colspec"></xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>spanspec</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Suppressed.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ <doc:db basename="spanspec">Spanspecs</doc:db> are interpreted
+ by the <doc:db>tgroup</doc:db> template.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_tables;
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.tgroup"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="spanspec"></xsl:template>
+
+ <doc:template basename="thead" xmlns="">
+ <refpurpose>Process <doc:db>thead</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Applies templates.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="thead">
+ <xsl:param name="frame" select="0"/>
+ <xsl:if test="$frame=1">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates/>
+ <xsl:if test="$latex.use.ltxtable='1'">
+ <xsl:text> \endhead&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template basename="thead" xmlns="">
+ <refpurpose>Process <doc:db>thead</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Emits a caption and calls <function condition="latex">endfirsthead</function>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="thead" mode="longtable.caption" name="thead.longtable.caption">
+ <xsl:param name="frame" select="0"/>
+ <xsl:call-template name="generate.table.caption.longtable"/>
+ <xsl:text>\\&#10;</xsl:text><!-- or should this be \tabularnewline? -->
+ <xsl:if test="$frame=1">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="row"/>
+ <xsl:text> \endfirsthead&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="thead" xmlns="">
+ <refpurpose>Process <doc:db>thead</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Emits a continuation caption and calls <function condition="latex">endhead</function>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="thead" mode="longtable.caption.continuation" name="thead.longtable.caption.continuation">
+ <xsl:param name="frame" select="0"/>
+ <xsl:text>\caption[]{</xsl:text>
+ <xsl:value-of select="$latex.table.caption.style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'table'"/>
+ <xsl:with-param name="name" select="'thead.continuation'"/>
+ </xsl:call-template>
+ <xsl:text>}}\\&#10;</xsl:text><!-- or should this be \tabularnewline? -->
+ <xsl:if test="$frame=1">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="row"/>
+ <xsl:text> \endhead&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="tfoot" xmlns="">
+ <refpurpose>Process <doc:db>tfoot</doc:db> elements</refpurpose>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="tfoot">
+ <xsl:param name="frame" select="0"/>
+ <xsl:apply-templates/>
+ <xsl:if test="$frame=1">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ <xsl:if test="$latex.use.ltxtable='1'">
+ <xsl:text> \endfoot&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template basename="tfoot" xmlns="">
+ <refpurpose>Process <doc:db>tfoot</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Emits a caption and calls <function condition="latex">endlastfoot</function>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="tfoot" mode="longtable.caption" name="tfoot.longtable.caption">
+ <xsl:param name="frame" select="0"/>
+ <xsl:apply-templates select="row"/>
+ <xsl:if test="$frame=1">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ <xsl:call-template name="generate.table.caption.longtable"/>
+ <xsl:text>\\&#10;</xsl:text><!-- or should this be \tabularnewline? -->
+ <xsl:text> \endlastfoot&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="tfoot" xmlns="">
+ <refpurpose>Process <doc:db>tfoot</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Emits a continuation caption and calls <function condition="latex">endfoot</function>.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="tfoot" mode="longtable.caption.continued" name="tfoot.longtable.caption.continued">
+ <xsl:param name="frame" select="0"/>
+ <xsl:apply-templates select="row"/>
+ <xsl:if test="$frame=1">
+ <xsl:text>\hline &#10;</xsl:text>
+ </xsl:if>
+ <xsl:text>\caption[]{</xsl:text>
+ <xsl:value-of select="$latex.table.caption.style"/>
+ <xsl:text>{</xsl:text>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'table'"/>
+ <xsl:with-param name="name" select="'tfoot.continued'"/>
+ </xsl:call-template>
+ <xsl:text>}}\\&#10;</xsl:text><!-- or should this be \tabularnewline? -->
+ <xsl:text> \endfoot&#10;</xsl:text>
+ </xsl:template>
+
+ <doc:template basename="entry" xmlns="">
+ <refpurpose>Process a <doc:db>thead</doc:db>'s <doc:db>entry</doc:db> elements</refpurpose>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="thead/row/entry">
+ <xsl:call-template name="latex.entry.prealign"/>
+ <xsl:call-template name="latex.thead.row.entry"/>
+ <xsl:call-template name="latex.entry.postalign"/>
+ <xsl:if test="position()&lt;last()">
+ <xsl:call-template name="generate.latex.cell.separator">
+ <xsl:with-param name="which" select="'pre'"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template basename="entry" xmlns="">
+ <refpurpose>Process a <doc:db>tfoot</doc:db>'s <doc:db>entry</doc:db> elements</refpurpose>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="tfoot/row/entry">
+ <xsl:call-template name="latex.entry.prealign"/>
+ <xsl:call-template name="latex.tfoot.row.entry"/>
+ <xsl:call-template name="latex.entry.postalign"/>
+ <xsl:if test="position()&lt;last()">
+ <xsl:call-template name="generate.latex.cell.separator">
+ <xsl:with-param name="which" select="'pre'"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>tbody</doc:db> elements</refpurpose>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="tbody">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <doc:template basename="row" xmlns="">
+ <refpurpose>Process a <doc:db>tbody</doc:db>'s <doc:db>row</doc:db> elements</refpurpose>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="tbody/row">
+ <xsl:apply-templates/>
+ <xsl:text> \tabularnewline&#10;</xsl:text>
+ <xsl:call-template name="generate.table.row.separator"/>
+ </xsl:template>
+
+ <doc:template basename="row" xmlns="">
+ <refpurpose>Process a <doc:db>thead</doc:db>'s <doc:db>row</doc:db> elements</refpurpose>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="thead/row">
+ <xsl:apply-templates/>
+ <xsl:text> \tabularnewline&#10;</xsl:text>
+ <xsl:call-template name="generate.table.row.separator"/>
+ </xsl:template>
+
+ <doc:template basename="row" xmlns="">
+ <refpurpose>Process a <doc:db>tfoot</doc:db>'s <doc:db>row</doc:db> elements</refpurpose>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="tfoot/row">
+ <xsl:call-template name="generate.table.row.separator"/>
+ <xsl:apply-templates/>
+ <xsl:text> \tabularnewline&#10;</xsl:text>
+ </xsl:template>
+
+ <!-- The rule below the last row in the table is controlled by the
+ Frame attribute of the enclosing Table or InformalTable and the RowSep
+ of the last row is ignored. If unspecified, this attribute is
+ inherited from enclosing elements, rowsep=1 by default. -->
+ <xsl:template name="generate.table.row.separator">
+ <xsl:param name="rowsep">
+ <xsl:choose>
+ <xsl:when test="ancestor::tgroup/@rowsep!=''">
+ <xsl:value-of select="number(ancestor::tgroup/@rowsep)"/>
+ </xsl:when>
+ <xsl:when test="ancestor::tgroup/../@rowsep!=''">
+ <xsl:value-of select="number(ancestor::tgroup/../@rowsep)"/>
+ </xsl:when>
+ <xsl:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:variable name="parent_position" select="count(../preceding-sibling::node())+1"/>
+ <xsl:variable name="grandparent_children" select="count(../../child::node())"/>
+ <xsl:if test="$rowsep=1 and (position() != last() or $parent_position &lt; $grandparent_children)">
+ <xsl:call-template name="table.row.separator"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="table.row.separator">
+ <xsl:text> \hline &#10;</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="tbody/row/entry">
+ <xsl:call-template name="latex.entry.prealign"/>
+ <xsl:apply-templates/>
+ <xsl:call-template name="latex.entry.postalign"/>
+ <xsl:if test="position()&lt;last()">
+ <xsl:call-template name="generate.latex.cell.separator">
+ <xsl:with-param name="which" select="'pre'"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="latex.entry.prealign">
+ <xsl:variable name="span">
+ <xsl:choose>
+ <xsl:when test="@spanname!=''">
+ <xsl:call-template name="calculate.colspan">
+ <xsl:with-param name="namest" select="../../../spanspec[@spanname=@spanname]/@namest"/>
+ <xsl:with-param name="nameend" select="../../../spanspec[@spanname=@spanname]/@nameend"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="@namest!=''">
+ <xsl:call-template name="calculate.colspan"/>
+ </xsl:when>
+ <xsl:otherwise>-1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <!-- Remember: if multicolumn is present, generate.latex.cell.separator post needs to occur within multicolumn -->
+ <xsl:if test="$span &gt; 1">
+ <xsl:text>\multicolumn{</xsl:text>
+ <xsl:value-of select="$span"/>
+ <xsl:text>}{|</xsl:text><!-- TODO take heed of @colsep on BOTH sides!! -->
+ <xsl:choose>
+ <xsl:when test="@align='left'"><xsl:text>l</xsl:text></xsl:when>
+ <xsl:when test="@align='right'"><xsl:text>r</xsl:text></xsl:when>
+ <xsl:when test="@align='center'"><xsl:text>c</xsl:text></xsl:when>
+ <xsl:when test="@align='char'">c<xsl:message>Table _entry_ 'char' alignment is not supported.</xsl:message></xsl:when>
+ <xsl:otherwise>c</xsl:otherwise>
+ </xsl:choose>
+ <!-- use this as a hook for some general warnings -->
+ <xsl:text>|}</xsl:text>
+ </xsl:if>
+ <!-- this is used when the entry's align spec wants to override the column default -->
+ <xsl:if test="$span &lt; 1">
+ <xsl:choose>
+ <xsl:when test="@align='left'"><xsl:text>\docbooktolatexalignll </xsl:text></xsl:when>
+ <xsl:when test="@align='right'"><xsl:text>\docbooktolatexalignrl </xsl:text></xsl:when>
+ <xsl:when test="@align='center'"><xsl:text>\docbooktolatexaligncl </xsl:text></xsl:when>
+ <xsl:when test="@align='char'"><xsl:message>Table _entry_ char alignment is not supported.</xsl:message></xsl:when>
+ </xsl:choose>
+ </xsl:if>
+ <xsl:text>{</xsl:text>
+ <xsl:call-template name="generate.latex.cell.separator">
+ <xsl:with-param name="which" select="'post'"/>
+ </xsl:call-template>
+ <xsl:if test="@rotate='1'">
+ <xsl:text>\rotatebox{90}</xsl:text>
+ <xsl:if test="@align!=''"><xsl:message>entry[@rotate='1' and @align!=''] probably doesn't work.</xsl:message></xsl:if>
+ </xsl:if>
+ <xsl:text>{</xsl:text>
+ <!-- use this as a hook for some general warnings -->
+ <xsl:if test="@morerows!=''"><xsl:message>The morerows attribute is not supported.</xsl:message></xsl:if>
+ </xsl:template>
+
+ <xsl:template name="latex.entry.postalign">
+ <xsl:text>}}</xsl:text>
+ <!-- this is used when the entry's align spec wants to override the column default -->
+ <xsl:if test="@namest='' and @spanspec=''"><!-- TODO improve -->
+ <xsl:choose>
+ <xsl:when test="@align='left'"><xsl:text>\docbooktolatexalignlr </xsl:text></xsl:when>
+ <xsl:when test="@align='right'"><xsl:text>\docbooktolatexalignrr </xsl:text></xsl:when>
+ <xsl:when test="@align='center'"><xsl:text>\docbooktolatexaligncr </xsl:text></xsl:when>
+ </xsl:choose>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="process.cell">
+ <xsl:param name="cellgi">td</xsl:param>
+ <xsl:variable name="empty.cell" select="count(node()) = 0"/>
+
+ <xsl:element name="{$cellgi}">
+ <xsl:if test="@morerows">
+ <xsl:attribute name="rowspan">
+ <xsl:value-of select="@morerows+1"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@namest">
+ <xsl:attribute name="colspan">
+ <xsl:call-template name="calculate.colspan"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@align">
+ <xsl:attribute name="align">
+ <xsl:value-of select="@align"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@char">
+ <xsl:attribute name="char">
+ <xsl:value-of select="@char"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@charoff">
+ <xsl:attribute name="charoff">
+ <xsl:value-of select="@charoff"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@valign">
+ <xsl:attribute name="valign">
+ <xsl:value-of select="@valign"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <xsl:choose>
+ <xsl:when test="$empty.cell">
+ <xsl:text>&#160;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template name="generate.colgroup">
+ <xsl:param name="cols" select="1"/>
+ <xsl:param name="count" select="1"/>
+ <xsl:choose>
+ <xsl:when test="$count>$cols"></xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="generate.col">
+ <xsl:with-param name="countcol" select="$count"/>
+ </xsl:call-template>
+ <xsl:call-template name="generate.colgroup">
+ <xsl:with-param name="cols" select="$cols"/>
+ <xsl:with-param name="count" select="$count+1"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="generate.col">
+ <xsl:param name="countcol">1</xsl:param>
+ <xsl:param name="colspecs" select="./colspec"/>
+ <xsl:param name="count">1</xsl:param>
+ <xsl:param name="colnum">1</xsl:param>
+
+ <xsl:choose>
+ <xsl:when test="$count>count($colspecs)">
+ <col/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
+ <xsl:variable name="colspec.colnum">
+ <xsl:choose>
+ <xsl:when test="$colspec/@colnum">
+ <xsl:value-of select="$colspec/@colnum"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$colnum"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:choose>
+ <xsl:when test="$colspec.colnum=$countcol">
+ <col>
+ <xsl:if test="$colspec/@align">
+ <xsl:attribute name="align">
+ <xsl:value-of select="$colspec/@align"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="$colspec/@char">
+ <xsl:attribute name="char">
+ <xsl:value-of select="$colspec/@char"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="$colspec/@charoff">
+ <xsl:attribute name="charoff">
+ <xsl:value-of select="$colspec/@charoff"/>
+ </xsl:attribute>
+ </xsl:if>
+ </col>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="generate.col">
+ <xsl:with-param name="countcol" select="$countcol"/>
+ <xsl:with-param name="colspecs" select="$colspecs"/>
+ <xsl:with-param name="count" select="$count+1"/>
+ <xsl:with-param name="colnum">
+ <xsl:choose>
+ <xsl:when test="$colspec/@colnum">
+ <xsl:value-of select="$colspec/@colnum + 1"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$colnum + 1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ </xsl:template>
+
+ <xsl:template name="colspec.colnum">
+ <!-- when this macro is called, the current context must be an entry -->
+ <xsl:param name="colname"></xsl:param>
+ <!-- .. = row, ../.. = thead|tbody, ../../.. = tgroup -->
+ <xsl:param name="colspecs" select="../../../../tgroup/colspec"/>
+ <xsl:param name="count">1</xsl:param>
+ <xsl:param name="colnum">1</xsl:param>
+ <xsl:choose>
+ <xsl:when test="$count>count($colspecs)"></xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
+ <!--
+ <xsl:value-of select="$count"/>:
+ <xsl:value-of select="$colspec/@colname"/>=
+ <xsl:value-of select="$colnum"/>
+ -->
+ <xsl:choose>
+ <xsl:when test="$colspec/@colname=$colname">
+ <xsl:choose>
+ <xsl:when test="$colspec/@colnum">
+ <xsl:value-of select="$colspec/@colnum"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$colnum"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="colspec.colnum">
+ <xsl:with-param name="colname" select="$colname"/>
+ <xsl:with-param name="colspecs" select="$colspecs"/>
+ <xsl:with-param name="count" select="$count+1"/>
+ <xsl:with-param name="colnum">
+ <xsl:choose>
+ <xsl:when test="$colspec/@colnum">
+ <xsl:value-of select="$colspec/@colnum + 1"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$colnum + 1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="colspec.colwidth">
+ <!-- when this macro is called, the current context must be an entry -->
+ <xsl:param name="colname"></xsl:param>
+ <!-- .. = row, ../.. = thead|tbody, ../../.. = tgroup -->
+ <xsl:param name="colspecs" select="../../../../tgroup/colspec"/>
+ <xsl:param name="count">1</xsl:param>
+ <xsl:choose>
+ <xsl:when test="$count>count($colspecs)"></xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
+ <xsl:choose>
+ <xsl:when test="$colspec/@colname=$colname">
+ <xsl:value-of select="$colspec/@colwidth"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="colspec.colwidth">
+ <xsl:with-param name="colname" select="$colname"/>
+ <xsl:with-param name="colspecs" select="$colspecs"/>
+ <xsl:with-param name="count" select="$count+1"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="calculate.colspan">
+ <xsl:param name="namest" select="@namest"/>
+ <xsl:param name="nameend" select="@nameend"/>
+ <xsl:variable name="scol">
+ <xsl:call-template name="colspec.colnum">
+ <xsl:with-param name="colname" select="$namest"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="ecol">
+ <xsl:call-template name="colspec.colnum">
+ <xsl:with-param name="colname" select="$nameend"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:value-of select="$ecol - $scol + 1"/>
+ </xsl:template>
+
+ <!-- write docs:
+ The pre/post mechanism is to deal with multicolumn, which
+ needs to be the first command within a cell.
+ -->
+ <xsl:template name="generate.latex.cell.separator">
+ <xsl:param name="which"/>
+ <xsl:choose>
+ <xsl:when test="$which='pre'">
+ <xsl:if test="$latex.entities='catcode'">
+ <xsl:text> \catcode`\&amp;=4</xsl:text>
+ </xsl:if>
+ <xsl:text> &amp; </xsl:text>
+ </xsl:when>
+ <xsl:when test="$which='post'">
+ <xsl:if test="$latex.entities='catcode'">
+ <xsl:text>\catcode`\&amp;=\active </xsl:text>
+ </xsl:if>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$latex.entities='catcode'">
+ <xsl:text> \catcode`\&amp;=4 &amp;\catcode`\&amp;=\active </xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text> &amp; </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/texmath.mod.xsl b/docs/xslt/db2latex-xsl/xsl/texmath.mod.xsl
new file mode 100644
index 0000000000..b17096a182
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/texmath.mod.xsl
@@ -0,0 +1,259 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: texmath.mod.xsl,v 1.12 2004/01/03 03:19:08 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="texmath" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: texmath.mod.xsl,v 1.12 2004/01/03 03:19:08 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.11">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>&LaTeX;-only Commands <filename>texmath.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>alt</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara>
+ <xref linkend="param.tex.math.in.alt"/>
+ </simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ This template will modify its behaviour based upon its context
+ within a &DocBook; document.
+
+ If it is within an <doc:db>inlineequation</doc:db> and it has a
+ <sgmltag class="attribute">role</sgmltag> with the value of
+ <quote>latex</quote> or <quote>tex</quote>, then it will
+ typeset its contents inline as raw &LaTeX; input in mathematics
+ mode (using <function condition="latex">ensuremath</function>
+ command) if the variable <xref
+ linkend="param.tex.math.in.alt"/> is set.
+
+ If it is within an <doc:db>equation</doc:db> or
+ <doc:db>informalequation</doc:db> and it has a <sgmltag
+ class="attribute">role</sgmltag> with the value of
+ <quote>latex</quote> or <quote>tex</quote>, then it will
+ typeset its contents as raw &LaTeX; input in a <function
+ condition="env">displaymath</function> block environment if the
+ variable <xref linkend="param.tex.math.in.alt"/> is set.
+
+ Otherwise, if <xref linkend="param.tex.math.in.alt"/> is
+ set, the contents will be typeset as raw &LaTeX; input inline
+ (not in maths mode).
+
+ Otherwise, templates will be applied normally (not as raw
+ &LaTeX; input).
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ &test_theorem;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="alt">
+ <xsl:choose>
+ <xsl:when test="ancestor::inlineequation and (@role='tex' or @role='latex' or $tex.math.in.alt='plain' or $tex.math.in.alt='latex')">
+ <xsl:text>\ensuremath{</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:when test="(ancestor::equation|ancestor::informalequation) and (@role='tex' or @role='latex' or $tex.math.in.alt='plain' or $tex.math.in.alt='latex')">
+ <xsl:text>\begin{displaymath}</xsl:text>
+ <xsl:call-template name="label.id"/>
+ <xsl:value-of select="."/>
+ <xsl:text>\end{displaymath}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:when test="$tex.math.in.alt='plain' or $tex.math.in.alt='latex'">
+ <xsl:value-of select="."/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag>latex</sgmltag> and <sgmltag>tex</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Passes contents through as raw &LaTeX; text.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ The <sgmltag>latex</sgmltag> and <sgmltag>tex</sgmltag> elements are not
+ part of &DocBook;.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="latex|tex">
+ <xsl:value-of select="."/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <sgmltag class="attribute">fileref</sgmltag> elements</refpurpose>
+ <doc:description>
+ <para>
+ Inputs a &LaTeX; file.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ For <sgmltag>latex</sgmltag> and <sgmltag>tex</sgmltag> elements with
+ <sgmltag class="attribute">fileref</sgmltag> attributes, their contents
+ are ignored and their fileref attributes are used as file paths for
+ the <function condition="latex">input</function> command.
+ </para>
+ <para>
+ The <sgmltag>latex</sgmltag> and <sgmltag>tex</sgmltag> elements are not
+ part of &DocBook;.
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="latex[@fileref]|tex[@fileref]">
+ <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="tm[@fileref]">
+ <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="tm[@tex]">
+ <xsl:value-of select="@tex"/>
+ </xsl:template>
+
+ <xsl:template match="inlinetm[@fileref]">
+ <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>}&#10;</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="inlinetm[@tex]">
+ <xsl:value-of select="@tex"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>inlineequation</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Process inline equations.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara>
+ <xref linkend="param.latex.alt.is.preferred"/>
+ </simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>
+
+ This template can accommodate raw &LaTeX; mathematics.
+
+ If the element has a
+ <sgmltag class="attribute">role</sgmltag> with a value of
+ <quote>latex</quote> or <quote>tex</quote>, or contains
+ an <doc:db>inlinemediaobject</doc:db>/<doc:db>textobject</doc:db>
+ or
+ an <doc:db>inlinemediaobject</doc:db>/<doc:db>textobject</doc:db>/<doc:db>phrase</doc:db>
+ with such as attribute,
+ then it will
+ typeset then in preference to all other content.
+
+ </para>
+ <para>
+
+ If such elements were not found, the template will search for
+ generic <doc:db>inlinemediaobject</doc:db> or
+ <doc:db>alt</doc:db> children. If <xref
+ linkend="param.latex.alt.is.preferred"/> is set, <sgmltag
+ basename="alt">alts</sgmltag> will be preferred over <sgmltag
+ basename="inlinemediaobject">inlinemediaobjects</sgmltag>. If
+ none of these elements was found, the template will format any
+ <doc:db>graphic</doc:db> children.
+
+ </para>
+ </doc:notes>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_book;
+ <!--
+ &test_pavlov;
+ -->
+ </simplelist>
+ </doc:samples>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.alt"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.phrase"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template match="inlineequation">
+ <xsl:variable name="tex" select="alt[@role='tex' or @role='latex']|inlinemediaobject/textobject[@role='tex' or @role='latex']|inlinemediaobject/textobject/phrase[@role='tex' or @role='latex']" />
+ <xsl:choose>
+ <xsl:when test="$tex">
+ <xsl:apply-templates select="$tex"/>
+ </xsl:when>
+ <xsl:when test="alt and $latex.alt.is.preferred='1'">
+ <xsl:apply-templates select="alt"/>
+ </xsl:when>
+ <xsl:when test="inlinemediaobject">
+ <xsl:apply-templates select="inlinemediaobject"/>
+ </xsl:when>
+ <xsl:when test="alt">
+ <xsl:apply-templates select="alt"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="graphic"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/verbatim.mod.xsl b/docs/xslt/db2latex-xsl/xsl/verbatim.mod.xsl
new file mode 100644
index 0000000000..7f6d26277d
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/verbatim.mod.xsl
@@ -0,0 +1,189 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: verbatim.mod.xsl,v 1.16 2004/01/31 11:53:14 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="verbatim" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: verbatim.mod.xsl,v 1.16 2004/01/31 11:53:14 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.12">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Verbatim <filename>verbatim.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose> Auxiliary template to output verbatim &LaTeX; code in verbatim mode </refpurpose>
+ <doc:description>
+ <para>Typeset verbatim, monospace text in which whitespace is significant.</para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.use.fancyvrb"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:notes>
+ <para>This template is called by a number of element-related templates.</para>
+ <para> Takes into account whether the user is using fancyvrb or not. It allows
+ veratim line numbering and other fancy stuff. </para>
+ <para> In order to use a small or large font, you may also want to use
+ implement <xref linkend="template.latex.fancyvrb.options"/>.
+ </para>
+ <!--
+ the <literal>role</literal> attribute: </para>
+ <screen><![CDATA[
+<programlisting role="small">
+</programlisting>
+<programlisting role="large">
+</programlisting>
+]]></screen>
+-->
+ <para>
+ This template will apply further templates using the
+ <literal>latex.verbatim</literal> mode.
+ </para>
+ <warning>
+ <para>
+ This doesn't work inside <doc:db basename="table">tables</doc:db>.
+ Also, if the element appears within a <doc:db>varlistentry</doc:db>,
+ some &LaTeX; code will be emitted so that the verbatim environment
+ starts on a new line.
+ </para>
+ </warning>
+ </doc:notes>
+ <doc:seealso>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="template.latex.fancyvrb.options"/></simpara></listitem>
+ <listitem><simpara><xref linkend="template.text()-latex.verbatim"/></simpara></listitem>
+ </itemizedlist>
+ </doc:seealso>
+ </doc:template>
+ <xsl:template name="verbatim.apply.templates">
+ <xsl:if test="ancestor::varlistentry">
+ <!-- start the environment on a new line -->
+ <xsl:text>\null{}</xsl:text>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="ancestor::entry">
+ <xsl:message>Problem with <xsl:value-of select="local-name(.)"/> inside table entries.</xsl:message>
+ <xsl:text>\texttt{</xsl:text>
+ <xsl:apply-templates mode="latex.verbatim"/>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:when test="$latex.use.fancyvrb='1'">
+ <xsl:variable name="not_monospaced" select="local-name(.)='literallayout' and @format!='monospaced'"/>
+ <xsl:text>&#10;\begin{Verbatim}[</xsl:text>
+ <xsl:if test="@linenumbering='numbered'">
+ <xsl:text>,numbers=left</xsl:text>
+ </xsl:if>
+ <xsl:if test="$not_monospaced">
+ <xsl:text>,fontfamily=default</xsl:text>
+ </xsl:if>
+ <xsl:call-template name="latex.fancyvrb.options"/>
+ <xsl:text>]&#10;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$not_monospaced">
+ <!-- Needs to be changed to cope with regular characterset! -->
+ <xsl:apply-templates mode="latex.verbatim"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates mode="latex.verbatim"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>&#10;\end{Verbatim}&#10;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>&#10;\begin{verbatim}&#10;</xsl:text>
+ <xsl:apply-templates mode="latex.verbatim"/>
+ <xsl:text>&#10;\end{verbatim}&#10;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Process <quote>verbatim</quote> environment where whitespace is significant </refpurpose>
+ <doc:description>
+ <para>
+
+ Calls <xref linkend="template.verbatim.apply.templates"/>.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ <variablelist>
+ <varlistentry>
+ <term><xref linkend="param.latex.trim.verbatim"/></term>
+ <listitem><simpara>
+ See <xref linkend="text()-latex.verbatim"/>.
+ <!-- note: that is not a valid ID! -->
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:variables>
+ <doc:samples>
+ <simplelist type='inline'>
+ &test_article;
+ &test_bind;
+ &test_book;
+ &test_ddh;
+ &test_program;
+ </simplelist>
+ </doc:samples>
+ </doc:template>
+ <xsl:template match="address|screen|programlisting|literallayout">
+ <xsl:call-template name="verbatim.apply.templates"/>
+ </xsl:template>
+
+ <xsl:template name="next.is.verbatim">
+ <xsl:param name="object" select="following-sibling::*[1]"/>
+ <xsl:value-of select="count($object[self::address or self::screen or self::programlisting or self::literallayout])"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>literal</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+
+ Applies templates in the <quote>template.latex.verbatim</quote>
+ mode within a &LaTeX; <function condition="latex">verb</function>
+ command.
+
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="literal" mode="latex.verbatim">
+ <xsl:text>{\verb </xsl:text>
+ <xsl:apply-templates mode="latex.verbatim"/>
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/xref.mod.xsl b/docs/xslt/db2latex-xsl/xsl/xref.mod.xsl
new file mode 100644
index 0000000000..c03f9a0916
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/xref.mod.xsl
@@ -0,0 +1,1208 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
+<!--#############################################################################
+| $Id: xref.mod.xsl,v 1.41 2004/01/28 02:07:08 j-devenish Exp $
+|- #############################################################################
+| $Author: j-devenish $
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+ <doc:reference id="xref" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: xref.mod.xsl,v 1.41 2004/01/28 02:07:08 j-devenish Exp $
+ </releaseinfo>
+ <authorgroup>
+ &ramon;
+ &james;
+ </authorgroup>
+ <copyright>
+ <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ <revhistory>
+ <doc:revision rcasver="1.12">&rev_2003_05;</doc:revision>
+ </revhistory>
+ </referenceinfo>
+ <title>Cross References <filename>xref.mod.xsl</filename></title>
+ <partintro>
+ <para>
+
+ Portions (c) Norman Walsh, official DocBook XSL stylesheets. See docbook.sf.net
+
+ </para>
+ </partintro>
+ </doc:reference>
+
+ <doc:template xmlns="">
+ <refpurpose>Process <doc:db>anchor</doc:db> elements</refpurpose>
+ <doc:description>
+ <para>
+ Identify a place in the document for cross references.
+ </para>
+ </doc:description>
+ <doc:variables>
+ &no_var;
+ </doc:variables>
+ <doc:notes>
+ <para>
+ Inserts a &LaTeX; <function condition="latex">hypertarget</function>
+ with the current node's id value and no content.
+ <doc:todo>Check to see whether this causes typesetting problems
+ with <command>latex</command> (as opposed to
+ <command>pdflatex</command>) due to insertion of errant
+ <literal>pdfmark</literal>s.</doc:todo>
+ </para>
+ </doc:notes>
+ </doc:template>
+ <xsl:template match="anchor">
+ <xsl:param name="id" select="@id"/>
+ <xsl:text>\hypertarget{</xsl:text>
+ <xsl:value-of select="$id"/>
+ <xsl:text>}{}</xsl:text>
+ </xsl:template>
+
+ <xsl:key name="cross-refs" match="xref|link" use="@linkend"/>
+ <doc:template name="id.is.xrefed" xmlns="">
+ <refpurpose>Auxiliary named template</refpurpose>
+ <doc:description>
+ <para>This template returns 1 if there exists somewhere an xref
+ or link whose linkend is the target's id.</para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="id.is.xrefed">
+ <xsl:param name="target" select="."/>
+ <xsl:variable name="id">
+ <xsl:call-template name="generate.label.id">
+ <xsl:with-param name="object" select="$target"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="count(key('cross-refs', $id))&gt;0">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>0</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+<doc:template name="xref.xreflabel" xmlns="">
+ <refpurpose>Auxiliary named template</refpurpose>
+ <doc:description>
+ <para> Called to process an xreflabel...you might use this to make
+ xreflabels come out in the right font for different targets,
+ for example.</para>
+ </doc:description>
+</doc:template>
+ <xsl:template name="xref.xreflabel">
+ <xsl:param name="target" select="."/>
+ <xsl:value-of select="$target/@xreflabel"/>
+ </xsl:template>
+
+ <doc:template match="xref|link" xmlns="">
+ <refpurpose>Xref and Link XSL Template</refpurpose>
+ <doc:description>
+ <para>
+ <doc:todo>Undocumented.</doc:todo>
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.insert.xref.page.number"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.varioref"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="xref|link">
+ <xsl:variable name="targets" select="key('id',@linkend)"/>
+ <xsl:variable name="target" select="$targets[1]"/>
+ <xsl:variable name="refelem" select="local-name($target)"/>
+ <xsl:call-template name="check.id.unique"><xsl:with-param name="linkend" select="@linkend"/></xsl:call-template>
+ <xsl:choose>
+ <xsl:when test="$refelem=''">
+ <xsl:message><xsl:text>XRef to nonexistent id: </xsl:text><xsl:value-of select="@linkend"/></xsl:message>
+ <xsl:text>XrefId[?</xsl:text>
+ <xsl:if test="local-name(.)='link'"><xsl:apply-templates/></xsl:if>
+ <xsl:text>?]</xsl:text>
+ </xsl:when>
+
+ <!-- This is a link with content ... -->
+ <xsl:when test="local-name(.)='link' and .!=''">
+ <xsl:call-template name="generate.hyperlink">
+ <xsl:with-param name="target" select="$target"/>
+ <xsl:with-param name="text"><xsl:apply-templates/></xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="@endterm">
+ <xsl:variable name="etargets" select="key('id',@endterm)"/>
+ <xsl:variable name="etarget" select="$etargets[1]"/>
+ <xsl:choose>
+ <xsl:when test="count($etarget) = 0">
+ <xsl:message>
+ <xsl:value-of select="count($etargets)"/>
+ <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+ <xsl:value-of select="@endterm"/>
+ </xsl:message>
+ <xsl:text>[NONEXISTENT ID]</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="generate.hyperlink">
+ <xsl:with-param name="target" select="$target"/>
+ <xsl:with-param name="text">
+ <xsl:call-template name="generate.xref.text">
+ <xsl:with-param name="target" select="$etarget"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <!-- If an xreflabel has been specified for the target ... -->
+ <xsl:when test="local-name(.)='xref' and $target/@xreflabel">
+ <xsl:call-template name="generate.hyperlink">
+ <xsl:with-param name="target" select="$target"/>
+ <xsl:with-param name="text">
+ <xsl:text>{[</xsl:text>
+ <xsl:call-template name="xref.xreflabel">
+ <xsl:with-param name="target" select="$target"/>
+ </xsl:call-template>
+ <xsl:text>]}</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="generate.hyperlink">
+ <xsl:with-param name="target" select="$target"/>
+ <xsl:with-param name="text">
+ <xsl:call-template name="generate.xref.text">
+ <xsl:with-param name="target" select="$target"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$insert.xref.page.number=1 and not($latex.use.varioref='1') and $refelem!='' and local-name(.)='xref'">
+ <xsl:variable name="xref.text">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'xref'"/>
+ <xsl:with-param name="name" select="'page.citation'"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:for-each select="$target">
+ <xsl:call-template name="substitute-markup">
+ <xsl:with-param name="template" select="$xref.text"/>
+ </xsl:call-template>
+ </xsl:for-each>
+ </xsl:if>
+</xsl:template>
+
+ <doc:template>
+ <refpurpose> Generate xref text </refpurpose>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.use.role.as.xrefstyle"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </doc:template>
+ <xsl:template name="generate.xref.text">
+ <xsl:param name="target"/>
+ <xsl:apply-templates select="$target" mode="xref-to">
+ <xsl:with-param name="referrer" select="."/>
+ <xsl:with-param name="xrefstyle">
+ <xsl:choose>
+ <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0">
+ <xsl:value-of select="@role"/>
+ </xsl:when>
+ <xsl:when test="@xrefstyle">
+ <xsl:value-of select="@xrefstyle"/>
+ </xsl:when>
+ <xsl:when test="local-name($target)='title' or local-name($target)='subtitle'">
+ <xsl:value-of select="concat(local-name($target), '-unnumbered')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>xref-number</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:template>
+
+ <doc:template name="generate.hyperlink" xmlns="">
+ <refpurpose> Choose hyperlink syntax </refpurpose>
+ <doc:description>
+ <para>Will use hyperref, if it is available. Otherwise, just outputs
+ unlinked text. If the destination is a citation, a backreference is
+ emitted (even though it is technically a hyperlink, not a citation).
+ If the 'text' arises from an @endterm, then the 'optional argument'
+ syntax of <literal>\cite</literal> is used.</para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="generate.hyperlink">
+ <xsl:param name="target"/>
+ <xsl:param name="text"/>
+ <xsl:variable name="element" select="local-name($target)"/>
+ <xsl:variable name="citation" select="$element='biblioentry' or $element='bibliomixed'"/>
+ <xsl:choose>
+ <xsl:when test="$citation and @endterm!=''">
+ <xsl:text>\docbooktolatexcite</xsl:text>
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="$target/@id"/>
+ <xsl:text>}{</xsl:text>
+ <xsl:call-template name="scape-optionalarg">
+ <xsl:with-param name="string" select="$text"/>
+ </xsl:call-template>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="$latex.use.hyperref=1 and not(ancestor::title)">
+ <xsl:text>\hyperlink{</xsl:text>
+ <xsl:value-of select="$target/@id"/>
+ <xsl:text>}</xsl:text>
+ </xsl:if>
+ <xsl:text>{</xsl:text>
+ <xsl:if test="$citation">
+ <xsl:text>\docbooktolatexbackcite{</xsl:text>
+ <xsl:value-of select="$target/@id"/>
+ <xsl:text>}</xsl:text>
+ </xsl:if>
+ <xsl:value-of select="$text"/>
+ <xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template basename="insert.label.markup" xmlns="">
+ <refpurpose>Numbering template</refpurpose>
+ <doc:description>
+ <para>
+ Let &LaTeX; manage the numbering. Otherwise sty files that
+ do specify another numberic (e.g I,II) get messed.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.insert.xref.page.number"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.varioref"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="*" mode="insert.label.markup" name="insert.label.markup">
+ <xsl:param name="id" select="@id"/>
+ <xsl:choose>
+ <xsl:when test="$insert.xref.page.number=1 and $latex.use.varioref='1'">
+ <xsl:text>{\vref{</xsl:text><xsl:value-of select="$id"/><xsl:text>}}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>{\ref{</xsl:text><xsl:value-of select="$id"/><xsl:text>}}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template basename="insert.label.markup" xmlns="">
+ <refpurpose>Numbering template -- uses parent's @id</refpurpose>
+ <doc:description>
+ <para>
+ Calls <xref linkend="template.insert.label.markup"/> using parent's @id.
+ </para>
+ </doc:description>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.insert.xref.page.number"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.use.varioref"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ </doc:template>
+ <xsl:template match="title" mode="insert.label.markup">
+ <xsl:call-template name="insert.label.markup">
+ <xsl:with-param name="id">
+ <xsl:choose>
+ <xsl:when test="contains(local-name(..), 'info')">
+ <xsl:call-template name="generate.label.id">
+ <xsl:with-param name="object" select="../.."/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="generate.label.id">
+ <xsl:with-param name="object" select=".."/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Format titles in xref text </refpurpose>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>title</term>
+ <listitem><simpara>The text. This is expected to
+ be received from gentext.xsl, in which case it will
+ contain no deliberate &LaTeX; commands and must be
+ escaped.</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>is.component</term>
+ <listitem><simpara>Whether the node is considered
+ to be a <quote>component</quote> in the sense of &DocBook;.
+ If so, the formatting of the title may be different. By default,
+ the determination of component elements is performed by the
+ <literal>is.component</literal> template in
+ <filename>common.xsl</filename>.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:description>
+ <para>
+ Calls <xref linkend="template.normalize-scape"/>. If the node
+ is a component type (e.g. appendix, article, chapter, preface,
+ bibliography, glossary or index) then gentext.startquote and
+ gentext.endquote are placed around the title.
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="*" mode="insert.title.markup" name="generate.title.markup">
+ <xsl:param name="title"/>
+ <xsl:param name="is.component">
+ <xsl:call-template name="is.component"/>
+ </xsl:param>
+ <xsl:choose>
+ <xsl:when test="$is.component=1">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:call-template name="normalize-scape">
+ <xsl:with-param name="string" select="$title"/>
+ </xsl:call-template>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="normalize-scape">
+ <xsl:with-param name="string" select="$title"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Format titles in xref text </refpurpose>
+ <doc:params>
+ <variablelist>
+ <varlistentry>
+ <term>title</term>
+ <listitem><simpara>The text.</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>is.component</term>
+ <listitem><simpara>Whether the node's parent is considered
+ to be a <quote>component</quote> in the sense of &DocBook;.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+ </doc:params>
+ <doc:description>
+ <para>
+ Calls <xref linkend="template.generate.title.markup"/>.
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="title" mode="insert.title.markup">
+ <xsl:param name="title"/>
+ <xsl:param name="is.component">
+ <xsl:choose>
+ <xsl:when test="contains(local-name(..), 'info')">
+ <xsl:call-template name="is.component">
+ <xsl:with-param name="node" select="../.."/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="is.component">
+ <xsl:with-param name="node" select=".."/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+ <xsl:call-template name="generate.title.markup">
+ <xsl:with-param name="title" select="$title"/>
+ <xsl:with-param name="is.component" select="$is.component"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Format titles in xref text </refpurpose>
+ <doc:description>
+ <para>
+ Does not add quotation marks around the title
+ but does italicise it.
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template match="book" mode="insert.title.markup">
+ <xsl:param name="title"/>
+ <xsl:text>{\textit{</xsl:text>
+ <xsl:call-template name="normalize-scape">
+ <xsl:with-param name="string" select="$title"/>
+ </xsl:call-template>
+ <xsl:text>}}</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="*" mode="insert.subtitle.markup">
+ <xsl:message>Warning: unexpected insert.subtitle.markup in DB2LaTeX</xsl:message>
+ </xsl:template>
+
+ <xsl:template match="*" mode="insert.pagenumber.markup">
+ <xsl:param name="target" select="."/>
+ <xsl:choose>
+ <xsl:when test="$latex.use.varioref='1'">
+ <xsl:variable name="options"><xsl:call-template name="latex.vpageref.options"/></xsl:variable>
+ <xsl:text>\vpageref</xsl:text>
+ <xsl:if test="$options!=''">
+ <xsl:choose>
+ <xsl:when test="contains($options,'[')">
+ <xsl:value-of select="$options"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>[</xsl:text>
+ <xsl:value-of select="$options"/>
+ <xsl:text>]</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ <xsl:text>{</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\pageref{</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:value-of select="$target/@id"/>
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="*" mode="insert.direction.markup">
+ <xsl:message>Warning: unexpected insert.direction.markup in DB2LaTeX</xsl:message>
+ </xsl:template>
+
+<doc:template match="ulink" xmlns="">
+ <refpurpose>A link that addresses its target by means of a URL (Uniform Resource Locator)</refpurpose>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.ulink.show"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.ulink.footnotes"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.ulink.protocols.relaxed"/></simpara></listitem>
+ <listitem><simpara><xref linkend="param.latex.hyphenation.tttricks"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+</doc:template>
+ <xsl:template match="ulink" name="ulink">
+ <xsl:param name="hyphenation">\docbookhyphenateurl</xsl:param>
+ <xsl:param name="url" select="@url"/>
+ <xsl:param name="content">
+ <xsl:call-template name="trim-outer">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:param>
+ <xsl:choose>
+ <xsl:when test="$content = '' or $content = $url">
+ <xsl:call-template name="generate.typeset.url">
+ <xsl:with-param name="hyphenation" select="$hyphenation"/>
+ <xsl:with-param name="url" select="$url"/>
+ <xsl:with-param name="prepend" select="''"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$latex.ulink.protocols.relaxed='1' and (substring-after($url,':')=$content or substring-after($url,'://')=$content)">
+ <xsl:call-template name="generate.typeset.url">
+ <xsl:with-param name="hyphenation" select="$hyphenation"/>
+ <xsl:with-param name="url" select="$content"/>
+ <xsl:with-param name="prepend" select="''"/>
+ </xsl:call-template>
+ <xsl:if test="$ulink.footnotes='1' and count(ancestor::footnote)=0">
+ <xsl:call-template name="generate.ulink.in.footnote">
+ <xsl:with-param name="hyphenation" select="$hyphenation"/>
+ <xsl:with-param name="url" select="$url"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:when>
+ <xsl:when test="$latex.use.tabularx=1 and count(ancestor::table)&gt;0">
+ <xsl:apply-templates/>
+ <xsl:call-template name="generate.typeset.url">
+ <xsl:with-param name="hyphenation" select="$hyphenation"/>
+ <xsl:with-param name="url" select="$url"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$ulink.footnotes='1' or $ulink.show='1'">
+ <xsl:apply-templates/>
+ <xsl:if test="$ulink.footnotes='1' and count(ancestor::footnote)=0">
+ <xsl:call-template name="generate.ulink.in.footnote">
+ <xsl:with-param name="hyphenation" select="$hyphenation"/>
+ <xsl:with-param name="url" select="$url"/>
+ </xsl:call-template>
+ </xsl:if>
+ <xsl:if test="$ulink.show='1' or ($ulink.footnotes='1' and ancestor::footnote)">
+ <xsl:call-template name="generate.typeset.url">
+ <xsl:with-param name="hyphenation" select="$hyphenation"/>
+ <xsl:with-param name="url" select="$url"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\href{</xsl:text>
+ <xsl:call-template name="scape-href">
+ <xsl:with-param name="string" select="$url"/>
+ </xsl:call-template>
+ <xsl:text>}</xsl:text>
+ <xsl:text>{</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>}</xsl:text><!-- End Of second argument of \href -->
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+<doc:template match="olink" xmlns="">
+ <refpurpose>OLink XSL template</refpurpose>
+ <doc:description>
+ <para></para>
+ </doc:description>
+</doc:template>
+ <xsl:template match="olink">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="*" name="title.xref">
+ <xsl:param name="target" select="."/>
+ <xsl:choose>
+ <xsl:when test="name($target) = 'figure'
+ or name($target) = 'example'
+ or name($target) = 'equation'
+ or name($target) = 'table'
+ or name($target) = 'dedication'
+ or name($target) = 'preface'
+ or name($target) = 'bibliography'
+ or name($target) = 'glossary'
+ or name($target) = 'index'
+ or name($target) = 'setindex'
+ or name($target) = 'colophon'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:apply-templates select="$target" mode="title.content"/>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>{\em </xsl:text><xsl:apply-templates select="$target" mode="title.content"/><xsl:text>}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="title" mode="xref">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="command" mode="xref">
+ <xsl:call-template name="inline.boldseq"/>
+ </xsl:template>
+
+ <xsl:template match="function" mode="xref">
+ <xsl:call-template name="inline.monoseq"/>
+ </xsl:template>
+
+ <doc:template xmlns="">
+ <refpurpose> Typeset a URL using the <function condition="latex">url</function> or <function condition="latex">href</function> commands </refpurpose>
+ <doc:variables>
+ <itemizedlist>
+ <listitem><simpara><xref linkend="param.latex.url.quotation"/></simpara></listitem>
+ </itemizedlist>
+ </doc:variables>
+ <doc:description>
+ <para>If <xref linkend="param.latex.url.quotation"/> is set,
+ the <quote>urlstartquote</quote> and <quote>urlendquote</quote>
+ gentext dingbats will be emitted.</para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="generate.typeset.url">
+ <xsl:param name="hyphenation"/>
+ <xsl:param name="url" select="@url"/>
+ <xsl:param name="prepend" select="' '"/>
+ <xsl:value-of select="$prepend"/>
+ <xsl:if test="$latex.url.quotation=1">
+ <xsl:call-template name="gentext.dingbat">
+ <xsl:with-param name="dingbat">urlstartquote</xsl:with-param>
+ </xsl:call-template>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$latex.use.url='1'">
+ <xsl:text>\url{</xsl:text>
+ <xsl:call-template name="scape-url">
+ <xsl:with-param name="string" select="$url"/>
+ </xsl:call-template>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\href{</xsl:text>
+ <xsl:call-template name="scape-href">
+ <xsl:with-param name="string" select="$url"/>
+ </xsl:call-template>
+ <xsl:text>}{\texttt{</xsl:text>
+ <xsl:call-template name="generate.string.url">
+ <xsl:with-param name="hyphenation" select="$hyphenation"/>
+ <xsl:with-param name="string" select="$url"/>
+ </xsl:call-template>
+ <xsl:text>}}</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$latex.url.quotation=1">
+ <xsl:call-template name="gentext.dingbat">
+ <xsl:with-param name="dingbat">urlendquote</xsl:with-param>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+
+ <doc:template name="generate.string.url" xmlns="">
+ <refpurpose>Escape and hyphenate a string as a teletype URL.</refpurpose>
+ <doc:description>
+ <para>
+ This template typsets teletype text using slash.hyphen if
+ $latex.hyphenation.tttricks is disabled.
+ Has two parameters: 'hyphenation' and 'string'.
+ </para>
+ </doc:description>
+ </doc:template>
+ <xsl:template name="generate.string.url">
+ <xsl:param name="hyphenation" />
+ <xsl:param name="string" />
+ <xsl:param name="url" select="$string"/>
+ <xsl:choose>
+ <xsl:when test="$latex.hyphenation.tttricks=1">
+ <xsl:value-of select="$hyphenation" />
+ <xsl:text>{</xsl:text>
+ <xsl:call-template name="normalize-scape"><xsl:with-param name="string" select="$string"/></xsl:call-template>
+ <xsl:text>}</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- LaTeX chars are scaped. Each / except the :// is mapped to a /\- -->
+ <xsl:call-template name="scape.slash.hyphen"><xsl:with-param name="string" select="$url"/></xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="xpath.location">
+ <!-- abbreviated -->
+ <xsl:param name="node" select="."/>
+ <xsl:value-of select="local-name($node)"/>
+ </xsl:template>
+
+<xsl:template match="*" mode="object.xref.template">
+ <xsl:param name="purpose"/>
+ <xsl:param name="xrefstyle"/>
+ <xsl:param name="referrer"/>
+
+ <xsl:variable name="user-template">
+ <xsl:if test="$xrefstyle != '' and not(contains($xrefstyle, ':'))">
+ <xsl:call-template name="gentext.template.exists">
+ <xsl:with-param name="context" select="$xrefstyle"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:variable>
+
+ <xsl:variable name="context">
+ <xsl:choose>
+ <xsl:when test="$user-template = 1">
+ <xsl:value-of select="$xrefstyle"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="'xref'"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="$context"/>
+ <xsl:with-param name="name">
+ <xsl:call-template name="xpath.location"/>
+ </xsl:with-param>
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="*" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:message>
+ <xsl:text>Don't know what gentext to create for xref to: "</xsl:text>
+ <xsl:value-of select="name(.)"/>
+ <xsl:text>"</xsl:text>
+ </xsl:message>
+ <xsl:text>?</xsl:text>
+ <xsl:value-of select="$referrer/@linkend"/>
+ <xsl:text>?</xsl:text>
+</xsl:template>
+
+<xsl:template match="title" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="purpose"/>
+ <xsl:param name="xrefstyle"/>
+ <xsl:param name="name">
+ <xsl:choose>
+ <xsl:when test="contains(local-name(parent::*), 'info')">
+ <xsl:call-template name="xpath.location">
+ <xsl:with-param name="node" select="../.."/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="xpath.location">
+ <xsl:with-param name="node" select=".."/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+
+ <xsl:variable name="template">
+ <xsl:variable name="user-template">
+ <xsl:if test="$xrefstyle != '' and not(contains($xrefstyle, ':'))">
+ <xsl:call-template name="gentext.template.exists">
+ <xsl:with-param name="context" select="$xrefstyle"/>
+ <xsl:with-param name="name" select="$name"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:variable>
+ <xsl:variable name="context">
+ <xsl:choose>
+ <xsl:when test="$user-template = 1">
+ <xsl:value-of select="$xrefstyle"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="'title'"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="$context"/>
+ <xsl:with-param name="name" select="$name"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:call-template name="substitute-markup">
+ <xsl:with-param name="purpose" select="$purpose"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ <xsl:with-param name="template" select="$template"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="abstract|article|authorblurb|bibliodiv|bibliomset
+ |biblioset|blockquote|calloutlist|caution|colophon
+ |constraintdef|formalpara|glossdiv|important|indexdiv
+ |itemizedlist|legalnotice|lot|msg|msgexplan|msgmain
+ |msgrel|msgset|msgsub|note|orderedlist|partintro
+ |productionset|qandadiv|refsynopsisdiv|segmentedlist
+ |set|setindex|sidebar|tip|toc|variablelist|warning"
+ mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <!-- catch-all for things with (possibly optional) titles -->
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="author|editor|othercredit|personname" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:call-template name="person.name"/>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:call-template name="person.name.list"/>
+</xsl:template>
+
+<xsl:template match="figure|example|table|equation" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="procedure" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="(.//command)[1]" mode="xref"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsis" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="(.//function)[1]" mode="xref"/>
+</xsl:template>
+
+<xsl:template match="dedication|preface|chapter|appendix" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="bibliography" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<!--
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:text>[</xsl:text>
+ <xsl:choose>
+ <xsl:when test="string(.) = ''">
+ <xsl:variable name="bib" select="document($bibliography.collection)"/>
+ <xsl:variable name="id" select="@id"/>
+ <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/>
+ <xsl:choose>
+ <xsl:when test="$entry">
+ <xsl:choose>
+ <xsl:when test="$bibliography.numbered != 0">
+ <xsl:number from="bibliography" count="biblioentry|bibliomixed"
+ level="any" format="1"/>
+ </xsl:when>
+ <xsl:when test="local-name($entry/*[1]) = 'abbrev'">
+ <xsl:apply-templates select="$entry/*[1]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@id"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>
+ <xsl:text>No bibliography entry: </xsl:text>
+ <xsl:value-of select="$id"/>
+ <xsl:text> found in </xsl:text>
+ <xsl:value-of select="$bibliography.collection"/>
+ </xsl:message>
+ <xsl:value-of select="@id"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$bibliography.numbered != 0">
+ <xsl:number from="bibliography" count="biblioentry|bibliomixed"
+ level="any" format="1"/>
+ </xsl:when>
+ <xsl:when test="local-name(*[1]) = 'abbrev'">
+ <xsl:apply-templates select="*[1]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@id"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>]</xsl:text>
+</xsl:template>
+-->
+
+<xsl:template match="glossary" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="glossentry" mode="xref-to">
+ <xsl:choose>
+ <xsl:when test="$glossentry.show.acronym = 'primary'">
+ <xsl:choose>
+ <xsl:when test="acronym|abbrev">
+ <xsl:apply-templates select="(acronym|abbrev)[1]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="glossterm[1]" mode="xref-to"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="glossterm[1]" mode="xref-to"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossterm" mode="xref-to">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="index" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="listitem" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="section|simplesect
+ |sect1|sect2|sect3|sect4|sect5
+ |refsect1|refsect2|refsect3" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+ <!-- What about "in Chapter X"? -->
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+ <!-- What about "in Chapter X"? -->
+</xsl:template>
+
+<xsl:template match="qandaset" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="question[1]" mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="question|answer" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="part|reference" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refentry" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:choose>
+ <xsl:when test="refmeta/refentrytitle">
+ <xsl:apply-templates select="refmeta/refentrytitle"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="refnamediv/refname[1]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="refmeta/manvolnum"/>
+</xsl:template>
+
+<xsl:template match="refnamediv" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="refname[1]" mode="xref-to">
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refname" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates mode="xref-to">
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="step" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Step'"/>
+ </xsl:call-template>
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates select="." mode="number"/>
+</xsl:template>
+
+<xsl:template match="varlistentry" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="term[1]" mode="xref-to">
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="varlistentry/term" mode="xref-to">
+ <!-- to avoid the comma that will be generated if there are several terms -->
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="co" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="callout-bug"/>
+</xsl:template>
+
+<xsl:template match="book" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="para" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:variable name="context" select="(ancestor::simplesect
+ |ancestor::section
+ |ancestor::sect1
+ |ancestor::sect2
+ |ancestor::sect3
+ |ancestor::sect4
+ |ancestor::sect5
+ |ancestor::refsection
+ |ancestor::refsect1
+ |ancestor::refsect2
+ |ancestor::refsect3
+ |ancestor::chapter
+ |ancestor::appendix
+ |ancestor::preface
+ |ancestor::partintro
+ |ancestor::dedication
+ |ancestor::colophon
+ |ancestor::bibliography
+ |ancestor::index
+ |ancestor::glossary
+ |ancestor::glossentry
+ |ancestor::listitem
+ |ancestor::varlistentry)[last()]"/>
+
+ <xsl:apply-templates select="$context" mode="xref-to"/>
+<!--
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+-->
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/docs/xslt/db2latex-xsl/xsl/xsldoc.ent b/docs/xslt/db2latex-xsl/xsl/xsldoc.ent
new file mode 100644
index 0000000000..7bc763aaa5
--- /dev/null
+++ b/docs/xslt/db2latex-xsl/xsl/xsldoc.ent
@@ -0,0 +1,55 @@
+<!ENTITY DocBook "<productname condition='noindex'>DocBook</productname>">
+<!ENTITY docbook "<productname condition='noindex'>DocBook</productname>">
+<!ENTITY DB2LaTeX "<productname condition='noindex'>DB2<?latex \?>LaTeX</productname>">
+<!ENTITY db2latex "<productname condition='noindex'>DB2<?latex \?>LaTeX</productname>">
+<!ENTITY LaTeX "<productname condition='noindex'><?latex \?>LaTeX</productname>">
+<!ENTITY latex "<productname condition='noindex'><?latex \?>LaTeX</productname>">
+<!ENTITY BibTeX "<productname><?latex \?>BibTeX</productname>">
+<!ENTITY bibtex "<productname><?latex \?>BibTeX</productname>">
+
+<!ENTITY ramon "<author><firstname>Ramon</firstname><surname>Casellas</surname></author>">
+<!ENTITY james "<author><firstname>James</firstname><surname>Devenish</surname></author>">
+
+<!ENTITY mapping "<xref linkend='latex.mapping'/>">
+<!ENTITY preamble "<xref linkend='preamble'/>">
+<!ENTITY no_var "<para>There are no configuration variables for this template.</para>">
+<!ENTITY essential_preamble "<para>This template requires &LaTeX; commands that are part of the <quote>essential preamble</quote>.</para>">
+<!ENTITY rev_2003_05 "<date>May-January 2004</date><revremark>Major review of documentation.</revremark>">
+<!ENTITY roleattr "<sgmltag class='attribute'>role</sgmltag>">
+
+<!ENTITY test_article "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_article' xml='article.xml' xsl='article.xsl'/></member>">
+<!ENTITY test_adm "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_adm' xml='test.xml'/></member>">
+<!ENTITY test_biblio "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_biblio' xml='test.xml'/></member>">
+<!ENTITY test_bind "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_bind' xml='Bv9ARM-book.xml'/></member>">
+<!ENTITY test_blocks "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_blocks' xml='test.xml'/></member>">
+<!ENTITY test_book "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_book' xml='test.xml'/></member>">
+<!ENTITY test_chemistry "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_chemistry' xml='test.xml'/></member>">
+<!ENTITY test_cited "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_cited' xml='test.xml'/></member>">
+<!ENTITY test_ddh "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_ddh' xml='article.xml'/></member>">
+<!ENTITY test_defguide "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_defguide' xml='defguide.xml'/></member>">
+<!ENTITY test_draft "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_draft' xml='test.xml'/></member>">
+<!ENTITY test_draft1 "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_draft' xml='test.xml' xsl='test.xsl'/></member>">
+<!ENTITY test_draft2 "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_draft' xml='test.xml' xsl='hyperref.xsl'/></member>">
+<!ENTITY test_draft3 "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_draft' xml='test.xml' xsl='varioref1.xsl'/></member>">
+<!ENTITY test_draft4 "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_draft' xml='test.xml' xsl='varioref2.xsl'/></member>">
+<!ENTITY test_ecos "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_ecos' xml='user-guide.xml'/></member>">
+<!ENTITY test_entities "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_entities' xml='test.xml'/></member>">
+<!ENTITY test_gloss "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_gloss' xml='test.xml'/></member>">
+<!ENTITY test_ieeebiblio "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_ieeebiblio' xml='test.xml'/></member>">
+<!ENTITY test_index "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_index' xml='test.xml'/></member>">
+<!ENTITY test_index_draft "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_index' xml='test.xml' xsl='draft.xsl'/></member>">
+<!ENTITY test_links "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_links' xml='test.xml'/></member>">
+<!ENTITY test_lot "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_lot' xml='test1.xml'/></member>">
+<!ENTITY test_lot1 "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_lot' xml='test1.xml'/></member>">
+<!ENTITY test_lot2 "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_lot' xml='test2.xml'/></member>">
+<!ENTITY test_lot3 "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_lot' xml='test3.xml'/></member>">
+<!ENTITY test_lists "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_lists' xml='test.xml'/></member>">
+<!ENTITY test_mapping "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_mapping' xml='test.xml'/></member>">
+<!ENTITY test_minimal "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_minimal' xml='minimal.xml'/></member>">
+<!ENTITY test_pinkjuice "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_pinkjuice' xml='vimxml.xml'/></member>">
+<!ENTITY test_program "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_program' xml='test.xml'/></member>">
+<!ENTITY test_procedure "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_procedure' xml='test.xml'/></member>">
+<!ENTITY test_subfig "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_subfig' xml='test.xml'/></member>">
+<!ENTITY test_tables "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_tables' xml='test.xml'/></member>">
+<!ENTITY test_theorem "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_theorem' xml='test.xml'/></member>">
+<!ENTITY test_varioref "<member><sample xmlns='http://nwalsh.com/xsl/documentation/1.0' directory='test_varioref' xml='test.xml'/></member>">