From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76648 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: ebook from project: observations/oddities Date: Mon, 4 Jun 2012 12:24:27 +0200 Message-ID: <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 v936) Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338805481 3454 80.91.229.3 (4 Jun 2012 10:24:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2012 10:24:41 +0000 (UTC) To: mailing ConTeXt users list for Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 04 12:24:40 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 1SbUSf-0006vZ-A4 for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jun 2012 12:24:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7381101E2; Mon, 4 Jun 2012 12:24:32 +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 9McFIfSAd7bl; Mon, 4 Jun 2012 12:24:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20D0A101DF; Mon, 4 Jun 2012 12:24:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 568BC101DF for ; Mon, 4 Jun 2012 12:24:30 +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 3k4Rh5bI5Lme for ; Mon, 4 Jun 2012 12:24:29 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 49DCF101DD for ; Mon, 4 Jun 2012 12:24:29 +0200 (CEST) Original-Received: from thesan.fiee.net (thesan.fiee.net [178.77.74.245]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q54AOSmh019393 for ; Mon, 4 Jun 2012 12:24:28 +0200 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=fiee.net; b=Op3nAxk2Sc3DNyVKpOkZL7GTfC61ADNM9EieL/8hAzn8qiDciAzNlk4NC2eWV4Q2Vnk99L5QX1Uv+y4ljnyKdWrm28XlQ/u1GkfOGhSCl+eHUjrrdrb8lZjufORpl0Cs; h=Received:Received:Message-Id:From:To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:X-Mailer; Original-Received: (qmail 28238 invoked from network); 4 Jun 2012 12:24:28 +0200 Original-Received: from hsi-kbw-149-172-53-184.hsi13.kabel-badenwuerttemberg.de (HELO Ixchel.fritz.box) (149.172.53.184) by thesan.fiee.net with ESMTPSA (AES128-SHA encrypted, authenticated); 4 Jun 2012 12:24:28 +0200 X-Mailer: Apple Mail (2.936) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=178.77.74.245; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QHiaospa - bbb1878d7ce7 - 20120604 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:76648 Archived-At: (Yesterday=92s beta in suite=3Dminimals, OSX-Intel) With \setupbackend[export=3Dexample.xml,xhtml=3Dexample.xhtml,css=3Dexample.css] 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 857 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 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 ___________________________________________________________________________= ________