Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding TexLive to TexStudio's understanding of path

Tags:

linux

latex

Not sure if this is the right forum for this question (although this similar SO question encouraged me), but I can't get TexStudio to find my installation of TexLive.

I'm running Linux Mint 17.

I've followed the instructions here by adding /usr/local/texlive/2014/bin/x86_64-linux to my .bashrc and even added it to both /etc/profile and /etc/environment just for good measure.

When I start a Terminal, typing pdflatex works just fine.

But TexStudio continues not to be able to find the pdflatex executable complaining Error: Could not start the command: pdflatex -synctex=1 -interaction=nonstopmode "foo".tex

So my question is: to what does the texlive install directory have to be added so that TexStudio knows where to find it?

like image 501
LondonRob Avatar asked Jan 11 '23 06:01

LondonRob


1 Answers

I was able to add TeXLive to TeXstudio's $PATH through the GUI by following these steps:

  1. Open "Configure TeXstudio..." from the "Options" dropdown menu.
  2. Check "Show Advanced Options".
  3. Go to the "Build" section.
  4. In the "Build Options", fill in the TeXLive bin directory in the "Commands ($PATH)" field.

TeXstudio should now find the TeXLive binaries without problem.

like image 130
Mohamed Laradji Avatar answered Jan 18 '23 01:01

Mohamed Laradji