Skip to content

m007/latex-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX docker container

This container helps compiling latex sources without the need to install all latex packages on your system.

Setup

First, add your local user to docker group, to execute docker without always needing sudo:

sudo usermod -aG docker $USER

Pull image:

docker pull calvinspiff/latex-docker

or build:

docker build -t calvinspiff/latex-docker .

Usage:

Switch to a directory containing your latex sources, then:

# Suppose example.tex is the document you want to compile
/path/to/your/dockercmd.sh example.tex

# View
./example.pdf

Why should I use this container?

  • Easy setup
  • Uses latexmk to compile
  • Preserves UID and GID of local user
  • Uses german language settings
  • Comes with inkscape and PlantUML preinstalled
  • curl can be ussed in possible deploy steps
  • Use container like local command

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%