ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vyatcheslav Yatskovsky <yatskovsky@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: How to invoke Unicode symbols?
Date: Thu, 13 Jan 2011 00:24:50 +0200	[thread overview]
Message-ID: <4D2E2A32.5020501@gmail.com> (raw)
In-Reply-To: <mailman.366.1294863134.4223.ntg-context@ntg.nl>

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

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



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fontchar.tex --]
[-- Type: text/x-tex; name="fontchar.tex", Size: 174 bytes --]

\starttext

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

\stoptext

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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	other threads:[~2011-01-12 22:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.366.1294863134.4223.ntg-context@ntg.nl>
2011-01-12 22:24 ` Vyatcheslav Yatskovsky [this message]
2011-01-12 22:39   ` Wolfgang Schuster
     [not found] <mailman.371.1294900960.4223.ntg-context@ntg.nl>
2011-01-16  3:51 ` Vyatcheslav Yatskovsky
2011-01-16 15:25   ` Hans Hagen
     [not found] <mailman.292.1294598792.4223.ntg-context@ntg.nl>
2011-01-09 21:05 ` Vyatcheslav Yatskovsky
     [not found] <mailman.290.1294590830.4223.ntg-context@ntg.nl>
2011-01-09 18:14 ` Vyatcheslav Yatskovsky
2011-01-09 18:46   ` Wolfgang Schuster
2011-01-09 15:57 Vyatcheslav Yatskovsky
2011-01-09 16:15 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D2E2A32.5020501@gmail.com \
    --to=yatskovsky@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).