diff options
Diffstat (limited to 'docs/docbook/xslt')
-rw-r--r-- | docs/docbook/xslt/latex.xsl | 2 | ||||
-rw-r--r-- | docs/docbook/xslt/latex/sambadoc.cls | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/docs/docbook/xslt/latex.xsl b/docs/docbook/xslt/latex.xsl index 158c5879db..8fafd5d140 100644 --- a/docs/docbook/xslt/latex.xsl +++ b/docs/docbook/xslt/latex.xsl @@ -6,7 +6,7 @@ <xsl:output method="text" encoding="ISO-8859-1" indent="yes"/> <xsl:variable name="latex.documentclass">xslt/latex/sambadoc</xsl:variable> -<xsl:variable name="latex.documentclass.common">english,final,titlepage</xsl:variable> +<xsl:variable name="latex.documentclass.common">english,final,titlepage,parskip</xsl:variable> <xsl:variable name="latex.documentclass.book"></xsl:variable> <xsl:variable name="latex.hyperref.param.pdftex">hyperfigures,hyperindex,citecolor=blue,urlcolor=blue</xsl:variable> <xsl:variable name="latex.document.font">default</xsl:variable> diff --git a/docs/docbook/xslt/latex/sambadoc.cls b/docs/docbook/xslt/latex/sambadoc.cls index e03dcf7a24..9f3caa5482 100644 --- a/docs/docbook/xslt/latex/sambadoc.cls +++ b/docs/docbook/xslt/latex/sambadoc.cls @@ -13,7 +13,6 @@ \DeclareOption{cpp}{\@usecppsyntaxtrue} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrreprt}} \ProcessOptions -%\PassOptionsToClass{12pt}{scrreprt} \LoadClass{scrreprt} @@ -40,6 +39,12 @@ \def\marginpar#1{ \old@marginpar{\def\baselinestretch{1}\em\small #1}} +\renewcommand*{\scr@parskip}{% + \setlength{\parskip}{\baselineskip}% + \addtolength{\parskip}{\z@ \@plus .5\baselineskip}} + +\setlength\parindent{0pt} + %%--Parameters that can be set by the user. \def\samba@listtables{y} \def\samba@listfigures{y} |