#!/bin/sh ################################# # figmaker ################################# # This command sets the folder in which the script is as current folder cd "$(dirname "$0")" # Execute the gnu plot script gnuplot plotmaker.txt # Compile the created tex file latex figure.tex > latex.log # create the eps file dvips -E -o figure1.eps figure.dvi # clean all useless files rm figure.dvi figure.tex figure.log figure-inc.eps figure.aux # create the pdf file epstopdf figure1.eps -o figure1.pdf # ferme la fenĂȘtre du terminal exit #################################