From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87581 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: unwanted extra space in type definition Date: Mon, 26 May 2014 18:55:11 +0200 Message-ID: References: <5383650C.3070703@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0384170221==" X-Trace: ger.gmane.org 1401123335 15212 80.91.229.3 (26 May 2014 16:55:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2014 16:55:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 26 18:55:30 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 1WoyBN-0008Dy-Ao for gctc-ntg-context-518@m.gmane.org; Mon, 26 May 2014 18:55:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BEA1D10242 for ; Mon, 26 May 2014 18:55:28 +0200 (CEST) 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 Yx2jKCpNvurp for ; Mon, 26 May 2014 18:55:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 753B6101FF for ; Mon, 26 May 2014 18:55:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7B70101E7 for ; Mon, 26 May 2014 18:55:20 +0200 (CEST) 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 GmT9hBZqzjOI for ; Mon, 26 May 2014 18:55:19 +0200 (CEST) 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 4A63A101E6 for ; Mon, 26 May 2014 18:55:13 +0200 (CEST) Original-Received: from mail-qc0-x229.google.com (mail-qc0-x229.google.com [IPv6:2607:f8b0:400d:c01::229]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4QGtATE025592 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 26 May 2014 18:55:11 +0200 Original-Received: by mail-qc0-f169.google.com with SMTP id e16so12593942qcx.0 for ; Mon, 26 May 2014 09:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qUZ0Cx/t8hH+mWGx4S+0zppU9QptmFfdLnjVkzE61jM=; b=ychn2xpKKpamNhRbNAjpXQorbrEkWNzVukSIPFrSBbQknUKTTjxu5jOGYBJmsKLWP6 x5MtVZ5fEerUmakXJSEqW9Qsnzqr6qQjKtH1acuJxpxKMLGiQ/hZBA7BKEnOeSQCwzAh cytX7SJ25P+2AGfYYfrNS8saKOKXKoCIywZbPmP/ke2rG7ML/yrx4UMALv2L4JVPB7Xm SrRe9/QE0WQ5lhVwGVLvBEXk6H04APMdNc3+eBm77NlczHUfpCJM62hhBktxHNZWUJ1g UbuXEhqdxa2m3rbevBWnPZkzjJb7K1QWnOGIR6QhS9xPtQt/+ShHnLQdQZu6sMmJio89 IvCg== X-Received: by 10.224.24.134 with SMTP id v6mr34972339qab.88.1401123311623; Mon, 26 May 2014 09:55:11 -0700 (PDT) Original-Received: by 10.140.30.98 with HTTP; Mon, 26 May 2014 09:55:11 -0700 (PDT) In-Reply-To: <5383650C.3070703@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c01::229; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07M6ETbbQ - 2c082179bed2 - 20140526 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87581 Archived-At: --===============0384170221== Content-Type: multipart/alternative; boundary=001a11c252c646c14004fa5071f5 --001a11c252c646c14004fa5071f5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, May 26, 2014 at 6:00 PM, Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \definetype[TeXcode][option=3DTEX] > \def\arg#1{\TeXcode{{#1}}} > \starttext > \arg{\em\de Textsatzsystem} > > \TeXcode{{\em\de Textsatzsystem}} > \stoptext > > I don=E2=80=99t know what is wrong defined in \arg that inserts an extra = space > after \em? > > You can see how TeX works with \tracingmacros \definetype[TeXcode][option=3DTEX] \def\arg#1{\edef\temp{#1}\TeXcode{{#1}}} \starttext \tracingmacros1 \arg{\em\de Textsatzsystem} \tracingnone \tracingmacros1 \TeXcode{{\em\de Textsatzsystem}} \tracingnone \stoptext --=20 luigi --001a11c252c646c14004fa5071f5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Mon, May 26, 2014 at 6:00 PM, Pablo Rodriguez = <oinos@gmx.es><= /span> wrote:
Dear list,

I have the following sample:

=C2=A0 =C2=A0 \definetype[TeXcode][option=3DTEX]
=C2=A0 =C2=A0 \def\arg#1{\TeXcode{{#1}}}
=C2=A0 =C2=A0 \starttext
=C2=A0 =C2=A0 \arg{\em\de Textsatzsystem}

=C2=A0 =C2=A0 \TeXcode{{\em\de Textsatzsystem}}
=C2=A0 =C2=A0 \stoptext

I don=E2=80=99t know what is wrong defined in \arg that inserts an extra sp= ace
after \em?

You can see how TeX works with \tracingmacros
\definetype[TeXcode][option=3DTEX]
\def\arg#1{\edef\temp{= #1}\TeXcode{{#1}}}
\starttext
\tracingmacros1
\arg{\em\de Textsatzsystem}
\tracingnone
\tracingmacros= 1
\TeXcode{{\em\de Textsatzsystem}}
\tracingnone
<= div>\stoptext


--
luigi
--001a11c252c646c14004fa5071f5-- --===============0384170221== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0384170221==--