bug-texinfo
[Top][All Lists]
Advanced

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

Re: @multitable with prototype row has no effect in html


From: Gavin Smith
Subject: Re: @multitable with prototype row has no effect in html
Date: Sat, 14 Jan 2023 11:13:37 +0000

On Sat, Jan 14, 2023 at 10:19:54AM +0000, Gavin Smith wrote:
> I wonder if we could use it with multiple rows so that columns had
> the width of the widest text, plus some padding.  This would not
> allow for text wrapping but could be ok for short tables.

The following plain TeX input shows that good table output is possible
for short tables, without anything like a prototype row.  We just need
to use this underlying TeX functionality in texinfo.tex.  There's quite
a lot to consider, including line wrapping, items in the TODO file:

  - multicolumn * width to take up `the rest'.
  - @multitable: handle @hsep and @vsep.
  - @multitable: repeat table headings if multiple pages long.
  - @multitable: support a heading line concept (<thead> in HTML).

this thread too suggesting mixing column fractions and prototypes:
https://lists.gnu.org/archive/html/bug-texinfo/2021-03/msg00041.html


\halign{
#\hskip1em\hfil&#\hskip1em&#\cr
\bf Operation & \bf Symbol & \bf Type \cr
less than                  & \tt <        & relational infix \cr
less than or equal to      & \tt <=       & relational infix \cr
equality (syntactic)       & \tt =        & relational infix \cr
}




reply via email to

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