summaryrefslogtreecommitdiff
path: root/docs/docbook/xslt/latex.xsl
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-04-30 21:39:49 +0000
committerAlexander Bokovoy <ab@samba.org>2003-04-30 21:39:49 +0000
commitbd30b6066f1a28663b28466a67064149b6e060a4 (patch)
treedc4478c5aafd9078f380e5e2ea11926519905fb0 /docs/docbook/xslt/latex.xsl
parent049791de5b6e43e827e2be01a65958389d9c76e2 (diff)
downloadsamba-bd30b6066f1a28663b28466a67064149b6e060a4.tar.gz
samba-bd30b6066f1a28663b28466a67064149b6e060a4.tar.bz2
samba-bd30b6066f1a28663b28466a67064149b6e060a4.zip
Docbook XML conversion: XSLT and build infrastructure
(This used to be commit f4f6e0b29e744077dfb836745716a659a49d7529)
Diffstat (limited to 'docs/docbook/xslt/latex.xsl')
-rw-r--r--docs/docbook/xslt/latex.xsl35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/docbook/xslt/latex.xsl b/docs/docbook/xslt/latex.xsl
new file mode 100644
index 0000000000..158c5879db
--- /dev/null
+++ b/docs/docbook/xslt/latex.xsl
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+<xsl:import href="db2latex/docbook.xsl"/>
+<xsl:import href="table.mod.xsl"/>
+<xsl:import href="lists.mod.xsl"/>
+
+<xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>
+<xsl:variable name="latex.documentclass">xslt/latex/sambadoc</xsl:variable>
+<xsl:variable name="latex.documentclass.common">english,final,titlepage</xsl:variable>
+<xsl:variable name="latex.documentclass.book"></xsl:variable>
+<xsl:variable name="latex.hyperref.param.pdftex">hyperfigures,hyperindex,citecolor=blue,urlcolor=blue</xsl:variable>
+<xsl:variable name="latex.document.font">default</xsl:variable>
+<xsl:variable name="latex.admonition.path">xslt/figures</xsl:variable>
+<xsl:variable name="latex.hyphenation.tttricks">1</xsl:variable>
+<xsl:variable name="latex.use.tabularx">1</xsl:variable>
+<xsl:param name="latex.babel.language">english</xsl:param>
+<xsl:param name="ulink.url">1</xsl:param>
+
+<xsl:variable name="latex.book.preamble.post">\fancyhf{}
+\fancyhead[RE]{\slshape \rightmark}
+\fancyhead[LO]{\slshape \leftmark}
+\fancyfoot[R]{\thepage}
+</xsl:variable>
+
+<xsl:template match="//title/filename|//title/command">
+ <xsl:variable name="content">
+ <xsl:apply-templates/>
+ </xsl:variable>
+ <xsl:if test="$content != ''">
+ <xsl:value-of select="$content" />
+ </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>
+