diff options
-rwxr-xr-x | mklatexreport | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mklatexreport b/mklatexreport index df075bb..b7cdfc4 100755 --- a/mklatexreport +++ b/mklatexreport @@ -1,7 +1,10 @@ #!/bin/bash set -e -filename=${1:-report} +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" . |