Skip to content

Commit 7691d7f

Browse files
committed
added build step for ebook
1 parent 9a8134a commit 7691d7f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,16 @@ pandoc -f markdown \
4848
--latex-engine=xelatex \
4949
--template=resources/scala-ref-template.latex \
5050
-o build/ScalaReference.pdf \
51+
build/ScalaReference.md
52+
53+
echo "building ebook to build/ScalaReference.epub"
54+
pandoc -f markdown \
55+
-t epub \
56+
--standalone \
57+
--toc \
58+
--chapters \
59+
--number-sections \
60+
--bibliography=Scala.bib \
61+
--self-contained \
62+
-o build/ScalaReference.epub \
5163
build/ScalaReference.md

0 commit comments

Comments
 (0)