Re: [NTG-context] Bug: \textext inside \*MPinclusions causes error

2017-02-15 Thread Sergey Slyusarev
> It's a single tex run so you can do: > \starttext > \newbox\MyMpBox \setbox\MyMpBox\hbox{foo} > \startMPcode >draw textext("\copy\MyMpBox") ; > \stopMPcode > \startMPcode >draw textext("\copy\MyMpBox") rotated 45; > \stopMPcode > \stoptext This is not much different from: \starttext \s

Re: [NTG-context] Bug: \textext inside \*MPinclusions causes error

2017-01-22 Thread Sergey Slyusarev
On Tue, Jan 17, 2017 at 11:35 AM, Hans Hagen wrote: > On 1/16/2017 8:31 PM, Sergey Slyusarev wrote: > >> the (subtle) difference between the two [*MPinclusions and >>> */MPinitializations/] is not a bug but a feature >>> >> >> If I understood correctly,

Re: [NTG-context] Bug: \textext inside \*MPinclusions causes error

2017-01-16 Thread Sergey Slyusarev
> the (subtle) difference between the two [*MPinclusions and > **MPinitializations*] is not a bug but a feature If I understood correctly, *MPinitializations affects everything and can't be assigned to a specific instance (or can it?), in some cases (like mine) this difference is not so subtle.

Re: [NTG-context] Bug: \textext inside \*MPinclusions causes error

2017-01-12 Thread Sergey Slyusarev
> you can use > \startMPinitializations > \stopMPinitializations > as these are expanded each graphic run Thank you! This works fine with minimal example (in which the behaviour in question appears). But in specific context in which this problem affects me, this solution breaks many things: Ther

[NTG-context] Bug: \textext inside \*MPinclusions causes error

2017-01-11 Thread Sergey Slyusarev
Hi, i found the following bug (likely) some time ago: When \textext (or any other text generating thing like btex etex etc.) is present inside \*MPinclusions and \*MPinclusions are followed by \*MPcode ConTeXt returns error: Equation cannot be performed (color=vacuous). Minimal example would be: