11 Dec
2011
11 Dec
'11
11:59 p.m.
On 2011-12-11 Paul Menzel
[…]
I then copied it into `\{start,stop}useMPgraphic`, removed the `end ;` and `{begin,end}fig` and replaced `{e,b}tex` by `textext()` but still get the following error.
I didn't check you code (try to make a minimal example next time), but the problem seems to be the combination of equations and labels. When labels are present, the file is processed twice and the equations are also read twice (in MkIV). It hasn't been fixed for ages, that probably means it will stay. One workaround is to substitute the equations with assignments or to “save” the values beforehand. See also: http://archive.contextgarden.net/message/20101205.035356.1b7bfb72.en.html Marco