tex4ebook includes the cover as the first page of the book. However, the Kindle automatically includes the cover as the first page, getting the cover from the OPF file. The result is a duplicate cover page. (Section 3.2.3 of the Kindle Publishing Guidelines says "Internal Cover Must Not Appear Twice").

Is there a way to specify the cover image so that it goes into the OPF file, but not into the HTML? Thanks!


1 Answer 1


You can use trick I showed you earlier to include file with \special{t4ht+@File: filename}. You won't use \CoverImage command this way, so you will also need to make some additional configurations:

\special{t4ht+@File: cover.jpg}

Use \Configure{CoverMimeType} only if the cover image isn't in png format

  • Thanks @michal.h21... I hacked a different solution which involves snipping out the display code (as posted in tex.stackexchange.com/questions/213369/…). Haven't tested this but it is obviously better...
    – Nat Kuhn
    Commented Nov 24, 2014 at 2:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .