1

I'm looking for some help setting ST2 up with LaTeX, so far I have downloaded texLive from here and have uncompressed it and ran ./install-tl. I have also installed LaTeXTools on ST2. When I try to build a LaTeX document I get the following error:

COULD NOT COMPILE!

Attempted command:latexmk -cd -e $pdflatex='pdflatex -interaction=nonstopmode -synctex=1 %S %O' -f -pdf /home/colin/workspace/trunk/Documents/My Papers/Template/template.tex

I've also add it to my $PATH using export PATH=$PATH:/usr/local/texlive/2013/bin/x86_64-linux.

1
  • 1
    According to your debian tag, you use debian. So you should install LaTeX by installing the texlive package (and not downloading it from the web).
    – ppr
    Nov 13 '13 at 15:55
3

The official web page of ST2 explains how to install ST2 on linux (you seems to use debian).

Linux support is coming along nicely. You need to install TeXlive; if you are on Ubuntu, note that apt-get install texlive will get you a working but incomplete setup. In particular, it will not bring in latexmk, which is essential to LaTeXTools. You need to install it via apt-get install latexmk. If on the other hand you choose to install the TeXlive distro from TUG, latexmk comes with it, so you don't need to do anything else. Also, to get inverse search working on ST3, make sure you set the sublime option in LaTeXTools Preferences.sublime-settings correctly; the Ubuntu package from the ST web page uses subl, but check from the command line first.

so :

apt-get install texlive latexmk
2
  • Can I just delete the current texlive directories or is there a "safe" way to remove it?
    – Colin747
    Nov 13 '13 at 16:04
  • it's depends what commands did you passed. But the short answer is yes, it's safe. Remove your folder and install via apt-get.
    – ppr
    Nov 13 '13 at 16:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.