Math symbols issue with context minimals distribution and
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 ----------- When running "context test_math.tex", in the output file I don't see the "\iff" symbol. When running "texexec test_math.tex", everything is working fine. Any help would be appreciated, and sorry if this is a stupid question. Thank you, Andrei Dragomir
On Thu, Jul 16, 2009 at 6:32 PM, Andrei Dragomir
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! -- luigi
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
Aditya Mahajan wrote:
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?
well, math-pln is loaded beforemath-ini and that one does the definitions so you need to revert that order in context.mkiv probably ok now that math-pln is stripped to the bone but of course *you* will test it -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thu, 16 Jul 2009, 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 -----------
When running "context test_math.tex", in the output file I don't see the "\iff" symbol. When running "texexec test_math.tex", everything is working fine.
This works with the current alpha (most likely Hans fixed it). Aditya
On Thu, 16 Jul 2009, Aditya Mahajan wrote:
On Thu, 16 Jul 2009, 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 -----------
When running "context test_math.tex", in the output file I don't see the "\iff" symbol. When running "texexec test_math.tex", everything is working fine.
This works with the current alpha (most likely Hans fixed it).
Sorry, was testing using an old version .... Aditya
participants (4)
-
Aditya Mahajan
-
Andrei Dragomir
-
Hans Hagen
-
luigi scarso