diff options
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}} |