Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-latex

A Docker container for compiling LaTeX Projects

The image also includes Python 3 and PyYAML so LaTeX projects can run small build automation scripts before compiling, for example generating .tex files from YAML source files.

How to use it?

  1. Pull it from DockerHub
	docker pull obedmr/latex
  1. Compile it ... !
	cd /path/to/your/latex/project
	# Create the output directory
	mkdir aux/
	docker run --rm -v `pwd`:/mnt obedmr/latex tex <tex_command> <main.tex>
  1. That's all, you will have your compiled content inside the output dir aux/

Important Notes

  • If you want to see all available TeX commands, run:
	 docker run -v `pwd`:/mnt obedmr/latex tex list-utils
  • Example command for compiling my main.tex file
	 docker run -v `pwd`:/mnt obedmr/latex tex pdflatex main.tex
  • Example command for running a Python/YAML build helper inside the same image:
	 docker run --rm -v `pwd`:/mnt obedmr/latex python3 scripts/generar_respuestas.py juan

About

LaTex Docker Container

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages