postgres.git / summary / log / commit / refs

commit    37e06ba6e82b44fc6ebfc9e52d71f0c21d0044c4
Author:   Peter Eisentraut <peter@eisentraut.org>
Date:     Wed Aug 13 13:47:46 2025 +0000

    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


doc/src/sgml/stylesheet-fo.xsl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index 69ef085ff89..aec6de7064a 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -17,6 +17,8 @@ <xsl:param name="use.extensions" select="1"></xsl:param> <xsl:param name="variablelist.as.blocks" select="1"></xsl:param> <xsl:param name="orderedlist.label.width">1.5em</xsl:param> +<xsl:param name="body.start.indent">0</xsl:param> +<xsl:param name="body.end.indent">0</xsl:param> <xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties"> @@ -27,6 +29,8 @@ <xsl:attribute name="border-style">solid</xsl:attribute> <xsl:attribute name="border-width">1pt</xsl:attribute> <xsl:attribute name="border-color">black</xsl:attribute> + <xsl:attribute name="margin-left">0.25in</xsl:attribute> + <xsl:attribute name="margin-right">0.25in</xsl:attribute> <xsl:attribute name="padding-start">12pt</xsl:attribute> <xsl:attribute name="padding-end">12pt</xsl:attribute> <xsl:attribute name="padding-top">6pt</xsl:attribute> [parent: 8081e54bc52a]