License: (CC 3.0) BY-NC-SA
install
ubuntu 12.04 cannot still holds 1.9.x version but i want the latest, so
- aptitude install haskell-platform
- cabal update
- cabal install pandoc
- pandoc -v
usage
version 1.9.x also can use –variable option, you should check you latex env to use these variable
current best
pandoc -V geometry:margin=1in -V author="ZhiQiang Fan" -V date="`date '+%b %d %Y'`" -V monofont="Courier 10 Pitch" -V sansfont="FreeSans" -V mainfont="FreeMono" --latex-engine=xelatex --toc -V fontsize=12pt -o out.pdf -V title="title" in.md
- with
-V documentclass=scrartcl
can use fontsize larger than 12pt