bug-texinfo
[Top][All Lists]
Advanced

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

@item and @tab space in lists and tables


From: Patrice Dumas
Subject: @item and @tab space in lists and tables
Date: Thu, 18 Sep 2008 15:54:10 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

I am not completly sure about how space before and after @*item and @tab
should be treated. It is important in info, and also within @example and 
the like.

My proposal is the following:

* in @multitable, spaces and newlines before and after @*item and @tab 
  should be stripped, except for what appears before the first @item.
* spaces and newlines appearing before @*item* in @*table @itemize and
  @enumerate should certainly be left as is. In fact, spaces before an
  @item could be stripped, but it is bad texinfo style since an @item
  should be at the beginning of the line, so it is even better to
  consider that how spaces  before an @item are treated is unspecified
  and the newlines are left as is.
* in @*table space after @*item* and before the end of line on the @item
  line should be stripped. 
* in @itemize and @enumerate, spaces and newlines after @item should be
  left as is, if some spacing is used between a mark replacing the @item
  and the text. However if the mark is not part of the text but of some
  formatting commands space should be stripped.

Ok, this is not clear. Here is an example. First a case where space
should be left, imagine that 
@itemize @bullet 
@item  foo
leads to @item being replaced by '*', I think that the 2 spaces should
be kept, like

*  foo

However, if a bullet is achieved by using <li> then spaces should be
stripped, like

<li>foo


Opinions?

--
Pat




reply via email to

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