Hi all,

some months ago I printed the name of the current font with following code:

\starttext
The current font is: \ctxlua{tex.print(font.getfont(font.current()).fullname)}.
\stoptext

Now I get an error message:

! LuaTeX error <main ctx instance>:1: no string to print
stack traceback:
        [C]: in function 'print'
        <main ctx instance>:1: in main chunk.
l.2 ...int(font.getfont(font.current()).fullname)}
                                                  .
?

What is the right way now?
(didn't find any news in functionref.pdf or luatexref-t.pdf)

Greetings Lutz
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to