View Single Post
Old 11-17-2011, 03:04 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kbrannen View Post
I have a number of books (articles) that are 1 chapter per file in HTML, 1 book per directory. I've been having trouble making Calibre easily change those to an epub doc. So help?

I eventually figured out that it works better when I put all the files into a zip file and try to add/convert that. I can get it better still if I create a toc.html much like in the user manual -- a bit of a pain but I can write a perl script to do that. (I don't know python.) I could concat all the files into a single file per book, but that has it's own drawbacks, unless that's the secret to making this process work (then I'll live with the drawbacks).

I was hoping that there was an easy way to tell Calibre to take all the files in "this directory" and create an epub. Is there such a command or plugin or whatever that someone can point me to? I didn't see anything like that in the user manual.

Also, how do you do the above from the command line? I have more of these dirs than I care to convert by hand, but the user manual doesn't give any hints that help (or else I can't find the right parts).

So, any pointers to docs, web pages, whatever, would be very helpful. I'm sure I can't be the first with this problem, but my searching has not found anything so far.

Thanks!
Kevin
The Calibre FAQ covers this exact problem: http://manual.calibre-ebook.com/faq....specific-order
theducks is online now   Reply With Quote