[NTG-context] How to invoke Unicode symbols?

Vyatcheslav Yatskovsky yatskovsky at gmail.com
Sun Jan 9 22:05:04 CET 2011


On 09.01.2011 20:46, ntg-context-request at ntg.nl wrote:
> \starttext
> \startfont[file:Symbola  sa 2]
> \fontchar{notequarter}
> \fontchar{musicalnote}
> \fontchar{musicalnotedbl}
> \fontchar{sixteenthnotedbl}
> \stopfont
> \stoptext
>
> You can define symbols for them.


\startfont[file:Symbola602 sa 2]
\fontchar{notequarter}
\fontchar{musicalnote}
\fontchar{musicalnotedbl}
\fontchar{sixteenthnotedbl}
\stopfont


! LuaTeX error 
...tminimal/texmf-context/tex/context/base/cldf-com.lua:58: attempt to 
call global 'format' (a nil value)
stack traceback:
	...tminimal/texmf-context/tex/context/base/cldf-com.lua:58: in function 
'char'
	...tminimal/texmf-context/tex/context/base/font-ctx.lua:830: in 
function 'char'
	<main ctx instance>:1: in main chunk.
\fontchar #1->\ctxlua {fonts.char("#1")}

l.27 \fontchar{notequarter}


Looks like I don't know how to use it. :(

-- 
Best Regards,
Vyatcheslav Yatskovsky


More information about the ntg-context mailing list