Commit 5bf152c6 authored by Albert Gräf's avatar Albert Gräf
Browse files

Minor adjustments for pandoc 2.0.

parent 321da5ed
#HTML_FLAGS = -c modern.css
HTML_FLAGS = -c github-pandoc.css
TEX_FLAGS = --template=mydefault.latex --latex-engine=xelatex
TEX_FLAGS = --template=mydefault.latex --pdf-engine=xelatex
PDF_FLAGS = -V 'geometry:paperwidth=21cm' -V 'geometry:paperheight=29.7cm' -V 'geometry:vmargin=2cm' -V 'geometry:hmargin=2cm' -V 'fontsize:12pt'
filter = -F pandoc-crossref
......@@ -14,7 +14,7 @@ clean:
rm -f Purr-Data-Intro.html Purr-Data-Intro.pdf
%.html: %.md
pandoc $(filter) -s -S $< -o $@ $(HTML_FLAGS)
pandoc $(filter) -s $< -o $@ $(HTML_FLAGS)
%.pdf: %.md
pandoc $(filter) -s -S $< -o $@ $(TEX_FLAGS) $(PDF_FLAGS)
pandoc $(filter) -s $< -o $@ $(TEX_FLAGS) $(PDF_FLAGS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment