From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37059 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: Doc to ConTeXt [was Re: HTML to ConTeXt] Date: Fri, 26 Oct 2007 05:37:52 -0600 Organization: Colorado State University Message-ID: References: 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 1193398674 11713 80.91.229.12 (26 Oct 2007 11:37:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2007 11:37:54 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 26 13:37:55 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IlNVe-0000Cn-D5 for gctc-ntg-context-518@m.gmane.org; Fri, 26 Oct 2007 13:37:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 916901FB0B; Fri, 26 Oct 2007 13:37:41 +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 02046-01-5; Fri, 26 Oct 2007 13:37:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D20021FBEF; Fri, 26 Oct 2007 13:37:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2506E1FBEF for ; Fri, 26 Oct 2007 13:37:23 +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 02046-01-4 for ; Fri, 26 Oct 2007 13:37:16 +0200 (CEST) Original-Received: from trueband.net (director.trueband.net [216.163.120.8]) by ronja.ntg.nl (Postfix) with SMTP id A15781FB0B for ; Fri, 26 Oct 2007 13:37:15 +0200 (CEST) Original-Received: (qmail 3509 invoked by uid 1006); 26 Oct 2007 11:37:14 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(0.1/100.0):. Processed in 2.083197 secs); 26 Oct 2007 11:37:14 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.5) by -v with SMTP; 26 Oct 2007 11:37:11 -0000 Original-Received: (qmail 12398 invoked from network); 26 Oct 2007 11:37:09 -0000 Original-Received: from unknown (HELO your-b27fb1c401) (75.104.82.83) by -v with SMTP; 26 Oct 2007 11:37:09 -0000 In-Reply-To: User-Agent: Opera Mail/9.20 (Win32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37059 Archived-At: On Thu, 25 Oct 2007 22:22:46 -0600, Aditya Mahajan wrote: >> This looks very promising. Perhaps some of us can help the developers to >> improve the ConTeXt support. >> > I will explore pandoc in more detail in the future. I am more > interested in it from the point of view of understanding Haskell > parsers, but improving the context output will definitely not hurt. Ah, you're missing a big point in your discovery ;-) As I told Andrea: For relatively simple documents (like the kind we use in academic journals) it seems we can now 1) convert doc to odt using OOo 2) convert odt to markdown using http://wiki.services.openoffice.org/wiki/Odt2txt.py 3) use the pandoc utility to convert markdown to ConTeXt. As for the pandoc list, we may be able to influence the final ConTeXt output by making suggestions, reporting bugs etc. If we can convert Odt2txt.py to lua maybe this workflow can be partly integrated into ConTeXt itself someday.***** The pandoc developer seems interested in improving ConTeXt support (see my forwarded mail) so this is a good opportunity for all those who need a decent doc=>context workflow. Best wishes Idris *****Or maybe we can just port Odt2txt.py to give direct ConTeXt output and forget the markdown layer entirely. Any ideas on how hard that would be? -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________