From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63277 Path: news.gmane.org!not-for-mail From: John Haltiwanger Newsgroups: gmane.comp.tex.context Subject: Re: ConTexT conversion to html/rtf/odt Date: Sun, 7 Nov 2010 10:18:53 +0000 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="===============0498411806==" X-Trace: dough.gmane.org 1289125158 23410 80.91.229.12 (7 Nov 2010 10:19:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Nov 2010 10:19:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 07 11:19:14 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 1PF2LB-0005zV-Tl for gctc-ntg-context-518@m.gmane.org; Sun, 07 Nov 2010 11:19:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5C307CA81A; Sun, 7 Nov 2010 11:19:13 +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 jRSza7SHPWjn; Sun, 7 Nov 2010 11:19:10 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 10276CA817; Sun, 7 Nov 2010 11:19:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF3A8CA817 for ; Sun, 7 Nov 2010 11:19:08 +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 0SwPtdc303dO for ; Sun, 7 Nov 2010 11:18:56 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 8A238CA816 for ; Sun, 7 Nov 2010 11:18:56 +0100 (CET) Original-Received: from mail-gw0-f41.google.com (mail-gw0-f41.google.com [74.125.83.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA7AItcH020365 for ; Sun, 7 Nov 2010 11:18:55 +0100 Original-Received: by gwb11 with SMTP id 11so3198725gwb.14 for ; Sun, 07 Nov 2010 02:18:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=32PLOCzZGLhSleNF6qqtG20HZVi5O84xkbV+wF7dVtM=; b=AiKyZuhhQQdt2zZXb+AGGzYWd5hCKHg5yykiCNIeDNwfyrvbCsjqWwMoGrDqtsXcrZ 8t9SqeVqQ7ocxQ3X73s7fvi4BcZLVuqkJi914Xo4x0877Kq2Rsp/L1A9YyDBUDYFazI5 zOrO4m4Oui2Ty+D1xR30voSJFwUyBK9tb9aVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=LpacfhHvym9LlkJbIAnuWfniOTHMdP0m5MSsRg+wSH5Clx+8Xj633/C3Ts3LOMUrkG Q7oHwqzZVJ7voEe3/uvrWXAeBXbf1jHkneSPrfQGrP/CZnlD0SUqJ0Cl60LoVikltEyH COh8j+ORG9XcK3rbp91WzwCm1d6ch+F2RBhkU= Original-Received: by 10.100.171.3 with SMTP id t3mr1440958ane.83.1289125133869; Sun, 07 Nov 2010 02:18:53 -0800 (PST) Original-Received: by 10.100.210.18 with HTTP; Sun, 7 Nov 2010 02:18:53 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cDsaiTVc - e4e9c9defbb4 - 20101107 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:63277 Archived-At: --===============0498411806== Content-Type: multipart/alternative; boundary=0016368e1fe9ace9c4049473d566 --0016368e1fe9ace9c4049473d566 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Nov 6, 2010 at 9:00 PM, Aditya Mahajan wrote: > On Sat, 6 Nov 2010, Manfred Lotz wrote: > > 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 > 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. > > This is indeed a decent solution, one which worked for typesetting my thesis in PDF and HTML. (You get RTF and ODT for free, assuming it doesn't take much glue to get it to look the way you want). I had to write a wrapper script to do regular expression parsing to take care of edge cases (pandoc is written in Haskell, so to 'scripting' the application requires working in that language; my choice was to do a more hackish approach that used a Ruby script that generated multiple markdown files) Aditya, do perhaps know one of these editors with ASCII table mode? > Aditya > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > > --0016368e1fe9ace9c4049473d566 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sat, Nov 6, 2010 at 9:00 PM, Aditya M= ahajan <adityam@u= mich.edu> wrote:
On Sat, 6 Nov 2010, Manfred Lotz wrote:

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 markdo= wn as your starting format and use pandoc to convert it to context, html, a= nd odt. However, creating even slightly complicated tables in markdown is a= pain, unless your editor supports an ascii table mode.


This is indeed a decent solution, one whic= h worked for typesetting my thesis in PDF and HTML. (You get RTF and ODT fo= r free, assuming it doesn't take much glue to get it to look the way yo= u want). I had to write a wrapper script to do regular expression parsing t= o take care of edge cases (pandoc is written in Haskell, so to 'scripti= ng' the application requires working in that language; my choice was to= do a more hackish approach that used a Ruby script that generated multiple= markdown files)

Aditya, do perhaps know one of these editors with ASCII table mode?
=

=A0
= Aditya
__________________________________________________________= _________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________


--0016368e1fe9ace9c4049473d566-- --===============0498411806== 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 ___________________________________________________________________________________ --===============0498411806==--