From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87582 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: unwanted extra space in type definition Date: Mon, 26 May 2014 19:03:29 +0200 Message-ID: <538373E1.4040505@gmx.es> References: <5383650C.3070703@gmx.es> <3C93CEFE-7C89-454D-B164-DA34FDA39CD8@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401123843 20853 80.91.229.3 (26 May 2014 17:04:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2014 17:04:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 26 19:03:57 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 1WoyJX-0001Vf-GI for gctc-ntg-context-518@m.gmane.org; Mon, 26 May 2014 19:03:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D53AB10230 for ; Mon, 26 May 2014 19:03:54 +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 z6sEPZg6KB8z for ; Mon, 26 May 2014 19:03:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B30CD101E7 for ; Mon, 26 May 2014 19:03:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B1D1101E7 for ; Mon, 26 May 2014 19:03:46 +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 xL-e+gY9LuYk for ; Mon, 26 May 2014 19:03:44 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 9BDE9101E6 for ; Mon, 26 May 2014 19:03:44 +0200 (CEST) Original-Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4QH3cY4002106 for ; Mon, 26 May 2014 19:03:43 +0200 Original-Received: from [192.168.1.33] ([83.45.173.183]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0LeugD-1WVXj64BVn-00qg0d for ; Mon, 26 May 2014 19:03:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <3C93CEFE-7C89-454D-B164-DA34FDA39CD8@gmail.com> X-Provags-ID: V03:K0:VPm7Q9XOXlDQ4JThlYS9O9dWXWMjKwF5wnRH3/HhjrmrmdBFE+V QVenbzCnUXgUElT4y7ZeyHG9/SUGOK5wUtaUOAXvX2TtXVo33jsBRfF9QEuYR+cEs6njM6z lA6735Vtr7uEAYHs99o7YMPI4oqDtaEAnC9sEE6FJ0MuyoUl6TDuSyTYa4RzLLfS9pXKZAo i2Bz2RCI9IQgzrhOTU9nA== X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=74.208.4.200; country=US; region=Pennsylvania; city=Wayne; latitude=40.0440; longitude=-75.3877; http://maps.google.com/maps?q=40.0440,-75.3877&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VM6F3CeP - db5d3caf25ee - 20140526 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:87582 Archived-At: On 05/26/2014 06:08 PM, Wolfgang Schuster wrote: > Am 26.05.2014 um 18:00 schrieb Pablo Rodriguez: >> \def\arg#1{\TeXcode{{#1}}} >> [...] >> I don=92t know what is wrong defined in \arg that inserts an extra space >> after \em? > = > You can=92t do this form a definition for a verbatim command because TeX = has its own rules > for such a situation (search for a description about catcodes), when you = want a copy of > \TeXcode add > = > \definetype[arg][TeXcode] > = > to your document. > = > BTW: \arg is a predefined command and you should avoid to redefine it Many thanks for your reply, Wolfgang. Is there no way that I have the already predefined \arg with colored contents (braces included)? Even with defining another command, the problem is that left and right aren=92t covered by option=3DTEX. Many thanks for your help, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________