From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61985 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Info about creating modules for beginners. Date: Sun, 26 Sep 2010 11:48:22 -0400 Message-ID: References: <4C9B81EB.7080404@gyza.cz> <4C9BB968.8020100@wxs.nl> <15987BF0-B3B3-4636-882A-98F3363371E7@gmail.com> <4C9F2D7A.10801@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (iPhone Mail 8B117) Content-Type: multipart/mixed; boundary="===============1631390308==" X-Trace: dough.gmane.org 1285516149 18284 80.91.229.12 (26 Sep 2010 15:49:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 15:49:09 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 26 17:49:07 2010 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.69) (envelope-from ) id 1OztTP-0007pC-1G for gctc-ntg-context-518@m.gmane.org; Sun, 26 Sep 2010 17:49:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0CABCA7D7; Sun, 26 Sep 2010 17:49:05 +0200 (CEST) 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 5fOFolh8dRv7; Sun, 26 Sep 2010 17:49:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F334CA7D0; Sun, 26 Sep 2010 17:49:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C413CA7D0 for ; Sun, 26 Sep 2010 17:49:01 +0200 (CEST) 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 RMUCdzULig7J for ; Sun, 26 Sep 2010 17:48:59 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 6C219CA61D for ; Sun, 26 Sep 2010 17:48:57 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8QFmtAO008474 for ; Sun, 26 Sep 2010 17:48:56 +0200 Original-Received: FROM [192.168.2.12] (bas3-montreal02-1096680921.dsl.bell.ca [65.94.5.217]) By tombraider.mr.itd.umich.edu ID 4C9F6B62.AB6B.6744 ; Authuser adityam; 26 Sep 2010 11:48:50 EDT In-Reply-To: <4C9F2D7A.10801@wxs.nl> X-Mailer: iPhone Mail (8B117) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDbrMTvF - 2b61f64873c9 - 20100926 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:61985 Archived-At: --===============1631390308== Content-Type: multipart/alternative; boundary=Apple-Mail-1-118742808 Content-Transfer-Encoding: 7bit --Apple-Mail-1-118742808 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 26, 2010, at 7:24 AM, Hans Hagen wrote: > On 26-9-2010 2:02, Aditya Mahajan wrote: >=20 >> Does it make sense to copy the definition of mult-aux.mkiv to mkii? >> Everything other than \definenamespace should work in both mkii and >> mkiv. That way, I can use it in modules that target both mkii and mkiv. >=20 > if you consider it useful ... keep in mind that it uses the new inheritanc= e model of mkiv (less predefined hash entries at the cost of a bit more runt= ime but also more powerful) ... adding it would not mean that I'd adapt all o= ld mkii code to it I understand. I am not asking any change in the mkii code. Just want the mac= ros for the inheritance code (without the definenamespace macro that uses lu= a) to be available in mkii so that I can use the new inheritance model with m= kii in my modules. (I use it anyways, but with boilerplate macros borrowed f= rom Wolfgang. All I want to do is reduce that boilerplate) Aditya --Apple-Mail-1-118742808 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8


On Sep 26, 2010, at 7= :24 AM, Hans Hagen <pragma@wxs.nl>= ; wrote:

On 26-= 9-2010 2:02, Aditya Mahajan wrote:

Does it make sense to copy the definition of mult-aux.mkiv= to mkii?
Everything o= ther than \definenamespace should work in both mkii and
mkiv. That way, I can use it in modules t= hat target both mkii and mkiv.

if you consider it useful ... keep in mind that it uses the new inheritance= model of mkiv (less predefined hash entries at the cost of a bit more runti= me but also more powerful) ... adding it would not mean that I'd adapt all o= ld mkii code to it=
<= /blockquote>
I understand. I am not asking any change in the mkii co= de. Just want the macros for the inheritance code (without the definenamespa= ce macro that uses lua) to be available in mkii so that I can use the new in= heritance model with mkii in my modules. (I use it anyways, but with boilerp= late macros borrowed from Wolfgang. All I want to do is reduce that boilerpl= ate)

Aditya



= --Apple-Mail-1-118742808-- --===============1631390308== 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 ___________________________________________________________________________________ --===============1631390308==--