summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-10 22:28:10 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:45 -0500
commite8fda7aac83d924918c1d7c6ff75bbd001b26987 (patch)
tree618470c4615bb2db28fbb1eb5bb64c8c82334604 /docs
parentf3b1f74b3d411770b2ec5fd997e8c83dd19846b9 (diff)
downloadsamba-e8fda7aac83d924918c1d7c6ff75bbd001b26987.tar.gz
samba-e8fda7aac83d924918c1d7c6ff75bbd001b26987.tar.bz2
samba-e8fda7aac83d924918c1d7c6ff75bbd001b26987.zip
More updates
(This used to be commit 82f164625f0ea145466d671ce6716ef438fb1a52)
Diffstat (limited to 'docs')
-rw-r--r--docs/xslt/expand-sambadoc.xsl9
-rw-r--r--docs/xslt/latex.xsl41
2 files changed, 13 insertions, 37 deletions
diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl
index 12ea497101..cdc84e6d21 100644
--- a/docs/xslt/expand-sambadoc.xsl
+++ b/docs/xslt/expand-sambadoc.xsl
@@ -444,13 +444,4 @@
</xsl:element>
</xsl:element>
</xsl:template>
-
- <xsl:template match="quote">
- <xsl:element name="quote">
- <xsl:element name="emphasis">
- <xsl:apply-templates/>
- </xsl:element>
- </xsl:element>
- </xsl:template>
-
</xsl:stylesheet>
diff --git a/docs/xslt/latex.xsl b/docs/xslt/latex.xsl
index 56db80e7cc..b7159b15fe 100644
--- a/docs/xslt/latex.xsl
+++ b/docs/xslt/latex.xsl
@@ -26,12 +26,23 @@
set toc,title
</xsl:param>
+<!-- Show real name of the link rather then user specified description -->
<xsl:template name="link">
<xsl:element name="link">
<xsl:copy-of select="@*"/>
</xsl:element>
</xsl:template>
+<!-- LaTeX doesn't accept verbatim stuff in titles -->
+<xsl:template match="//title/filename|//title/command|//title/parameter|//title/constant">
+ <xsl:variable name="content">
+ <xsl:apply-templates/>
+ </xsl:variable>
+ <xsl:if test="$content != ''">
+ <xsl:value-of select="$content" />
+ </xsl:if>
+</xsl:template>
+
<xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>
<xsl:param name="l10n.gentext.default.language" select="'en'"/>
<xsl:param name="latex.example.caption.style"></xsl:param>
@@ -43,38 +54,12 @@
<xsl:variable name="latex.use.parskip">1</xsl:variable>
<!--<xsl:variable name="latex.use.ltxtable">1</xsl:variable>-->
<xsl:variable name="latex.hyphenation.tttricks">1</xsl:variable>
-<xsl:variable name="latex.book.varsets"></xsl:variable>
<xsl:variable name="latex.titlepage.file"></xsl:variable>
-<!--<xsl:variable name="formal.title.placement">
- figure not_before
- example not_before
- equation not_before
- table not_before
- procedure before
-</xsl:variable>-->
-<!--<xsl:variable name="latex.procedure.title.style"><xsl:text>\subsubsection</xsl:text></xsl:variable>-->
<xsl:template name="latex.thead.row.entry">
<xsl:text>{\bfseries </xsl:text><xsl:apply-templates/><xsl:text>}</xsl:text>
</xsl:template>
-<xsl:variable name="latex.book.preamblestart">
-\documentclass[twoside,openright,<xsl:value-of select="$fontsize"/>pt]{xslt/latex/sambadoc}
-
-\usepackage{amsmath}%
-\usepackage{amsfonts}%
-\usepackage{amssymb}
-
-\makeindex
-
-</xsl:variable>
+<xsl:param name="latex.documentclass">xslt/latex/sambadoc</xsl:param>
+<xsl:param name="latex.documentclass.book"><xsl:value-of select="$fontsize"/>pt,openright,twoside</xsl:param>
<xsl:param name="latex.babel.language">english</xsl:param>
-<xsl:template match="//title/filename|//title/command|//title/parameter|//title/constant">
- <xsl:variable name="content">
- <xsl:apply-templates/>
- </xsl:variable>
- <xsl:if test="$content != ''">
- <xsl:value-of select="$content" />
- </xsl:if>
-</xsl:template>
-
</xsl:stylesheet>