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