From c8d1a6b676b8ed1c36c88fd5786942a4dd793f1a Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Thu, 29 May 2003 14:53:02 +0000 Subject: Make inter-paragraph space in latex targets 1.5\baselineskip and do not indent paragraphs (This used to be commit fddea10f5805761bf3da9bf43a9e990b47e85b6e) --- docs/docbook/xslt/latex.xsl | 2 +- docs/docbook/xslt/latex/sambadoc.cls | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'docs/docbook/xslt') 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 @@ xslt/latex/sambadoc -english,final,titlepage +english,final,titlepage,parskip hyperfigures,hyperindex,citecolor=blue,urlcolor=blue default 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} -- cgit