Skip to content

carteakey/tinytex-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Minimal TinyTex Docker Image

Dockerfile for a lightweight and easily configurable TinyTex installation, that is good enough for basic LaTeX usage e.g. resume.

Build using Docker

docker build -t latex .

Create pdf file from a .tex

docker run --rm -i -v "$PWD":/data latex pdflatex resume.tex

Search for packages

If your .tex file fails to generate, with an error \*.sty not found, just locate what package contains that .sty and add it to the Dockerfile.

tlmgr search --global --file <your_missing_sty_name>.sty

This way your tinytex installation will contain only the packages you may need.

Using with VSCode

It works great with the VSCode Latex Extension.

Just add below to settings.json

  "latex-workshop.docker.image.latex": "latex",
  "latex-workshop.docker.enabled": true,

About

Minimal TinyTex Docker Image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published