From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63272 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: ConTexT conversion to html/rtf/odt Date: Sat, 6 Nov 2010 17:00:38 -0400 (EDT) Message-ID: References: <20101106203359.208dccb6@arcor.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-658889109-1289077239=:12550" X-Trace: dough.gmane.org 1289077270 29124 80.91.229.12 (6 Nov 2010 21:01:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 6 Nov 2010 21:01:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 06 22:01:00 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 1PEpsi-0001P1-4t for gctc-ntg-context-518@m.gmane.org; Sat, 06 Nov 2010 22:01:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 18965C9A8A; Sat, 6 Nov 2010 22:00:59 +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 SMB4cTzmTgxK; Sat, 6 Nov 2010 22:00:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D0A2CA80D; Sat, 6 Nov 2010 22:00:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AB1C4CA80D for ; Sat, 6 Nov 2010 22:00:54 +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 C9cVgUn64v+x for ; Sat, 6 Nov 2010 22:00:42 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id B7169C9A8A for ; Sat, 6 Nov 2010 22:00:42 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA6L0eKq022828 for ; Sat, 6 Nov 2010 22:00:42 +0100 Original-Received: FROM adi-netbook (bas3-montreal02-1096680238.dsl.bell.ca [65.94.3.46]) By tombraider.mr.itd.umich.edu ID 4CD5C1F7.9B315.25419 ; Authuser adityam; 6 Nov 2010 17:00:39 EDT In-Reply-To: <20101106203359.208dccb6@arcor.com> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06DrV0FiH - 29123b6a5d1f - 20101106 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:63272 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-658889109-1289077239=:12550 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE 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=20 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=3Dyes] > \starttext > > \section{Some section} > > \startitemize[1] > \item bla bla > \stopitemize > > \stoptext Run "context filename". This will create a filename.export file in your=20 current directory that looks like this:
1 Some section =E2=80=A2 bla bla
> work for ConTeXt and then I would like to know what other alternatives > I have. Also regarding rtf or/and odt. Since you do not need any fancy features, a simpler option is to use=20 markdown as your starting format and use pandoc to convert it to context,= =20 html, and odt. However, creating even slightly complicated tables in=20 markdown is a pain, unless your editor supports an ascii table mode. Aditya --8323328-658889109-1289077239=:12550 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-658889109-1289077239=:12550--