I'm trying to compil latex files from an external directory using output-dir option because some *.sty files are in my LaTeX directory but not in my current directory.
The command I use is like this :
pdflatex -output-directory=/LaTeXdir /LaTeXdir/main.tex
And I get an error, pictures (*.png files) not found...
How can I do to specify the pictue location ? Why
-output-directory doesn't work ?