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 $@