view m-toolbox/m/helper/buildLaTeXTN.sh @ 15:ce3fbb7ebe71 database-connection-manager

Remove broken functions from utils.jmysql
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +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