Am 17.02.2009 um 19:33 schrieb batela:
thanks for your reply. The original code is written by Hans and had worked perfectly (see the attach).
Are you sure, this can't be because \startquestion and \startanswer are nowhere defined. It works after a few modification. 1. You don't need the \startelements ... \stopelements block at the begin of the file, this is already done in the core. 2. Use in your document \startQuestion ... \stopQuestion and \startAnswer ... \stopAnswer *or* replace \defineenumeration[Question] with \defineenumeration[question] and \defineenumeration[Answer] with \defineenumeration[answer] and move [text=Question] to the definition for the question. Replace also all \startAnswer with \startanswer, \stopAnswer with \stopanswer ... Wolfgang