Skip to content
Snippets Groups Projects
Commit 65eb03f6 authored by Alice Brenon's avatar Alice Brenon
Browse files

Go XeLaTeX and use Libertinus font

parent b22990bc
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ classoption:
- english
- a4paper
- 12pt
mainfont: "Libertinus Serif"
header-includes:
- \usepackage{textalpha}
- \usepackage{hyperref}
......
......@@ -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 $@)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment