Skip to content

Commit 37e06ba

Browse files
committed
Improve PDF documentation margins
Set body indent to 0 to make use of the horizontal space better (and some reviewers thought it was also more readable). Add some left and right margin to the warning boxes, otherwise they drift too far off the page in combination with the above change. Author: Noboru Saito <noborusai@gmail.com> Reviewed-by: Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com> Reviewed-by: Florents Tselai <florents.tselai@gmail.com> Reviewed-by: Tatsuo Ishii <ishii@postgresql.org> Discussion: https://www.postgresql.org/message-id/flat/CAAM3qnLyMUD79XF+SqAVwWCwURCF3hyuFY9Ki9Csbqs-zMwwnw@mail.gmail.com
1 parent 8081e54 commit 37e06ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/src/sgml/stylesheet-fo.xsl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
<xsl:param name="use.extensions" select="1"></xsl:param>
1818
<xsl:param name="variablelist.as.blocks" select="1"></xsl:param>
1919
<xsl:param name="orderedlist.label.width">1.5em</xsl:param>
20+
<xsl:param name="body.start.indent">0</xsl:param>
21+
<xsl:param name="body.end.indent">0</xsl:param>
2022

2123
<xsl:attribute-set name="monospace.verbatim.properties"
2224
use-attribute-sets="verbatim.properties monospace.properties">
@@ -27,6 +29,8 @@
2729
<xsl:attribute name="border-style">solid</xsl:attribute>
2830
<xsl:attribute name="border-width">1pt</xsl:attribute>
2931
<xsl:attribute name="border-color">black</xsl:attribute>
32+
<xsl:attribute name="margin-left">0.25in</xsl:attribute>
33+
<xsl:attribute name="margin-right">0.25in</xsl:attribute>
3034
<xsl:attribute name="padding-start">12pt</xsl:attribute>
3135
<xsl:attribute name="padding-end">12pt</xsl:attribute>
3236
<xsl:attribute name="padding-top">6pt</xsl:attribute>

0 commit comments

Comments
 (0)