ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Cover of ePub
@ 2015-08-08  3:59 Henning Hraban Ramm
  2015-08-08  4:19 ` Henning Hraban Ramm
  0 siblings, 1 reply; 2+ messages in thread
From: Henning Hraban Ramm @ 2015-08-08  3:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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)

___________________________________________________________________________________
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cover of ePub
  2015-08-08  3:59 Cover of ePub Henning Hraban Ramm
@ 2015-08-08  4:19 ` Henning Hraban Ramm
  0 siblings, 0 replies; 2+ messages in thread
From: Henning Hraban Ramm @ 2015-08-08  4:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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@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)

___________________________________________________________________________________
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-08  4:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-08  3:59 Cover of ePub Henning Hraban Ramm
2015-08-08  4:19 ` Henning Hraban Ramm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).