jgm/pandoc-templates — pull request #70 by bluebirch (2014-09-24 12:41:47+00:00)
Title: Fix polyglossia/biblatex problem with xelatex

When using biblatex, xelatex failed with the following error message:

! Undefined control sequence.
blx@lng@\bbl@main@language

This is due to the fact that polyglossia/babel is loaded *after* biblatex. Reverse the order, and the problem is fixed. My suggested solution is to move polyglossia/babel definitions to before biblatex.