Skip to content
프로젝트

nuric/vscode-latex-docker-template

GitHub에서 보기

소개

A minimal VS Code latex template using Docker

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

vscode-latex-docker-template

Compile LaTeX

Update 2026-11-16: Updated workflow action versions and confirmed things are still cooking.

Update 2025-01-29: Confirming that this template is still working with the latest versions and default Github Codespaces.

A minimal VS Code LaTex template using Docker containers to compile. It contains the configuration to get VS Code up and running for LaTex with Docker. Some of the configured features include:

  • GitHub Action to compile on push and have the PDF ready as an artifact.
  • Install the essential extensions using .vscode/extensions.json for LaTex and spell checking.
  • Adjust settings of LaTex to utilise a Docker container for compiling the project.
  • Uses the same Docker container locally and for CI to ensure consistency.
  • Format and compile on file save.
  • Invert PDF colours using the extension settings, .vscode/settings.json.

The main motivation behind this setup is the extremely tedious and unhelpful native LaTex installation process. Using a Docker container to wrap pdflatex and more allows for a cleaner and more reproducible workspace.

Getting started

Use the "Use this template" button to create a new repository with this template. Clone the repository and open it in VS Code. The first time you open the project, you will be prompted to install the recommended extensions. Click "Install All" to install them.

To compile the latex project:

  1. Open the main.tex file and find TEX extension in the left sidebar. It appears only when you have the LaTex Workshop extension installed and have a Tex file open.
  2. Click the "Build LaTeX project" button to compile the project. The PDF will be generated using the Docker container.
  3. After the compilation, click the "View LaTeX PDF" option button to view the generated PDF!

When you push, the same compilation process will be run on GitHub Actions. The PDF will be available as an artifact in the actions tab.

Contributing

The objective is to keep this template as minimal as possible. For issues, suggestions, or improvements, please open an issue or a pull request.

Built using

관련 프로젝트 살펴보기

불러오는 중…