Re: [NTG-context] Natural tables introduces spaces in \type
On 11/2/2014 2:27 PM, Christoph Reller wrote:
Hi,
Why does \type{...} introduce spaces when used inside natural tables?
MWE:
\starttext \type{\test\test} %<- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %<- space introduced \eTABLE \stoptext
it's the way tex works (when passing arguments) .. you can use this (and wikify it):
\definetype[ctype][compact=absolute]
\bTABLE \bTR \bTD \ctype{\test\test} \eTD \eTR \eTABLE
Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop: \definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD \ctype{\test.txt} \eTD \eTR \eTABLE \stoptext If this issue is resolved I will be glad to wikify. Regards, Christoph
On 11/5/2014 8:09 AM, Christoph Reller wrote:
On 11/2/2014 2:27 PM, Christoph Reller wrote:
Hi,
Why does \type{...} introduce spaces when used inside natural tables?
MWE:
\starttext \type{\test\test} %<- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %<- space introduced \eTABLE \stoptext
it's the way tex works (when passing arguments) .. you can use this (and wikify it):
\definetype[ctype][compact=absolute]
\bTABLE \bTR \bTD \ctype{\test\test} \eTD \eTR \eTABLE
Thank you very much Hans!
Maybe you could tell me why the following still produces a space in front of the full stop:
\definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD \ctype{\test.txt} \eTD \eTR \eTABLE \stoptext
because the absolute cleaner only deals with \foo { and \foo [
If this issue is resolved I will be glad to wikify.
i'll add the . to the filter criteria Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Christoph Reller
-
Hans Hagen