From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54994 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: TeX as an eBook engine? Date: Thu, 03 Dec 2009 09:58:20 +0100 Message-ID: <4B177DAC.80408@wxs.nl> References: <60DB6B0E-C759-43E0-A13F-54AB7D0D5560@wideopenwest.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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259830716 10158 80.91.229.12 (3 Dec 2009 08:58:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 08:58:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 03 09:58:29 2009 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.50) id 1NG7W9-0008TI-EU for gctc-ntg-context-518@m.gmane.org; Thu, 03 Dec 2009 09:58:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8FE5FC9CC4; Thu, 3 Dec 2009 09:55:14 +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 2ogjRNJzpHXX; Thu, 3 Dec 2009 09:55:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5AEE2C9CA2; Thu, 3 Dec 2009 09:55:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0FB5C9CA2 for ; Thu, 3 Dec 2009 09:55:09 +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 IJo6wVc1B222 for ; Thu, 3 Dec 2009 09:55:07 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 96934C9C71 for ; Thu, 3 Dec 2009 09:55:07 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2a3) with ESMTP id 9497-1713362 for ; Thu, 03 Dec 2009 09:56:57 +0100 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: X-Authenticated-User: hagen@controller-9 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:54994 Archived-At: Henning Hraban Ramm wrote: > > Am 2009-12-02 um 18:03 schrieb Otared Kavian: > >> For those on the list who didn't see this thread on XeTeX mailing list: >> How about ConTeXt and mkiv? > > Hm, your subject is a bit misleading - I thought you wanted to *create > eBooks* using TeX. That would be much more useful... > Even if some eBook devices can display PDF, AFAIK we still cannot create > the re-flowable variant (needs a XML stream, see other discussions about > tagged PDF or PDF/X). > > In one of the latest c't (German computer magazine) there was a nice > article on creating eBooks in Epub format (HTML based). Even if I don't > intend to buy an eBook device, it made me think again about using > another input language than TeX to create HTML, ConTeXt and whatever > from one source. Knut Lickert recently gave a talk on "Creole for LaTeX" > (Creole is an unified Wiki markup syntax), I'm still planning to use > ReStructuredText (Python's documentation syntax) - note to self: finally > adapt that LaTeX output filter to ConTeXt! Processing epub is rather trivial. On my machine I have a sample style and processign boils down to: context --ctx=x-epub --autopdf dickens-a-tale-of-two-cities.epub However, the main reason for not posting the style is that I have not much reason currently to work on it. Also, as epub is effectively just packaged html, one ends up with styles for each specific book ... you just don't want to know what mess is hidden in those epub files (for example i ran into using h2 for the chapter numbers and h3 for the chapter title). Hans ___________________________________________________________________________________ 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 ___________________________________________________________________________________