18 Nov
2010
18 Nov
'10
12:05 p.m.
Am 18.11.2010 um 12:15 schrieb Glen Callaghan:
Hello,
I'm having some problems using blocks and enumeration together.
I can get it to work using something like this (see complete minimal example further down):
\beginBlock \startEnum Some text A \stopEnum \endBlock
But it doesn't seem to work if I try to define a command (macro?) to keep my source file a bit tidier.
You can’t use blocks within other commands but when you use only enumerations in your block you can simplify your code a little bit. \defineblock[Block] \defineenumeration[Enum][location=left,text=Test] \setupblock[Block][before=\startEnum,after=\stopEnum] \starttext \beginBlock Some text A \endBlock \stoptext Wolfgang