summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-13 12:49:10 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:46 -0500
commit6c39a459e9359c7ca0b5667afecd8a828ee22782 (patch)
treee5e9eadbf22e76bbbd11212e4c9514c68f5e87ec /docs
parent7639ec02141091657eb2eb0defc46b4b3cf09a73 (diff)
downloadsamba-6c39a459e9359c7ca0b5667afecd8a828ee22782.tar.gz
samba-6c39a459e9359c7ca0b5667afecd8a828ee22782.tar.bz2
samba-6c39a459e9359c7ca0b5667afecd8a828ee22782.zip
More updates. Fix formatting for examples, support long lines in examples.
(This used to be commit a3f887703810b0852e3b63e453323487711e5d40)
Diffstat (limited to 'docs')
-rw-r--r--docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml5
-rw-r--r--docs/Samba3-HOWTO/TOSHARG-Printing.xml2
-rw-r--r--docs/xslt/latex.xsl2
-rw-r--r--docs/xslt/latex/sambadoc.cls12
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 =&gt; /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>&#10;\begin{lstlisting}[language=smbconf]&#10;</xsl:text>
+ <xsl:text>&#10;\begin{lstlisting}[language=smbconf,style=smbconfblock]&#10;</xsl:text>
<xsl:apply-templates/>
<xsl:text>\end{lstlisting}&#10;</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}}