Sign inSign up

mjalas/latex

By mjalas

•Updated over 9 years ago

Basic latex image

Image
0

940

mjalas/latex repository overview

⁠Latex environment in a docker container

The image includes the basic setup of a Latex environment that can be used for building documents. The image is based on the ubuntu image, with texlive and latexmk installed. The project is still under development, and usability might improve in the near future.

⁠Usage

The best way of using the image is to run the following command:

docker run --rm -it -v /path/to/latex_files:/home/document mjalas/latex /bin/bash

This will start a container in interactive mode, with a folder containing all latex files mounted in the container. Then by running latexmk, different document types can be built. For building a pdf document, run the following command:

latexmk -pdf

or only for a specific file

latexmk -pdf myfile.tex

The pdf can be found on the host inside the folder that was mounted.

Tag summary

Content type

Image

Digest

Size

919.1 MB

Last updated

over 9 years ago

docker pull mjalas/latex