Created
August 11, 2017 13:42
-
-
Save notcome/f3f985029ffaba3adc172d874057de5b to your computer and use it in GitHub Desktop.
XeLaTeX inside Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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