ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Math symbols issue with context minimals distribution and
@ 2009-07-16 16:32 Andrei Dragomir
  2009-07-16 20:02 ` luigi scarso
  2009-07-17  1:39 ` Aditya Mahajan
  0 siblings, 2 replies; 6+ messages in thread
From: Andrei Dragomir @ 2009-07-16 16:32 UTC (permalink / raw)
  To: ntg-context

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

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Math symbols issue with context minimals distribution and
  2009-07-16 16:32 Math symbols issue with context minimals distribution and Andrei Dragomir
@ 2009-07-16 20:02 ` luigi scarso
  2009-07-17  1:49   ` Aditya Mahajan
  2009-07-17  1:39 ` Aditya Mahajan
  1 sibling, 1 reply; 6+ messages in thread
From: luigi scarso @ 2009-07-16 20:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 888 bytes --]

On Thu, Jul 16, 2009 at 6:32 PM, Andrei Dragomir <adragomir@gmail.com>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!

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1227 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Math symbols issue with context minimals distribution and
  2009-07-16 16:32 Math symbols issue with context minimals distribution and Andrei Dragomir
  2009-07-16 20:02 ` luigi scarso
@ 2009-07-17  1:39 ` Aditya Mahajan
  2009-07-17  1:42   ` Aditya Mahajan
  1 sibling, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2009-07-17  1:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Math symbols issue with context minimals distribution and
  2009-07-17  1:39 ` Aditya Mahajan
@ 2009-07-17  1:42   ` Aditya Mahajan
  0 siblings, 0 replies; 6+ messages in thread
From: Aditya Mahajan @ 2009-07-17  1:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Math symbols issue with context minimals distribution and
  2009-07-16 20:02 ` luigi scarso
@ 2009-07-17  1:49   ` Aditya Mahajan
  2009-07-17 15:54     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2009-07-17  1:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1489 bytes --]

On Thu, 16 Jul 2009, luigi scarso wrote:

> On Thu, Jul 16, 2009 at 6:32 PM, Andrei Dragomir <adragomir@gmail.com>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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Math symbols issue with context minimals distribution and
  2009-07-17  1:49   ` Aditya Mahajan
@ 2009-07-17 15:54     ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2009-07-17 15:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-17 15:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-16 16:32 Math symbols issue with context minimals distribution and Andrei Dragomir
2009-07-16 20:02 ` luigi scarso
2009-07-17  1:49   ` Aditya Mahajan
2009-07-17 15:54     ` Hans Hagen
2009-07-17  1:39 ` Aditya Mahajan
2009-07-17  1:42   ` Aditya Mahajan

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).