summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-02-24 09:08:44 +0200
committerLars Wirzenius <liw@liw.fi>2019-02-24 09:08:44 +0200
commit925a42a29aaddd2fb17f0f814a16a32155a2272f (patch)
treeebaf124f6382fa7e03a3b5ba5492d1b5d8cc79c2
parent1d2cfc5e59a0caaab9bfb3c6bfdb02ee298653d5 (diff)
downloadgtdfh.liw.fi-925a42a29aaddd2fb17f0f814a16a32155a2272f.tar.gz
Fix: pandoc invocation for the modern world
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cccd3bc..88b3a51 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@ chapters = $(shell ./list-chapters index.mdwn)
all: book.pdf book.epub book.mobi
book.pdf: $(chapters)
- pandoc -V geometry:a4paper --chapters --toc -o book.pdf $(chapters)
+ pandoc -V geometry:a4paper --top-level-division=chapter \
+ --toc -o book.pdf $(chapters)
book.epub: $(chapters) cover.png
pandoc -t epub --epub-metadata=book.xml --epub-cover=cover.png \