summaryrefslogtreecommitdiffstats
path: root/files/gensume
diff options
context:
space:
mode:
authormjfernez <mjfernez@gmail.com>2021-08-26 02:04:28 -0400
committermjfernez <mjfernez@gmail.com>2021-08-26 02:04:28 -0400
commit1cb73ddff82c1e86cad180df62a329e67fa10051 (patch)
tree488b7104a1087f852ef25a6882d11454f1303d52 /files/gensume
parentbcf378089c78e7b5aa312f2c9e8e65ec6e32411a (diff)
downloadsite-files-1cb73ddff82c1e86cad180df62a329e67fa10051.tar.gz
Finished whereami, finally ok with resume
Well maybe, probably missed some &nbsp;....
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