Sublime Forum

ST3 doesn't use files in $PATH

#1

I’ve just started trying out Sublime Text 3 on OS X 10.10.1, and I’m having a problem with all the LaTeX packages I’ve tried. If I run latexmk from the command line or from another editor (I’ve been a TextMate user for years), it uses the LaTeX packages, styles, and bib files that are in my system $PATH and in the $BIBINPUTS environment variable. However, when I build a .tex file in ST3, latexmk fails to find any of those files, and I either have to specify their full paths, or copy them into the directory of the .tex file.

How do I get ST3 to use the system $PATH? Thanks.

0 Likes

#2

This issue could be related to the way ST handle $PATH in osx, try looking here:
viewtopic.php?f=2&t=14585&p=55327&hilit=fix+path#p55327

0 Likes

#3

Thanks for that. I tried the suggested solutions, but nothing worked. I’ve had a word with a friend who’s used ST3 with LaTeX for a while, and he says he has to specify the full path to the bibliography file in each document. I’m not prepared to do that, as it ties the document to the absolute path of a bibliography on my machine, but I tried it to see if it would work, and latexmk throws up other errors, so I guess I’ll try to get TextMate working again instead.

Thanks for your help, in any case.

0 Likes