Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 982 Bytes

pandoc.org

File metadata and controls

42 lines (28 loc) · 982 Bytes

Pandoc

Writing a full export engine for all the possible target formats for org is well beyond the scope of what I am capable of at this time.

That said, pandoc can be used to export org files! This little plugin supports using pandoc for exporting to html or pdf but requires some effort on your part.

HTML

TODO

PDF

Thoughts taken from here: Markdown2Pdf

Specifying a font:

pandoc --pdf-engine=xelatex -V CJKmainfont="KaiTi" test.org -o test.pdf

Syntax Highlighting

Finding a highlight:

pandoc --list-highlight-languages 

Using the highlight

pandoc --pdf-engine=xelatex --highlight-style zenburn test.org -o test.pdf 

TOC (Numbered)

pandoc --pdf-engine=xelatex --toc -N -o test.pdf test.org