Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
6.09k stars 959 forks source link

Beamer: undefined control sequence #286

Open classabbyamp opened 2 years ago

classabbyamp commented 2 years ago

I'm getting the same error as #99, but the version of the eisvogel template I have was downloaded after that was fixed. The exact version of the template is here.

Any ideas as to what's going on?

Test file:

---
title: test
beamer: true
---

# this is a test

some content

Command invocation and output:

$ pandoc --template eisvogel --listings -F pandoc-crossref --citeproc --csl=$HOME/.local/share/pandoc/template/ieee.csl -o test.pdf test.md
Error producing PDF.
! Undefined control sequence.
<recently read> \setbeamertemplate 

l.55 \setbeamertemplate

Pandoc version:

$ pandoc -v
pandoc 2.14.0.3
mklvldc commented 2 years ago

change line 81 to

]{$if(beamer)$beamer$else$$if(book)$scrbook$else$scrartcl$endif$$endif$}