comparison m-toolbox/m/helper/buildLaTeXTN.sh @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 #!/bin/bash
2
3 if [ $# -lt 1 ]
4 then
5 echo "usage: buildLaTeXTN <model_name>"
6 exit
7 fi
8
9 input=`basename $1 .tex`
10 echo "compiling file: $input"
11
12 pdflatex $input.tex && pdflatex $input.tex && pdflatex $input.tex && open $input.pdf
13
14
15