From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: unicode error
Date: Sun, 26 Sep 2010 13:14:40 +0200 [thread overview]
Message-ID: <4C9F2B20.8080801@wxs.nl> (raw)
In-Reply-To: <AANLkTin1-NKyVGT4NCvy-d0s3DKHO7q+RXbLM-G5tpWB@mail.gmail.com>
On 25-9-2010 8:30, Mojca Miklavec wrote:
> On Sat, Sep 25, 2010 at 20:25, Alan BRASLAU wrote:
>> An obscure unicode error, minimal example:
>>
>> \starttext
>> (≡) should be ($\equiv$)
>> \stoptext
>
> Well, this works: $≡$
> (This is not to say that the character ≡ alone should not work, but it
> may be that it is simply missing in the text font and no mechanism is
> there that would switch to "math mode".)
indeed. of course one could use the math font as base font as well, but
that would complicate matters a bit as we use a virtual font (so instead
of the default set one would need to specify multiple featuresets, which
actually is supported)
another solution is do define fallbacks but I have no time right now to
do that (it would slow down loading a bit); some time in the future we
will have the option in luatex to add missing glyphs to a font using a
'missign glyph' callback but this is quite tricky as there is state to
be kept)
making all math characters active and resolve to math could be a
solution too but this is not always wanted either (so we should need
exceptions etc etc then)
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-09-26 11:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-25 18:25 Alan BRASLAU
2010-09-25 18:30 ` Mojca Miklavec
2010-09-26 11:14 ` Hans Hagen [this message]
2010-09-26 0:41 ` Li Yanrui (李延瑞)
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=4C9F2B20.8080801@wxs.nl \
--to=pragma@wxs.nl \
--cc=mojca.miklavec.lists@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).