View Single Post
Old 03-17-2024, 02:25 PM   #1
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 62
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
giude item "cover" displayed as "Title page"

Menu "Go to..." of ebook viewer displays guide item of type "cover" as "Title page". Even though guide item declares its own name (using title attribute). Moreover displayed name "Title page" is not factually correct (because cover != title page).

Guide section in toc.opf:
Code:
<?xml version="1.0" encoding="utf-8"?>
<package {...}>
  <metadata {...}>{...}</metadata>
  <manifest>{...}</manifest>
  <spine toc="ncx">{...}</spine>
  <guide>
    <reference type="cover" title="Obálka" href="Text/cover.xhtml"/>
    <reference type="title-page" title="Titulní strana" href="Text/title-page.xhtml"/>
    <reference type="text" title="Text" href="Text/chapter1.xhtml"/>
    <reference type="colophon" title="Tiráž" href="Text/imprint.xhtml"/>
  </guide>
</package>
Go to... menu:


Guide items of type "title-page", "text" and "colophon" are displayed (as expected) under their names, as declared in corresponding title attributes ("Titulní strana", "Text", "Tiráž").
Guide item of type "cover" is displayed as "Title page" (expected name: "Obálka").
And, which probably is not intentional either, as last in list. (Expected order would be either order of items in guide section, or order of target positions in document reading order definition...)

Calibre 7.7 (just for info, behaviour is not specific for this Calibre version)
epub attached
Attached Files
File Type: epub Baj.epub (557.3 KB, 456 views)

Last edited by quinta@ebf.cz; 03-17-2024 at 02:28 PM.
quinta@ebf.cz is offline   Reply With Quote