From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54563 Path: news.gmane.org!not-for-mail From: Matthijs Kooijman Newsgroups: gmane.comp.tex.context Subject: How to not gobble space after a command Date: Fri, 20 Nov 2009 11:23:52 +0100 Message-ID: <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: multipart/mixed; boundary="===============1008042364==" X-Trace: ger.gmane.org 1258712648 1383 80.91.229.12 (20 Nov 2009 10:24:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 10:24:08 +0000 (UTC) To: Mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 20 11:24:01 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 1NBQen-00060K-0H for gctc-ntg-context-518@m.gmane.org; Fri, 20 Nov 2009 11:24:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84A83C9AC7; Fri, 20 Nov 2009 11:21:30 +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 atD7uZDT570z; Fri, 20 Nov 2009 11:21:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45DF4C9AB7; Fri, 20 Nov 2009 11:21:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59AEBC9AB7 for ; Fri, 20 Nov 2009 11:21:25 +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 gP+7e-aJzME6 for ; Fri, 20 Nov 2009 11:21:22 +0100 (CET) Original-Received: from katherina.student.utwente.nl (katherina.student.utwente.nl [130.89.168.160]) by balder.ntg.nl (Postfix) with ESMTP id 8CFABC9A9C for ; Fri, 20 Nov 2009 11:21:22 +0100 (CET) Original-Received: from matthijs by katherina.student.utwente.nl with local (Exim 4.69) (envelope-from ) id 1NBQee-0005g4-IH for ntg-context@ntg.nl; Fri, 20 Nov 2009 11:23:52 +0100 Mail-Followup-To: Mailing list for ConTeXt users X-PGP-Fingerprint: 7F6A 9F44 2820 18E2 18DE 24AA CF49 D0E6 8A2F AFBC X-PGP-Key: http://katherina.student.utwente.nl/~matthijs/gpg_pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) 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:54563 Archived-At: --===============1008042364== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWMyMvz3WpiqfrV1" Content-Disposition: inline --cWMyMvz3WpiqfrV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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) It seems that latex has an xspace package that does some guesswork about whether a space is required, but it looks mightily scary. Does ConTeXt provide for any way to solve this problem in a nice way? Or is this just so fundamental in TeX that there is no real solution? Gr. Matthijs --cWMyMvz3WpiqfrV1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAksGbjgACgkQz0nQ5oovr7zwlwCeN104mORrfu1bTNeQGDWTKt+j RyAAoM9wPzNPbj5ynjV2B5SY3jo9In+H =usKo -----END PGP SIGNATURE----- --cWMyMvz3WpiqfrV1-- --===============1008042364== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1008042364==--