summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2015-02-27 22:21:31 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2015-02-27 22:21:31 (GMT)
commit9b879dd29eb90f42aa2e34ae4c037c4545474357 (patch)
treea23a32b6fb46744857e80d6d068f26b6ff0aefe2
parent5469046fca7be646bd32ce96f031e7f750409229 (diff)
downloadgi-psl-9b879dd29eb90f42aa2e34ae4c037c4545474357.zip
gi-psl-9b879dd29eb90f42aa2e34ae4c037c4545474357.tar.gz
gi-psl-9b879dd29eb90f42aa2e34ae4c037c4545474357.tar.bz2
pdf plus jolis (Cantarell & co)
-rw-r--r--documentation/Makefile9
1 files 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 $@