Skip to content

soleo/docker-latex

Repository files navigation

Docker with LaTeX

Build Status

LaTeX docker image for compiling latex files. Details of the package can be found on http://packages.ubuntu.com/xenial/texlive-full.

software verisons

  • Ubuntu:16.04
  • textlive-full(2015.20160320-1)
  • gnuplot

Usage

  • Build image
$ docker pull soleo/latex

or

$ docker build soleo/latex . 
  • Compile LaTeX
$ docker run --rm -v `pwd`:/mnt/src soleo/latex example.tex 
  • Shortcut function for bash
docker-latex() { docker run -v $PWD:/mnt/src --rm  soleo/latex:latest $@; return $?; }

add the function to your .bash_rc or .bash_profile

Feedback

Feel free to fork it or send me PR to improve it.

About

LaTeX compiling from Ubuntu Docker Container

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages