blob: 6da782ed7b4fcfd59e8e6e1aeac0e754f3604fc7 (
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
luatex --shell-escape -file-line-error -synctex=1 "$1"
|