diff options
-rw-r--r-- | docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml | 5 | ||||
-rw-r--r-- | docs/Samba3-HOWTO/TOSHARG-Printing.xml | 2 | ||||
-rw-r--r-- | docs/xslt/latex.xsl | 2 | ||||
-rw-r--r-- | docs/xslt/latex/sambadoc.cls | 12 |
4 files changed, 13 insertions, 8 deletions
diff --git a/docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml b/docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml index 12f797c84a..f15bea94fb 100644 --- a/docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml +++ b/docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml @@ -227,10 +227,7 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) <smbconfoption name="path">/var/spool/samba-special</smbconfoption> <smbconfoption name="printing">sysv</smbconfoption> <smbconfoption name="printcap">lpstat</smbconfoption> - <smbconfoption name="print command">echo "NEW: `date`: printfile %f" \</smbconfoption> - <member><parameter> >> /tmp/smbprn.log ; \</parameter></member> - <member><parameter>echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; \</parameter></member> - <member><parameter>echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f</parameter></member> + <smbconfoption name="print command">echo "NEW: `date`: printfile %f" >> /tmp/smbprn.log ; echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f </smbconfoption> <smbconfoption name="public">no</smbconfoption> <smbconfoption name="guest ok">no</smbconfoption> <smbconfoption name="writable">no</smbconfoption> diff --git a/docs/Samba3-HOWTO/TOSHARG-Printing.xml b/docs/Samba3-HOWTO/TOSHARG-Printing.xml index b5488fca65..f7911d246c 100644 --- a/docs/Samba3-HOWTO/TOSHARG-Printing.xml +++ b/docs/Samba3-HOWTO/TOSHARG-Printing.xml @@ -1150,9 +1150,7 @@ site). See <link linkend="prtdollar">next example</link>. <smbconfcomment>members of the ntadmin group should be able to add drivers and set</smbconfcomment> <smbconfcomment>printer properties. root is implicitly always a 'printer admin'.</smbconfcomment> <smbconfoption name="printer admin">@ntadmin</smbconfoption> -<member>...</member> <smbconfsection name="[printers]"/> -<member>...</member> <smbconfsection name="[print$]"/> <smbconfoption name="comment">Printer Driver Download Area</smbconfoption> <smbconfoption name="path">/etc/samba/drivers</smbconfoption> diff --git a/docs/xslt/latex.xsl b/docs/xslt/latex.xsl index 0e2574de20..5e10e62961 100644 --- a/docs/xslt/latex.xsl +++ b/docs/xslt/latex.xsl @@ -102,7 +102,7 @@ </xsl:template> <xsl:template match="smbconfblock"> - <xsl:text> \begin{lstlisting}[language=smbconf] </xsl:text> + <xsl:text> \begin{lstlisting}[language=smbconf,style=smbconfblock] </xsl:text> <xsl:apply-templates/> <xsl:text>\end{lstlisting} </xsl:text> </xsl:template> diff --git a/docs/xslt/latex/sambadoc.cls b/docs/xslt/latex/sambadoc.cls index fcd693e0ca..c9d46df718 100644 --- a/docs/xslt/latex/sambadoc.cls +++ b/docs/xslt/latex/sambadoc.cls @@ -515,6 +515,16 @@ footskip=.025in} morecomment=[l]{\#}, } -\lstset{backgroundcolor=\color{lightgray},frame=single,} +\newcommand{\linebreaksign}{\hbox{\ensuremath\hookleftarrow}} + +\lstdefinestyle{smbconfblock} +{ + breaklines=true, + backgroundcolor=\color{lightgray}, + frame=single, + frameround=tttt, + prebreak={\space\linebreaksign} +} + \newcommand{\smbconfsection}[1]{\emph{#1}} \newcommand{\smbconfoption}[1]{\index{#1}\emph{#1}} |