From 687d0da50d984b1001af1c6e1fab027f99c3ed94 Mon Sep 17 00:00:00 2001 From: emile Date: Sat, 9 Feb 2019 19:48:59 +0000 Subject: [PATCH] inserted a description on how to create an alias for building .tex --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 0f9b440..8e3cf55 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,10 @@ Build the container. This may take some seconds, as `tex-full` is rather huge. Then run the following command: `sudo docker run -v "$(pwd)":/tex -e TARGET= texbox` + +### alias + +Insert this alias into your `.bashrc`, `.zshrc`, or any corresponding file in order to simply build `.tex` files using the `latexbuild ` command: + +`alias "latexbuild"='function _latexbuild(){sudo docker run -v "$(pwd)":/tex -e TARGET="$1" texbox;};_latexbuild' +`