From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54568 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: How to not gobble space after a command Date: Fri, 20 Nov 2009 11:50:26 +0100 Message-ID: References: <20091120102352.GZ3418@katherina.student.utwente.nl> <4B06700A.7040405@elvenkind.com> <20091120104116.GB3418@katherina.student.utwente.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258714343 6423 80.91.229.12 (20 Nov 2009 10:52:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 10:52:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 20 11:52:17 2009 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.50) id 1NBR4b-0001DV-C1 for gctc-ntg-context-518@m.gmane.org; Fri, 20 Nov 2009 11:50:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B4EE6C9AF5; Fri, 20 Nov 2009 11:48:09 +0100 (CET) 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 Dx+ymKMw-2Vk; Fri, 20 Nov 2009 11:48:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6C93C9AD9; Fri, 20 Nov 2009 11:48:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 99958C9AD9 for ; Fri, 20 Nov 2009 11:48:01 +0100 (CET) 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 BFGdm3TVzjAQ for ; Fri, 20 Nov 2009 11:47:57 +0100 (CET) Original-Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by balder.ntg.nl (Postfix) with ESMTP id 36A07C9AAA for ; Fri, 20 Nov 2009 11:47:57 +0100 (CET) Original-Received: by bwz20 with SMTP id 20so2128207bwz.34 for ; Fri, 20 Nov 2009 02:50:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=CpmNi+jTiNR8g9boYbKE7wiRAtck874GfACOEf8iEA8=; b=kcRxzqIW2g/vyenP/kOJoh96NmdJOMMuAl03HlUwBo3gKPANoJ2jj9VQbJlIZrplkt zWEuBSuCiDeGQ+53kX6sv8jIvAhS1z+YGuycr5/3l2DwXkAS6NF2DcvZJ0vjLLGHhhOA 9y6fOevaiwIqC/T4fE8RzsmuZotinuCtU4dF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ip27OnZup2H40p4BGi2Zg4fUly2EqsRN8f6zgh4vY77S+YBhFs2gopj3GR9Xn/ly/M vtc/clb91HbtmN1lNbmzHZmgaxzpSqIRPDQA0z/7+5BR17l/jYXOiIsPJZxDqFSAdIfK pFxzmTs39ad3nMXi684ZWCUX/gNuzx0Sw1i80= Original-Received: by 10.204.11.3 with SMTP id r3mr1150298bkr.107.1258714226930; Fri, 20 Nov 2009 02:50:26 -0800 (PST) In-Reply-To: <20091120104116.GB3418@katherina.student.utwente.nl> 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:54568 Archived-At: On Fri, Nov 20, 2009 at 11:41 AM, Matthijs Kooijman wrote: >> \autoinsertnextspace is the context version of \xspace (could be mkii >> only) > Woah, that works (in MkIV). Thanks! hm , some problem here # context --version MTXrun | main context file: context.tex MTXrun | current version: 2009.11.10 13:30 %%% test.tex \starttext \tracingall \autoinsertnextspace\tracingnone A \stoptext #context test {undefined} ! Undefined control sequence. l.2 \tracingall \autoinsertnextspace \tracingnone # grep autoinsertnextspace * spac-gen.mkii:%D \setupsorting[logo][next=\autoinsertnextspace] \logo[TEX]{\TeX} spac-gen.mkii:\def\autoinsertnextspace{\futurelet\nexttoken\doautoinsertnextspace} spac-gen.mkii:\def\doautoinsertnextspace % slightly extended version of a user supplied macro strc-not.mkii: \c!next=\autoinsertnextspace, % new, experimental with startnotes strc-not.mkiv: \c!next=\autoinsertnextspace, % new, experimental with startnotes (note the \futurelet primitive) -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________