pandoc

2013/06/26 Linux

License: (CC 3.0) BY-NC-SA

install

ubuntu 12.04 cannot still holds 1.9.x version but i want the latest, so

  1. aptitude install haskell-platform
  2. cabal update
  3. cabal install pandoc
  4. 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

Search

    Table of Contents