Sign inSign up

gregunz/texlive

By gregunz

•Updated about 7 years ago

A Docker container running on Ubuntu with TexLive full system

Image
0

102

gregunz/texlive repository overview

⁠TexLive-Docker

A Docker container running on Ubuntu with TexLive full system

⁠How to use

⁠Example 1: docker run ...
docker run -it --rm -v cd /path/to/dir/:/opt/app/ gregunz/texlive filename.tex

Note that /path/to/dir/ should be the absolute path to the directory where filename.tex and its dependencies are stored. The command run is the one defined in the Dockerfile as entrypoint (pdflatex). It can be overriden using the --entrypoint argument.

For example for the latex command:

docker run -it --rm -v $(pwd):/opt/app/ --entrypoint latex gregunz/texlive filename.tex
⁠Example 2: pdflatex filename.tex

Set an alias:

pdflatex='docker run -it --rm -v $(pwd):/opt/app/ gregunz/texlive'

And use it that way:

cd /path/to/dir/
pdflatex filename.tex

You can setup an alias that way for each command you use regularly.

⁠Issues ?

Any problems? Also remarks appreciated, just open an issue.

gregunz.

Tag summary

Content type

Image

Digest

Size

1.5 GB

Last updated

about 7 years ago

docker pull gregunz/texlive