diff --git a/ICHLL_Brenon.md b/ICHLL_Brenon.md index b9545e45b2002fad0c465992ff13f68dfebbe2e5..f68bee4813bc7b448036f29febdfe4941ae5f891 100644 --- a/ICHLL_Brenon.md +++ b/ICHLL_Brenon.md @@ -10,6 +10,7 @@ classoption: - english - a4paper - 12pt +mainfont: "Libertinus Serif" header-includes: - \usepackage{textalpha} - \usepackage{hyperref} diff --git a/Makefile b/Makefile index 60cd3d2f858a017c1c7e7386f3dada65964ce491..b08b7ea39afcb3398d1935d5421f1639aa184253 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ FILTERS = pandoc-secnos pandoc-fignos FILE_NAME = ICHLL_Brenon DOCX_STYLE = ICHLL_STYLESHEET.docx DEPEDENCIES = $(FIGURES:%=ressources/%.png) $(SNIPPETS:%.md=%.png) biblio.bib +PANDOC_OPTIONS = --pdf-engine=xelatex all: $(FILE_NAME).pdf $(FILE_NAME).docx @@ -11,7 +12,7 @@ ICHLL_Brenon.pdf: $(DEPEDENCIES) ICHLL_Brenon.docx: $(DEPEDENCIES) %.pdf: %.md - LANG=fr_FR.UTF-8 pandoc $< $(FILTERS:%=--filter %) --bibliography=biblio.bib --csl=apa.csl --citeproc -o $@ + LANG=fr_FR.UTF-8 pandoc $(PANDOC_OPTIONS) $< $(FILTERS:%=--filter %) --bibliography=biblio.bib --csl=apa.csl --citeproc -o $@ %.png: %.pdf pdftocairo -png -singlefile -r 400 $^ $(basename $@)