Quote:
Originally Posted by Arios
Now here is the trick with Sigil in code view, just add this code in the (x)html cover page:
<h1 class="nodisplay">Cover</h1>;
and this one in the CSS:
.nodisplay { display: none; line-height: 0; }
There will be a "real" heading 1 named "Cover" in the epub, that will be invisible ("display: none;") and taking no space because of "line-height: 0;".
|
Could you provide a working sample please? Whatever I do, a new page with the string "Cover ;" appear while reading the ebook. (I tried on a Glo and the Calibre ebook reader)
For now, I just edit the ncx file and add a line after the <navMap>, for instance:
Code:
<navPoint><navLabel><text>Cover</text></navLabel><content src="cover.xml"/></navPoint>
Then it start at the cover page, and a new entry is visible in the TOC: "Cover"
Note that it doesnt need a
playOrder value to work well.
I'm still shocked to discover that e-readers aren't giving to theirs users the ability to choose that kind of behavior...
Personally, it feels unnatural to start at first chapter instead of the cover page. I know I will never get used to it.
BTW, Is it possible to automatize this with Calibre, with some sort of scripting? At adding ebooks to the library for instance?