From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62556 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Error in simplefonts Date: Tue, 12 Oct 2010 13:36:04 -0400 (EDT) Message-ID: References: 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: dough.gmane.org 1286904599 27950 80.91.229.12 (12 Oct 2010 17:29:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2010 17:29:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 12 19:29:58 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 1P5ifl-0004q2-7N for gctc-ntg-context-518@m.gmane.org; Tue, 12 Oct 2010 19:29:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B373ACA701; Tue, 12 Oct 2010 19:29:56 +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 FdV0zlqgHlxj; Tue, 12 Oct 2010 19:29:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3277CCA6EF; Tue, 12 Oct 2010 19:29:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79E70CA6EF for ; Tue, 12 Oct 2010 19:29:49 +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 jNassMLn+NlS for ; Tue, 12 Oct 2010 19:29:44 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 8A912CA6E6 for ; Tue, 12 Oct 2010 19:29:44 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9CHThHb017183 for ; Tue, 12 Oct 2010 19:29:43 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096681052.dsl.bell.ca [65.94.6.92]) By hellskitchen.mr.itd.umich.edu ID 4CB49B05.CB979.31053 ; Authuser adityam; 12 Oct 2010 13:29:41 EDT In-Reply-To: User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; 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: 05DhRtHGO - e32eb34977ac - 20101012 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:62556 Archived-At: On Sun, 10 Oct 2010, Aditya Mahajan wrote: > Hi Wolfgang, > > \definesimplefont fails in the latest beta. Minimal example: > > \usemodule [simplefonts][size=10pt] > \setmainfont[Fontin][expansion=quality,protrusion=quality] > > \definesimplefont [NameFont] [FontinBold][size=16pt] > > \starttext > \NameFont A > \stoptext > > ... gives > > > <+ > /opt/context-minimals/texmf-context/tex/context/third/simplefonts/t-simplefonts.lua>) > ! LuaTeX error
:1: attempt to index field 'define' (a nil > value) > stack traceback: >
:1: in main chunk. > > system > error on line 5 in file test.tex: LuaTeX error ... > > 1 \usemodule [simplefonts][size=10pt] > 2 > 3 \setmainfont[Fontin][expansion=quality,protrusion=quality] > 4 > 5 >> \definesimplefont [NameFont] [FontinBold][size=16pt] > 6 > 7 \starttext > 8 \NameFont A > 9 \stoptext > > > \dodefinesimplefont ...1("\luaescapestring {#2}")} > \ifcase \scaledfontmode > \r... > l.5 ...efont [NameFont] [FontinBold][size=16pt] Does anyone else get this error or is it something wrong on my machine? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________