Ok, so it sounds like I should be able to do what I need with this index/toc file and handing
that to "ebook-convert" and possibly also using "calibredb add". Let me try some experimentation along those lines. I found ebook-convert in the manual, but it really wasn't clear to me how I should use it for what I needed.
Quote:
Quote:
Amusing note, in my experimentation when I first started, without a toc.html file, Calibre created my epub with all the chapters in reverse order. Oops!
|
This is odd. As far as I know, without a toc file, calibre would have made separate ebooks. It shouldn't have put them together reversed or otherwise.
|
It did make a separate ebook for each chapter, at first. Noting that it could deal with zip files, I then tried "zip book.zip 1.html 2.html 3.html" and then added that book (which worked and showed 3 chapters in order), then did the convert to epub (all in the GUI). I was quite surprised to find the chapters out of order in the epub. That's when I went searching and found about the toc.html file and hence have gotten as far as I have.
Hopefully the info you've both shared will get me over the next hurdle. I see no reason Calibre can't solve this problem; it seems to have all the parts. I love perl and CPAN, but CPAN's Epub module looks hideously complex, hence my desire to find something simpler.
I'll post something here if I can get it working. But this seems like a problem that many others should have too and a documented solution should be available -- somewhere.
Thanks!
Kevin