[NTG-context] Page break with placement of a figure at the bottom of the page

Pablo Rodriguez oinos at gmx.es
Wed Nov 9 19:22:09 CET 2022


On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote:
> Hi,
> I find that for some time (but maybe the problem comes from me !), the
> placement of a figure at the bottom of the page causes a page break when
> it seems to me that there is enough space, which poses some problems in
> the pagination of my documents.

Hi Fabrice,

your figure requires about 7ΒΌ lines (one line before, six for the image
itself, and some extra space after it).

Your layout for the first page only allows 43 lines and sample text ends
on line 37.

Replace \showframe with \showgrid and you will see that there might be
not enough space to fit the image in the first page.

Add "bottomspace=7.25mm" to the layout for the first page and the image
will fit in the first page.

Just in case it might help,

Pablo



More information about the ntg-context mailing list