Public | Automated Build

## samesense/docker-latex

Last pushed: 2 years ago
Short Description
Container for simple out-of-the-box LaTeX builds
Full Description

# Docker-Container for simple LaTeX-Builds

This container aims to provide a simple way to build LaTeX documents out of the box. You can perform any compilation task using this image, although a simple script is provided to perform pdflatex + bibtex.

## 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 samesense/latex autobuild yourfile.tex
``````

Which will compile your tex-file to a PDF-Document, including BibTex support,

`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.