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 10:19:53 +0000

On Sat, Jan 14, 2023 at 10:41:10AM +0100, Patrice Dumas wrote:
> It seems that the portability of "visibility: collapse" and
> implementation is not good, and that it would be better to use
> display: none
> https://developer.mozilla.org/en-US/docs/Web/CSS/visibility

With "display: none" the table row does not affect the column widths at
all.

> > I doubt this will be much use, anyway, as we want the output to look good
> > without CSS.
> 
> I propose to generate that code only if a customization variable is set,
> named: MULTITABLE_PROTOTYPE_WITH_CSS

What would be ideal is if we could eliminate the need for any prototype
row at all as this does not work well across output formats, leading users
to be confused.  However, I am not sure how easily it could be done in TeX.
In texinfo.tex \halign is used (this is a TeX primitive) but it is only
used with one row.

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.



reply via email to

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