summaryrefslogtreecommitdiffstats
path: root/mklatexreport
blob: b7cdfc4b716a1da1d6c42efac1fde26c7c40b618 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set -e

filename="${1:-report}"

filename="${filename%.tex}"

latexmk -pdf -outdir=out -shell-escape "$filename" </dev/null
#latexmk -pdflatex=lualatex -pdf -outdir=out -shell-escape "$filename" </dev/null
mv "out/$filename.pdf" .