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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to