Error when exporting reference list to pdf via latex

I want to export my markdown file via latex to pdf. This works untill I add citations. I use the citations plugin, a .bib file generated by BetterBibtech out of Zotero, and the Pandoc reference list plugin.

I keep getting the error:

! LaTeX Error: Lonely \item--perhaps a missing list environment.

See the LaTeX manual or LaTeX Companion for explanation
Type H <return> for immediate help.


I.410 ...t}{ref-dieterMimicRephraseReflective2019}

I have tried everything I can find online. Any suggestions on how to fix this?

I’m having an identical issue with a similar setup.

Would love to know if others have worked something out – I haven’t.

Figured this out, @danielle-che. Looks like Pandoc’s default.latex template was changed somewhere around version 3.1.7 and this somehow broke PDF/latex export. If you downgrade Pandoc to, no more “lonely \item” errors.

via pandoc - Undefined control sequence using citeproc to convert MD to PDF with a template. Works fine without template - TeX - LaTeX Stack Exchange

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.