1

I installed Texlive into /opt/texlive. Also I've added the path of Latex to $PATH in ~/.bashrc. Thereafter I installed Texmaker.

I launched Texmaker by searching in Unity dash. But when compiling the .tex files, Texmaker fails to find latex.

What should I do?

Aditya
  • 13,416
aban
  • 21

2 Answers2

1

When you are in Texmaker, go to OptionsConfigure Texmaker and change the paths for the programs.

Radu Rădeanu
  • 169,590
1

I find a solution and share with friends who encountered the similar problems. I just add some commands into the ~/.profile file. Here are the command:

if [ -d "/opt/texlive/2013/bin/x86_64-linux" ] ; then
  PATH="/opt/texlive/2013/bin/x86_64-linux:$PATH"
fi
aban
  • 21
  • You don't tell us how you installed TL. But see the section "Post-install: setting PATH" at https://www.tug.org/texlive/quickinstall.html – Martin Schröder Oct 13 '13 at 20:51