How I used Docker for LaTeX On macOS Yosemite/Sierra

LaTeX on Dokcer Update on December 11, 2016: I’m no longer using the image based on blang/latex, instead it is now based on ubuntu:xenial. A shortcut bash function I used to for compiling .tex now which is way more easier than before. docker-latex() { docker run -v $PWD:/mnt/src --rm soleo/latex:latest $@; return $?; }Recently I just got a my MacBook Pro because my old one died accidentally. That was a story involved with ice coffee and soda. But that’s not important. So after I used my dotfiles repository(https://github.com/soleo/dotfiles) to set up everything I need and want to start compiling some old .tex files to PDF, PdfLaTeX was missing. ...

August 14, 2015 · 3 min · Xinjiang Shao