View Single Post
Old 05-26-2022, 04:12 PM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by KevinH View Post
As explained earlier if you remove linear="no" in the spine on its NAV entry, it can serve double duty serving as a machine readable TOC (just like epub2's NCX) and a user friendly TOC.
Is the nav.xhtml entry always listed in the <spine> of the opf file?

I am looking at the last two books I converted to epub3 and the nav is not listed there. But I do have nav.xhtml with a generated toc.

Spoiler:
PHP Code:
</opf:meta>
  </
metadata>
  <
manifest>
    <
item id="titlepage" href="cover.xhtml" media-type="application/xhtml+xml" properties="svg calibre:title-page"/>
    <
item id="id5" href="titlepage.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id7" href="copyright.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id8" href="dedication.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id9" href="acknowledgements.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id10" href="half_title.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id15" href="text/p01c01.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id16" href="text/p01c02.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id17" href="text/p01c03.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id18" href="text/p01c04.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id19" href="text/p01c05.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id20" href="text/p01c06.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id21" href="text/p01c07.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id22" href="text/p01c08.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id23" href="text/p01c09.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id24" href="text/p01c10.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id25" href="text/p01c11.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id26" href="text/p01c12.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id27" href="text/p01c13.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id28" href="text/p01c14.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id29" href="text/p01c15.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id30" href="text/p01c16.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id31" href="text/p01c17.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id32" href="text/p01c18.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id33" href="text/p01c19.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id34" href="text/p01c20.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id35" href="text/p01c21.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id36" href="text/p01c22.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id37" href="text/p01c23.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id38" href="text/p01c24.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id39" href="text/p01c25.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id40" href="text/p01c26.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id41" href="text/p01c27.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id42" href="text/p01c28.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id43" href="text/p01c29.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id44" href="text/p01c30.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id45" href="text/p01c31.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id46" href="text/p01c32.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id47" href="text/p01c33.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id48" href="text/p01c34.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id49" href="text/p01c35.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id50" href="text/p01c36.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id51" href="text/p01c37.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id52" href="text/p01c38.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id53" href="text/p01c39.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id54" href="text/p01c40.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id55" href="text/p01c41.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id56" href="text/p01c42.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id57" href="text/p01c43.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id58" href="text/p01c44.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id59" href="text/p01c45.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id60" href="text/p01c46.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id61" href="text/p01c47.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id62" href="text/p01c48.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id63" href="text/p01c49.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id64" href="text/p01c50.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id65" href="text/p01c51.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id66" href="text/p01c52.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id67" href="text/p01c53.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id68" href="text/p01c54.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id69" href="text/p01c55.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id70" href="text/p01c56.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id71" href="text/p01c57.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id72" href="text/p01c58.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id73" href="text/p01c59.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id74" href="text/p01c60.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id75" href="text/p01c61.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id76" href="text/p01c62.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id77" href="text/p01c63.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id78" href="text/p01c64.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id79" href="text/p01c65.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id80" href="text/p01c66.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id81" href="text/p01c67.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id82" href="text/p01c68.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id83" href="text/p01c69.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id84" href="text/p01c70.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id85" href="text/p01c71.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id86" href="text/p01c72.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id87" href="text/p01c73.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id88" href="text/p01c74.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id89" href="text/p01c75.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id90" href="text/p01c76.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id91" href="text/p01c77.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id92" href="text/p01c78.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id93" href="text/p01c79.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id94" href="text/p01c80.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id95" href="text/p01c81.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id96" href="text/p01c82.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id97" href="text/p01c83.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id98" href="text/p01c84.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id99" href="text/p01c85.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id100" href="text/p01c86.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id101" href="text/p01c87.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id102" href="text/p01c88.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id103" href="text/p01c89.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id104" href="text/p01c90.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id105" href="text/p01c91.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id106" href="text/p01c92.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id107" href="text/p01c93.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id108" href="text/p01c94.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id109" href="text/p01c95.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id110" href="text/p01c96.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id111" href="text/p01c97.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id112" href="text/p01c98.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id113" href="text/appendix_a.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id114" href="text/appendix_b.xhtml" media-type="application/xhtml+xml"/>
    <
item id="id115" href="text/glossary.xhtml" media-type="application/xhtml+xml"/>
    <
item id="nav" href="nav.xhtml" media-type="application/xhtml+xml" properties="nav"/>
    <
item id="toc" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
    <
item id="css" href="stylesheet.css" media-type="text/css"/>
    <
item id="cover" href="cover.jpeg" media-type="image/jpeg" properties="cover-image"/>
    <
item id="id4" href="images/Simon___Schuster.png" media-type="image/png"/>
    <
item id="id6" href="OPTIBankGothic-Medium.otf" media-type="application/vnd.ms-opentype"/>
  </
manifest>
  <
spine toc="toc">
    <
itemref idref="titlepage"/>
    <
itemref idref="id5"/>
    <
itemref idref="id7"/>
    <
itemref idref="id8"/>
    <
itemref idref="id9"/>
    <
itemref idref="id10"/>
    <
itemref idref="id15"/>
    <
itemref idref="id16"/>
    <
itemref idref="id17"/>
    <
itemref idref="id18"/>
    <
itemref idref="id19"/>
    <
itemref idref="id20"/>
    <
itemref idref="id21"/>
    <
itemref idref="id22"/>
    <
itemref idref="id23"/>
    <
itemref idref="id24"/>
    <
itemref idref="id25"/>
    <
itemref idref="id26"/>
    <
itemref idref="id27"/>
    <
itemref idref="id28"/>
    <
itemref idref="id29"/>
    <
itemref idref="id30"/>
    <
itemref idref="id31"/>
    <
itemref idref="id32"/>
    <
itemref idref="id33"/>
    <
itemref idref="id34"/>
    <
itemref idref="id35"/>
    <
itemref idref="id36"/>
    <
itemref idref="id37"/>
    <
itemref idref="id38"/>
    <
itemref idref="id39"/>
    <
itemref idref="id40"/>
    <
itemref idref="id41"/>
    <
itemref idref="id42"/>
    <
itemref idref="id43"/>
    <
itemref idref="id44"/>
    <
itemref idref="id45"/>
    <
itemref idref="id46"/>
    <
itemref idref="id47"/>
    <
itemref idref="id48"/>
    <
itemref idref="id49"/>
    <
itemref idref="id50"/>
    <
itemref idref="id51"/>
    <
itemref idref="id52"/>
    <
itemref idref="id53"/>
    <
itemref idref="id54"/>
    <
itemref idref="id55"/>
    <
itemref idref="id56"/>
    <
itemref idref="id57"/>
    <
itemref idref="id58"/>
    <
itemref idref="id59"/>
    <
itemref idref="id60"/>
    <
itemref idref="id61"/>
    <
itemref idref="id62"/>
    <
itemref idref="id63"/>
    <
itemref idref="id64"/>
    <
itemref idref="id65"/>
    <
itemref idref="id66"/>
    <
itemref idref="id67"/>
    <
itemref idref="id68"/>
    <
itemref idref="id69"/>
    <
itemref idref="id70"/>
    <
itemref idref="id71"/>
    <
itemref idref="id72"/>
    <
itemref idref="id73"/>
    <
itemref idref="id74"/>
    <
itemref idref="id75"/>
    <
itemref idref="id76"/>
    <
itemref idref="id77"/>
    <
itemref idref="id78"/>
    <
itemref idref="id79"/>
    <
itemref idref="id80"/>
    <
itemref idref="id81"/>
    <
itemref idref="id82"/>
    <
itemref idref="id83"/>
    <
itemref idref="id84"/>
    <
itemref idref="id85"/>
    <
itemref idref="id86"/>
    <
itemref idref="id87"/>
    <
itemref idref="id88"/>
    <
itemref idref="id89"/>
    <
itemref idref="id90"/>
    <
itemref idref="id91"/>
    <
itemref idref="id92"/>
    <
itemref idref="id93"/>
    <
itemref idref="id94"/>
    <
itemref idref="id95"/>
    <
itemref idref="id96"/>
    <
itemref idref="id97"/>
    <
itemref idref="id98"/>
    <
itemref idref="id99"/>
    <
itemref idref="id100"/>
    <
itemref idref="id101"/>
    <
itemref idref="id102"/>
    <
itemref idref="id103"/>
    <
itemref idref="id104"/>
    <
itemref idref="id105"/>
    <
itemref idref="id106"/>
    <
itemref idref="id107"/>
    <
itemref idref="id108"/>
    <
itemref idref="id109"/>
    <
itemref idref="id110"/>
    <
itemref idref="id111"/>
    <
itemref idref="id112"/>
    <
itemref idref="id113"/>
    <
itemref idref="id114"/>
    <
itemref idref="id115"/>
  </
spine>
  <
guide>
    <
reference type="acknowledgements" title="Acknowledgements" href="acknowledgements.xhtml#acknowledgements"/>
    <
reference type="title-page" title="Title page" href="titlepage.xhtml#titlepage"/>
    <
reference type="text" title="Text" href="text/p01c01.xhtml#start"/>
    <
reference type="glossary" title="Glossary" href="text/glossary.xhtml#glossary"/>
    <
reference type="dedication" title="Dedication" href="dedication.xhtml#dedication"/>
    <
reference type="copyright-page" title="Copyright page" href="copyright.xhtml#copyright"/>
  </
guide
Karellen is offline   Reply With Quote