[NTG-context] \par in macro definition (mkii issue)

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Jan 18 23:07:57 CET 2012

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.


More information about the ntg-context mailing list