blob: 1e3aa358d462b8daec71300100240b6c679eba38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
TARGET = example.pdf
SRC = example.tex
PARTS = examples/text.md.tex \
preamble.tex \
example.bib
all: $(TARGET)
$(TARGET): $(SRC) $(PARTS)
pdflatex --shell-escape $< $@
bibtex example
pdflatex --shell-escape $< $@
pdflatex --shell-escape $< $@
%.md.tex: %.md
pandoc -f markdown -t latex $< > $@
clean:
rm -rf *.blg *.bbl *.pdf *.aux *.log *.toc *.out parts/*.md.tex parts/*.aux svg-inkscape images/*.pdf_tex images/*.pdf
|