Skip to content

Latest commit

 

History

History
executable file
·
32 lines (26 loc) · 684 Bytes

README.md

File metadata and controls

executable file
·
32 lines (26 loc) · 684 Bytes

docker-latex

A Docker container for compiling LaTeX Projects

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