summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2007-11-27 15:50:28 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:40 -0500
commit6b7681dbfc0105ea0b452edae09577c91a15ac50 (patch)
tree4c0e54e6190dc10c22d239fcabd4f247783a5184
parent0a6fea6796e0da0d5c8690c851f2723e4b385ba7 (diff)
downloadsamba-6b7681dbfc0105ea0b452edae09577c91a15ac50.tar.gz
samba-6b7681dbfc0105ea0b452edae09577c91a15ac50.tar.bz2
samba-6b7681dbfc0105ea0b452edae09577c91a15ac50.zip
- Activate embedded db2latex
- Use UTF-8 in LaTeX (This used to be commit 19a1c9a6515ee8a22717c66242c04aacbe6e0e43)
-rw-r--r--docs/xslt/latex.overrides.xml2
-rw-r--r--docs/xslt/latex.xsl6
2 files changed, 5 insertions, 3 deletions
diff --git a/docs/xslt/latex.overrides.xml b/docs/xslt/latex.overrides.xml
index 20d1e7642c..1923a63f08 100644
--- a/docs/xslt/latex.overrides.xml
+++ b/docs/xslt/latex.overrides.xml
@@ -1,5 +1,5 @@
<?xml version='1.0'?>
-<!DOCTYPE latexbindings SYSTEM "http://db2latex.sourceforge.net/xsl/latex.mapping.dtd">
+<!DOCTYPE latexbindings SYSTEM "db2latex-xsl/xsl/latex.mapping.dtd">
<latexbindings>
<latexmapping role="begin">
</latexmapping>
diff --git a/docs/xslt/latex.xsl b/docs/xslt/latex.xsl
index 3a54ba7476..bb0907df55 100644
--- a/docs/xslt/latex.xsl
+++ b/docs/xslt/latex.xsl
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
-<xsl:import href="http://db2latex.sourceforge.net/xsl/docbook.xsl"/>
+<xsl:import href="db2latex-xsl/xsl/docbook.xsl"/>
<xsl:import href="strip-references.xsl"/>
<xsl:param name="latex.mapping.xml" select="document('latex.overrides.xml')"/>
@@ -58,7 +58,7 @@
</xsl:if>
</xsl:template>
-<xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>
+<xsl:output method="text" encoding="UTF-8" indent="yes"/>
<xsl:variable name="l10n.gentext.default.language" select="'en'"/>
<xsl:variable name="latex.document.font">default</xsl:variable>
<xsl:variable name="latex.example.caption.style"></xsl:variable>
@@ -68,6 +68,8 @@
<xsl:variable name="latex.fancyhdr.lh"></xsl:variable>
<xsl:variable name="latex.use.fancyhdr"></xsl:variable>
<xsl:variable name="latex.use.parskip">1</xsl:variable>
+<xsl:variable name="latex.use.ucs">1</xsl:variable>
+<xsl:variable name="latex.inputenc">utf8</xsl:variable>
<xsl:variable name="latex.book.varsets" select="''"/>
<xsl:variable name="latex.hyphenation.tttricks">1</xsl:variable>
<xsl:variable name="latex.titlepage.file"></xsl:variable>