X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=docs-xml%2Fxslt%2Flatex%2Fsamba.sty;fp=docs-xml%2Fxslt%2Flatex%2Fsamba.sty;h=9252a7c9353164e10add301eea728b42d214f011;hb=5644c8862f8c42ac1f8bfc0985fbb082131b8777;hp=0000000000000000000000000000000000000000;hpb=97cd6358ab7a400f7ef2e3baf19154d90b90ce00;p=ab%2Fsamba.git%2F.git diff --git a/docs-xml/xslt/latex/samba.sty b/docs-xml/xslt/latex/samba.sty new file mode 100644 index 00000000000..9252a7c9353 --- /dev/null +++ b/docs-xml/xslt/latex/samba.sty @@ -0,0 +1,25 @@ +% LaTeX class with Samba-specific commands +% Copyright (C) 2004 Jelmer Vernooij +% Released under the GNU GPL v3 or later + +\newcommand{\smbconfsection}[1]{\emph{#1}} +\newcommand{\smbconfoption}[1]{\index{#1}\emph{#1}} +% smb.conf syntax highlighting +\RequirePackage{listings} +\RequirePackage{xcolor} + +\lstdefinelanguage{smbconf}{ + morecomment=[l]{\#}, +} + +\lstdefinestyle{smbconfblock} +{ + breaklines=true, + backgroundcolor=\color[gray]{0.93}, + frame=single, + frameround=tttt, + prebreak={\space\linebreaksign}, + basicstyle=\small +} + +