On Mon, Dec 16, 2024 at 09:18:30PM +0000, Gavin Smith wrote:
> 
> One way to get normal inter-paragraph spacing (which is what I believe you
> call "leading"), with empty space at the bottom of the page, is to force
> a page break with @page:

        That is my current workaround however I would prefer to avoid it.
Most of my tables are automatically generated and evolutive, I would like
to not need require intervention to add or remove @pages depending on the
actual size of the tables and their on-page vertical position.
        
> There is also an undocumented "@raggedbottom" macro which appears to work
> if you put it right after @afourpaper.  Again, I haven't investigated
> thoroughly but it could be worth a try.

        I like this idea. I suppose that, in a technical book full of @defs,
raggedness of the pages bottom wouldn't matter much and be barely noticeable.

> It is possible to get the same output as with @page by adding an
> empty box after the @vskip:

        I like this one even more since it will not produce a page break.
Vertical glue after the float may be required to make the tables evenly sit
between the surrounding paragraphs when they and in the middle of a page.

        I will try these two good sugestions.

> The solution with @page is better though as @vskip, @vbox etc. are not
> recognized Texinfo commands, and the output could break if material is
> added or removed from the document (for example, a large space in the
> middle of the page with paragraphs at the top and bottom).

        Large empty vertical space is unavoidable, whatever the workaround is,
since TeXinfo's floats aren't actually floating. Having real floats would be
the only effective fix. I think that large white space is preferable, if not
ideal, to widely spaced paragraphs which is extremely displeasing. Adding an
horizontal rule before and after each float may help the reader to
unambiguously understand that the flow of the main matter was interrupted.

        Thank you for your sugestions, I will probably adopt one of them it
not both.

-- 
%!PS -- Bertrand Petit
/D{def}def/E{exch}D/G{get}D/I{2 div}D/U{dup}D/L{roll}D/Y{setgray}D/N{newpath}D
/O{N 0 0 moveto}D/P{pop}D/T{translate}D currentpagedevice/PageSize G U 0 G/w E
D 1 G /h E D w I h I T 0 Y 1 setlinewidth 0 1 2 { P 120 rotate 2 4 w U mul h U
mul add sqrt I 50 add {N 50 0 3 2 L 0 360 arc stroke}for}for/s{O true charpath
pathbbox exch 4 -1 L E sub I 3 1 L sub I} D /l(bp)D 0.94 Y /Helvetica findfont
22 scalefont setfont l s P(x)s exch P T O l show showpage

Reply via email to