From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79353 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?=22H=2E_=D6zoguz=22?= Newsgroups: gmane.comp.tex.context Subject: Spaces in commands Date: Tue, 20 Nov 2012 15:21:08 +0100 Message-ID: <50AB91D4.1090804@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353421289 9027 80.91.229.3 (20 Nov 2012 14:21:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2012 14:21:29 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 20 15:21:40 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Taoho-00062b-1t for gctc-ntg-context-518@m.gmane.org; Tue, 20 Nov 2012 15:21:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8241810283; Tue, 20 Nov 2012 15:21:29 +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 uTBvk1GFTKBu; Tue, 20 Nov 2012 15:21:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 37AA510222; Tue, 20 Nov 2012 15:21:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 42E6710222 for ; Tue, 20 Nov 2012 15:21:17 +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 nfPHJE9nZKm8 for ; Tue, 20 Nov 2012 15:21:15 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id CFD6F10221 for ; Tue, 20 Nov 2012 15:21:15 +0100 (CET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAKELAPw006748 for ; Tue, 20 Nov 2012 15:21:15 +0100 Original-Received: from [192.168.0.196] (dyndsl-095-033-045-112.ewe-ip-backbone.de [95.33.45.112]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0M1hZS-1TGPQy2ePi-00t0G6; Tue, 20 Nov 2012 15:21:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 X-Provags-ID: V02:K0:rLdpgk2mvqUWoiGobXA4oREIWXiX8UToES8PmEJVRC3 h98ZjbLYdh0MDCU2+N42pMC8YxoM+/n9SAXooXCyRLuy6QZJfo bcYa8g8TnjNJ3r1LZ67Ga8vStb6efO1ktuHP7OHC6jcmFgevlL thklJgGWa2pGSkTG4++j0o1M0xz4fHp9chS8hOOBK6lt1P8bFn 7Lbs29mTbcQec4EkjTqyP7SSp6kgH29Xnf8EMXO5puUhEHiQkm ktqdaE6GzqS5yv9KXb7WrsgfAc+x44MNES0dFt1yuCplWfW76A cjx8YdSrMIuXyDyVCsvLfoKZ6osB+D5tEvNHtxyrIQ4+9f92g5 ekpgzt65HMMOq9majf3E= X-Bayes-Prob: 0.0003 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.9; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07IpOlbe2 - c1d378b5f7a2 - 20121120 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79353 Archived-At: Hi there, how to define commands, which are simply short-cuts for some terms? My attempt produces typographical mistakes: %%%%%%%%%%%%%%%%%% \def\testcmd{% Testcommand% } \def\testcmdtwo{% Testcommandtwo } \starttext This is a \testcmd. Everything ok. This \testcmd has no space after, but it should have. This \testcmdtwo has a space after. Everything ok. But this \testcmdtwo, produces one extra spaces after the comma. \stoptext %%%%%%%%%%%%%%%%%% Thank you. Huseyin ___________________________________________________________________________________ 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 ___________________________________________________________________________________