Useful Pandoc Commands

Get Current Templates

pandoc --print-default-template=markdown >
pandoc --print-default-template=latex>pandoc-template.tex

simple markdown to pdf

pandoc -s -t latex+smart --citeproc --pdf-engine=xelatex --no-highlight -o output-file.pdf

See variables for latex and metadata variables for all variables.

title: Syllabus for Foldable Robotics 
subtitle: Version 2020-12-31
author: Daniel M. Aukes
date: Spring 2021
published: false
mainfont: Roboto
sansfont: Roboto
geometry: margin=1in

Reference docs

pandoc -o custom-reference.docx --print-default-data-file reference.docx
pandoc -o custom-reference.odt --print-default-data-file reference.odt


Creating books