From e4a6882f779ca5a92e2c9886a26a46b8ec197d4d Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Thu, 27 Oct 2016 20:10:38 +0200 Subject: Front page added to organisation leaflet A dedicated pandoc template *template.tex* is provided instead of the Pandoc variables --- leaflets/organisations/Makefile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'leaflets/organisations/Makefile') diff --git a/leaflets/organisations/Makefile b/leaflets/organisations/Makefile index 487fc87..56d0288 100644 --- a/leaflets/organisations/Makefile +++ b/leaflets/organisations/Makefile @@ -1,22 +1,20 @@ all = \ fripost-organisations-leaflet.pdf \ + fripost-organisations-standard.pdf \ organisations.tex \ organisations.mdwn -pandoc-opts = \ - --template=template.tex \ - -V documentclass=leaflet \ - -V classoption=tumble \ - -V papersize=a4paper - all: $(all) -fripost-organisations-leaflet.pdf: organisations.mdwn - pandoc -s -f markdown -t latex $(pandoc-opts) -o $@ $< +fripost-organisations-leaflet.pdf: organisations.mdwn template.tex + pandoc -s -f markdown -t latex --template=template.tex -o $@ $< + +fripost-organisations-standard.pdf: organisations.mdwn + pandoc -s -f markdown -t latex -o $@ $< organisations.tex: organisations.mdwn template.tex - pandoc -s -f markdown -t latex $(pandoc-opts) < $< > $@ + pandoc -s -f markdown -t latex --template=template.tex < $< > $@ organisations.mdwn: git archive --remote=gitolite@git.fripost.org:fripost-wiki.git --format=tar HEAD organisations.mdwn | tar --extract > $@ -- cgit v1.2.3