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