Hi, I uploaded a new beta. There are some changes in the math font handling: (1) bold: % \setupbodyfont[lucidanova] % \setupbodyfont[palatino] % \setupbodyfont[libertine] % \setupbodyfont[xits] \setuphead[chapter][style=\bfd] \starttext \chapter{Test \m{a=b^{2c}} and \m{\sqrt{x^2}}} { Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par} {\bf Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par} {\tfd Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par} {\bfd Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par} {\bfd Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par} \stoptext When a font has bold (like the upcoming lucida) you get full autobold support, otherwise you get substitution bold, which works ok for most cases. (2) bidi % example from the xits suite % \setupbodyfont[xits] \setupbodyfont[xitsbidi] \setupalign[r2l] \starttext \setupmathematics[align=r2l] \startformula \sqrt{ف^2\over 4ب} \eqno(1) \stopformula \setupmathematics[align=l2r] \startformula \sqrt{x^2\over 4x} \eqno(1) \stopformula \setupmathematics[align=r2l] \startformula \sum^\infty_{س=0} س^2 \eqno(2) \stopformula \startformula \left(\root{2} \of{155}\right) \stopformula \startformula \left[\int^{55}_{123} 666^3\right] \qquad\textstyle\left[\int^{55}_{123} 666^3\right] \stopformula \startformula \left\{\sum^{55}_{123} 666^3\right\} \stopformula \startformula \sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{55}}}}}}}}}} \stopformula \startformula 5 < 6 > 4 \stopformula \startformula 5 \leq 6 \geq 7 \stopformula \stoptext This works for xits as it comes with the right shapes. Currently bidi must be loaded explicitly because more is loaded but that might become automatic at some point when r2l document alignment kicks in. (3) Math following \bfa etc is somewhat faster now. 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 -----------------------------------------------------------------
participants (1)
-
Hans Hagen