18 Jan
2012
18 Jan
'12
11:07 p.m.
Am 18.01.2012 um 22:59 schrieb Otared Kavian:
Hi,
It seems that with the recent updates, I found that the following minimal example does not work in mkii, while it does in mkiv:
\define[1]\MyTest{The test variable is #1.\par}
\starttext Is this a bug in mkii? \MyTest{3} \stoptext
Am I doing something wrong, or mkii has changed despite being officially « frozen », a side effect of the global warming…? :-)
This is a limitation of the MkII version of the \define command, you can’t use \par in the replacement text but you can use \endgraf which does also end a paragraph. Wolfgang