From: Ian Jackson Date: Sat, 6 Nov 2021 17:38:13 +0000 (+0000) Subject: pdfs from md X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=90d81c0f86dc2f828e349e8e2c1852d0aa838a95;p=quacks.git pdfs from md --- diff --git a/.gitignore b/.gitignore index b4c1394..41964d5 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ droplet.ppm *.tmp.* *.md.txt *.md.html +*.md.pdf diff --git a/Makefile b/Makefile index 17465b0..575f7c0 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ PUBLISH_MD += pumpkin-books house-rules PUBLISH += pumpkin-books.pdf PUBLISH += $(addsuffix .md.txt, $(PUBLISH_MD)) PUBLISH += $(addsuffix .md.html, $(PUBLISH_MD)) +PUBLISH += $(addsuffix .md.pdf, $(PUBLISH_MD)) SHELL=bash @@ -54,6 +55,9 @@ PUBLISH_FILES= \ %.md.html: %.md Makefile pandoc -s $< $o +%.md.pdf: %.md Makefile + pandoc --pdf-engine=wkhtmltopdf -o $@ $< + pubssh=c pubpath=games-rules/quacks puburl=https://www.chiark.greenend.org.uk/~ijackson/