2024-11-22 16:24:09 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
export PARTY1="Acme Co"
|
|
|
|
export PARTY2="Joint Venture Co"
|
|
|
|
|
2024-11-22 17:26:50 +00:00
|
|
|
|
|
|
|
# Expand variables into an intermediate markdown file for conversion to PDF
|
|
|
|
|
2024-11-22 16:24:09 +00:00
|
|
|
./mo DealMemoInput.md > DealMemoRendered.md
|
2024-11-22 17:26:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Generate the PDF
|
|
|
|
|
|
|
|
pandoc --from=markdown --to=pdf DealMemoRendered.md -o ReadyForExecution.pdf
|