From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76819 Path: news.gmane.org!not-for-mail From: Andy Thomas Newsgroups: gmane.comp.tex.context Subject: Re: back-up.lua; mtx-epub.lua Date: Fri, 8 Jun 2012 20:08:01 +0200 Message-ID: References: <8E68CF1E-5817-4F6C-B768-3EB03D02F3AE@web.de> <358F662E-23CF-4959-B28E-6DFD9401A11B@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1339178879 13887 80.91.229.3 (8 Jun 2012 18:07:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 18:07:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 08 20:07:58 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 1Sd3bK-0004iI-6N for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jun 2012 20:07:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9FC1101DD; Fri, 8 Jun 2012 20:07:56 +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 5QTal+ebIzhv; Fri, 8 Jun 2012 20:07:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 266C3101E2; Fri, 8 Jun 2012 20:07:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1B7A6101E2 for ; Fri, 8 Jun 2012 20:07:54 +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 UPu3tR4uzCog for ; Fri, 8 Jun 2012 20:07:52 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 450CE101DD for ; Fri, 8 Jun 2012 20:07:52 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.17.11]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q58I7cdL014069 for ; Fri, 8 Jun 2012 20:07:38 +0200 Original-Received: from [10.0.1.21] ([78.94.219.187]) by smtp.web.de (mrweb103) with ESMTPA (Nemesis) id 0MbQOe-1SMcdu19oC-00JBvq for ; Fri, 08 Jun 2012 20:07:50 +0200 In-Reply-To: <358F662E-23CF-4959-B28E-6DFD9401A11B@fiee.net> X-Mailer: Apple Mail (2.1257) X-Provags-ID: V02:K0:+BSEid1PwB29BIvuH1uFqDNcwkiqAGfDEX4UxarhxFV N7fVbi6pdA+RFa82k4BzzOK75i3VHNqa1WvmXQB9pJKI8hbnjt /y19l1jvk07P9u3j+utNgQLMBkZzd6qE6kVD6cey2a+BpZldT4 PZDjsjyJ30jxqNUomfpv3DdeGuGT0doRaNN4KD3IAXvduPCdzG rEHQmHz4EnZjl+/NDV6eg== 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: 0WHjS7CA6 - d2f687b430df - 20120608 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:76819 Archived-At: Hello all, I am thinking about the best way to implement the cover image for the epub.= This is a mandatory requirement to work properly. The cover image is not n= ecessarily present in the pdf version of the document and it might be the o= nly item where that is true. So I tried to sort out the options. 1) Always take cover.png in the current directory; not very elegant 2) add cover=3D{=85} to \setupinteraction; hijacks the pdf interaction macro 3) add a \setupepub; might be overkill, but maybe more options are added la= ter = 4) ? Then, the image is taken, renamed and copied in the image folder and finall= y a html page containing the cover is created. This part is straightforward. It would be great, if someone could come up with an elegant idea how to add= the cover image file that is compatible with the context style. Andy On Jun 7, 2012, at 2:48 PM, Henning Hraban Ramm wrote: > Am 2012-06-07 um 00:00 schrieb Andy Thomas: > = >> Hello all, >> I do not know, how many people are using the epub export, but here are t= wo more changes in order to achieve a valid epub file with information from= the context source: > = > Since I need ePub for my current project (even if th eprint version is mu= ch more important), I=92m very grateful for your enhancements! I hope they = end up in the distro ASAP. > = > = > 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 ___________________________________________________________________________= ________