View Single Post
Old 06-25-2013, 10:37 PM   #25
Arios
A curiosus lector!
Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.
 
Arios's Avatar
 
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
byblo, with Sigil, this shouldn't be a problem.

1) Open an epub (with no DRM of course) and go to the cover page. To create a cover if you don't have one, choose Tools, Add Cover and select an image you want to use.
2) Insert just below <body> in the cover file (named cover.xhtml):
<h1 class="nodisplay">Cover</h1>. You must be in Code view.
3) Insert ".nodisplay { display: none; line-height: 0; }" in the CSS and link it to the cover file.
4) Always in Sigil, click the "Generate Table of Contents" icon and in "Select headings to include in TOC", click All. Save.

That is certainly possible to automatize this with Calibre, but as I barely use it, I can't really help.

Theorically, the "Cover" semantic should be sufficient, but it appears not, so with an heading at first place, the ereader has no choice to stop there.

Here a short epub with the codes inserted.

Have a nice day/evening.
Attached Files
File Type: epub Begin_2_First_Page.epub (270.8 KB, 224 views)
Arios is offline   Reply With Quote