diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-07-04 21:36:46 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:47:00 -0500 |
commit | 55d8ee039a920508fb51bcc85397e26acc365f60 (patch) | |
tree | 77c323ae9e51c71202c8c4af948fc5e2082c778f /docs/xslt | |
parent | b5f9c625fe26329edf19537939609c3e039e98e6 (diff) | |
download | samba-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.xsl | 12 | ||||
-rw-r--r-- | docs/xslt/latex/sambadoc.cls | 5 |
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} </xsl:text> <xsl:apply-templates> - <xsl:sort select="varlistentry/term/anchor"/> + <xsl:sort select="samba:parameter/@name"/> </xsl:apply-templates> + <xsl:text>\end{description} </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>} </xsl:text> + <xsl:text>\item[{</xsl:text><xsl:value-of select="@name"/><xsl:text>}] </xsl:text> <xsl:text>\index{</xsl:text><xsl:value-of select="@name"/><xsl:text>|it} </xsl:text> <xsl:for-each select="synonym"> - <xsl:text>\subsubsection{</xsl:text><xsl:value-of select="."/><xsl:text>} </xsl:text> + <xsl:text>\item[{</xsl:text><xsl:value-of select="."/><xsl:text>}] </xsl:text> <xsl:text>\index{</xsl:text><xsl:value-of select="."/><xsl:text>|it} </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}} |