Skip to content

PabloCasia/latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A docker for LaTeX

Build

Pull image (from Docker Hub):

docker pull pablocasia/latex

Compile a .tex file

Only use filename, without .tex extension

with pdflatex

docker run --rm -v `pwd`:/latex pablocasia/latex build filename

with pdflatex & Biber

Use -b option, example:

docker run --rm -v `pwd`:/latex pablocasia/latex build -b filename

with xelatex

docker run --rm -v `pwd`:/latex pablocasia/latex build_xelatex filename

Clean the log and other files during the build

Use -c option, examples:

docker run --rm -v `pwd`:/latex pablocasia/latex build -c filename
docker run --rm -v `pwd`:/latex pablocasia/latex build -cb filename
docker run --rm -v `pwd`:/latex pablocasia/latex build_xelatex -c filename

Clean the log and other files after the build

docker run --rm -v `pwd`:/latex pablocasia/latex clean

About

A docker container for LaTeX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages