More updates
authorJelmer Vernooij <jelmer@samba.org>
Fri, 10 Jun 2005 22:28:10 +0000 (22:28 +0000)
committerGerald W. Carter <jerry@samba.org>
Wed, 23 Apr 2008 14:00:25 +0000 (09:00 -0500)
docs/xslt/expand-sambadoc.xsl
docs/xslt/latex.xsl

index 12ea49710195998dc802a6f6d0681b9aea583323..cdc84e6d21330bb78b0b7536663d6f505535e2d5 100644 (file)
                        </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>
index 56db80e7cc3a65034c68a4de5b1b1baa98de23a1..b7159b15fece4ee52fc8133134cd3610d1687a11 100644 (file)
        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>
 <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>