On 12-6-2010 5:22, Khaled Hosny wrote:
On Sat, Jun 12, 2010 at 01:19:08PM +0400, Yury G. Kudryashov wrote:
Hi!
I use $x↦2x$ in xits, and it prints x→2x instead of x↦2x. The same file works with latin modern. It seems that xits-math contains U+21A6 (↦) symbol (at least, kcharselect displays this character in xits-math font), so it should be related to some meta-information.
ConTeXt try to compose U+21A6 from base part and the regular right arrow (U+2192), since that base part seems to be some un-encoded, Latin Modern specific glyph, you get only U+2192 with XITS.
Ideally, it should be done the other way around, fake U+21A6 in Latin Modern virtual font and then use the proper code point everywhere (may be this what is actually done but I misinterpreted it).
indeed the idea is to have only the right unicode chars (we already fake some in virtual lm) as with much in math we started from what tex used to do 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 -----------------------------------------------------------------