File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [[ $# -eq 0 ]]
4+ then
5+ input=" proposal.md"
6+ else
7+ input=" $1 "
8+ fi
9+
10+ output=" ${input% .* } .pdf"
11+
12+ echo " Writing PDF to $output ..."
13+ pandoc --defaults pandoc.yaml " $input " --output " $output "
14+
Original file line number Diff line number Diff line change 1+ highlight-style : haddock
2+ # better Unicode support
3+ pdf-engine : xelatex
4+ variables :
5+ documentclass : article
6+ papersize : A4
7+ fontsize : 11pt
8+ # fallback font for symbols: https://eskola.uk/2021/pandoc-latex-font-fallback/
9+ header-includes : |
10+ \usepackage[Symbols]{ucharclasses}
11+ \newfontfamily\fallbackfont{DejaVu Sans}
12+ \setTransitionsForSymbols{\fallbackfont}{\normalfont}
13+ geometry :
14+ - margin=2.5cm
15+ colorlinks : true
You can’t perform that action at this time.
0 commit comments