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: Patrice Dumas
Subject: Re: @multitable with prototype row has no effect in html
Date: Wed, 4 Jan 2023 13:59:26 +0100

On Mon, Jan 02, 2023 at 09:39:33AM -0800, Raymond Toy wrote:
> On Sun, Jan 1, 2023 at 10:12 AM Patrice Dumas <pertusus@free.fr> wrote:
> 
> > I do not remember any discussion about that.  But it is not clear to me
> > what should be done.  There is no obvious way to get the width of
> > rendered text in HTML.
> >
> >
> I am no HTML expert, but couldn't you create a hidden row containing the
> prototype text for each column?

I don't know how to do that.  An additional constraint is that, at least
for the default output, it should look ok with no CSS, so if an header
pops up when there is no CSS this is not good.

> Of course, the prototype is itself a bit
> problematic with proportional fonts.  However, it does look nice in the PDF
> version.
> 
> Perhaps this is not worth the effort....

If somebody knows the HTML that allows to do it I could add it.

It would also be nice to implement correctly in LaTeX output.
Currently, for the LaTeX output, the prototype is converted to plain
text and used to compute the fractions, which is bad (maybe doing
nothing would be better actually), but if it is doable in Texinfo TeX
(and it seems to be done with a little bit of code) it should be doable
in LaTeX too.

-- 
Pat



reply via email to

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