Re: [PATCH] Proposal: Improvements to PDF stylesheet and table column widths - Mailing list pgsql-hackers

From Noboru Saito
Subject Re: [PATCH] Proposal: Improvements to PDF stylesheet and table column widths
Date
Msg-id CAAM3qn+K+F3WdOApA9ekKFSSK1HOMoCRTTcnXnzzpSbAb2iBMw@mail.gmail.com
Whole thread Raw
In response to RE: [PATCH] Proposal: Improvements to PDF stylesheet and table column widths  ("Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>)
List pgsql-hackers
Thank you Kuroda-san.

> To confirm, generated pdf with current setting is left slide, and it would
> become like right side, is it correct? I prefer right one.

Sorry for the lack of explanation.
That's right, the version on the left is the previous version,
and the version on the right has the patch applied.

2025年5月30日(金) 13:26 Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>:

>
> Dear Saito-san,
>
> > Since my previous email included many changes and may have been
> > difficult to review, I would like to propose a much simpler change
> > this time.
>
> I feel this is a reasonable approach. If needed, you can create set of patches
> and can discuss from 0001. See [1].
>
> > I suggest setting both body.start.indent and body.end.indent to 0 in
> > stylesheet-fo.xsl as follows:
> >
> > <xsl:param name="body.start.indent">0</xsl:param>
> > <xsl:param name="body.end.indent">0</xsl:param>
> >
> > This change maximizes the usable width of each page in the generated
> > PDF documentation. As a result, the total number of pages is reduced
> > from 3095 to 2960, making the PDF more compact and easier to read.
>
> Sounds great.
>
> > For your reference, I have attached a screenshot  comparing the
> > current and proposed layouts.
>
> To confirm, generated pdf with current setting is left slide, and it would
> become like right side, is it correct? I prefer right one.
>
> [1]: https://git-scm.com/docs/git-format-patch
>
> Best regards,
> Hayato Kuroda
> FUJITSU LIMITED
>



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Proposal: Make cfbot fail on patches not created by "git format-patch"
Next
From: Reda Agaoua
Date:
Subject: Re: Suggestion : support for environment variable in initdb to set the superuser password