use --pdf-engine instead of --latex-engine (Pandoc 2.0 change)

This commit is contained in:
mrzool 2017-11-10 14:18:13 +01:00
parent 56dde1630e
commit 7da2d2a94f

View File

@ -1,6 +1,6 @@
TEX = pandoc TEX = pandoc
src = template.tex details.yml src = template.tex details.yml
FLAGS = --latex-engine=xelatex FLAGS = --pdf-engine=xelatex
output.pdf : $(src) output.pdf : $(src)
$(TEX) $(filter-out $<,$^ ) -o $@ --template=$< $(FLAGS) $(TEX) $(filter-out $<,$^ ) -o $@ --template=$< $(FLAGS)