upping my pdf output game

This commit is contained in:
Charles N Wyble 2024-11-27 07:19:44 -06:00
parent 6cdee2c3e6
commit df1a5a3995
2 changed files with 11 additions and 4 deletions

View File

@ -0,0 +1,3 @@
title: "Charles N Wyble Daily Stakeholder Report"
author: [Charles N Wyble]
date: \today

View File

@ -2,12 +2,16 @@
INPUT_FILE="$1" INPUT_FILE="$1"
OUTPUT_FILE="$(basename $INPUT_FILE).pdf" OUTPUT_FILE="$(basename $INPUT_FILE).pdf"
METADATA_FILE="~/bin/rcdoc/metadata/daily-stakeholder-report.yml" METADATA_FILE="$2"
TEMPLATE="eisvogel"
PANDOC_OPTIONS="--listings"
# Setup proper boilerplate to handle cmd line options , check args etc...
pandoc \ pandoc \
$INPUT_FILE \ $INPUT_FILE \
-o $OUTPUT_FILE \ -o $OUTPUT_FILE \
--template $TEMPLATE \
--metadata-file=$METADATA_FILE
--from markdown \ --from markdown \
--template eisvogel \ $PANDOC_OPTIONS
--listings \
--metadata-file=~$METADATA_FILE