From 11b6c1137d1b0e7d37627831338ce21be2bee218 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 1 May 2009 20:51:43 +0200 Subject: Move expansion of Samba-specific XML elements out of xslt/latex.xsl into a separate file, for better readability. xslt/latex.xsl now only contains tweaks to the dblatex configuration. --- docs-xml/xslt/latex.xsl | 166 ++---------------------------------------- docs-xml/xslt/latex/samba.xsl | 146 +++++++++++++++++++++++++++++++++++++ 2 files changed, 153 insertions(+), 159 deletions(-) create mode 100644 docs-xml/xslt/latex/samba.xsl diff --git a/docs-xml/xslt/latex.xsl b/docs-xml/xslt/latex.xsl index 9f6abdb1ac..5bc6deb8c1 100644 --- a/docs-xml/xslt/latex.xsl +++ b/docs-xml/xslt/latex.xsl @@ -1,11 +1,15 @@ + - + + + + - + /appendix toc,title @@ -28,28 +32,6 @@ set toc,title - - @@ -67,61 +49,7 @@ - - \usepackage{samba} - - - - - - = - - - - - - - # - - - - - - - - - - - \smbconfoption{ - - - - } - - - - = - - - - - - - - - \begin{lstlisting}[language=smbconf,style=smbconfblock] - - \end{lstlisting} - - - - \smbconfsection{ - - - - } - - + \includegraphics[scale= @@ -133,84 +61,4 @@ } - - - - - - - - - - - - - \begin{description} - - - - \end{description} - - - - # - - - - - - - - - \section{} - - - - - - \item[{}]\null{} - \index{} - This parameter is a synonym for \smbconfoption{}. - - - \item[{ - ( - - ) - }]\null{} - \index{} - - - - Default: - \emph{ - - - - = - - - - No default - - - } - - - - - - - Example: - \emph{ - = - - } - - - - - - - diff --git a/docs-xml/xslt/latex/samba.xsl b/docs-xml/xslt/latex/samba.xsl new file mode 100644 index 0000000000..9fc27e6bbb --- /dev/null +++ b/docs-xml/xslt/latex/samba.xsl @@ -0,0 +1,146 @@ + + + + + + + \usepackage{samba} + + + + + + = + + + + + + + # + + + + + + + + + + + \smbconfoption{ + + + + } + + + + = + + + + + + + + + \begin{lstlisting}[language=smbconf,style=smbconfblock] + + \end{lstlisting} + + + + \smbconfsection{ + + + + } + + + + + + + + + + + + + \begin{description} + + + + \end{description} + + + + # + + + + + + + + + \section{} + + + + + + \item[{}]\null{} + \index{} + This parameter is a synonym for \smbconfoption{}. + + + \item[{ + ( + + ) + }]\null{} + \index{} + + + + Default: + \emph{ + + + + = + + + + No default + + + } + + + + + + + Example: + \emph{ + = + + } + + + + + + + + -- cgit