summaryrefslogtreecommitdiff
path: root/docs/xslt
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-07-04 21:36:46 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:00 -0500
commit55d8ee039a920508fb51bcc85397e26acc365f60 (patch)
tree77c323ae9e51c71202c8c4af948fc5e2082c778f /docs/xslt
parentb5f9c625fe26329edf19537939609c3e039e98e6 (diff)
downloadsamba-55d8ee039a920508fb51bcc85397e26acc365f60.tar.gz
samba-55d8ee039a920508fb51bcc85397e26acc365f60.tar.bz2
samba-55d8ee039a920508fb51bcc85397e26acc365f60.zip
Some random updates.
(This used to be commit 57d0cc9fcdc1c790a601f6dcf7071188448a5f58)
Diffstat (limited to 'docs/xslt')
-rw-r--r--docs/xslt/latex.xsl12
-rw-r--r--docs/xslt/latex/sambadoc.cls5
2 files changed, 12 insertions, 5 deletions
diff --git a/docs/xslt/latex.xsl b/docs/xslt/latex.xsl
index b3434d876a..f8045db74c 100644
--- a/docs/xslt/latex.xsl
+++ b/docs/xslt/latex.xsl
@@ -154,9 +154,11 @@
<xsl:template match="related"><xsl:apply-templates/></xsl:template>
<xsl:template match="//samba:parameterlist">
+ <xsl:text>\begin{description}&#10;</xsl:text>
<xsl:apply-templates>
- <xsl:sort select="varlistentry/term/anchor"/>
+ <xsl:sort select="samba:parameter/@name"/>
</xsl:apply-templates>
+ <xsl:text>\end{description}&#10;</xsl:text>
</xsl:template>
<xsl:template match="value/comment">
@@ -164,12 +166,16 @@
<xsl:apply-templates/>
</xsl:template>
+<xsl:template match="/">
+ <xsl:apply-templates/>
+</xsl:template>
+
<xsl:template match="//samba:parameter">
- <xsl:text>\subsubsection{</xsl:text><xsl:value-of select="@name"/><xsl:text>}&#10;</xsl:text>
+ <xsl:text>\item[{</xsl:text><xsl:value-of select="@name"/><xsl:text>}]&#10;</xsl:text>
<xsl:text>\index{</xsl:text><xsl:value-of select="@name"/><xsl:text>|it}&#10;</xsl:text>
<xsl:for-each select="synonym">
- <xsl:text>\subsubsection{</xsl:text><xsl:value-of select="."/><xsl:text>}&#10;</xsl:text>
+ <xsl:text>\item[{</xsl:text><xsl:value-of select="."/><xsl:text>}]&#10;</xsl:text>
<xsl:text>\index{</xsl:text><xsl:value-of select="."/><xsl:text>|it}&#10;</xsl:text>
<xsl:text>This parameter is a synonym for \smbconfoption{</xsl:text><xsl:value-of select="../@name"/><xsl:text>}.</xsl:text>
</xsl:for-each>
diff --git a/docs/xslt/latex/sambadoc.cls b/docs/xslt/latex/sambadoc.cls
index 5828ccce40..34b2d286e1 100644
--- a/docs/xslt/latex/sambadoc.cls
+++ b/docs/xslt/latex/sambadoc.cls
@@ -38,7 +38,7 @@
\RequirePackage{geometry}
\geometry{
twoside,
- openright,
+ openleft,
papersize={7in,9.25in},
lmargin=.75in,
rmargin=.75in,
@@ -321,7 +321,8 @@ page \thepage \space undefined}}%
backgroundcolor=\color[gray]{0.93},
frame=single,
frameround=tttt,
- prebreak={\space\linebreaksign}
+ prebreak={\space\linebreaksign},
+ basicstyle=\small
}
\newcommand{\smbconfsection}[1]{\emph{#1}}