Hi Khaled, just checking ... did the code related to display operator heights change as part of the math cleanup? Hans On 25-5-2012 00:40, Aditya Mahajan wrote:
On Fri, 25 May 2012, Mojca Miklavec wrote:
On Fri, May 25, 2012 at 12:05 AM, Mojca Miklavec wrote:
On Thu, May 24, 2012 at 3:59 PM, Aditya Mahajan wrote:
Any idea when this was introduced (or if this bug was always present)?
beta 2011.07.14 16:09
Oh, I'm sorry, nonsense. That was the last working one. The one introducing the bug was 2011.07.19 10:35
https://github.com/mojca/context/commit/a3f9fa299ecc3c9d8c3989c6e219dd9a1bce...
In that version the functionality was completely broken (overlapping limits), then it improved with time a bit, but never recovered properly back.
I tested with asana, hoping that opentype fonts will behave better, but asana is hopelessly broken in the other direction: too big integrals and sums. To fix asana, change
DisplayOperatorMinHeight = more,
to
DisplayOperatorMinHeight = 0,
(or just comment it) in asana-math.lfg. After that, you can at least use asana math as a work around.
Euler and Stix fonts work OK, and surprisingly so is txfonts! I thought that px- and tx-fonts were handled identically. Why does the bug only appear with px-fonts?
Comparing the two files, I noticed that skewchar is not set in px fonts. Line 22 of px-math.lfg should be:
{ name = "texgyrepagella-bold.otf", vector = "tex-bf", skewchar=0x7F } ,
(but even after that change $\hat {\bi A}$ is set incorrectly).
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- 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 -----------------------------------------------------------------