-
Notifications
You must be signed in to change notification settings - Fork 0
/
redo_pdf.sh
executable file
·49 lines (37 loc) · 1.24 KB
/
redo_pdf.sh
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
#!/bin/bash
#DOING MAIN
FILE=main
#cleaning all LaTeX clutter
rm -f $FILE.aux $FILE.dvi $FILE.log $FILE.idx $FILE.ind $FILE.toc $FILE.ilg $FILE.out $FILE.bbl $FILE.blg $FILE.nav $FILE.snm $FILE.ps $FILE.pdf
#doing the usual latex routine
pdflatex $FILE
bibtex $FILE
pdflatex $FILE
pdflatex $FILE
#DOING SUPPLEMENTARY
FILE=suppl
#cleaning all LaTeX clutter
rm -f $FILE.aux $FILE.dvi $FILE.log $FILE.idx $FILE.ind $FILE.toc $FILE.ilg $FILE.out $FILE.bbl $FILE.blg $FILE.nav $FILE.snm $FILE.ps $FILE.pdf
#doing the usual latex routine
pdflatex $FILE
bibtex $FILE
pdflatex $FILE
pdflatex $FILE
#DOING MAIN WITH ALL INPUTS IN ONE FILE
FILE=Nazzicari_Imputation
#cleaning all LaTeX clutter
rm -f $FILE.aux $FILE.dvi $FILE.log $FILE.idx $FILE.ind $FILE.toc $FILE.ilg $FILE.out $FILE.bbl $FILE.blg $FILE.nav $FILE.snm $FILE.ps $FILE.pdf
#doing the usual latex routine
pdflatex $FILE
bibtex $FILE
pdflatex $FILE
pdflatex $FILE
#DOING SUPPL WITH ALL INPUTS IN ONE FILE
FILE=Nazzicari_Imputation_suppl
#cleaning all LaTeX clutter
rm -f $FILE.aux $FILE.dvi $FILE.log $FILE.idx $FILE.ind $FILE.toc $FILE.ilg $FILE.out $FILE.bbl $FILE.blg $FILE.nav $FILE.snm $FILE.ps $FILE.pdf
#doing the usual latex routine
pdflatex $FILE
bibtex $FILE
pdflatex $FILE
pdflatex $FILE