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 : [email protected] / 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
___________________________________________________________________________________