-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompile.sh
More file actions
executable file
·26 lines (21 loc) · 887 Bytes
/
compile.sh
File metadata and controls
executable file
·26 lines (21 loc) · 887 Bytes
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
#!/bin/bash
echo "Generating Figures, please wait..."
if [[ "$1" == "--figs" ]]; then
inkscape -D --file=plotgen/structure.svg --export-pdf=plotgen/structure.pdf
inkscape -D --file=plotgen/flowchart.svg --export-pdf=plotgen/flowchart.pdf
inkscape -z --file=plotgen/bigiel_extract.svg --export-png=plotgen/bigiel_extract.png --export-dpi=600
python3 plotgen/toomre_q.py
python3 plotgen/Q_analysis.py
python3 plotgen/bigiel_overplot.py
python3 plotgen/sd_analysis.py
python3 plotgen/toomre_q_with_data.py
python3 plotgen/evolution.py
python3 plotgen/eos_fig.py
fi
echo " --##--##--##--##--##--##--##--##--##--##--##--##--##--##--##-- "
echo "Running LaTeX"
pdflatex -output-directory=compiled main.tex
bibtex compiled/main.aux
pdflatex -output-directory=compiled main.tex
pdflatex -output-directory=compiled main.tex
evince compiled/main.pdf &