upping my pdf output game
This commit is contained in:
parent
6cdee2c3e6
commit
df1a5a3995
3
daily-stakeholder-report.yml
Normal file
3
daily-stakeholder-report.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
title: "Charles N Wyble Daily Stakeholder Report"
|
||||||
|
author: [Charles N Wyble]
|
||||||
|
date: \today
|
12
makepdf.sh
12
makepdf.sh
@ -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
|
|
Loading…
Reference in New Issue
Block a user