-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
LaTeXSq can be installed via Package Control. It is a self contained package, you can disable the default LaTeX package to avoid conflicts.
LaTeXSq relies on latexmk
, which is an automatic LaTeX complication engine. It comes with TeXLive, MacTeX and MikTeX. 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 TeXLive and SumatraPDF installed. MikTeX is supported, but TeXlive is recommended.
For MikTex, you should also have a Perl interpreter, eg, ActivePerl installed.
Make sure that the paths to latxmk
and the Perl interpreter are in your system environment PATH variable. They should be there in default if you setup the softwares properly. To set the PATH variable, see.
In most situations, LaTeXSq should be able to find SumatraPDF via Windows Registry. 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. Don't install via Ubuntu Software Center, that one is not updated. The document viewer Evince should come together with your Ubuntu distribution. Okular is also supported. 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 set up probably.