view m-toolbox/m/helper/buildLaTeXTN.sh @ 10:75007001cbfe database-connection-manager

Check for binary only objects
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