inserted a description on how to create an alias for building .tex
This commit is contained in:
parent
8147142930
commit
687d0da50d
@ -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=<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'
|
||||
`
|
||||
|
Loading…
Reference in New Issue
Block a user