To compile a pdf with a bibtex bibliography, I thought it was sufficient to write the YAML as
---
title: super awesome paper
author: albert enstein
bibliography: /path/to/bib/file.bib
---
and punch this command into the terminal:
pandoc test.md -o test.pdf
But it does not work. Instead I have to manually add the bib file to the terminal command:
pandoc test.md --bibliography=/path/to/bib/file.bib -o test.pdf
What am I doing wrong?