From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54570 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: latest beta: trouble with font loading Date: Fri, 20 Nov 2009 12:00:49 +0100 Message-ID: <4B0676E1.9070400@elvenkind.com> References: <91E0C406-043B-4058-B5C4-8D19A4433446@uni-bonn.de> <4B067699.4090105@elvenkind.com> 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 1258714883 8190 80.91.229.12 (20 Nov 2009 11:01:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 11:01:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 20 12:01:16 2009 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.50) id 1NBREY-0007aN-Me for gctc-ntg-context-518@m.gmane.org; Fri, 20 Nov 2009 12:00:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A5D9C9AF1; Fri, 20 Nov 2009 11:58:26 +0100 (CET) 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 4EfiLsVMiSpo; Fri, 20 Nov 2009 11:58:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A207C9AD9; Fri, 20 Nov 2009 11:58:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8672DC9AD9 for ; Fri, 20 Nov 2009 11:58:21 +0100 (CET) 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 AaXx8aaPlBMf for ; Fri, 20 Nov 2009 11:58:19 +0100 (CET) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by balder.ntg.nl (Postfix) with ESMTP id 4669BC9AB7 for ; Fri, 20 Nov 2009 11:58:19 +0100 (CET) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id 8199A802BE1F for ; Fri, 20 Nov 2009 12:00:49 +0100 (CET) User-Agent: Thunderbird 2.0.0.21 (X11/20090319) In-Reply-To: <4B067699.4090105@elvenkind.com> 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:54570 Archived-At: Taco Hoekwater wrote: > > Thomas A. Schmitz wrote: >> Hi Hans, all, >> >> the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: >> >> mtxrun --script fonts --list --pattern="*gentium*" >> ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) >> >> Any pointers? > > I changed that line to: > > if not data or not next(data) or not next(data.specifications) then > > and now it works again. otoh: it now always returns only one font ___________________________________________________________________________________ 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 ___________________________________________________________________________________