Skip to content

Commit 0b0bf08

Browse files
author
Weiwu Zhang
committed
the makefile I wrote on Ubuntu 18.04 no longer works on Ubuntu 19.04. Fixed that.
1 parent afe6ced commit 0b0bf08

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
CJK_FONT=AR PL UMing TW
2+
PANDOC_OPTIONS=-V geometry:margin=1.5in
3+
14
papers : short_paper.pdf design_paper.pdf
25

36
short_paper.pdf : short_paper.md
4-
pandoc -V geometry:margin=1.5in -o short_paper.pdf short_paper.md
7+
pandoc $(PANDOC_OPTIONS) -o short_paper.pdf short_paper.md
58
design_paper.pdf : design_paper.md
6-
pandoc -V CJKmainfont='AR PL UMing TW' -V geometry:margin=1.5in --latex-engine=xelatex -o design_paper.pdf design_paper.md
9+
# the design paper has some ideographs
10+
pandoc $(PANDOC_OPTIONS) -V CJKmainfont="$(CJK_FONT)" --pdf-engine=xelatex -o design_paper.pdf design_paper.md

0 commit comments

Comments
 (0)