From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54903 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: How to not gobble space after a command Date: Tue, 01 Dec 2009 00:14:54 +0100 Message-ID: <4B1451EE.7090903@wxs.nl> References: <20091120102352.GZ3418@katherina.student.utwente.nl> <4B06700A.7040405@elvenkind.com> <20091120104116.GB3418@katherina.student.utwente.nl> <20091120110057.GC3418@katherina.student.utwente.nl> <20091130205353.GT13955@katherina.student.utwente.nl> <20091130213151.GW13955@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259622926 15902 80.91.229.12 (30 Nov 2009 23:15:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 23:15:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 01 00:15:19 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 1NFFSa-0005S8-Df for gctc-ntg-context-518@m.gmane.org; Tue, 01 Dec 2009 00:15:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B90D9C9C40; Tue, 1 Dec 2009 00:12:03 +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 WtgY7+BbPF5k; Tue, 1 Dec 2009 00:11:59 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D55A2C9C33; Tue, 1 Dec 2009 00:11:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21D1CC9C33 for ; Tue, 1 Dec 2009 00:11:53 +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 54yr-3Gwg-Ax for ; Tue, 1 Dec 2009 00:11:49 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id E223CC9C24 for ; Tue, 1 Dec 2009 00:11:48 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by controller-9 (SurgeMail 4.2a3) with ESMTP id 8750-1713362 for ; Tue, 01 Dec 2009 00:13:37 +0100 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <20091130213151.GW13955@katherina.student.utwente.nl> X-Authenticated-User: hagen@controller-9 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:54903 Archived-At: Matthijs Kooijman wrote: > Hi Luigi, > > forget my last post. I was in a hurry last week and put a > > \def\autoinsertnextspace{} > > in my document just to get it compiling on context 2009.11.24. If I remove > that, it stops working with "texexec --lua" (as well as just "context") with > the same undefined control sequence error. It still works with just "texexec" > (e.g., with MkII). > > So, it works for me with 2009.10.28, and gives errors with 2009.11.24. There > is no version where it silently fails, that was my own fault :-) > > Actually, it does in fact seem the macro has completely disappeared. With the > old version: > > /usr/share/texmf/tex/context/base$ grep def.autoinsertnextspace * > spac-gen.mkii:\def\autoinsertnextspace{\futurelet\nexttoken\doautoinsertnextspace} > spac-hor.mkiv:\def\autoinsertnextspace{\futurelet\nexttoken\doautoinsertnextspace} > > With the new version: > > /usr/share/texmf/tex/context/base$ grep def.autoinsertnextspace * > spac-gen.mkii:\def\autoinsertnextspace{\futurelet\nexttoken\doautoinsertnextspace} > > The comment in the old version does say: > > %D This is a dangerous feature because it makes the \TEX\ source > %D less portable, i.e. any parser now needs to apply exactly the > %D same algorithm when it wants to interpret the source. We > %D strongly recommend not to mention this feature in manuals! It's > %D provided for users who are hooked to such a mechanism. > > So perhaps this is removed intentionally? Perhaps Hans can comment? indeed, it's a kind of hack and if we need something like that i'll make a better version some day ... configureable and using unicode char properties i'll remove the call in mkiv Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________