2

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.tex

My 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 %.tex

I 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_i386

and got no error messages when installing.

What's going on?

1

1 Answer 1

1

You need to replace pdflatex under Options -> Configure Texmaker -> Commands with

 "/usr/local/texlive/2014/bin/i386-linux/pdflatex"
2
  • could you explain why? I don't understand why this is needed since pdflatex is in my PATH. do I have to this for the other programs as well -- i.e., bibtex and so forth?
    – djas
    Sep 10, 2014 at 2:27
  • My suspicion is that TexMaker looks for these files on standard locations rather than using the PATH variable. Unfortunately, I had to do the same for the other commands too.
    – Harris
    Sep 10, 2014 at 13:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .