Permalink
Browse files

added build step for ebook

  • Loading branch information...
1 parent 9a8134a commit 7691d7fe8d479c0da7bf1d5118a054c2ba94d2d5 @iainmcgin iainmcgin committed Feb 19, 2013
Showing with 12 additions and 0 deletions.
  1. +12 −0 build.sh
View
@@ -48,4 +48,16 @@ pandoc -f markdown \
--latex-engine=xelatex \
--template=resources/scala-ref-template.latex \
-o build/ScalaReference.pdf \
+ build/ScalaReference.md
+
+echo "building ebook to build/ScalaReference.epub"
+pandoc -f markdown \
+ -t epub \
+ --standalone \
+ --toc \
+ --chapters \
+ --number-sections \
+ --bibliography=Scala.bib \
+ --self-contained \
+ -o build/ScalaReference.epub \
build/ScalaReference.md

0 comments on commit 7691d7f

Please sign in to comment.