3 Nov
2011
3 Nov
'11
8:44 p.m.
Am 03.11.2011 um 20:37 schrieb Stefan Müller:
Hi list,
I just played a bit with the nice new xtables. It seems as if "\stopxtable" does not work if used inside a custom macro. I get a "Runaway argument" error with the current standalone if I uncomment "\Doesnt" in the following example.
\define\Works{\startxtable \startxrow \startxcell works \stopxcell \stopxrow} \define\Doesnt{\startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable}
\starttext \Works \stopxtable %\Doesnt \stoptext
Did I miss something or is this a bug?
The stable environment stores the content in a buffer and you can’t put the start and stop commands of a buffer in different commands. Wolfgang