From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22725 Path: news.gmane.org!not-for-mail From: Idris Samawi Hamid Newsgroups: gmane.comp.tex.context Subject: DOC/RTF to ConTeXt via XML [was: Re: ConTeXt to RTF Conversion] Date: Mon, 26 Sep 2005 15:31:39 -0600 Message-ID: <436E5F8C@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1127770418 32058 80.91.229.2 (26 Sep 2005 21:33:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2005 21:33:38 +0000 (UTC) Cc: phthenry@iglou.com Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 26 23:33:35 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EK0Zl-0007wn-Iu for gctc-ntg-context-518@m.gmane.org; Mon, 26 Sep 2005 23:31:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 574E5127EE; Mon, 26 Sep 2005 23:31:52 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19330-01; Mon, 26 Sep 2005 23:31:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7C38A127E3; Mon, 26 Sep 2005 23:31:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E400127E3 for ; Mon, 26 Sep 2005 23:31:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19242-05-3 for ; Mon, 26 Sep 2005 23:31:46 +0200 (CEST) Original-Received: from eagle.colostate.edu (eagle.acns.colostate.edu [129.82.100.90]) by ronja.ntg.nl (Postfix) with ESMTP id 96BA912775 for ; Mon, 26 Sep 2005 23:31:45 +0200 (CEST) Original-Received: from lamar.ColoState.EDU (lamar.acns.colostate.edu [129.82.100.75]) by eagle.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j8QLVcI206292; Mon, 26 Sep 2005 15:31:38 -0600 Original-Received: from webmail.colostate.edu (csunts4.acns.colostate.edu [129.82.100.135]) by lamar.ColoState.EDU (AIX5.3/8.11.6p2/8.11.0) with ESMTP id j8QLVcD3342700; Mon, 26 Sep 2005 15:31:38 -0600 X-WebMail-UserID: ishamid Original-To: Christopher Creutzig , mailing list for ConTeXt users X-EXP32-SerialNo: 00002247, 00002264 X-Mailer: Infinite Mobile Delivery (Hydra) SMTP v3.62.01 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22725 Archived-At: Thank you so much, Christopher, for your detailed answer! >===== Original Message From Christopher Creutzig ===== >Idris Samawi Hamid wrote: >> Would it be possible to define an xml format for the journal so that I >> could more easily process both ConTeXt/LaTeX articles as well as the >> docs and rtfs I generally receive? Is this more work than it's worth? >> It's a humanities journal, so little-to-no math. > If your most pressing problem is the variety of data formats you >receive articles in, then no, xml won't help. You'd still need some way >of transforming the articles to the format of your choice. That being >said, XML may be a very good intermediate step from Word or rtf to >ConTeXt, if only because OpenOffice has pretty advanced import filters >and stores its data in a straightforward xml format that should be easy >to transform, assuming you start with a sufficiently rich set of >predefined formats and somehow get people to either use them (fat >chance, I know) fat chance, perhaps, but maybe...(see below) >or have them be sufficiently different that you can >automatically or at least semi-automatically classify the author's >formatting to your presets. In really simple cases (e.g., pure prose) >you may get away with accepting HTML and converting that. Paul Tremblay's pages seem very useful in this regard: http://getfo.sourceforge.net/context_xml/contents.html Question: Is it possible to design a doc or rtf template that Open Office can convert to a sane, consistent xml format? If the Tremblay approach is rich enough, that would solve a lot of problems! Here is my idea: 1. Give each author a doc/rtf template for formatting their article; 2. Use OpenOffice to convert to xml; 3. Use the Tremblay method (have not tried it yet) to process this in Context. Question: Does the entire journal have to be in programmed in xml or can ConTeXt process xml locally? For example, I may have my own article done in COnTeXt mixed with other articles done in rtf=>xml. Any other advice (and/or pitfalls to watch for) would be appreciated. This sounds very promising! Best Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523