15 lines
164 B
Bash
15 lines
164 B
Bash
#!/bin/bash
|
|
|
|
|
|
python $1.py
|
|
pdflatex $1.tex
|
|
|
|
rm *.aux *.log *.vscodeLog
|
|
rm *.tex
|
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
open $1.pdf
|
|
else
|
|
xdg-open $1.pdf
|
|
fi
|