Docker TeX container - now with pandoc integration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
maride 3e573a9cee Merge branch 'master' of emile/texbox into master 1 year ago
Dockerfile Setup texbox 2 years ago
README.md inserted a description on how to create an alias for building .tex 1 year ago
run.sh Fix relative path problem 2 years ago

README.md

texbox

Build

Build the container. This may take some seconds, as tex-full is rather huge.

sudo docker build . -t "texbox"

Run

cd into the current directory and replace <filename.tex> with your TeX filename. Then run the following command:

sudo docker run -v "$(pwd)":/tex -e TARGET=<filename.tex> texbox

alias

Insert this alias into your .bashrc, .zshrc, or any corresponding file in order to simply build .tex files using the latexbuild <filename.tex> command:

alias "latexbuild"='function _latexbuild(){sudo docker run -v "$(pwd)":/tex -e TARGET="$1" texbox;};_latexbuild'