view m-toolbox/m/helper/buildLaTeXTN.sh @ 45:a59cdb8aaf31 database-connection-manager

Merge
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 19:07:22 +0100
parents f0afece42f48
children
line wrap: on
line source

#!/bin/bash

if [ $# -lt 1 ]
then
        echo "usage: buildLaTeXTN <model_name>"
  exit
fi

input=`basename $1 .tex`
echo "compiling file: $input"

pdflatex $input.tex && pdflatex $input.tex && pdflatex $input.tex && open $input.pdf