System Information:
MAC OSx High Sierra 10.13.2
Darwin UNKNOWN 17.3.0 Darwin Kernel Version 17.3.0; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64
pandoc version 2.1.1
pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017)
XeTeX 3.14159265-2.6-0.99998 (TeX Live 2017)
Changed the Makefile parameters to be compatible with pandoc 2.1.1 as follows:
--pdf-engine $(XELATEX)
--top-level-division=chapter -N --toc --toc-depth=2 \
After running make though I am getting:
fatal: your current branch 'master' does not have any commits yet
> Error producing PDF.
! Undefined control sequence.
<recently read> \passthrough
l.7517 \passthrough
make: *** [pdf] Error 43