From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89083 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Natural tables introduces spaces in \type Date: Mon, 3 Nov 2014 13:47:29 +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="===============0509878470==" X-Trace: ger.gmane.org 1415018922 6870 80.91.229.3 (3 Nov 2014 12:48:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 12:48:42 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 03 13:48:38 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 1XlH3l-0007gT-G1 for gctc-ntg-context-518@m.gmane.org; Mon, 03 Nov 2014 13:48:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F3F91101EC for ; Mon, 3 Nov 2014 13:48:36 +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 2jNBStaDGpfe for ; Mon, 3 Nov 2014 13:48:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 624A810236 for ; Mon, 3 Nov 2014 13:47:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A97A5101EC for ; Mon, 3 Nov 2014 13:47:52 +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 rwDpef_gEQgw for ; Mon, 3 Nov 2014 13:47:52 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 0709F101E4 for ; Mon, 3 Nov 2014 13:47:51 +0100 (CET) Original-Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sA3Clo44011641 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 3 Nov 2014 13:47:51 +0100 Original-Received: by mail-ig0-f173.google.com with SMTP id r10so4547462igi.6 for ; Mon, 03 Nov 2014 04:47:49 -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=Lc8NvNpnSZHupfgC23n6ECYwNfwEr+g5E2MSg1EbVj0=; b=Y0KnfnBziMkG2tO9d6LimabugQQY2VqMCXDwdPEBXS/4Oi2ZpQoHUw/KyMlHfHiCoO H0Mj/0Qz/mww79kkOzlSgreardVR0hx5ICx1CGVlI5/lJmzSBE8/7lT8dCyuWM7TrGYS XIcAlZH8uDxz5qARu1OAEWW67SndXLO32ldk3Sg4pCl1N34RFQaP8GGD3m1MI0Nyvxg4 nN/ikdkaS8k/PEY4NyGp8SErcEOn5z+MZhxbRUd4TSy1Y2v/awO8+lFlz9lGnN1/UZWi eqdCjYah6eSv3anvseJu0MpaUVyiDN0gnAy5vMrKcXqyfEEw36d8yfU2MJfBF+2tpYJA Rxng== X-Received: by 10.50.43.167 with SMTP id x7mr15990056igl.41.1415018869591; Mon, 03 Nov 2014 04:47:49 -0800 (PST) Original-Received: by 10.107.165.143 with HTTP; Mon, 3 Nov 2014 04:47:29 -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::22d; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Nb0LPXg - 7c2fce0c8822 - 20141103 (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:89083 Archived-At: --===============0509878470== Content-Type: multipart/alternative; boundary=089e011602b21293950506f3c1a3 --089e011602b21293950506f3c1a3 Content-Type: text/plain; charset=UTF-8 On 11/2/2014 2:54 PM, Hans Hagen 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 Any feedback is welcome. Regards, Christoph --089e011602b21293950506f3c1a3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 11/2/2014 2:54 PM, Hans Hagen wrote:
>= ; On 11/2/2014 2:27 PM, Christoph Reller wrote:
> > Hi,
> >
> > Why does \type{...} introduce spaces w= hen used inside natural tables?
> >
> > MWE= :
> >
> > \starttext
> > \t= ype{\test\test} %<- no space introduced
> > \bTABLE
> > \bTR \bTD \typ{\test\test} \eTD \eTR %<- space introduce= d
> > \eTABLE
> > \stoptext
><= /div>
> it's the way tex works (when passing arguments) .. you c= an use this (and
> wikify it):
>=C2=A0
= > \definetype[ctype][compact=3Dabsolute]
>=C2=A0
= > \bTABLE
> =C2=A0 =C2=A0 =C2=A0\bTR \bTD \ctype{\test\test= } \eTD \eTR
> \eTABLE

Thank you very = much Hans!

Maybe you could tell me why the followi= ng still produces a space in front of the full stop:

\definetype[ctype][compact=3Dabsolute]
\starttext
\b= TABLE
=C2=A0 \bTR \bTD \ctype{\test.txt} \eTD \eTR
\eTA= BLE
\stoptext

Any feedback is welcome.

Regards,
Christoph

--089e011602b21293950506f3c1a3-- --===============0509878470== 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= --===============0509878470==--