Home

Awesome

Latex Dev Container

Ultimate Latex development container for Visual Studio Code

<img height="250" src="https://raw.githubusercontent.com/qdm12/latexdevcontainer/master/title.svg?sanitize=true">

Build status Docker Pulls Docker Stars

Join Slack channel GitHub last commit GitHub commit activity GitHub issues

Features

Demo

Requirements

Setup for a project

  1. Setup your configuration files
    • With style 💯

      docker run -it --rm -v "/yourrepopath:/repository" qmcgaw/devtainr:v0.4.0 -dev latex -path /repository -name projectname
      

      Or use the built binary

    • Or manually: download this repository and put the .devcontainer directory in your project.

  2. Open the command palette in Visual Studio Code (CTRL+SHIFT+P) and select Remote-Containers: Open Folder in Container... and choose your project directory

Install

Install LaTex packages

If you need for example the package lastpage, open the integrated terminal in VS Code, select zsh and enter:

tlmgr install lastpage
texhash

Install packages

Update the Latex Docker image

  1. Pull the docker image

    docker pull qmcgaw/latexdevcontainer
    
  2. Open the command palette in Visual Studio Code (CTRL+SHIFT+P) and select Remote-Containers: Rebuild and Reopen in Container.... ⚠️ this will erase your container shell history and custom latex packages you added on top of the base image.

More

devcontainer.json

Development image

TODOs

License

This repository is under an MIT license unless indicated otherwise.