[NTG-context] Luatex question

2011-10-25 Thread Lutz Haseloff
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:

Re: [NTG-context] Luatex question

2011-10-25 Thread luigi scarso
On Tue, Oct 25, 2011 at 2:09 PM, Lutz Haseloff lutz.hasel...@googlemail.com wrote: 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

Re: [NTG-context] Luatex question

2011-10-25 Thread Hans Hagen
On 25-10-2011 14:09, Lutz Haseloff wrote: 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 errormain ctx instance:1: no

Re: [NTG-context] Luatex question

2011-10-25 Thread Lutz Haseloff
Thank you for your detailed information. 2011/10/25 Hans Hagen pra...@wxs.nl: On 25-10-2011 14:09, Lutz Haseloff wrote: Hi all, some months ago I printed the name of the current font with following code: \starttext The current font is: