default.latex and default.beamer are both in the $HOME/.pandoc/templates directory . The command pandoc -t beamer --verbose shows the default.latex is used instead of the default.beamer.

Could someone explain to me why.

Thanks in advance

pandoc 2.0.4

1 Answer 1


Your default.beamer file is probably a left-over from an older pandoc installation. Pandoc 2.0 and later use a unified template for both, plain LaTeX and Beamer output. You can get the default template by running pandoc -D latex.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .