diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-12-07 19:58:25 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-12-07 20:29:31 +0100 |
| commit | df679d9a57c218deeaac64e63be658d6b783e1d6 (patch) | |
| tree | eb91f0235890e37abc13882f9b7e325570f340d3 /personal/cv/Makefile | |
| parent | e470dab312b37d21dd27755e4bf4b815e6380f02 (diff) | |
| download | memory-leaks-df679d9a57c218deeaac64e63be658d6b783e1d6.tar.xz | |
Add "CV" """infrastructure"""
The phone and e-mail emojis take 2 columns when displayed, but I don't
think Pandoc has any way to know that when parsing tables (unless
there is some Unicode metadata marking those glyphs as wider than
normal).
Diffstat (limited to 'personal/cv/Makefile')
| -rw-r--r-- | personal/cv/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/personal/cv/Makefile b/personal/cv/Makefile new file mode 100644 index 0000000..00715cd --- /dev/null +++ b/personal/cv/Makefile @@ -0,0 +1,23 @@ +PDFs = $(patsubst %.md,results/%.pdf,$(wildcard *.md)) +inputs = $(patsubst %.md,results/%.md,$(wildcard *.md)) + +pandoc_options = --verbose + +$(PDFs): pandoc_options += \ +--pdf-engine=xelatex \ +--include-in-header=fonts.tex \ + -V mainfont="DejaVu Sans" -V colorlinks + +all: $(PDFs) + +results/%.pdf: results/%.md fonts.tex | results + pandoc $< $(pandoc_options) -o $@ + +results/%.md: %.md add-personal-info.sh | results + ./add-personal-info.sh $< $@ + +results: + mkdir $@ + +clean: + -rm -r results |
