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)
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
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)
participants (1)
-
Henning Hraban Ramm