Go to file
2024-09-18 09:27:26 +02:00
Dockerfile Setup texbox 2018-05-04 19:33:31 +02:00
README.md inserted a description on how to create an alias for building .tex 2019-02-09 19:48:59 +00:00
run.sh Fix access rights of result 2024-09-18 09:27:26 +02:00

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'