View Single Post
Old 03-08-2023, 12:30 PM   #14
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 276
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by Sarmat89 View Post
Have you checked that TOC entries refer only the HTML files and any header elements are the first children of their respective bodies?
Yes, indeed. Originally the toc had links to various subsection of chapters with h2 and h3 headings just like the html contents. That is because the book is a non-fiction somewhat technical subject where readers will most likely not read in a linear fashion but will use the contents listing to go directly to a subject of interest. But when these problems began, I reduced the toc.ncx table of contents to chapter h1 headings only and they are the first item in any chapter.

Quote:
Originally Posted by DiapDealer
Has it been confirmed that the removal of the following meta items from the toc.ncx was tried? I can't find it in the thread if it was.

Code:

<meta name="dtb:totalPageCount" content="0"/>
<meta name="dtb:maxPageNumber" content="0"/>

Neither are needed by books with no page numbers. And although their presence (with zero values) shouldn't cause any problems under normal circumstance, I can't help but speculate whether a change to Apple's upstream process may not look at the dtb:totalPageCount and/or dtb:maxPageNumber attributes (regardless of their values) as evidence that page numbering is, in fact, in play and needs to be processed as such.

Just a thought.
No. I haven't removed those lines. I thought they must be required in order to indicate no pages. But if they are not needed, I'll certainly remove them from my next offering. Good idea, thanks.
philja is offline   Reply With Quote