From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54995 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: TeX as an eBook engine? Date: Thu, 3 Dec 2009 10:12:12 +0100 Message-ID: References: <60DB6B0E-C759-43E0-A13F-54AB7D0D5560@wideopenwest.com> <4B177DAC.80408@wxs.nl> 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: ger.gmane.org 1259831549 12828 80.91.229.12 (3 Dec 2009 09:12:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 09:12:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 03 10:12:22 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 1NG7ja-00059d-Aj for gctc-ntg-context-518@m.gmane.org; Thu, 03 Dec 2009 10:12:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C8F8C9CC4; Thu, 3 Dec 2009 10:09: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 xwMNfuYOpwJb; Thu, 3 Dec 2009 10:09:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35033C9CB3; Thu, 3 Dec 2009 10:09:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2F79C9CB3 for ; Thu, 3 Dec 2009 10:09: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 qbzDuIiFRxHu for ; Thu, 3 Dec 2009 10:08:59 +0100 (CET) Original-Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by balder.ntg.nl (Postfix) with ESMTP id 72AE8C9C9B for ; Thu, 3 Dec 2009 10:08:59 +0100 (CET) Original-Received: by bwz20 with SMTP id 20so882531bwz.34 for ; Thu, 03 Dec 2009 01:12:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=LyyF2fdJGcI9AJqkkZBamL46G5+dHwTEaIy4PLUz4qo=; b=SCZdqjn2MTKiESuWTiSooRQ9NEoFbN9tQHv1tegU2ch2n6YO0yNo9dvb34BQlODr/G YT17Egyr6FECS0ymNtmVgFLzGkDU8h12Z/uUVZrIF1tOBLwbDbSzrs1Hmuq/RAyqXEqA qzjNYBChQVfMP82KSx6dZNUW4rrHwI3tpf/LY= 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=k36vIEnGL9xRs/2uppN9JXOz0zF6x7J/YQBFaYz4rkyX1MBiiVuDOvm80A+awz5bZC FpLJNZJ4em+MKTHPvYES5HeevYeobiRAlaIu0Qe6cDkaeBGOzsxurCv52GgisV984wxJ oR79OCOItNB/OH+5qkgmbJiBW1no9UuKqQfwA= Original-Received: by 10.204.35.11 with SMTP id n11mr1343458bkd.40.1259831532495; Thu, 03 Dec 2009 01:12:12 -0800 (PST) In-Reply-To: <4B177DAC.80408@wxs.nl> 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:54995 Archived-At: On Thu, Dec 3, 2009 at 9:58 AM, Hans Hagen wrote: > 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). > Maybe epub as backend is a more interesting idea: given (some kind of gentle ) tex file one can produce an epub file as result. -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________