On Thu, 16 Jul 2009, luigi scarso wrote:
On Thu, Jul 16, 2009 at 6:32 PM, Andrei Dragomir
wrote: I am using context minimals, with the simpleslides module to make a presentation.
I noticed that when typesetting math formulas, I get missing characters.
I finally tracked it down to an issue (stupidity from me?) with the "context" executable.
I made a new file, with some example math markup, posted below ---------- \starttext
And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}\!\!\! \sin^2(x)dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \sum_{k=1}^{\infty}{1 \over k^2} = {\pi^2 \over 6}. \stopformula Some ligatures: ffi, ffl.
\stoptext -----------
My log says : Missing character: There is no ⟺ (U+27FA) in font LMMath12-Regular!
Yes, in a unicode font Rightleftarrow (which is part of the definition of \iff) is at 27FA. But LM fonts do not have any glyph which looks like that.... So, as a temporary workaround, we redefine \Rightleftarrow in math-pln.mkiv. But for some reason, that definition is not kicking in, and ConTeXt still things that \Rightleftarrow is \Umathchar "3 "0 "27FA. Hans, any idea why this is happening. char-def.lua is loaded before math-pln.mkiv. Even then, why doesn't the redefinition in math-pln take precedence? Aditya