View Single Post
Old 04-08-2017, 04:49 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,141
Karma: 60406498
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 tomcam View Post
Goal is to convert set of well-structured input files into an ePub file. In pandoc, the command line for it can be as easy as this:

Code:
# pandoc accepts wildcard designations or list of filenames 
# Convert all .md files into a single ebook file called foo.epub:
$ pandoc -o foo.epub  *.md
Is there any convention for multiple file input with any Calibre ebook creation tools? For example, these command lines don't work as I'd hope:

Code:
# Convert all .md files in current directory to HTML
$ markdown-calibre -v *.md

# Convert all .html files in directory to a single book file called foo.epub
$ ebook-convert *.html foo.epub
Thanks!
Yes
Pass the Index.html file instead, calibre will pick up those listed (in order)
It is in the Online Help FAQ
theducks is offline   Reply With Quote