summaryrefslogtreecommitdiff
path: root/docs-xml/xslt/latex/sambadoc.cls
diff options
context:
space:
mode:
Diffstat (limited to 'docs-xml/xslt/latex/sambadoc.cls')
-rw-r--r--docs-xml/xslt/latex/sambadoc.cls23
1 files changed, 2 insertions, 21 deletions
diff --git a/docs-xml/xslt/latex/sambadoc.cls b/docs-xml/xslt/latex/sambadoc.cls
index 8fe0043bc9..3f45cb7600 100644
--- a/docs-xml/xslt/latex/sambadoc.cls
+++ b/docs-xml/xslt/latex/sambadoc.cls
@@ -307,29 +307,8 @@ page \thepage \space undefined}}%
\renewcommand\listfigurename{\uppercase{List Of Figures}}
\renewcommand\listtablename{\uppercase{List Of Tables}}
-% smb.conf syntax highlighting
-\RequirePackage{listings}
-\RequirePackage{xcolor}
-
-\lstdefinelanguage{smbconf}{
- morecomment=[l]{\#},
-}
-
\newcommand{\linebreaksign}{\hbox{\ensuremath\hookleftarrow}}
-\lstdefinestyle{smbconfblock}
-{
- breaklines=true,
- backgroundcolor=\color[gray]{0.93},
- frame=single,
- frameround=tttt,
- prebreak={\space\linebreaksign},
- basicstyle=\small
-}
-
-\newcommand{\smbconfsection}[1]{\emph{#1}}
-\newcommand{\smbconfoption}[1]{\index{#1}\emph{#1}}
-
\setlength{\emergencystretch}{0cm}
@@ -343,3 +322,5 @@ page \thepage \space undefined}}%
\renewcommand{\textfraction}{0.1}
\renewcommand{\topfraction}{1.0}
\renewcommand{\bottomfraction}{1.0}
+
+\RequirePackage{samba}