| Line | |
|---|
| 1 | % LaTeX class with Samba-specific commands
|
|---|
| 2 | % Copyright (C) 2004 Jelmer Vernooij <jelmer@samba.org>
|
|---|
| 3 | % Released under the GNU GPL v3 or later
|
|---|
| 4 |
|
|---|
| 5 | \newcommand{\smbconfsection}[1]{\emph{#1}}
|
|---|
| 6 | \newcommand{\smbconfoption}[1]{\index{#1}\emph{#1}}
|
|---|
| 7 | % smb.conf syntax highlighting
|
|---|
| 8 | \RequirePackage{listings}
|
|---|
| 9 | \RequirePackage{xcolor}
|
|---|
| 10 |
|
|---|
| 11 | \lstdefinelanguage{smbconf}{
|
|---|
| 12 | morecomment=[l]{\#},
|
|---|
| 13 | }
|
|---|
| 14 |
|
|---|
| 15 | \lstdefinestyle{smbconfblock}
|
|---|
| 16 | {
|
|---|
| 17 | breaklines=true,
|
|---|
| 18 | backgroundcolor=\color[gray]{0.93},
|
|---|
| 19 | frame=single,
|
|---|
| 20 | frameround=tttt,
|
|---|
| 21 | prebreak={\space\linebreaksign},
|
|---|
| 22 | basicstyle=\small
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | \newcommand{\linebreaksign}{\hbox{\ensuremath\hookleftarrow}}
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.