diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-02-16 20:49:40 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-02-16 20:49:40 +0200 |
commit | aa15bc20484e2f5dda4f1a935a0fa8515db35ecc (patch) | |
tree | f6f6f469545c65e20be55599aa6fab8a187dd855 | |
parent | f39aad2069aff0688d610bb64e2464764eef95ae (diff) | |
download | noir.liw.fi-aa15bc20484e2f5dda4f1a935a0fa8515db35ecc.tar.gz |
add draft PDF for easier marking up when copy-editing
-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} |