From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87579 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: unwanted extra space in type definition Date: Mon, 26 May 2014 18:08:51 +0200 Message-ID: <3C93CEFE-7C89-454D-B164-DA34FDA39CD8@gmail.com> References: <5383650C.3070703@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401120572 13497 80.91.229.3 (26 May 2014 16:09:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2014 16:09:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 26 18:09:26 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 1WoxSn-0001mY-Le for gctc-ntg-context-518@m.gmane.org; Mon, 26 May 2014 18:09:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63ED71027F for ; Mon, 26 May 2014 18:09:25 +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 RbNui2OEdd95 for ; Mon, 26 May 2014 18:09:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 47EA510245 for ; Mon, 26 May 2014 18:09:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9A68A101F0 for ; Mon, 26 May 2014 18:09:15 +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 1zld3gJYCaJY for ; Mon, 26 May 2014 18:09:14 +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 9707E10217 for ; Mon, 26 May 2014 18:08:56 +0200 (CEST) Original-Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4QG8sr0020424 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 26 May 2014 18:08:54 +0200 Original-Received: by mail-wi0-f173.google.com with SMTP id bs8so241432wib.6 for ; Mon, 26 May 2014 09:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=Jvy5H66gRzER6mptUdBaa0hOrjSEXF2OjsfdTV6kHxM=; b=0jhxj4TSLUNKkyCpdYc1G95TNIdlsNVb3eu954SGONOvPowWdMRgrZrwsCNMNJt01r oJByK5BBHMTtot1N3iPgggk0iueYkN+y1XumzyyqHJa4nL5Z+/ZfYOeqHmUp6PZs2ZtJ XOwMzsgCaOwuW+PFFLbPne4FLm/xClImnoU7ldUskyvuMi2Eb7MEGsqidPBIQnI8e7SY uKmAHzt1w2T9bRyj6Lma0vKPuKbQtM9B2uUqegOSMgm87ujLUYIv1mIKGAvCv4LYnR5T imWoZFRd8OrFwJu3NwR3d9ph7/rfzctYHY2cIKRNN2U3mHlitYJr8CaetnaUE3IMoaap XEfA== X-Received: by 10.180.96.6 with SMTP id do6mr25106972wib.44.1401120535755; Mon, 26 May 2014 09:08:55 -0700 (PDT) Original-Received: from [192.168.1.11] (x2f24281.dyn.telefonica.de. [2.242.66.129]) by mx.google.com with ESMTPSA id mw4sm900158wib.12.2014.05.26.09.08.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 May 2014 09:08:53 -0700 (PDT) In-Reply-To: <5383650C.3070703@gmx.es> X-Mailer: Apple Mail (2.1878.2) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07M6E8SLG - 813a3c014455 - 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:87579 Archived-At: Am 26.05.2014 um 18:00 schrieb Pablo Rodriguez : > 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=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 ha= s its own rules for such a situation (search for a description about catcodes), when you wa= nt a copy of \TeXcode add \definetype[arg][TeXcode] to your document. BTW: \arg is a predefined command and you should avoid to redefine it Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________