bug-texinfo
[Top][All Lists]
Advanced

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

Re: @item and @tab space in lists and tables


From: Patrice Dumas
Subject: Re: @item and @tab space in lists and tables
Date: Mon, 3 Nov 2008 10:38:49 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Nov 02, 2008 at 06:41:34PM -0600, Karl Berry wrote:
>     > Within @example-like environments, ...
>     
>     ... At least in @multitable and @table I'd have said that spaces
>     following @*item and @tab should be removed, and spaces and newlines
>     at the end of the @item or @tab argument removed too.
> 
> Well, I agree that is the desirable behavior.  Actually, I suspect the
> ideal would be to ignore spaces after any non-delimited command, just as
> they are outside @example, and @*item and @tab are just the ones that
> the Lilypond manual has run into.  For instance, @*index, @set, ...

If I recall well we have already agreed about that, when I asked many
question about where @value and @macro should be expanded.

>     And for @enumerate and @itemize leave things unspecified.
> 
> Why leave it unspecified for those if it's specified for @*table?
> 
> Anyway, I'm not ready to specify it for anything until I figure out if I

When I say 'specify' it is not to say that we grave it in stone, but
merely that we agree among ourselves that it is the best way.

> can reasonably implement any of this in texinfo.tex.  Explicitly writing
> code to ignore spaces anywhere that TeX "normally" ignores spaces seems
> pretty much like a nightmare to me.

Indeed.

> If you want to implement the space/newline-ignoring for texi2html (or if
> it already behaves that way), that is all to the good.

After more thinking, I think that removing spaces is right in html, but
in xml it is better to keep them. In docbook I don't know, and in info
keeps things as is.

--
Pat




reply via email to

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