From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48658 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: new luatex beta Date: Mon, 23 Mar 2009 11:16:21 +0100 Message-ID: <49C76175.3090307@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237803431 4716 80.91.229.12 (23 Mar 2009 10:17:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2009 10:17:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 23 11:18:28 2009 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 1LlhEi-0000Mz-4V for gctc-ntg-context-518@m.gmane.org; Mon, 23 Mar 2009 11:18:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C77131FE03; Mon, 23 Mar 2009 11:17:01 +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 28014-02; Mon, 23 Mar 2009 11:16:28 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C43741FDFF; Mon, 23 Mar 2009 11:16:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 418401FDFF for ; Mon, 23 Mar 2009 11:16:27 +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 17095-06 for ; Mon, 23 Mar 2009 11:16:20 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id 959551FDFC for ; Mon, 23 Mar 2009 11:16:20 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2NAGJVx031361 for ; Mon, 23 Mar 2009 11:16:20 +0100 Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 21996-1840426 for ; Mon, 23 Mar 2009 11:16:19 +0100 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.247.100.17; country=NL; region=16; city=Dronten; latitude=52.5333; longitude=5.7167; http://maps.google.com/maps?q=52.5333,5.7167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 197463864 - 01682c810529 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:48658 Archived-At: Hi, The code has been checked in for the next luatex beta. The current MKIV beta is already prepared for that (primitive initializations and changed directlua support). Also, there are a few bug fixes (esp the vf positioning) that might result in better output. There are some pending issues with math but they might as well relate to issues with the lm fonts. Anyway, we tested the beta a few days and it should work ok. One new feature in MKIV is names lua runs. In the current version we no longer have multiple lua instances (we decided that it made no sense as no data can be shared). However, in MKIV we do have a few mildly isolated instances that are defined as follows: \definenamedlua[user] [private user instance] \definenamedlua[third] [third party module instance] \definenamedlua[module] [module instance] \definenamedlua[isolated][isolated instance] the names kind of reflect what their intended usage is. By default one has no access to global data unless prefixed by global, so for instance one can access the global character data as in (untested): \startusercode tex.sprint(global.characters.data[123].description) \startusercode (there is also \usercode{...}) This prevents that users mess up with the data unintended. However, there is still read and write access so be careful. I see no advantage in a more strict model than this. Since each call to lua is reentrant, errors in your scripts will normally not result in a crash of \MKIV. The error message mentiones the second argument to the previous definitions. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________