Hi Alan,
I had an analogous issue and after cleaning the luatex-cache and re-installing
it was solved (working under MacOS 10.14).
Maybe you can try that too?
Best regards: OK
> On 18 Sep 2019, at 21:41, Alan Bowen wrote:
>
> In processing a book that I have edited, there is no problem
Dear Jeroen,
If you change “pair a;” to “numeric a;” in the second MPcode, it draws a circle
without error.
Best regards,
Dalyoung
>
> \placefloatright{}{
> \startMPcode
> pair a;
numeric a;
> a := 2cm;
> draw fullcircle scaled (2*a);
> \stopMPcode}
>
> \stoptext
>
In processing a book that I have edited, there is no problem using
LuaMetaTeX, Version 2.00.0, 2019.07.31
But with LuaMetaTeX, Version 2.00.0, ConTeXt ver: 2019.09.10,
the process stops in a specific chapter and quits with a fatal error:
tex error > tex error on line 26 in file
On Wed, 18 Sep 2019, Jeroen wrote:
\startMPcode
pair a;
a := 2cm;
You define a to be a pair and then assign it to a number. Metapost is
telling you that you cannot do that:
(xpart a,ypart a)
56.6929
! Equation cannot be performed (pair=numeric).
;
<*> pair a; a := 2cm;
draw fullcircle
I have been working with MetaPost as following, which worked fine with one
startMPcode section with variables, but with 2 startMPcode Metapost
sections, it keeps telling me the numbers dont add up:
\definefloat [floatright][figure]
\setupfloat [floatright][default={right,none}]