Skip to content

Instantly share code, notes, and snippets.

@notcome
Created August 11, 2017 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notcome/f3f985029ffaba3adc172d874057de5b to your computer and use it in GitHub Desktop.
Save notcome/f3f985029ffaba3adc172d874057de5b to your computer and use it in GitHub Desktop.
XeLaTeX inside Docker
#!/bin/sh
docker run \
-v $(pwd):/latex \
-v "/Users/selveskii/Library/Application Support/LaTeX/Styles":/styles \
-v "/Users/selveskii/Library/Application Support/LaTeX/Fonts":/fonts \
"minsheng/latex:latest" \
/bin/bash \
-c "export TEXINPUTS=\".:/styles:\"; xelatex $1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment