04-30-2015, 12:19 AM | #1 |
Member
Posts: 18
Karma: 1210
Join Date: Apr 2013
Device: Nexus 7
|
calibre's inserted cover file, titlepage.xhtml
I was wondering if there is a reason that the file calibre inserts as a cover file is named "titlepage.xhtml." This seems confusing, considering it isn't a title page and most retail epubs contain an actual title page file. Is there a reason it isn't named "cover.xhtml"?
|
04-30-2015, 12:29 AM | #2 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I have no idea, but the filename used doesn't actually make a difference. "ad66sfl4haef231l2asdfv3e412dasdx.xhtml" would work just as well.
|
Advert | |
|
04-30-2015, 12:44 AM | #3 |
creator of calibre
Posts: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Historical reasons, but feel free to rename the file to whatever floats your boat, using the calibre editor.
|
05-01-2015, 05:50 AM | #4 | |
Addict
Posts: 250
Karma: 1702156
Join Date: Nov 2010
Device: Kindle Voyage
|
Quote:
Now, I know to make sure I rename the current file before adding a cover. If I forget, I have to go back to the original file and export/import the Title Page. |
|
05-01-2015, 09:38 AM | #5 |
Wizard
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Sigil has a feature that I always liked -- a template page with placeholders to insert a 'customized' cover
http://web.sigil.googlecode.com/git/...add_cover.html by creating a cover.xhtml file in your preferences folder Maybe [Add Cover] could check for the existence of such a file and use it as a template to create a cover.xhtml file in the edited ebook. |
Advert | |
|
05-01-2015, 10:37 AM | #6 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
(And anyway, as pointed out below, that happened because of the semantics, not filename, so it is a moot point.) Last edited by eschwartz; 05-01-2015 at 02:33 PM. |
|
05-01-2015, 11:55 AM | #7 |
Grand Sorcerer
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
That hasn't been my experience. When I've added a cover (which is rare) and a file named titlepage.xhtml already exists, calibre has changed the name of the added cover html file, e.g. to titlepage_1.xhtml
|
05-01-2015, 02:27 PM | #8 | |
Well trained by Cats
Posts: 29,688
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I believe calibre is smart enough to deal with name only overlap |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error with Calibre Toc.xhtml file | wDr | Calibre | 1 | 01-03-2015 06:13 PM |
Titlepage/Cover AND Text Justification | totallis | Kobo Reader | 13 | 12-04-2014 01:47 PM |
Custom code in ePub titlepage.xhtml | Mrs_Often | Conversion | 6 | 07-24-2012 12:36 PM |
ncx file to html/xhtml file | javochase | Conversion | 1 | 06-23-2011 06:57 PM |
Oberon Journal with the Inside of the Amazon Hinge Cover Inserted! | Lilly | Amazon Kindle | 6 | 04-02-2009 10:52 AM |