[NTG-context] How to invoke Unicode symbols?

Vyatcheslav Yatskovsky yatskovsky at gmail.com
Wed Jan 12 23:24:50 CET 2011


Hi!

I'm back again with my question. I really want to get Unicode 'Quarter 
Note' symbol, either from standard or custom font.

The following example does not work, while the font (Symbola) is found. 
I probably did not define something, but I don't know what.

\starttext

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

\stoptext


! 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.4 \fontchar{notequarter}

?

Please, help me.

Regards,
Vyatcheslav


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontchar.tex
Type: text/x-tex
Size: 174 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110113/69fa3fe1/attachment.tex>


More information about the ntg-context mailing list