From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63279 Path: news.gmane.org!not-for-mail From: Manfred Lotz Newsgroups: gmane.comp.tex.context Subject: Re: ConTexT conversion to html/rtf/odt Date: Sun, 7 Nov 2010 11:54:58 +0100 Message-ID: <20101107115458.424a2ac7@arcor.com> References: <20101106203359.208dccb6@arcor.com> 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: dough.gmane.org 1289127911 526 80.91.229.12 (7 Nov 2010 11:05:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Nov 2010 11:05:11 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 07 12:05:06 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 1PF33a-00074h-Lh for gctc-ntg-context-518@m.gmane.org; Sun, 07 Nov 2010 12:05:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC968CA818; Sun, 7 Nov 2010 12:05:05 +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 0RHyw0FMsE1s; Sun, 7 Nov 2010 12:05:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA976CA819; Sun, 7 Nov 2010 12:05:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16ED6CA819 for ; Sun, 7 Nov 2010 12:05:02 +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 HkzGw0HwTp-x for ; Sun, 7 Nov 2010 12:04:59 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id A79ECCA818 for ; Sun, 7 Nov 2010 12:04:59 +0100 (CET) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA7B4u6M020254 for ; Sun, 7 Nov 2010 12:04:58 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PF33P-00070R-Tx for ntg-context@ntg.nl; Sun, 07 Nov 2010 12:04:55 +0100 Original-Received: from dslb-084-058-013-250.pools.arcor-ip.net ([84.58.13.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Nov 2010 12:04:55 +0100 Original-Received: from manfred.lotz by dslb-084-058-013-250.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Nov 2010 12:04:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-058-013-250.pools.arcor-ip.net X-Newsreader: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-unknown-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0DDsb4VEa - c7c082efd0c5 - 20101107 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 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:63279 Archived-At: On Sat, 6 Nov 2010 17:00:38 -0400 (EDT) Aditya Mahajan wrote: > On Sat, 6 Nov 2010, Manfred Lotz wrote: > > > I'm in a situation where I have to do some documentation which > > should be available in html and rtf/odt (would be nice to have). > > There is an experimental feature of converting ConTeXt to XML. You > can then process XML using standard XML tools to get HTML. > > > I do not need any fancy stuff, just simple things: ordered, > > unordered lists, verbatim, tables etc. > > > \setupbackend[export=yes] ! Undefined control sequence. l.1 \setupbackend [export=yes] This doesn't work for me. Perhaps my context from TeXLive 2010 is too old. Not quite sure about that. > > Since you do not need any fancy features, a simpler option is to use > markdown as your starting format and use pandoc to convert it to > context, html, and odt. However, creating even slightly complicated > tables in markdown is a pain, unless your editor supports an ascii > table mode. > Thanks for pointing me to pandoc. On the one hand it works very well but on the other hand it (markdown) seems a bit too rudimentary. -- Manfred ___________________________________________________________________________________ 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 ___________________________________________________________________________________