diff --git a/PDF/GeneratePDF.sh b/PDF/GeneratePDF.sh new file mode 100644 index 0000000..a33a34a --- /dev/null +++ b/PDF/GeneratePDF.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +export MarkdownInput +MarkdownInput="$1" + +export PDFOutput +PDFOutput="$2" + +export PDFMetadataFileInput +PDFMetadataFileInput="$3" + +export PDFMetadataFile +PDFMetadataFile="$4" + +$MO_PATH $YamlInputTemplateFile > $PDFMetadataFile + +pandoc \ +$MarkdownInput \ + --template $PANDOC_TEMPLATE \ + --metadata-file=$PDFMetadataFile \ + --from markdown \ + --to=pdf \ + --output $PDFOutput \ No newline at end of file diff --git a/PDF/SupportMaterials/PDFMetadata.yml b/PDF/SupportMaterials/PDFMetadata.yml new file mode 100644 index 0000000..857e108 --- /dev/null +++ b/PDF/SupportMaterials/PDFMetadata.yml @@ -0,0 +1,14 @@ +title: tbd +titlepage: true +author: tbd +date: \today +toc: true +toc-own-page: true +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "Page \\thepage" +footer-left: "\\thetitle" +footer-center: "Copyright ReachableCEO Enterprises LLC" +footer-right: "\\theauthor" +page-background: "tbd" +titlepage-logo: "tbd" \ No newline at end of file