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 necessarily present in the pdf version of the document and it might be the only 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={…} to \setupinteraction; hijacks the pdf interaction macro 3) add a \setupepub; might be overkill, but maybe more options are added later 4) ?
\setupbackend[coverimage={....}] Backends other than epub can safely ignore the directive. In one of your earlier threads, you had talked about taking title, author, etc from setupinteraction. It might be better to take then from \setupbackend as well (will work for both epub and xhtml backends, perhaps also for xml). Aditya