/latex-devcontainer

Devcontainer for using LaTeX in VS Code with auto-formatting and one-click arXiv export and link check.

Primary LanguageShellMIT LicenseMIT

VS Code LaTeX Devcontainer

Devcontainer using LaTeX with VS Code featuring

  • Common LaTeX plugins
  • Github and Gitlab CI
  • one-click arXiv export
  • one-click PDF URL check

Note: No local LaTeX installation is needed, however, VS Code and Docker need to be installed to use this.

Usage

Step by Step:

  • Install VS Code Devcontainer extension ms-vscode-remote.remote-containers
  • Clone repo or add submodule with path .devcontainer into your project
    git clone https://github.com/a-nau/latex-devcontainer.git .devcontainer
    git submodule add https://github.com/a-nau/latex-devcontainer.git .devcontainer
  • Press F1 (or CTRL + SHIFT + P) and select Dev Containers: Rebuild and Reopen Container
  • (optional) rename main Texfile to root.tex or adjust CI configs if you want to use the CIs
  • Commit the files copied during the Devcontainer setup (settings.json, .gitlab-ci.yml, latex_build.yml)
  • If you do not see the following latex command menu, try reloading the window

Credits

Unless stated otherwise, this project is licensed under the MIT license.