From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37750 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: synonyms with MKIV Date: Thu, 6 Dec 2007 09:45:18 -0500 (EST) Message-ID: References: <20071203164416.GA17359@gaston.couberia.bzh> <115224fb0712030958w65d918f2n921e1e9a3dc99aab@mail.gmail.com> <475459D2.3020709@wxs.nl> <115224fb0712040757l6f303c41q9c0d4565a2b7a989@mail.gmail.com> <20071204182235.GA3881@gaston.couberia.bzh> <115224fb0712050029j3e780bbcy3ae5b5a167074e36@mail.gmail.com> <20071205204547.GA28430@gaston.couberia.bzh> <475720FF.4000205@wxs.nl> <115224fb0712060026x7fa0049ahef2f413edcf9a304@mail.gmail.com> <4757C69F.9060902@wxs.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 1196952343 29242 80.91.229.12 (6 Dec 2007 14:45:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2007 14:45:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 06 15:45:53 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J0Hz7-0005FL-2n for gctc-ntg-context-518@m.gmane.org; Thu, 06 Dec 2007 15:45:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BF2B61FCFF; Thu, 6 Dec 2007 15:45:35 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28189-01-6; Thu, 6 Dec 2007 15:45:29 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14F5E1FCE9; Thu, 6 Dec 2007 15:45:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED8B31FCAA for ; Thu, 6 Dec 2007 15:45:26 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28189-01-5 for ; Thu, 6 Dec 2007 15:45:22 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id D103D1FCF5 for ; Thu, 6 Dec 2007 15:45:21 +0100 (CET) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY hellskitchen.mr.itd.umich.edu ID 47580AFF.2214E.23216 ; 6 Dec 2007 09:45:19 -0500 X-X-Sender: adityam@adi-laptop In-Reply-To: <4757C69F.9060902@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37750 Archived-At: On Thu, 6 Dec 2007, Hans Hagen wrote: > Wolfgang Schuster wrote: > >> The order of key and entry is, the same as in the mkii macro >> >> { { v[2], v[3] } }, -- key, entry >> >> but you wrote >> >> { { v[3], v[2] } }, -- entry, key > > ok, fixed > > just wondering ... now we move to a mix of tex and lua code, how complex > is it to piece together what's happening now inside context I think that it is going to be easier (once you get the hang of it). When I started reading mkii code, I understood the steps that were being followed, but the fine details were pretty hard to understand. With luatex, the broad steps are still in tex, so that part is the same, but the fine implementation (that needed a real programming language) are in lua. This makes it much easier to understand. I could read the new mkiv pretty printing code and see what it was doing. With the mkii pretty printing code, I spent about a week and was still clueless (rather, I understood bits and pieces, but there was no way I could extend it to another language). I think that this is enough to overcome to compensate for the overhead between going back and forth between lua and tex code. Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________