Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Commit

Permalink
Fix make rule based on pandoc's change
Browse files Browse the repository at this point in the history
Close #632.
  • Loading branch information
Raniere Silva committed Sep 24, 2014
1 parent b212695 commit 294093a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README-EPUB.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ lessons and others ebook formats (e.g. `mobi` and `azw`).
- [Jekyll](http://jekyllrb.com/)
- [Pandoc](http://johnmacfarlane.net/pandoc/)

We recommend use pandoc >= 1.13 due a [issue with
tables](https://github.com/jgm/pandoc/issues/1341). The build process won't
fail if you use an older version but will hard to read tables.
This **requeres** pandoc >= 1.13.1 due a
[issue to handle `div`s](https://github.com/jgm/pandoc/issues/1465).
- [Calibre](http://calibre-ebook.com/)

Only need to build the `mobi` and `azw` formats.
Expand Down
2 changes: 1 addition & 1 deletion epub.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ commands :
epub: $(EPUB)

$(EPUB) : $(EPUB_SOURCE) $(CSS)
pandoc -f html -t epub -o $@ \
pandoc -f html-native_divs -t epub -o $@ \
--standalone \
--epub-stylesheet=$(CSS) \
--epub-metadata=_epub/metadata.xml \
Expand Down

0 comments on commit 294093a

Please sign in to comment.