summaryrefslogtreecommitdiffstats
path: root/files/gensume
diff options
context:
space:
mode:
Diffstat (limited to 'files/gensume')
-rwxr-xr-xfiles/gensume10
1 files changed, 10 insertions, 0 deletions
diff --git a/files/gensume b/files/gensume
new file mode 100755
index 0000000..8168265
--- /dev/null
+++ b/files/gensume
@@ -0,0 +1,10 @@
+#!/bin/bash
+# Shell script I use to generate my... well you know
+TMP=$(mktemp)
+echo "making HTML"
+pandoc --ascii -f markdown-smart RESUME.md -t html -o RESUME.html \
+ -V "mainfont:Fira Mono"
+sed -e 's/<\/h4>/<\/h4>\&nbsp;/g' RESUME.html > $TMP
+echo "making PDF"
+pandoc --ascii -f html $TMP -o RESUME.pdf --pdf-engine=xelatex \
+ --metadata-file=pdfopts.yaml