rnhmjoj
383dbd6f38
- 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
19 lines
359 B
Makefile
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)
|