Sign inSign up

resert/latex

By resert

Updated about 4 years ago

Docker image that takes a LaTeX (eskdx) document as input and outputs a PDF

Image
0

176

resert/latex repository overview

Build the image using the following command docker build -t texdocker {DOCKERFILE_DIR} where {DOCKERFILE_DIR} is the directory where the cloned Dockerfile from this repository is stored. For example, docker build -t texdocker . will build the Dockerfile stored in the current working path.

After building the image with the texdocker tag, issue the command docker run --rm -v {DOCUMENT_PATH}:/tmp:rw -i texdocker < {DOCUMENT_FILENAME}.tex > {DOCUMENT_FILENAME}.pdf to compile a LaTeX document. where {DOCUMENT_PATH} is the directory where the document in LaTeX format is stored (and where the bibliography, image files and other dependencies are stored too) and DOCUMENT_FILENAMEis the name of the document file. As an example, you can use the example.tex document from this repository to test TeX Docker.

If you are using Windows or OS X, please notice that, due to limitations of Docker Machine, {DOCUMENT_PATH} must be in /Users directory (OS X) or C:\Users directory (Windows).

Tag summary

Content type

Image

Digest

sha256:01013838e

Size

262.5 MB

Last updated

about 4 years ago

docker pull resert/latex