by kjhealy

Some templates for Pandoc.

488 Stars 157 Forks Last release: Not found 170 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Pandoc Configuration and Support Files


A collection of support files for use with Pandoc, and specifically for helping to turn pandoc markdown files into nice HTML, LaTeX, and PDF output. These files go in your

folder and are designed to work with the style and configuration material provided in latex-custom-kjh, socbibs, and the Emacs Starter Kit for the Social Sciences. The only real dependencies are the latex class and style files in latex-custom-kjh, however.




What's included?

  • Some Pandoc templates for an article in PDF (vita LaTeX), HTML, or Microsoft Word. These go in
    . These can be be pointed to directly with the
    switch as appropriate. The
    depend on the style files in latex-custom-kjh. The Word reference documents depend on you having Myriad Pro and Minion Pro installed.
  • In R, knitr's
    function will turn
    files into
    files. The configuration file in the
    folder is an example to help you produce HTML or
    using knitr's
    helper function.
  • The CSL files in the
    folder format the bibliography generated by pandoc and citeproc. (For simplicity we avoid dealing with biblatex directly at all.) The
    file makes a tiny change to a standard Chicago Notes CSL file so you can use it to output citation information in the body text of a document. This makes it useful for lists of references in CVs and course syllabuses. The other two files are APSA and AJPS standard files from the main CSL styles repository.
  • The Makefile in the
    folder helps you generate HTML, LaTeX, and PDF output from your markdown files in a convenient way. It is meant to go in the folder where you are writing your paper. It looks for
    files in the working directory and converts them to nice HTML, PDF, and LaTeX files using the templates provided here, the style files in latex-custom-kjh, and the bibliography files in socbibs. You can of course change the bibliography and template files as desired.
  • The
    commands produced by the current version of the
    include switches that invoke two pandoc filters that do additional processing on the bibliography and cross-references in the document. You should install pandoc-crossref and pandoc-citeproc-preamble to make these work.
  • The md-article-starter repository is a basic project folder you can clone that gives you a template for an article written in Markdown and a
    to produce
    output from it. For R users there is an rmd-article-starter as well, which begins with an


Kieran Healy,


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.