[NTG-context] Making exams in Context

Hans Hagen pragma at wxs.nl
Wed May 24 11:07:11 CEST 2006

� wrote:
> I need to prepare an exam. My choice is obviously ContexT, but
> I have some difficulty in generating multiple choice questions in 
> random order.
>   Each student will have one different exam.
> In Latex I use MUCH (http://fourier.math.uoc.gr/~mk/much/). Did you can 
> tell me if it has a similar
> solution in ConTexT?
attached is something i made in 2000

i just tested it and it should work ok in the latest context / acrobat

texexec examn.tex

or if you like

texexec examn.xml

(which assumes a recent texexec otherwise you need to say --env=ex-tex)

the code that deals with the randomixaiton is in m-examn.tex


                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl

More information about the ntg-context mailing list