-
Notifications
You must be signed in to change notification settings - Fork 584
Install
Jerome Lelong edited this page Dec 25, 2018
·
48 revisions
- LaTeX distribution in system PATH. For example, TeX Live.
- Please note MikTeX does not ship with SyncTeX. Please use built-in synctex functionality.
-
latexmkis required for the default recipe for building LaTeX projects to work. Alternatively, you can set up your own LaTeX recipe. - Optional: Install ChkTeX to lint LaTeX projects.
- Optional: Install latexindent.pl for formatting support if it is not provided by your LaTeX distribution.
Installing LaTeX Workshop is simple. You can find it in Visual Studio Code Marketplace, or simply run ext install latex-workshop in VS Code Quick Open (ctrl/cmd + P).
- Open a
.texfile, right click to build, SyncTeX, or show all features. - For a complete list, select
LaTeX Workshop Actionsentry. - For reverse SyncTeX from PDF to LaTeX,
ctrl/cmd+ left mouse click in the PDF. - Alternatively, VS Code commands are provided in VS Code Command Palette (
ctrl/cmd+shift+P). - Type
latex workshopto show all related commands. - To view an arbitrary PDF file, just click on the file in the explorer.
Starting with release 5.3.0, there is an experimental implementation on Docker support following the idea of @Arxisos. You can set latex-workshop.docker.enabled to true to use tianon/latex. It is advised that the image is 'pre-'pulled.
@Arxisos created snippets for LaTeX binaries in docker, and @lippertmarkus had another short description on how to use Docker with LaTeX Workshop.