I messed up a bit with TekLive and TexMaker in my Ubuntu 14.04. I unistalled and re-installed both a couple of times.
Now, if I go to terminal and do
pdflatex -synctex=1 -interaction=nonstopmode test.texMy test.tex file is compiled as it should be. The problem is when I try to do this from TexMaker. I get the error message
Could not start the command.
pdflatex -synctex=1 -interaction=nonstopmode %.texI don't get it. I added /usr/local/texlive/2014/bin/i386-linux to PATH -- of course I did, otherwise pdflatex wouldn't run from the terminal as it did. I don't know what else to do. I found this question in SO but all the answers mentioned installing (again) TexLive. I mean, my latex seems to be working, so I don't see any point in redoing that. I uninstalled and installed again TexMaker 4.3 by downloading the appropriate version from here and then doing
sudo gdebi texmakerQT5_ubuntu_14.04_4.3_i386and got no error messages when installing.
What's going on?
11 Answer
You need to replace pdflatex under Options -> Configure Texmaker -> Commands with
"/usr/local/texlive/2014/bin/i386-linux/pdflatex" 2