analistica/notes/makefile
rnhmjoj 383dbd6f38 notes: fix some issues with the bibliography
- Use an independent CSL, so building the document doesn't need internet

- Use title case in the bibtex database and shield proper nouns with
  brackets, as required by the spec
2020-07-05 11:36:08 +02:00

19 lines
359 B
Makefile

sections = $(shell find sections/ -name '*.md' | sort -V)
pandoc = \
@ pandoc $(1) \
--toc \
--standalone \
--pdf-engine=xelatex \
-F pandoc-crossref \
-F pandoc-citeproc \
-o $(2).pdf
all: exercises.pdf
clean:
rm exercises.pdf
exercises.pdf: $(sections) images docs
$(call pandoc, $(sections), exercises)