So I want to use LaTeX in sublime text 2, and I came across the plugin LaTeXTools. It works great, but it requires me to install Skim PDF Viewer. Is it possible to set it up so that when I compile the latex file it opens it in the PDF preview already installed on my mac?
UPDATE: This does not work as advertised.
I undeleted this post after @Bordaigorl posted the same solution. There are still some unresolved issues. Changing
The PDF-viewer in the LaTeXTools-package is configured in a file called
But I would recommend against it. Skim is an excellent PDF viewer that takes under 10 MiB on your harddisk.
The LaTeXTools plugin invokes the viewer from
Line 39 to 44 is the code which is selecting the commands to invoke when running on OSX:
As you can see the
The simplest patch is replacing line 44 with
but be aware that if you installed
So the best solution would be to open an issue on github suggesting they could read the command to be launched from a setting instead of hard-coding it.
|show 2 more comments|