[Tex/LaTex] Compiling with texmaker fails, compiling on commandline works

compilingerrorspathstexmaker

Hi I can compile my latex document using pdflatex -synctex=1 -interaction=nonstopmode -shell-escape Masterthesis.tex

When I hit the quick compile button in textmaker however nothing happens. I noticed that the log in the texmaker log window shows the log I created when I compiled via the command line. Instead of compiling it shows me the old log file (I can tell it because the log shows when the command was issued, and its old).

In the settings the quick compile comand is set as follows: pdflatex -synctex=1 -interaction=nonstopmode -shell-escape %.tex

In addition if I remove the files that were created during build and then hit the quick compile button, I get a "Could not start command" error.

What could be wrong?

This is the log file: http://pastebin.com/eA2w5YTT

Best Answer

i now found the problem. i was exporting the path to texlive in my ~/.bashrc. This worked for my shell but apparently not for texmaker. I now export the path in ~/.profile and it works in shell and in texmaker (after restarting) (Note: I'm on ubuntu)

Related Question