On Tue, 16 Feb 2010, Roger Mason wrote:
Hello,
I need to convert an exam written in ConTeXt to an ascii text file like
the following:
NewQuestion,MC,
Title,Which is gem,
QuestionText,Which one of the following is regarded as a gem?
Points,1,
Difficulty,1,
Image,,
Option,0,Feldspar,,
Option,100,Ruby,,
Option,0,Sodium chloride,,
Option,0,Quartz,,
Hint,,,,
Feedback,,,,
Before I go to the trouble of creating a parser to read the ConTeXt
input and write the desired output I'm wondering if this can be done
with ConTeXt itself.
Can you show a small example of the corresponding tex source?
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________