From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89108 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: Natural tables introduces spaces in \type Date: Wed, 5 Nov 2014 08:09:45 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0791647522==" X-Trace: ger.gmane.org 1415171450 13194 80.91.229.3 (5 Nov 2014 07:10:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2014 07:10:50 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 05 08:10:46 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xlujt-00061i-PQ for gctc-ntg-context-518@m.gmane.org; Wed, 05 Nov 2014 08:10:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A67C10229 for ; Wed, 5 Nov 2014 08:10:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7v4N67y0HD1P for ; Wed, 5 Nov 2014 08:10:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DF65F10230 for ; Wed, 5 Nov 2014 08:10:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE372101E7 for ; Wed, 5 Nov 2014 08:10:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id b_WmlZKeWqdA for ; Wed, 5 Nov 2014 08:10:13 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 18683101E6 for ; Wed, 5 Nov 2014 08:10:07 +0100 (CET) Original-Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sA579rUT004460 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 5 Nov 2014 08:09:54 +0100 Original-Received: by mail-ig0-f170.google.com with SMTP id h15so7828910igd.5 for ; Tue, 04 Nov 2014 23:10:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=xETLpDa0o6c//kR/PvtUvefh8aHWDxZC7L5OeMVUFD8=; b=ASKjGjIw9pBXqLPw6hsR0U42E90BfsIm5jekEkBMx9RQhWFDLUEH1zRPeJpKopDQUk og4Re35ZYU3EgUtbzA36X90cighyqh79JYnjhTJS1iHfJhkYU6zxkPUNEeUeFoL13QMX hq0ZmW6khZO5o1+s6dsM2oYw1sMdC1Fu+gJF4MUOIVe0Uy0hzNEqbUWXmNpMUqu89f9i iSHzUwMcPM/QIEByWZfJbNK72dNoyR6AsDkTnQt97sqvUxuhy6qc3450SGkPmXgRd5pX Z798uFNPgEUuhUw9N/QorRpiboPAHPJXpVz/7HLgt+AFD2FBW8lP3xyRaiCTYaW8gyD+ lL6w== X-Received: by 10.50.40.100 with SMTP id w4mr29108472igk.29.1415171405779; Tue, 04 Nov 2014 23:10:05 -0800 (PST) Original-Received: by 10.107.165.143 with HTTP; Tue, 4 Nov 2014 23:09:45 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::22a; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07NbH9SrN - 70d24dc19988 - 20141105 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89108 Archived-At: --===============0791647522== Content-Type: multipart/alternative; boundary=089e0122efecf019150507174407 --089e0122efecf019150507174407 Content-Type: text/plain; charset=UTF-8 > 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 --089e0122efecf019150507174407 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> On 11/2/2014 2:27 PM, Christoph Reller wrote:
> > Hi,
> >
> > Why does \typ= e{...} introduce spaces when used inside natural tables?
> >= ;
> > MWE:
> >
> > \startte= xt
> > \type{\test\test} %<- no space introduced
> > \bTABLE
> > \bTR \bTD \typ{\test\test} \eTD \e= TR %<- space introduced
> > \eTABLE
> > = \stoptext
>
> it's the way tex works (when pa= ssing arguments) .. you can use this (and
> wikify it):
<= div>>=C2=A0
> \definetype[ctype][compact=3Dabsolute]
<= div>>=C2=A0
> \bTABLE
> =C2=A0 =C2=A0 =C2=A0\b= TR \bTD \ctype{\test\test} \eTD \eTR
> \eTABLE

<= /div>
Thank you very much Hans!

Maybe you coul= d tell me why the following still produces a space in front of the full sto= p:

\definetype[ctype][compact=3Dabsolute]
\starttext
\bTABLE
=C2=A0 \bTR \bTD \ctype{\test.txt}= \eTD \eTR
\eTABLE
\stoptext

I= f this issue is resolved I will be glad to wikify.

Regards,
Christoph
--089e0122efecf019150507174407-- --===============0791647522== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0791647522==--