-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
executable file
·47 lines (35 loc) · 1.08 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
manuscript = physor2018-scopatz
references = physor
latexopt = -halt-on-error -file-line-error
all: all-via-pdf
$(manuscript).tex: diff-hist.pdf
diff-hist.pdf: decay_analysis.ipynb
ipython nbconvert --ExecutePreprocessor.timeout=6000 --execute decay_analysis.ipynb
all-via-pdf:
pdflatex $(latexopt) $(manuscript)
bibtex $(manuscript).aux
pdflatex $(latexopt) $(manuscript)
pdflatex $(latexopt) $(manuscript)
all-via-dvi:
latex $(latexopt) $(manuscript)
bibtex $(manuscript).aux
latex $(latexopt) $(manuscript)
latex $(latexopt) $(manuscript)
dvipdf $(manuscript)
epub:
latex $(latexopt) $(manuscript)
bibtex $(manuscript).aux
mk4ht htlatex $(manuscript).tex 'xhtml,charset=utf-8,pmathml' ' -cunihtf -utf8 -cvalidate'
ebook-convert $(manuscript).html $(manuscript).epub
clean:
rm -f physor2018-scopatz.pdf *.dvi *.toc *.aux *.out *.log *.bbl *.blg *.log *.spl *~ *.spl *.zip *.acn *.glo *.ist *.epub
realclean: clean
rm -rf $(manuscript).dvi
rm -f $(manuscript).pdf
%.ps :%.eps
convert $< $@
%.png :%.eps
convert $< $@
zip:
zip paper.zip *.tex *.eps *.bib
.PHONY: all clean