diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-10-27 11:05:37 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-10-27 11:05:37 +0200 |
commit | 22732b634fb66a20cffa2a15515ff392a02df7ea (patch) | |
tree | e1b144f646087446fc4e1b21872e4ac43bb8f3e2 /mklatexreport | |
parent | 249f9f917ee4d3fd8761de82585e062567b16351 (diff) | |
download | bin-22732b634fb66a20cffa2a15515ff392a02df7ea.tar.gz bin-22732b634fb66a20cffa2a15515ff392a02df7ea.tar.xz |
mklatexreport: Strip file extension from filename
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'mklatexreport')
-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" . |