From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54565 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: How to not gobble space after a command Date: Fri, 20 Nov 2009 11:31:38 +0100 Message-ID: <4B06700A.7040405@elvenkind.com> References: <20091120102352.GZ3418@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 1258713115 2931 80.91.229.12 (20 Nov 2009 10:31:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 10:31:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 20 11:31:49 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 1NBQmI-0000yF-2W for gctc-ntg-context-518@m.gmane.org; Fri, 20 Nov 2009 11:31:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9455FC9AF5; Fri, 20 Nov 2009 11:29:15 +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 vdjHsfTRhApM; Fri, 20 Nov 2009 11:29:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0A69C9AAA; Fri, 20 Nov 2009 11:29:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46032C9AB7 for ; Fri, 20 Nov 2009 11:29:11 +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 U7VHQFc5P8Te for ; Fri, 20 Nov 2009 11:29:09 +0100 (CET) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by balder.ntg.nl (Postfix) with ESMTP id 19D51C9A9C for ; Fri, 20 Nov 2009 11:29:09 +0100 (CET) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id 3DE07802BE1F for ; Fri, 20 Nov 2009 11:31:39 +0100 (CET) User-Agent: Thunderbird 2.0.0.21 (X11/20090319) In-Reply-To: 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:54565 Archived-At: luigi scarso wrote: > On Fri, Nov 20, 2009 at 11:23 AM, Matthijs Kooijman wrote: >> Hi all, >> >> I'm working with a few custom macros to simplify typing a bit, like: >> >> \def\VHDL{\small{VHDL}} >> >> However, when I use this macro in text, like \VHDL this, it gobbles the space >> after it. I've seen some references that say to solve this by writing \VHDL{} >> instead, but that is of course very unpretty. I've tried to put all kinds of >> stuff ({}, \mbox{}, \obeyedspace, etc.) inside the \VHDL macro, but it seems >> the space is already gone there, so that didn't work. (Note that just putting >> a space inside the macro won't work, for cases where I use \VHDL, like this) \autoinsertnextspace is the context version of \xspace (could be mkii only) ___________________________________________________________________________________ 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 ___________________________________________________________________________________