Skip to content

Commit

Permalink
Add cover image to pandoc command line
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Mar 16, 2016
1 parent e94b7b2 commit dfd0ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -13,7 +13,7 @@ $(book).mobi: $(book).epub
kindlegen -verbose $(book).epub

$(book).epub: $(chapters) epub.css
pandoc -o $(book).epub title.txt $(chapters) --epub-metadata=metadata.xml --toc --toc-depth=2 --epub-stylesheet=epub.css
pandoc -o $(book).epub title.txt $(chapters) --epub-metadata=metadata.xml --toc --toc-depth=2 --epub-stylesheet=epub.css --epub-cover-image=covers.png

$(book).pdf: $(book).epub
ebook-convert $(book).epub $(book).pdf
Expand Down

0 comments on commit dfd0ff4

Please sign in to comment.