Saturday, 17 August 2013

Create an exec on mac to compile

Create an exec on mac to compile

I'm trying to create an exec on mac to compile Latex, MakeIndex and BibTex
in same time.
Here my make file :
latex -output-directory=build -interaction=nonstopmode sample.tex
makeindex build/sample.idx
makeindex build/sample.nlo -s nomencl.ist -o build/sample.nls
latex -output-directory=build -interaction=nonstopmode sample.tex
bibtex build/sample
latex -output-directory=build -interaction=nonstopmode sample.tex
latex -output-directory=build -interaction=nonstopmode sample.tex
But when I launch this exec with this in my sample folder, Terminal return
me "Command not found".
I think this is a path problem but I'm not really efficient in this domain...

No comments:

Post a Comment