From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21278 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Why does ConTeXt try to load Latin Modern? Date: Fri, 08 Jul 2005 15:24:41 +0200 Message-ID: <42CE7E99.6040905@elvenkind.com> References: <129725119.20050706140210@iol.it> <20050706121813.6608@mail.comp.lancs.ac.uk> <42CBD4F0.4070401@wxs.nl> <627880484.20050706154858@iol.it> <42CBFB57.3000605@wxs.nl> <1192348060.20050706193909@iol.it> <42CC1CE9.2060106@wxs.nl> <42CC203F.3030307@elvenkind.com> <1029219557.20050706225830@iol.it> <42CC4EF2.5050002@wxs.nl> <01647009.20050707105018@iol.it> <42CD308B.3010208@wxs.nl> <20050707194042.12563@mail.comp.lancs.ac.uk> <1658238530.20050708101101@iol.it> <20050708100433.9242@mail.comp.lancs.ac.uk> <1937060797.20050708133922@iol.it> <20050708130338.948@mail.comp.lancs.ac.uk> <42CE7C35.1010307@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120831135 27977 80.91.229.2 (8 Jul 2005 13:58:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2005 13:58:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 08 15:58:52 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DqtLz-0002hC-Kk for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jul 2005 15:57:19 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 57C3612880; Fri, 8 Jul 2005 15:57:19 +0200 (CEST) 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 12920-02-3; Fri, 8 Jul 2005 15:57:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 23D811287C; Fri, 8 Jul 2005 15:57:12 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 17FF412874 for ; Fri, 8 Jul 2005 15:57:11 +0200 (CEST) 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 12920-02 for ; Fri, 8 Jul 2005 15:57:09 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 790FF12889 for ; Fri, 8 Jul 2005 15:24:45 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 4A92814B9E for ; Fri, 8 Jul 2005 15:23:23 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32627-06 for ; Fri, 8 Jul 2005 15:23:22 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id A85AF1256F for ; Fri, 8 Jul 2005 15:23:21 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42CE7C35.1010307@wxs.nl> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21278 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21278 Or you could do something like this: \def\doiffontelse#1#2#3{% \batchmode \font\klutch=#1 \errorstopmode \ifdim \the\fontdimen5\klutch < 1pt #3\else #2\fi \let\klutch\relax } \doiffontelse{ec-lmr10} {\message{Up-to-date}} {\message{Please install lmr}} It gives an ugly error in the log file if the font is not found, but that is a only a minor inconvenience. Greetings,Taco Hans Hagen wrote: > Adam Lindsay wrote: > >> >> My first thought (and this probably can apply to your other issue within >> this thread) was to probe for tfm files with something like: >> >> \doiffile{zplmr7t.tfm} >> >> ...but that doesn't work. Does anyone know how you can look for non-.tex >> files from within ConTeXt? > > > you probably need to add the font paths you your tex input paths > > 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 > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context