![]() |
#16 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
As I said calibre uses type="cover" in the guide to point to the cover image and type="titlepage" (spelling is correct) to point to the HTML file that contains the cover image. This is something used INTERNALLY by calibre during processing. There is no relevant standard, indeed this usage existed long before EPUB existed. And the EPUB standard speaks about type="title-page" (note the hyphen) not type="titlepage" anyway.
I dont know what all this verbiage is hoping to accomplish. But, to reduce confusion, I have changed the TEXT label of the type="titlepage" item to "Cover page". |
![]() |
![]() |
![]() |
#17 | ||
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
|
Sorry for too many words. Just trying to get bearings. So type="titlepage" is used just internally... Great information; this is why it cannot be seen anywhere. Still one discrepancy: you repeatedly say that type="cover" is used to point to cover image. But what Calibre evidently do, is pointing type="cover" to html... Anyway, back to the topic of this thread.
Is there possibility, some time in the future, Calibre will treat guide item (or lets say "guide reference") of type cover, when building "Go to..." menu, in the same way as all other types of references? So it will be placed in menu into its natural position, and be displayed under name defined by its "title" attribute? For guide code: <reference type="cover" href="cover.xhtml" title="My cover" /> <reference type="toc" href="toc.xhtml" title="My toc" /> <reference type="colophon" href="imprint.xhtml" title="My colophon" /> current menu appearance is: Quote:
So is there possibility menu will appear as: Quote:
It would be enough just for cases reference type="cover" is pointing to html... (Which actually mean "anytime". Cause when such reference is pointing to image, menu item is not created at all. As just tested.) Of course, I take into account that "guide" epub feature is not widely used. And so demand for such sort of fixes is small... But, on the other hand, Calibre is defacto standard maker. And features of epub standard will logically not to be used, unless consistently implemented, at least somewhere... Last edited by quinta@ebf.cz; 03-20-2024 at 04:51 PM. Reason: typo |
||
![]() |
![]() |
![]() |
#18 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
|
One more discovery:
When guide reference type="cover" points to html which is not first file of reading order (you can see order of files in file list of editor, or in spine section of opf), "Go to" menu item is created "as expected" (on the top of list, and with name as defined in title). Of course cover page shoud be first file of reading order... So this just indicate that the menu creating process is influented by something else then the guide item type itself. Last edited by quinta@ebf.cz; 03-20-2024 at 03:34 PM. Reason: typo |
![]() |
![]() |
![]() |
#19 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, I'm afraid not. type="cover" is always going to point to an actual raster image not an HTML page. And "Cover page" is now localizable, in whatever language the book is defined to use.
|
![]() |
![]() |
![]() |
#20 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
|
Ok. Thank you for your time and patience.
Even though - sorry, just last try. I am actually not asking for Calibre not to point guide item type="cover" to image file. Calibre probably needs it in some situations. (Even though I can't find example where Calibre actually do that. What I can see are guide items type="cover" pointing to html... That's not so important.) What am I actually asking for is just ![]() (Also: What is the use of the special menu item "Title page"? Isn't it always pointing into the same page as menu item "Book start"?) Last edited by quinta@ebf.cz; 03-21-2024 at 05:57 AM. |
![]() |
![]() |
![]() |
#21 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre *changes* type="cover" to always point to the cover image as part of ingesting EPUB. So the Go to menu will never see a type="cover" guide item pointing to anything but a cover image.
|
![]() |
![]() |
![]() |
#22 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
|
I see... That was an important point.
Well mayby menu creator can check the original copy of opf... Or mayby the whole Calibre can be rewritten in order not to use innocent guide item type="cover" to internal purposes... ![]() Thank you for explanation. The whole this thread has been very informative for me. Last edited by quinta@ebf.cz; 03-21-2024 at 07:32 AM. Reason: typo |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use "short" instead of "full" title for title sort & renaming? | wolpi | Library Management | 2 | 08-04-2016 05:25 PM |
A warning for Linux users: slow "Add Books", "Unknown" title and Author | rolgiati | Library Management | 8 | 07-24-2013 04:36 PM |
Title page does not "translate" as TOC item | Caleñ0 | Sigil | 19 | 10-19-2012 11:42 AM |
Title page does not "translate" as TOC item | Caleñ0 | Conversion | 3 | 10-18-2012 08:11 PM |