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
%%% end of test file


On 7 Jun 2017, at 16:50, Mikael P. Sundqvist <mickep@gmail.com> wrote:
[…]

Hans,

maybe the \setupmathradical[sqrt][alternative=default] was not so
successful after all. Or maybe this is a bug:

%%% start of test file
\setupmathradical[sqrt][alternative=default]

\starttext
\startformula
\sqrt{1+\Bigl(\frac{f(x_k)-f(x_{k-1})}{x_k-x_{k-1}}\Bigr)^2}
\stopformula
\stoptext
%%% stop of test file

The numerator looks too small in my opinion. Compiled with 2017.06.06 13:22.

/Mikael
<ctx-example22.pdf>___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________