summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 22 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d7beabd..24b085b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,28 +4,47 @@ chapters = \
conflict.mdwn \
newhardware.mdwn \
assault.mdwn \
- ambush.mdwn
+ ambush.mdwn \
+ arrest.mdwn \
+ devcont.mdwn \
+ announcement.mdwn
shorts = \
origin.mdwn
-all: noir.pdf noir.epub noir.mobi count
+all: noir.pdf noir-copyedit.pdf noir.epub noir.mobi count
noir.pdf: preamble.mdwn $(chapters)
pandoc -o noir.pdf \
--pdf-engine=xelatex \
--template=template.tex \
+ --toc \
-Vlogo=noir_1000px.png \
-Vauthorpic=liw-1000px.jpg \
-Vdocumentclass:book \
-Vfontsize:12pt \
- -Vmainfont:FreeSerif \
-Vgeometry:a4paper \
-Vmainfont:FreeSerif \
-Vsansfont:FreeSans \
-Vmonofont:FreeMonoBold \
preamble.mdwn $(chapters)
+noir-copyedit.pdf: preamble.mdwn $(chapters)
+ pandoc -o noir-copyedit.pdf \
+ --pdf-engine=xelatex \
+ --template=template.tex \
+ --include-in-header=draft.tex \
+ --toc \
+ -Vlogo=noir_1000px.png \
+ -Vauthorpic=liw-1000px.jpg \
+ -Vdocumentclass:book \
+ -Vfontsize:12pt \
+ -Vgeometry:a4paper \
+ -Vmainfont:FreeMono \
+ -Vsansfont:FreeMono \
+ -Vmonofont:FreeMonoBold \
+ preamble.mdwn $(chapters)
+
noir.epub: preamble.mdwn $(chapters)
pandoc -o noir.epub --toc preamble.mdwn $(chapters)