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 changed that line to: if not data or not next(data) or not next(data.specifications) then and now it works again. ___________________________________________________________________________________ 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 ___________________________________________________________________________________