From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76649 Path: news.gmane.org!not-for-mail From: Andy Thomas Newsgroups: gmane.comp.tex.context Subject: Re: ebook from project: observations/oddities Date: Mon, 4 Jun 2012 12:58:41 +0200 Message-ID: References: <9C95CCD3-B4FC-4476-BA9F-F43B6B8DDDC2@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338807550 19126 80.91.229.3 (4 Jun 2012 10:59:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2012 10:59:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 04 12:59:07 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 1SbV02-0000e0-Sy for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jun 2012 12:59:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BDB4C101DD; Mon, 4 Jun 2012 12:59:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zKiVliNwvROs; Mon, 4 Jun 2012 12:59:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08326101DF; Mon, 4 Jun 2012 12:59:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 011FB101DF for ; Mon, 4 Jun 2012 12:58:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8ppDUMSRVnHr for ; Mon, 4 Jun 2012 12:58:57 +0200 (CEST) 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 DEFFA101DD for ; Mon, 4 Jun 2012 12:58:57 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.17.11]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q54AwuvK013612 for ; Mon, 4 Jun 2012 12:58:57 +0200 Original-Received: from d2yankee.physik.uni-bielefeld.de ([129.70.28.24]) by smtp.web.de (mrweb102) with ESMTPS (Nemesis) id 0MfqAq-1SNFMi0TK8-00NATM for ; Mon, 04 Jun 2012 12:58:56 +0200 In-Reply-To: <9C95CCD3-B4FC-4476-BA9F-F43B6B8DDDC2@fiee.net> X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:lV55HJ5hCNTvFdT5VAvF3jHgKXQa/W9sDR7Bc1pk/Sn 28Rg1CAmNdXLrT91qobmTiAupyGNw6GSK0vXEuc92jVeEbrvYH Z0lZcwZ+12OPP0Zawr5NgvUA0xjlS0PNYHUxpiq4nRnoNqGTMO BnwmwSsF5yF1+ub3fS78vX/H9kwEkRRMHVXcAbZJIg5B2z/Xxo UDjudVBt7kqL0nICtYX8g== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.11; country=DE; region=02; city=Munich; latitude=48.1500; longitude=11.5833; http://maps.google.com/maps?q=48.1500,11.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THiaWVdW - be80903832f7 - 20120604 (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.13 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:76649 Archived-At: I might not be able to help you with an automated output using context, but= I can recommend a very good book on e-book creation. Elizabeth Castro (ISB= N 978-0321734686) discusses a sample e-book line by line of the source code= , how to create it, validate it (http://code.google.com/p/epubcheck/) etc. = You can find the sources of her sample e-book online at: http://www.elizabe= thcastro.com/epub/examples/ . There is some other useful stuff, too. I just started to implement some of the info I gathered in my context modul= e for my book project, so I cannot give concrete advise,yet :( But I made t= he TOC etc. 'by hand' to to try if it would work with the validator, kindle= , calibre and so on. Just the xhtml was automatically created (and tweaked = a little). It does not take as much time as it seems, we were able to have = a validated e-pub with a sample chapter in a day. = Hope this help a little, Andy On 04.06.2012, at 12:24, Henning Hraban Ramm wrote: > (Yesterday=92s beta in suite=3Dminimals, OSX-Intel) > = > With > = > \setupbackend[export=3Dexample.xml,xhtml=3Dexample.xhtml,css=3Dexample.cs= s] > = > in my project=92s environment, > I get both "example.xml" and "example.xhtml" (as well as "example-images.= css" and "example-style.css"), starting with the same content (up to line 8= 57 in my case), but the .xhtml stops after the first \stoppart, while the .= xml contains all four parts. > = > = > mtxrun --script epub --make example > insists on copying a file named exactly "example.xhtml" to the ePub tree. > = > Using > \setupbackend[export=3Dexample.xhtml,xhtml=3Dtest.xhtml,css=3Dexample.css] > both "example.xhtml" and "test.xhtml" are identical, complete *and* both = copied to the epub tree (ToC refers to test.xhtml, the other is ignored). > = > Since none of my browsers or epub readers likes this XML format, I guess = I=92ll need to apply a XSL transformation to create HTML. > = > Ok... Looking at "mtx-epub.lua" I understand why none of my setups (i.e. = author, title) has any effect on the output. > Seems like we need to fix that manually - unzip the epub, fix it, re-pack= ... But create the ToC manually?? > = > = > = > Greetlings, Hraban > --- > http://www.fiee.net/texnique/ > http://wiki.contextgarden.net > https://www.cacert.org (I'm an assurer) > = > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________