Skip to content

A Docker container running on Ubuntu with TexLive full system

License

Notifications You must be signed in to change notification settings

gregunz/TexLive-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A Docker container running on Ubuntu with TexLive full system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published