From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70298 Path: news.gmane.org!not-for-mail From: Daniel Schopper Newsgroups: gmane.comp.tex.context Subject: Re: trailing spaces in macro argument Date: Tue, 26 Jul 2011 22:57:53 +0200 Message-ID: <4E2F2A51.9070500@aon.at> References: <4E2F1408.6040807@aon.at> <500FA126-DCAC-4F6F-8D73-D801756E8718@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1311713888 2047 80.91.229.12 (26 Jul 2011 20:58:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2011 20:58:08 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 26 22:58:04 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 1QlohW-0002dN-QK for gctc-ntg-context-518@m.gmane.org; Tue, 26 Jul 2011 22:58:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B2BFCAE80; Tue, 26 Jul 2011 22:58:01 +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 uD71L2QWKBYw; Tue, 26 Jul 2011 22:57:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C1AB5CAE81; Tue, 26 Jul 2011 22:57:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6642CAE81 for ; Tue, 26 Jul 2011 22:57:57 +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 smDkQ075PAJx for ; Tue, 26 Jul 2011 22:57:55 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 610CBCAE80 for ; Tue, 26 Jul 2011 22:57:55 +0200 (CEST) Original-Received: from email.aon.at (smtpout05.highway.telekom.at [195.3.96.77]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6QKvsjR031846 for ; Tue, 26 Jul 2011 22:57:54 +0200 Original-Received: (qmail 14432 invoked from network); 26 Jul 2011 20:57:53 -0000 Original-Received: from 213-33-21-196.adsl.highway.telekom.at (HELO Daniel-Schoppers-iMac.local) (aon.912045897.daniel@[213.33.21.196]) (envelope-sender ) by smarthub82.res.a1.net (qmail-ldap-1.03) with SMTP for ; 26 Jul 2011 20:57:53 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: <500FA126-DCAC-4F6F-8D73-D801756E8718@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=195.3.96.77; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eFcIVSLt - 0d2c7d1f77d7 - 20110726 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:70298 Archived-At: Thanks for the enlightenment! So doing \def\removeunwantedspaces{} inside the macro definition does = the trick (although in a barbaric way) Am 26.07.11 22:25, schrieb Wolfgang Schuster: > > Am 26.07.2011 um 21:22 schrieb Daniel Schopper: > >> Dear list, >> could anyone be so kind to explain to me why in the following MWE the tr= ailing space are missing in the output of the \test-macro? I=92m kind of pu= zzled as I supposed it wouldn=92t be possible for \stopline to influence th= e behaviour of its preceding tokens. apologies for what's probably a most s= traight-forward question to many of you=85 > > It is possible as you can see in the following example: > > \starttext > a b c > > a b \removeunwantedspaces c > \stoptext > > \stopline use \removeunwatedspaces and this is was the space was removed = from the output. > > Wolfgang > > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________