diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-05-29 14:53:02 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-05-29 14:53:02 +0000 |
commit | c8d1a6b676b8ed1c36c88fd5786942a4dd793f1a (patch) | |
tree | e46da31ac6c6a54d1f0eadbc093ef737e0bb4bfc /docs/docbook/xslt | |
parent | e731ec1ed6e92f9a088e1bdfaca5491c90277ae1 (diff) | |
download | samba-c8d1a6b676b8ed1c36c88fd5786942a4dd793f1a.tar.gz samba-c8d1a6b676b8ed1c36c88fd5786942a4dd793f1a.tar.bz2 samba-c8d1a6b676b8ed1c36c88fd5786942a4dd793f1a.zip |
Make inter-paragraph space in latex targets 1.5\baselineskip and do not indent paragraphs
(This used to be commit fddea10f5805761bf3da9bf43a9e990b47e85b6e)
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} |