-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
LaTeXSq can be installed via Package Control.
LaTeXSq relies on latexmk
, which is an automatic LaTeX complication engine. It comes with TeXLive, MacTeX and MilTeX. Depends on different operation system, you should install a correct version of LaTeX distribution and a relevant PDF viewer.
You should have MacTex and Skim installed.
To enable backward sync of Skim, open Preferences -> Sync -> Unclick "Check for file changes" and Input the following in PDF-TeX Sync Support:
Command: /Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
Arguments: "%file":%line
You should have MilTeX and SumatraPDF installed. You should also have a Perl interpreter, eg, ActivePerl installed. Make sure that the path to the interpreter is in your system environment PATH variable. This is also a good idea to add your SumatraPDF directory to the PATH variable. To set the PATH variable, see.
To enable backward sync of SumatraPDF, click Settings > Advanced Options, set InverseSearchCmdLine to
"C:\Program Files\Sublime Text 3\sublime_text.exe" "%f:%l"
or to the path where Sublime Text 3 binary is located.
You should have TeXLive installed. The document viewer Evince should come together with your Ubuntu distribution. Forward and backward sync will be automatic if the PATH variable is set correctly.
To test whether latexmk
is well set up, download this sample, open terminal and navigate to where the file is downloaded and run latexmk -pdf sample
. A pdf file will be created, if latexmk
is working. If not, it means that your LaTeX engine is not properly installed.
##LaTeXSq Options
It may happen that LaTeXSq fails to find the sublime binary and python binary. Put the following in your user "LaTeXSq.sublime-settings" file.
{
"linux": {
// path to sublime
"sublime": "subl",
// path to python2
"python": "python"
}
}