diff options
-rw-r--r-- | Makefile | 18 | ||||
-rw-r--r-- | draft.tex | 1 |
2 files changed, 17 insertions, 2 deletions
@@ -9,7 +9,7 @@ chapters = \ 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 \ @@ -19,13 +19,27 @@ noir.pdf: preamble.mdwn $(chapters) -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 \ + -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) diff --git a/draft.tex b/draft.tex new file mode 100644 index 0000000..2b15853 --- /dev/null +++ b/draft.tex @@ -0,0 +1 @@ +\linespread{1.5} |