[NTG-context] Metfun macro for triangle

Aditya Mahajan adityam at umich.edu
Thu Mar 24 15:14:05 CET 2011


On Thu, 24 Mar 2011, Stefan Müller wrote:

>
>
> On 24.03.2011 10:57, Otared Kavian wrote:
>> Hi Stefan,
>> 
>> Thanks for the quick answer and solution!
>> Your solution works perfectly in mkiv; however typesetting with mkii 
>> results in
>> 	! Undefined control sequence.
>> 	l.3 \startMPdefinitions
>> Is there a solution with mkii?
>
> Then just drop the MPdefinitions section and put the complete vardef before 
> your normal mp code in the MPcode section. That should work, I think.

Or you can use

\startMPinclusions[+]
....
\stopMPinclusions

[+] appends to the existing content of MPinclusion, so you can have 
multiple such sections.

Aditya


More information about the ntg-context mailing list