Skip to content

Simple docker container for building latex projects. Currently only supports PDF.

Notifications You must be signed in to change notification settings

romandecker/docker-latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-Container for simple LaTeX-Builds

This container aims to provide a simple way to build LaTeX documents out of the box. You can basically perform any compilation task using this image, although a simple script is provided to perform a latexmk-powered continuous build.

Usage

The container expects your LaTeX-documents mounted at /latex, so if you want to start a continuous build from your cwd, simply run:

docker run --rm -v `pwd`:/latex theromanempire/latex autobuild yourfile.tex

Which will compile your tex-file to a PDF-Document, including BibTex & SyncTex support, and watch your files for changes and recompile everything whenever a change happens. All this is done through the magic of latexmk.

Adding additional cls-files

TEXMFHOME is located at /root/texmf within the container. Simply put your files there (in the correct hierarchy). And re-run texhash and mktexlsr /root/texmf so that LaTeX will find them.

About

Simple docker container for building latex projects. Currently only supports PDF.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published