[NTG-context] Cover of ePub

Henning Hraban Ramm texml at fiee.net
Sat Aug 8 06:19:56 CEST 2015


I overlooked one thing:
With the minimal example ConTeXt’s export doesn’t create a cover.xhtml, but in my project it does.

Am 2015-08-08 um 09:59 schrieb Henning Hraban Ramm <texml at fiee.net>:

> Hi again,
> 
> I'm trying to define a cover image for my ePub using the documented „firstpage“ setting of \setupexport.
> 
> While it works in my minimal example below, it fails in my project structure; I tried to move \setupexport into project, product and component to no avail.
> 
> %
> \setupbackend[export=yes]
> \setupinteraction[
> 	state=start,
> 	color=,contrastcolor=,
> 	title={ePub Test},
> 	subtitle={ConTeXt},
> 	author={Hraban},
> ]
> \setupexport[
> 	bodyfont=12pt,width=470pt,
> 	hyphen=yes,
> 	firstpage={koe}, % works here, but not in environment
> ]
> 
> \starttext
> 
> \startchapter[title={Knuth}]
> 
> \startparagraph
> \input knuth
> \stopparagraph
> 
> \stopchapter
> 
> \stoptext
> 
> 
> 
> Greetlings, Hraban
> ---
> http://www.fiee.net
> http://wiki.contextgarden.net
> https://www.cacert.org (I'm an assurer)



More information about the ntg-context mailing list