bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Texinfo.tex, problem with too-long table inside @float


From: arnold
Subject: Re: Texinfo.tex, problem with too-long table inside @float
Date: Sun, 03 Dec 2023 21:06:14 -0700
User-agent: Heirloom mailx 12.5 7/5/10

Thanks Karl.

Attached is a diff that uses the longtable package. It seems to
do the trick, at least for what I need.  It also looks like I
can script the edits to convert makeinfo's output to this.

My knowledge of LaTeX is nil, and is likely to stay that way.
I developed this fix by pattern matching against examples on the
Internet.  Examples from other packages were extremely opaque, at
least to me.

I'll agree w/Karl that texinfo.tex doesn't really need significant
multi-page table support.

Gavin --- I'll leave it up to you as to what you do for the
long term.  Some kind of simple improvements would be nice, but
my immediate problems are under control.

Much thanks, everyone!

Arnold

Karl Berry <karl@freefriends.org> wrote:

> I think I'd suggest omitting the \vtop if LOC is set to some new value,
> like "longfloat". If table material was ever actually floated, including
> "here", it would need to be in a vbox since it should not be split
> across pages, as Gavin already pointed out.
>
> Actually doing something sensible with a multi-page table is a much
> bigger problem (repeating headers, what to do with the caption, etc.).
> I know that's not Arnold's immediate problem, but looking ahead,
> I could imagine having makeinfo --latex use one of the longtable
> packages in the event of a long float. (Implementing it in texinfo.tex
> would not be sensible IMHO.)
>
> I think the best package for that nowadays is xltabular
> (https://ctan.org/pkg/xltabular), but which LaTeX
> package gets loaded should presumably be configurable.
>
> Happy Texinfoing,
> Karl

Attachment: fixlatex.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]