Re: [NTG-context] How to invoke Unicode symbols?
On 16-1-2011 4:51, Vyatcheslav Yatskovsky wrote: Is \fontchar a hack or 'official' command? If the latter, it deserves to be wikified. it's an official low level command and will stay Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] How to invoke Unicode symbols?
The following example does not work, while the font (Symbola) is found. Works here. Can you try it with a clean installation! Works, indeed! Thanks a lot, as always! ) Is \fontchar a hack or 'official' command? If the latter, it deserves to be wikified. -- Best Regards, Vyatcheslav Yatskovsky ___ 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 ___
Re: [NTG-context] How to invoke Unicode symbols?
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 \starttext \startfont[file:Symbola602 sa 2] \fontchar{notequarter} \fontchar{musicalnote} \fontchar{musicalnotedbl} \fontchar{sixteenthnotedbl} \stopfont \stoptext___ 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 ___
Re: [NTG-context] How to invoke Unicode symbols?
Am 12.01.2011 um 23:24 schrieb Vyatcheslav Yatskovsky: 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. Works here. Can you try it with a clean installation! Wolfgang ___ 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 ___
Re: [NTG-context] How to invoke Unicode symbols?
Am 09.01.2011 um 16:57 schrieb Vyatcheslav Yatskovsky: Hi, How to invoke pre-defined Unicode symbols? Use a font with the symbols. \starttext Symbols: \definedfont[file:Symbola sa 2]♩♪ \stoptext You can download the font here: http://users.teilar.gr/~g1951d/ Wolfgang ___ 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 ___
Re: [NTG-context] How to invoke Unicode symbols?
On 09.01.2011 18:33, ntg-context-requ...@ntg.nl wrote: Use a font with the symbols. \starttext Symbols: \definedfont[file:Symbola sa 2]♩♪ \stoptext You can download the font here: http://users.teilar.gr/~g1951d/ http://users.teilar.gr/%7Eg1951d/ Wolfgang Thank you, but... I can easily get ♪ just by copy-pasting, but I cannot get ♩ ! Even when the font is specified. When I paste ♩ symbol into TeXWorks, it disappears. That's why I want how to call it by name. -- Best Regards, Vyatcheslav Yatskovsky ___ 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 ___
Re: [NTG-context] How to invoke Unicode symbols?
Am 09.01.2011 um 19:14 schrieb Vyatcheslav Yatskovsky: I can easily get ♪ just by copy-pasting, but I cannot get ♩ ! Even when the font is specified. When I paste ♩ symbol into TeXWorks, it disappears. That's why I want how to call it by name. \starttext \startfont[file:Symbola sa 2] \fontchar{notequarter} \fontchar{musicalnote} \fontchar{musicalnotedbl} \fontchar{sixteenthnotedbl} \stopfont \stoptext You can define symbols for them. Wolfgang ___ 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 ___
Re: [NTG-context] How to invoke Unicode symbols?
On 09.01.2011 20:46, ntg-context-requ...@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 ___ 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 ___