first commit
[scripts.git] / latexthis
blobce11bf1326f2c0ea6b0d056390fb4d3b70546ab3
1 #!/bin/bash
2 #x=1
3 #while [ $x -eq 1 ]
4 #do
5 # sleep 1
6 pdflatex -halt-on-error $1
7 pdflatex -halt-on-error $1
8 pdflatex -halt-on-error $1
9 pdflatex -halt-on-error $1
10 pdflatex -halt-on-error $1
11 rm ${1/.tex/}.log
12 rm *.aux
13 open -g ${1/.tex/}.pdf
14 #done