summaryrefslogtreecommitdiffstats
path: root/files/gensume
blob: 81682656205d8df6ca33a4e374ad416f715c14c9 (plain)
1
2
3
4
5
6
7
8
9
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