* Strange behavior of '\setupmathematics' and '\iint'
@ 2010-11-26 7:46 Vladimir Lomov
0 siblings, 0 replies; only message in thread
From: Vladimir Lomov @ 2010-11-26 7:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi.
I faced with strange (for me) behavior of combination of
'\setupmathematics' and '\iint'. Consider the following example:
<example name="ex1.tex">
\setupbodyfont[xits]
\setupmathematics[integral=displaylimits]
\starttext
This is a sample.
\startformula
\exp^{\imath\phi}=\cos\phi+\imath\sin\phi
\stopformula
\startformula
\int_{a}^{b}f(x)\text{d}x=F(x)+C
\stopformula
\startformula
\iint_{D}f(x,y)\text{d}x\text{d}y=\mu(D),\quad\text{here $\mu$ is a measure}
\stopformula
\stoptext
</example>
If I comment line with '\etupmathematics' then I could compile the
example without error. The shown example however gives error when
compiled by context (mkiv):
<error>
! Missing } inserted.
<inserted text>
}
<to be read again>
$
\stopdisplaymath ->\stopinnermath $
$\par \afterdisplayspace \par \egroup
\dostopformula ...eter \c!alternative \v!formula }
\dostoptagged \dostoptagge...
l.21 \stopformula
?
</error>
Does this mean that 1) something wrong with font setup? 2) mathematics setup?
P.S. I took fonts (symlink) from TL2010 installed in parallel.
---
WBR, Vladimir Lomov
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-26 7:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-26 7:46 Strange behavior of '\setupmathematics' and '\iint' Vladimir Lomov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).