blob: 2c2642dd8c41595c1e3a25ad29f08520e130951f (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
if [[ -n ${2:+x} ]]; then
echo "I will add $2 to the input path"
export TEXINPUTS="$2//:"
export LUAINPUTS="$2//:"
fi
lualatex --shell-escape -file-line-error -synctex=1 "$1"
|