Fixed:

\startquestion should be \beginquestion
\startanswer should be \beginanswer

and

\stopquestion should be \endquestion
\stopanswer should be \endanswer


Thanks a lot.


Em 17/02/2009, às 6:53, Wolfgang Schuster escreveu:


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

_______________________________________________________________________ ____________ 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
_______________________________________________________________________ ____________


Abraços,

Jorge Manuel de Almeida Magalhães

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to