Out of Order Converting HTML Files with a TOC
Hey guys,
I've been struggling for a while to figure this out. I searched the forums, and the closest solution I found was to use Sigil to re-arrange the book and then convert to mobi.
Anyway, I have a ton of HTML pages, each of them I want to be its own chapter. The filename format is "#-Title.html" so for example "100-Using-Calibre.html"
I have a TOC HTML file that references each of the HTML files in increasing # order.
However, once it's converted to mobi, the book jumps from 0, 1, 10, 101, 102, and so on. Instead of obviously 0, 1, 2, 3, ...
I have some 500+ chapters/html files so doing this by hand in Sigil sounds rather time consuming.
I'm not sure what's wrong.
The only other solution I can think of is to combine all the HTML files into one HTML file. But I'm not sure how to build a TOC though. Each HTML page does have a <h1> tag title though.
Any help would be appreciated, I've spent hours here and going nuts. Initially I thought it was out of order because of the html file's creation time until I noticed this pattern.
|