From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70299 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: trailing spaces in macro argument Date: Tue, 26 Jul 2011 23:04:31 +0200 Message-ID: <12A62EDC-3A9D-496F-BCF7-0F8CB4862160@googlemail.com> References: <4E2F1408.6040807@aon.at> <500FA126-DCAC-4F6F-8D73-D801756E8718@googlemail.com> <4E2F2A51.9070500@aon.at> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1311714293 4286 80.91.229.12 (26 Jul 2011 21:04:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2011 21:04:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 26 23:04:49 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qloo5-0005SO-8e for gctc-ntg-context-518@m.gmane.org; Tue, 26 Jul 2011 23:04:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B35F5CAE8B; Tue, 26 Jul 2011 23:04:48 +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 ICcXbQcbzcOc; Tue, 26 Jul 2011 23:04:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 114B2CAE82; Tue, 26 Jul 2011 23:04:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 34C5ACAE82 for ; Tue, 26 Jul 2011 23:04:45 +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 sfLxFbeycHvC for ; Tue, 26 Jul 2011 23:04:42 +0200 (CEST) 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 12555CAE81 for ; Tue, 26 Jul 2011 23:04:42 +0200 (CEST) Original-Received: from mail-ey0-f173.google.com (mail-ey0-f173.google.com [209.85.215.173]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6QL4f5f021441 for ; Tue, 26 Jul 2011 23:04:41 +0200 Original-Received: by eyb7 with SMTP id 7so1856139eyb.32 for ; Tue, 26 Jul 2011 14:04:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=r+avYJja6T32YE/+4JRQYM41rIrNP4tKSDSFPn8MLtw=; b=hF0WnVFKXQmOw45u3ZcxBBQV4x7jn+jFKwE8LOnwNG2y5d9f8OFOF2+xsWxGJBIEJn xuFDY/VLBBxWL8/VlMMSOi9MGAQw89BG62feCBbavu7JRch/eA5XwRcC4ewudpdLV9xs WBOVtn0ICf1U/SetUUAGQCmlkCwC5tV7oXxDQ= Original-Received: by 10.14.10.163 with SMTP id 35mr2500351eev.236.1311714281209; Tue, 26 Jul 2011 14:04:41 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482C5D7.dip.t-dialin.net [84.130.197.215]) by mx.google.com with ESMTPS id h49sm629371eeh.42.2011.07.26.14.04.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Jul 2011 14:04:40 -0700 (PDT) In-Reply-To: <4E2F2A51.9070500@aon.at> X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.173; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03FcJ4F64 - 6f44e318bd5a - 20110726 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70299 Archived-At: Am 26.07.2011 um 22:57 schrieb Daniel Schopper: > Thanks for the enlightenment! > So doing \def\removeunwantedspaces{} inside the macro definition does the= trick (although in a barbaric way) Better add a space after the closing brace of the \test argument. As you do= n=92t use grouping your redefinition is global and can break many other thi= ngs. 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 ___________________________________________________________________________= ________