[NTG-context] TABLE moves to the right with new ConTeXt

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sat Dec 2 10:31:06 CET 2006


On Fri, 01 Dec 2006 21:40:34 +0100 (CET)
Peter Münster <pmlists at free.fr> wrote:

Hi Peter

> Hello,
> 
> with the latest ConTeXt, it seems, that space around \bTR, \eTR, before
> \bTD and after \eTD matters. Such space seems to move the whole TABLE to
> the right:
> 
> \def\XXX#1{\bTR\bTD#1\eTD\eTR}

Right, there was no problem with latest stable version from august.

I can't find the problematic code in the source, but workarround for
you, that works.

\def\XXX#1{\bTR\bTD#1\eTD\eTR\ignorespaces} works as expected.

> \starttext
> \centerline{\bTABLE\dorecurse{2}{\XXX{bla}}\eTABLE}
> \centerline{\bTABLE\dorecurse{2}{\XXX{bla}
> }\eTABLE}
> \centerline{\bTABLE\dorecurse{20}{\XXX{bla} % Why does this space matter here?
> }\eTABLE}
> \stoptext
> 
> Is this behaviour normal and wanted?
> 
> Cheers, Peter
> 
> 
> P.S.: What about http://context.literatesolutions.com/collector/ ?
> 
> -- 
> http://pmrb.free.fr/contact/

Wolfgang


More information about the ntg-context mailing list