-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·80 lines (70 loc) · 2.07 KB
/
Makefile
File metadata and controls
executable file
·80 lines (70 loc) · 2.07 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
TEX_NAME = gintautas-cv-spark
INDUSTRY_NAME = gintautas-industry
ACADEMIC_NAME = gintautas-academic
ONEPAGE_NAME = gintautas-onepage
BIB_NAME = gintautas
PDF_NAME = gintautas
all:
echo 'use `make academic` or `make industry`'
academic:
cp -f ${ACADEMIC_NAME}.tex ${TEX_NAME}.tex
make prespark
python sparklines.py ${TEX_NAME}.tex
make postspark
industry:
cp -f ${INDUSTRY_NAME}.tex ${TEX_NAME}.tex
make prespark
python sparklines.py ${TEX_NAME}.tex
make postspark
onepage:
cp -f ${ONEPAGE_NAME}.tex ${TEX_NAME}.tex
#bold my name in the bibliography without making it useless for other applications
cat ${BIB_NAME}.bib | sed 's_V\. Gintautas_{\\bf V\. Gintautas}_' > ${BIB_NAME}_temp.bib
python fill_contact.py
xelatex ${TEX_NAME}.tex
xelatex ${TEX_NAME}.tex
#latex -interaction=batchmode ${TEX_NAME}.tex
#latex -interaction=batchmode ${TEX_NAME}.tex
#bibtex bibpublications
bibtex bibselectedpublications
#python sparklines.py ${TEX_NAME}.tex
make postspark
prespark:
#bold my name in the bibliography without making it useless for other applications
cat ${BIB_NAME}.bib | sed 's_V\. Gintautas_{\\bf V\. Gintautas}_' > ${BIB_NAME}_temp.bib
python fill_contact.py
xelatex ${TEX_NAME}.tex
xelatex ${TEX_NAME}.tex
#latex -interaction=batchmode ${TEX_NAME}.tex
#latex -interaction=batchmode ${TEX_NAME}.tex
bibtex bibpublications
bibtex bibinvitedtalks
bibtex bibconferencepresentationsandproceedings
#spark:
# cp -f ${TEACH_NAME}.tex ${TEX_NAME}.tex
# make prespark
# python sparklines.py
# make postspark
postspark:
xelatex -interaction=batchmode ${TEX_NAME}.tex
xelatex -interaction=batchmode ${TEX_NAME}.tex
#dvips -t letter -Ppdf ${TEX_NAME}.dvi -o ${TEX_NAME}.ps
#ps2pdf ${TEX_NAME}.ps ${TEX_NAME}.pdf
mv -f ${TEX_NAME}.pdf ${PDF_NAME}.pdf
make clean
open ${PDF_NAME}.pdf &
clean:
rm -f ./sections/contact_information_filled.tex
rm -f ./sections/*_spark.tex
rm -f ${TEX_NAME}.tex
rm -f ${TEX_NAME}.pdf
rm -f ${TEX_NAME}.ps
rm -f ${BIB_NAME}_temp.bib
rm -f *.dvi
rm -f *.log
rm -f *.aux
rm -f *.bbl
rm -f *.blg
rm -f *.out
rm -f *.tcp
rm -f *.tps