texi2html-bug
[Top][All Lists]
Advanced

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

Re: [Texi2html-bug] @multitable inside @smallexample


From: Patrice Dumas
Subject: Re: [Texi2html-bug] @multitable inside @smallexample
Date: Wed, 17 Sep 2008 11:33:49 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Sep 16, 2008 at 11:25:53PM +0300, Reinhold Kainhofer wrote:
> 
> Nope, there is another difference: The necessary space before and after @item 
> is removed in makeinfo, while texi2html also writes out that space 
> inside the <pre>, so all table cells will always start and end with a space.

Indeed, this space is certainly a bug. All leading spaces after @item
and @tab should certainly be removed. And also the trailing spaces are
certainly wrong.

But @enumerate and @itemize, in general, needs the leading space.

> In particular, notice the spaces at the beginning and end of each cell.

Indeed, these are certainly bogus.

> The real question is: How shall leading/trailing whitespace of @item 
> contens of a @multitable inside a @smallexample environment be 
> interpreted? 

They should not be interpreted differently in @smallexample and in any
other environments, it should be a texinfo language feature. But I think
that you are right, leading and trailing spaces should be stripped in
@multitable.

> makeinfo --html does not convert leading/trailing spaces, 
> but converts line breaks verbatim (albeit in a way so that they 
> don't show up in the browser either). makeinfo (.info output) completely 
> removes leading/trailing spaces and newlines. At least the output 

info output seems to me to be a reasonable reference regarding how
things should appear in preformatted environments.

> they should not really belong to the table cell contents.... 

I'm convinced, but I'll send a mail on bug-texinfo nevertheless to be
sure, and also cover other environments.

--
Pat




reply via email to

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