Thanks a lot to st_albert. That was exactly what I was looking for. I'm on a linux computer, so installing pearl won't be a problem. Right now I'm using a php script my brother was kind enough to make for me, but it is a bit of a hassle.
The reason I'm not using Calibre is what everyone is talking about. It just doesn't cut it for production for the reasons everyone is explaining. My clients have also have all sorts of weird requirements for the inline TOC, and all I needed was a way to automate the process a little (a poetry book I just made had more than 80 entries.)
As for converting EPUB to MOBI, I'm having good results I format the EPUB appropriately from the start and then make the appropriate modifications before generating the MOBI file.
JSWolf: I'm amazed by the amount of people that never use the "external toc" because the have no idea it is there, even in EPUB. So I keep the inline toc in the epub also, at least for the time being.
|