On 6/7/2017 5:12 PM, Otared Kavian wrote:
Hi,
Indeed using \frac yields a weird result in the example sent by Mikael. Compare the output of the three formulas below, with or without \setupmathradical[sqrt][alternative=default].
The results are correct using \over in both cases, while the first one is weird when using \frac and \setupmathradical[sqrt][alternative=default].
Best regards: OK %%% start of test file \starttext \startbuffer[math] \startformula \sqrt{1+\Bigl(\frac{f(x_k)-f(x_{k-1})}{x_k-x_{k-1}}\Bigr)^2} \stopformula
\startformula 1+\Bigl(\frac{f(x_k)-f(x_{k-1})}{x_k-x_{k-1}}\Bigr)^2 \stopformula
\startformula \sqrt{1+\Bigl({f(x_k)-f(x_{k-1}) \over x_k - x_{k-1}}\Bigr)^2} \stopformula \stopbuffer
\getbuffer[math] \hairline
\setupmathradical[sqrt][alternative=default]
\getbuffer[math]
\stoptext interesting side effect of Ustack (i'll look at it)
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------