From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79242 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Epub woes Date: Thu, 15 Nov 2012 23:17:47 -0500 (EST) Message-ID: References: <50A53B55.3010204@meahan.net> <50A58D5E.5000701@meahan.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353039487 5123 80.91.229.3 (16 Nov 2012 04:18:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2012 04:18:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 16 05:18:16 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TZDNg-00019w-HF for gctc-ntg-context-518@m.gmane.org; Fri, 16 Nov 2012 05:18:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2280610356; Fri, 16 Nov 2012 05:18:06 +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 E57VV5OXIATw; Fri, 16 Nov 2012 05:18:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2F620102D9; Fri, 16 Nov 2012 05:18:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 019F3102D9 for ; Fri, 16 Nov 2012 05:18:00 +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 sYfES1qxdmdD for ; Fri, 16 Nov 2012 05:17:58 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id A9B22102D2 for ; Fri, 16 Nov 2012 05:17:58 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAG4Ht3T015952 for ; Fri, 16 Nov 2012 05:17:57 +0100 Original-Received: FROM mint (bas3-montreal02-1096681419.dsl.bell.ca [65.94.7.203]) By hellskitchen.mr.itd.umich.edu ID 50A5BE71.95706.26448 ; Authuser adityam; 15 Nov 2012 23:17:53 EST In-Reply-To: <50A58D5E.5000701@meahan.net> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) X-Bayes-Prob: 0.0547 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; 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: 0TIo4hUrR - 91f2bb18b6d7 - 20121116 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79242 Archived-At: On Thu, 15 Nov 2012, Bill Meahan wrote: > On 11/15/2012 07:13 PM, Aditya Mahajan wrote: >> >> Have you considered using pandoc to generate epub? >> >> If your text is relatively simple (no multiline math, no fancy image >> scaling, no complicated tables, etc.), then Markdown is a reasonable input >> format. You can use pandoc to translate the text to multiple output formats >> (including ConTeXt). >> >> In general, I have found pandoc's XHTML export to be more predictable than >> that of ConTeXt. I have used pandoc's epub export only for short articles, >> but from what I remember, it does handle cover images and toc correctly. >> >> Aditya >> __ > Nice idea Aditya but in this particular case it won't suffice. > > I'm working on a rather long novel, not a technical document, and my > /primary/ target electronic format is PDF. That PDF can be distributed > electronically or submitted directly to a printer. In the current market, > however, so many people want to read books on their smartphone, dedicated > ebook reader or tablet an author really limits their market if they don't > distribute an ebook version. > > Of course, the two primary ebook formats (in terms of market) are epub and > Kindle which is easy to generate from an epub. Sticking to ConTeXt allows me > to generate PDF, Process PDF and epub from a single source. I can easily > touch up the epub in Sigil if I need to. > > For this kind of "document," typography and excellent typesetting are > extremely important (in the printed/PDF version, anyway). ConTeXt gives me > that. Pandoc does generate ConTeXt output as well, which you can then process the usual way to generate pdf. The advantage of pandoc is that **in addition** to latex/context output, you can generate docbook/epub/html/doc/troff/ and other output formats as well. 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 ___________________________________________________________________________________