view m-toolbox/m/helper/buildLaTeXTN.sh @ 51:9d5c88356247 database-connection-manager

Make unit tests database connection parameters configurable
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:24:37 +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