ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Why does ConTeXt try to load Latin Modern?
Date: Fri, 08 Jul 2005 15:24:41 +0200	[thread overview]
Message-ID: <42CE7E99.6040905@elvenkind.com> (raw)
In-Reply-To: <42CE7C35.1010307@wxs.nl>


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

  parent reply	other threads:[~2005-07-08 13:24 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-06 12:02 Giuseppe Bilotta
2005-07-06 12:18 ` Adam Lindsay
2005-07-06 12:56   ` Hans Hagen
2005-07-06 13:48     ` Re[2]: " Giuseppe Bilotta
2005-07-06 14:06       ` luigi.scarso
2005-07-06 14:49         ` Re[2]: " Giuseppe Bilotta
2005-07-06 15:04           ` Taco Hoekwater
2005-07-06 16:42             ` luigi.scarso
2005-07-06 17:13               ` Taco Hoekwater
2005-07-06 17:27               ` Hans Hagen
2005-07-06 17:35                 ` Re[2]: " Giuseppe Bilotta
2005-07-07  5:50                 ` Guit luigi.scarso
2005-07-07  7:15                   ` Guit Hans Hagen
2005-07-07  7:20                     ` Guit Frank Grieshaber
2005-07-07  8:08                       ` Guit Hans Hagen
2005-07-07  7:27                     ` Guit luigi.scarso
2005-07-08  7:24                 ` Why does ConTeXt try to load Latin Modern? luigi.scarso
2005-07-06 14:13       ` Hans Hagen
2005-07-06 14:51         ` Re[2]: " Giuseppe Bilotta
2005-07-06 14:39       ` Otared Kavian
2005-07-06 18:18         ` Re[4]: " Giuseppe Bilotta
2005-07-06 15:40       ` Hans Hagen
2005-07-06 17:39         ` Re[2]: " Giuseppe Bilotta
2005-07-06 18:03           ` Hans Hagen
2005-07-06 18:17             ` Taco Hoekwater
2005-07-06 20:58               ` Re[2]: " Giuseppe Bilotta
2005-07-06 21:36                 ` Hans Hagen
2005-07-07  8:50                   ` Re[2]: " Giuseppe Bilotta
2005-07-07 12:30                     ` modules.pdf : unicode/fonts problems luigi.scarso
2005-07-07 12:44                       ` luigi.scarso
2005-07-07 13:03                       ` Lutz Haseloff
2005-07-07 13:09                       ` Lutz Haseloff
2005-07-07 13:39                     ` Why does ConTeXt try to load Latin Modern? Hans Hagen
2005-07-07 19:40                       ` Adam Lindsay
2005-07-08  8:11                         ` Re[2]: " Giuseppe Bilotta
2005-07-08  9:10                           ` Hans Hagen
2005-07-08 10:04                           ` Adam Lindsay
2005-07-08 11:39                             ` Re[2]: " Giuseppe Bilotta
2005-07-08 12:38                               ` Hans Hagen
2005-07-08 13:03                               ` Adam Lindsay
2005-07-08 13:14                                 ` Hans Hagen
2005-07-08 13:19                                   ` Adam Lindsay
2005-07-08 13:24                                   ` Taco Hoekwater [this message]
2005-07-08 14:38                                     ` Hans Hagen
2005-07-06 18:12 ` Giuseppe Bilotta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42CE7E99.6040905@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).