Hi all,

I get an error when I run this code:

    \ctxlua{font.getfont( font.current() )}

(Complete example below.) Oddly, whether or not this fails
depends on the font. The issue does occur with both today’s beta
and Tex Live. The error message is

    error: .../context/tex/texmf-context/tex/context/base/node-inj.lua:97: 
attempt to perform arithmetic on local 'factor' (a nil value)

At the same time, in Plain the equivalent code works fine for all
fonts. Bug or feature?

Best regards

%% working fonts:
%% ... ?

%% not working:
%% ... ?

  \ctxlua{font.getfont( font.current() )}

Attachment: pgpRcL_tp4ym0.pgp
Description: PGP signature

If your question is of interest to others as well, please add an entry to the 

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

Reply via email to