On Wed, Jan 4, 2023 at 4:59 AM Patrice Dumas <pertu...@free.fr> wrote:

> On Mon, Jan 02, 2023 at 09:39:33AM -0800, Raymond Toy wrote:
> > On Sun, Jan 1, 2023 at 10:12 AM Patrice Dumas <pertu...@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.
>

I did some googling and some experiments but nothing really looked right to
me.  I didn't try super-hard.

So maybe the best thing is for the manual to say that prototypes have no
effect in HTML.  I would be satisfied with that answer. Then I wouldn't
have tried to use it and just used the columnfractions method to space out
the table columns.

>
> > 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.
>

I haven't tried the LaTeX output; I'm not really interested (currently) in
having makeinfo produce a LaTeX file.

>
> --
> Pat
>


-- 
Ray

Reply via email to