General purpose themes for converting markdown to pdf using pandoc
General purpose themes for converting markdown to pdf using pandoc.
All in pure xelatex
, no Lua, no Perl.
Each theme works independently of each other. The only dependency to a theme is its font folder.
Examples for each theme stored in the examples directory.
Warning: These templates are very liberal with packages and assume the user has the entirety of texlive installed.
Symlink or copy the template files to your /usr/share/haskell-pandoc/data/templates/.
Copy or symlink pandoc-fonts to /usr/share/fonts/.
pandoc --pdf-engine=xelatex -f markdown -t pdf --template=name_of_template.tex /path/to/markdown/file.md > /path/to/pdf/file.pdf
Metadata from markdown file will not be given priority. Most of the things will be set by the templates. Metadata may be used to set only basic parameters like title, subject author, etc.