From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15437 Path: main.gmane.org!not-for-mail From: "vinuth madinur" Newsgroups: gmane.comp.tex.context Subject: Two level declaration using "vardef". Date: Mon, 21 Jun 2004 00:07:04 +0800 Sender: ntg-context-admin@ntg.nl Message-ID: <20040620160704.2987623C03@ws5-3.us4.outblaze.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1087747813 31353 80.91.224.253 (20 Jun 2004 16:10:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Jun 2004 16:10:13 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun Jun 20 18:10:03 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bc4tP-0006DP-00 for ; Sun, 20 Jun 2004 18:10:03 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8BFD510B4D; Sun, 20 Jun 2004 18:09:58 +0200 (MEST) Original-Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by ref.ntg.nl (Postfix) with ESMTP id 8DE6710B48 for ; Sun, 20 Jun 2004 18:07:07 +0200 (MEST) Original-Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 53530180042F for ; Sun, 20 Jun 2004 16:07:05 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by 205.158.62.180; 20 Jun 2004 16:06:03 -0000 Original-Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id 2987623C03; Sun, 20 Jun 2004 16:07:04 +0000 (GMT) Content-Disposition: inline X-Mailer: MIME-tools 5.41 (Entity 5.404) Original-Received: from [202.142.68.179] by ws5-3.us4.outblaze.com with http for vinlin@linuxmail.org; Mon, 21 Jun 2004 00:07:04 +0800 Original-To: ntg-context@ntg.nl X-Originating-Ip: 202.142.68.179 X-Originating-Server: ws5-3.us4.outblaze.com Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15437 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15437 Hello everybody, One small query (:-} In a two level definition like: def test(expr p)= __temp_call(p) enddef; def __temp_call(expr p)(text t)= ........ enddef; so as to allow definitions for macros like "draw". Now, I want to have a macro similar to "draw" but also I want to have a suffix attached to the macro name. so, I did something like: vardef test@#(expr p)= __temp_call@#(p) enddef; vardef __temp_call@#(expr p)(text t)= ........ enddef; But this will obviously not work. But then I also have to define the macro with "vardef" inorder to have "@#" suffix. Can someone please help me here? Thanks. Vinuth.M.Madinur. -- ______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze