dejavu math fallback?
Hi Using math with dejavu as the bodyfont produces: ! Math error: parameter \Umathquad\displaystyle is not set. minimal example: --- \setupbodyfont[dejavu] \starttext $e = mc^2$ \stoptext --- Installing the xits-math (https://github.com/khaledhosny/xits-math/) solves the problem. Shouldn't there be a fallback to lmmath or similar? Log using context without xits-math attached. Adam
On 16-6-2011 3:47, Reviczky, Adam wrote:
Hi
Using math with dejavu as the bodyfont produces: ! Math error: parameter \Umathquad\displaystyle is not set.
minimal example: --- \setupbodyfont[dejavu] \starttext $e = mc^2$ \stoptext ---
Installing the xits-math (https://github.com/khaledhosny/xits-math/) solves the problem. Shouldn't there be a fallback to lmmath or similar?
xits is part of the minimals \setupbodyfont[dejavu] will load the predefined dejavu rm/ss/tt/mm combination and one can define another one if needed (just copy the 6 lines and replace the mm one) making a complex fallback mechanism is not worth the trouble Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
xits is part of the minimals
It is certainly on contextgarden: http://minimals.contextgarden.net/current/fonts/extra/xits/fonts/opentype/pu... But I don't think it comes with the minimals. I just did a fresh minimals setup and it gives me the same: ! Math error: parameter \Umathquad\displaystyle is not set. along with lines like: fonts > defining > forced type otf of xits-math not found I also can't find the otf files in the minimals setup (bin, tex). I hope it's not just me ... Adam
Hi list,
On Thu, Jun 16, 2011 at 11:16, Reviczky, Adam
xits is part of the minimals
It is certainly on contextgarden: http://minimals.contextgarden.net/current/fonts/extra/xits/fonts/opentype/pu...
But I don't think it comes with the minimals.
I just did a fresh minimals setup and it gives me the same: ! Math error: parameter \Umathquad\displaystyle is not set.
along with lines like: fonts > defining > forced type otf of xits-math not found
I also can't find the otf files in the minimals setup (bin, tex). I hope it's not just me ...
It's not. Is there a simple/smart way to add these to the minimals, in texmf-local maybe ? -- Cédric
Adam ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (3)
-
Cedric Mauclair
-
Hans Hagen
-
Reviczky, Adam