Hi Mikael, You are correct, the position of \prime depends on whether there is a next character or not after it, and it seems that this has an effect on its position for characters having a subscript as in $f_{1}''(x) \neq f''_{1}(x)$ $f'f''f'’'$ Best regards: OK
On 22 May 2017, at 08:51, Mikael P. Sundqvist
wrote: On Sun, May 21, 2017 at 10:29 PM, Otared Kavian
wrote: Hi Mikael,
I agree with what you are reporting: the current behavior of the \prime operator is not completely satisfying when using ConTeXt mkiv, while in mkii it is the most satisfying (in my opinion…).
The turn around consisting in using $f^{‘’}$ or $f^{\prime\prime}$, or even $f^{{}^{\prime\prime}}$, is not really satisfying either.
But I think (or I hope that) at some point Hans will fix it in mkiv.
Best regards: OK
On 21 May 2017, at 08:14, Mikael P. Sundqvist
wrote: […] And just for reference, the document below gives the attached pdf, compiled with lualatex. I think the location of the primes there look better. Sorry for spamming about this issue, but I think it is important for all people writing math with ConTeXt.
/Mikael
\RequirePackage{luatex85} \documentclass[border=2pt]{standalone}
\usepackage{unicode-math} \setmainfont{LucidaBrightOT} \setmathfont{LucidaBrightMathOT}
\begin{document} $f'f''$ \end{document}
___________________________________________________________________________________ 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 ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________
Otared, thank you for confirmation. I also hope there will be a fix soon.
In the meantime, I put yet another test file. The location of the primes depends on the next character (I use, at the moment current version: 2017.05.15 21:48)
/Mikael
\definefontfamily[myface][rm][Lucida Bright OT] \definefontfamily[myface][mm][Lucida Bright Math OT] \setupbodyfont[myface,10pt] \starttext \startTEXpage[offset=2pt] $f'(x)f''(x)f'f''$ \stopTEXpage \stoptext
___________________________________________________________________________________ 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 ___________________________________________________________________________________