Hi Hans and Taco,
It seems that with the latest mkiv (version 2011.05.11 10:18, and LuaTeX
version beta-0.70.0-2011050613 (rev 4250) ), there is a slight error for the
spacing of the bounds in the integrals when using inline maths, at least for
some fonts.
For your information the example is below, and the resulting PDFs are available
here:
http://dl.dropbox.com/u/4316076/inline-math-spacing-libertine.pdf
http://dl.dropbox.com/u/4316076/inline-math-spacing-LM.pdf
http://dl.dropbox.com/u/4316076/inline-math-spacing-palatino.pdf
http://dl.dropbox.com/u/4316076/inline-math-spacing-termes.pdf
http://dl.dropbox.com/u/4316076/inline-math-spacing-xits.pdf
Best regards: OK
%% begin bug-inline-math.tex
%\setupbodyfont[xits] % gives the correct spacing
\setupbodyfont[palatino] % gives the wrong spacing
%\setupbodyfont[libertine,12pt] % gives a slightly wrong spacing
%\setupbodyfont[termes] % gives the wrong spacing
% Latin Modern gives also a slightly wrong spacing too
\starttext
By the way, $\int_{0}^{2\pi} \sin(x)dx = 0$, while $\sum_{n=1}^\infty n^{-1} =
+\infty$ and
\startformula
\int_{0}^{2\pi} \sin^2(x)dx = \pi,\qquad \sum_{n=1}^\infty {1\over n^2 } =
{\pi^2\over 6}.
\stopformula
\stoptext
%% end bug-inline-math.tex
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________