From 2c38d0b7d6e7a04bfa88c52c1cd5971a56a400cb Mon Sep 17 00:00:00 2001 From: Kelvin Santos Date: Thu, 9 Jun 2022 13:09:44 -0300 Subject: [PATCH] basic pandoc command --- WHITEPAPER.md | 8 ++++++++ generate_pdf.sh | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 generate_pdf.sh diff --git a/WHITEPAPER.md b/WHITEPAPER.md index d5f8929a..719cb60d 100644 --- a/WHITEPAPER.md +++ b/WHITEPAPER.md @@ -1,3 +1,11 @@ +--- +# mainfont: DejaVuSerif.ttf +# sansfont: DejaVuSans.ttf +# monofont: DejaVuSansMono.ttf +monofont: /Users/kelvin/Library/Fonts/Fira Code Regular Nerd Font Complete Mono.otf +# mathfont: texgyredejavu-math.otf +--- + Kindelia: a peer-to-peer functional computer ============================================ diff --git a/generate_pdf.sh b/generate_pdf.sh new file mode 100644 index 00000000..f3d45381 --- /dev/null +++ b/generate_pdf.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# Needs LaTeX and Pandoc installed +# e.g. brew install pandoc basictex +pandoc --pdf-engine=xelatex WHITEPAPER.md -o whitepaper.pdf