View Single Post
Old 02-24-2022, 11:58 PM   #1
jonschneider
Junior Member
jonschneider began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2022
Device: iPad, Kindle
Converting HTML pages with index.html to mobi results in random page order

I'm attempting to generate a mobi and PDF from a directory of html files (one per chapter) with an index.html file matching the format outlined in https://manual.calibre-ebook.com/faq...specific-order. I have already enabled Preferences → Advanced → Plugins → File type → HTML to ZIP → Add linked files in breadth first order. After importing into calibre, attempting to convert to PDF or mobi results in the index.html Table of Contents appearing at the beginning of the file, but after that the chapters appear in random order. Even more interestingly, if I delete the converted files from the filesystem but do not delete the book form Calibre running another conversion results in a new randomized chapter order.

This reproduces for me in 5.37 and 5.27 on two different computers, both Macs.

Does anyone know what setting I need to change to fix this behavior? In case it's helpful, I've attached a full copy of the directory of HTML files I'm working with. I would expect them to appear in the output pdf or mobi ordered by filename.

Thank you!

Last edited by jonschneider; 02-25-2022 at 12:02 AM.
jonschneider is offline   Reply With Quote