From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54577 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: latest beta: trouble with font loading Date: Fri, 20 Nov 2009 13:38:32 +0100 Message-ID: <4B068DC8.80108@wxs.nl> References: <91E0C406-043B-4058-B5C4-8D19A4433446@uni-bonn.de> 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 1258720730 26197 80.91.229.12 (20 Nov 2009 12:38:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 12:38:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 20 13:38:43 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 1NBSl5-0000p7-VD for gctc-ntg-context-518@m.gmane.org; Fri, 20 Nov 2009 13:38:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6DFDCC9B0D; Fri, 20 Nov 2009 13:36:08 +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 78VEov7bLBKX; Fri, 20 Nov 2009 13:36:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 73718C9AF1; Fri, 20 Nov 2009 13:36:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19182C9AF1 for ; Fri, 20 Nov 2009 13:36:04 +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 5rmsTJ-FuoIo for ; Fri, 20 Nov 2009 13:36:02 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id D01A9C9AE6 for ; Fri, 20 Nov 2009 13:36:01 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2a3) with ESMTP id 5492-1713362 for ; Fri, 20 Nov 2009 13:37:44 +0100 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <91E0C406-043B-4058-B5C4-8D19A4433446@uni-bonn.de> X-Authenticated-User: hagen@controller-9 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:54577 Archived-At: 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'll add a safeguard once you get it working you may also try: mtxrun --script fonts --list --spec gentium ok, gentium is a bad example but some fonts report weight, style and width info (given that we have a sane font) you can in context now use \definefont[ThomasFavourite][spec:somename-bold-italic] \definefont[ThomasFavourite][spec:somename-bold] \definefont[ThomasFavourite][spec:somename-italic] \definefont[ThomasFavourite][spec:somename-bold-italic-condensed] etc. kind of experimental, as everything mkiv (and not to be confused with the simple fonts alternative) 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________