bug-texinfo
[Top][All Lists]
Advanced

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

unwanted spaces in table


From: Werner LEMBERG
Subject: unwanted spaces in table
Date: Tue, 21 Oct 2008 08:54:27 +0200 (CEST)

[texinfo.tex version 2008-10-20.21]


Look at this small example:

  @example
  @multitable @columnfractions .5 .5
  @headitem foo @tab bar
  @item foofoo @tab barbar
  @end multitable
  @end example

In the PDF, I get this:


  foo                  bar

   foofoo               barbar


Note the space before `foofoo' and `barbar'.  This is really ugly; I
consider it a bug.  Another bug IMHO is the extra empty line between
the two entries.

Both bugs are related to calling \sepspaces within \nonfillstart: It
converts the syntactical spaces after @headitem, @item, and @tab
together with the newline character itself into \tie instead of
ignoring it.

The right output can be achieved with

  @example
  @multitable @columnfractions .5 .5
  @address@hidden @address@hidden @address@hidden @address@hidden
  @end multitable
  @end example

but I doubt that this syntax form is really what we want.
Additionally, makeinfo dislikes it.

Maybe @table should not be used within @example?  The documentation
doesn't mention this, and honestly I don't see a reason to disallow
it.


    Werner




reply via email to

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