View Single Post
Old 07-02-2024, 09:18 PM   #16
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,053
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Karellen View Post
I get the feeling you are missing the point.
Answer this. Just imagine some crazy, weird world where the toc file is missing. What happens when there is no toc file?

Maybe you are right and it does not come from the title tag, but from empirical evidence from my blooper, I think it does. But you keep referring to the toc, but ignoring the question of what happens when there is no toc.
An ePub without a navigation document is not a valid ePub. ePub3 books must have the xhtml navigation document (nav.xhtml is a common name) and can have a NCX document (toc.ncx is a common name) for ePub2 compatibility while an ePub2 must have a NCX document (toc.ncx is a common name).

As near as I can tell on an ePub2 file with elements left out of the toc.ncx, the name is being derived from the <title>whatever</title>. Minor items such as the title tags using title case while the header element used to generate the ToC using uppercase (i.e. Chapter One vs CHAPTER ONE).
DNSB is offline   Reply With Quote