From 9b879dd29eb90f42aa2e34ae4c037c4545474357 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 27 Feb 2015 23:21:31 +0100 Subject: [PATCH] pdf plus jolis (Cantarell & co) --- documentation/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/documentation/Makefile b/documentation/Makefile index 6ba976e..38d841c 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -1,5 +1,5 @@ PANDOC=pandoc -PANDOCFLAGS=--standalone --smart --toc -c pandoc.css +PANDOCFLAGS=--standalone --smart --toc --number-sections --latex-engine=xelatex --variable geometry=margin=3cm --variable lang=french --variable mainfont=Cantarell --variable fontsize=12pt -c pandoc.css SRCS=$(wildcard *.md) IMAGES=$(wildcard images/*.png) PDFS=$(SRCS:%.md=%.pdf) @@ -13,12 +13,11 @@ index.html: $(SRCS) index.html.build echo $(IMAGES) sh ./index.html.build > index.html -%.pdf: %.md $(IMAGES) - $(PANDOC) $(PANDOCFLAGS) --latex-engine=xelatex --variable lang=french $< -o $@ - +%.pdf: %.md $(IMAGES) Makefile + $(PANDOC) $(PANDOCFLAGS) $< -o $@ %.tex: %.md - $(PANDOC) $(PANDOCFLAGS) --latex-engine=xelatex --variable lang=french $< -o $@ + $(PANDOC) $(PANDOCFLAGS) $< -o $@ %.html: %.md $(PANDOC) $(PANDOCFLAGS) $< -o $@