From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56306 Path: news.gmane.org!not-for-mail From: Roger Mason Newsgroups: gmane.comp.tex.context Subject: [OT] ASCII text output Date: Tue, 16 Feb 2010 12:19:47 -0330 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1266335432 834 80.91.229.12 (16 Feb 2010 15:50:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2010 15:50:32 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 16 16:50:30 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NhPgx-0006Cm-AC for gctc-ntg-context-518@m.gmane.org; Tue, 16 Feb 2010 16:50:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BA492C9CB8; Tue, 16 Feb 2010 16:50:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id D1CTgC1ECw8I; Tue, 16 Feb 2010 16:50:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E77EC9C67; Tue, 16 Feb 2010 16:50:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4A2ABC9C67 for ; Tue, 16 Feb 2010 16:50:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1Y8F2zcbD6Ln for ; Tue, 16 Feb 2010 16:49:54 +0100 (CET) Original-Received: from fitzgerald.ucs.mun.ca (mx5.mun.ca [134.153.232.57]) by balder.ntg.nl (Postfix) with ESMTP id 78A97C9C61 for ; Tue, 16 Feb 2010 16:49:52 +0100 (CET) Original-Received: from perthite.esd.mun.ca (perthite.esd.mun.ca [134.153.36.125]) by fitzgerald.ucs.mun.ca (8.13.1/8.13.1) with ESMTP id o1GFnm0G019498 for ; Tue, 16 Feb 2010 12:19:48 -0330 Original-Received: from perthite.esd.mun.ca (perthite.esd.mun.ca [134.153.36.125]) by perthite.esd.mun.ca (8.14.0/8.14.0) with ESMTP id o1GFnlQY011579 for ; Tue, 16 Feb 2010 12:19:47 -0330 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 134.153.232.57 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:56306 Archived-At: 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. Sorry if this is way OT. Thanks, Roger ___________________________________________________________________________________ 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 ___________________________________________________________________________________