Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2017, 10:04 PM   #1
apoiata
Enthusiast
apoiata began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Feb 2017
Device: none
Cover picture.

Why Sigil User Guide has 2 html files relate cover:

1. Cover.html
2. Cover_picture html

They look the same.

Probably same question I have related to TOC.
1. There is TOC.xhtml file
2. There is another TOC which is generated in Tools->Table of contents
apoiata is offline   Reply With Quote
Advert
Old 02-23-2017, 01:36 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,369
Karma: 117701645
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I can't answer the first one (I never read the guide), but I can the second. Those are two different TOC's. In ePUB2 there must be an NCX file, which is used at TOC. Without it, the ePUB2 is not valid. The NCX can be generated/updated with the second option. That is also the TOC you can see on the right panel of your screen (usually). Your reading application or reader must support the NCX and uses that to display the TOC.

In ePUB3 the NCX is deprecated, but allowed for backwards compatibility. Version 3 of ePUB uses a XHTML file for the TOC. That is the other one. For an ePUB2 it has no real added value, although some publishers and editors will still put it in anyway. Some find it pleasant to have a real TOC as well as the NCX version. It can have some uses.
Toxaris is offline   Reply With Quote
Old 02-23-2017, 04:20 AM   #3
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 1,097
Karma: 10731488
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
From looking at the underlying code in the user guide pages --- it looks as though Cover.html is simply an .html page containing the cover image.

Cover_picture.html also contains the cover image, and is linked to the CSS stylesheet, PLUS has a heading that allows it to be added into the auto-generated Table Of Contents.
Code:
<h1 class="nodisplay" title="Cover">&nbsp;</h1>
Cover.html might be superfluous, but I haven't read through the guide carefully either. Maybe it is used as an example in the section on adding covers.
GrannyGrump is offline   Reply With Quote
Old 02-23-2017, 12:21 PM   #4
apoiata
Enthusiast
apoiata began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Feb 2017
Device: none
Quote:
Originally Posted by GrannyGrump View Post
From looking at the underlying code in the user guide pages --- it looks as though Cover.html is simply an .html page containing the cover image.

Cover.html might be superfluous, but I haven't read through the guide carefully either. Maybe it is used as an example in the section on adding covers.
I have only one explanation. May be Cover.html or Cover_picture.html is used as a cover picture on virtual shelf and another file is used inside the book.
Similarly at TOC can be in 2 places: as internal TOC which is mandatory for epub and TOC as html page which can be viewed inside the book.
apoiata is offline   Reply With Quote
Old 02-23-2017, 12:41 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,207
Karma: 83865638
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The cover page can be named in any way a user likes. The two different ones in the manual are simply two different examples of cover pages. A cover page can contain any combination of text and images a user desires (though a single image-only is more typical).The point is: there is no one correct way to make a cover page.

The NCX vs HTML ToC is more of a general epub question than it is a Sigil question. Gaining more understanding of basic EPUB structure/creation/specifications will go a long way toward understanding many of Sigil's features. Properly utilizing many of Sigil's various features assumes a basic knowledge of EPUB design.
DiapDealer is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cover Picture Not Default Thumbnail rosshalde Kobo Reader 7 11-11-2014 01:42 AM
What size cover picture? GraciousMe ePub 18 11-21-2012 08:36 AM
keep cover picture when converting several ebooks HiRsch Conversion 1 04-01-2012 12:54 AM
Use the first Picture in an epub as cover? flowoeB Library Management 1 05-14-2011 09:58 AM
Perfect Fit, Zipper cover! (picture here) Gladtobemom Bookeen 17 07-04-2008 02:34 AM


All times are GMT -4. The time now is 01:34 PM.


MobileRead.com is a privately owned, operated and funded community.