Mojca Miklavec wrote:
On Sat, Jun 27, 2009 at 13:39, Alan BRASLAU wrote:
Does anyone use math?  For I am surprised that nobody is complaining.

(recent minimals, since 8 June, mkiv)

The following minimal example

% mkiv
\usetypescript[postscript]
\usetypescript[pagella]

\starttext
default: $A = \pi r^2$

\switchtobodyfont[postscript]
postscript: $A = \pi r^2$

\switchtobodyfont[pagella]
pagella: $A = \pi r^2$
\stoptext

renders incorrectly.
1. no TeXGyre \pi (or other math symbols)
2. the math "r" is strange (outlined and unselectable under Acroread)
3. numerous error messages using libpoppler (okular, evince)

I have confirmed the buggy behaviour offline, but I'm afraid that only
Hans can fix it.

(my off-list response:)
The version that breaks is apparently beta-2009.06.10 (the version
from 8th June still worked). But there are too many changes to find a
single simple reason for the failure. I leave it to Hans to sort it
out ... now that he has the git repository, it should be easier for
him to find the reason :) :) :)

the problem is that px/tx is somewhat messy; if you change this in math-vfu

    { name = "rpxr.tfm", vector = "tex-mr" } ,
    { name = "rpxmi.tfm", vector = "tex-mi", skewchar=0x7F },

you will get pi's but also lots of warnings about missing chars in the vector

the only solution is that someone makes proper vectors for rpxr and rpxmi as i have no time now for that, aditya is away and mojca is in thesis mode (example vectors are in math-vfu.lua)

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
___________________________________________________________________________________

Reply via email to