now with proper output file name creation

This commit is contained in:
Charles N Wyble 2024-11-27 08:42:55 -06:00
parent aa26d83f93
commit f0367fb142

View File

@ -1,7 +1,7 @@
#!/bin/bash
INPUT_FILE="$1"
OUTPUT_FILE="$(basename $INPUT_FILE).pdf"
OUTPUT_FILE="$(echo $INPUT_FILE|awk -F '.' '{print $1}').pdf"
METADATA_FILE="$2"
TEMPLATE="eisvogel"
PANDOC_OPTIONS="--listings"