Author: jelmer
Date: 2005-06-10 22:28:10 +0000 (Fri, 10 Jun 2005)
New Revision: 619

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=619

Log:
More updates

Modified:
   trunk/xslt/expand-sambadoc.xsl
   trunk/xslt/latex.xsl


Changeset:
Modified: trunk/xslt/expand-sambadoc.xsl
===================================================================
--- trunk/xslt/expand-sambadoc.xsl      2005-06-10 20:44:17 UTC (rev 618)
+++ trunk/xslt/expand-sambadoc.xsl      2005-06-10 22:28:10 UTC (rev 619)
@@ -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>

Modified: trunk/xslt/latex.xsl
===================================================================
--- trunk/xslt/latex.xsl        2005-06-10 20:44:17 UTC (rev 618)
+++ trunk/xslt/latex.xsl        2005-06-10 22:28:10 UTC (rev 619)
@@ -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>

Reply via email to