How to cite within a figure caption w/ rmarkdown native citation?
问题 In R Markdown, I want a figure caption with a linked citation in R Markdown native citation style [@ref] . However, when I insert the [@hawking_thermodynamics_1983] snippet at the end into the caption, it's throwing just an error: ! Missing $ inserted. <inserted text> $ l.94 ...iontextfoo [@hawking_thermodynamics_1983]} pandoc.exe: Error producing PDF Error: pandoc document conversion failed with error 43 Example : This is my code: --- title: "Untitled" author: "Author" output: pdf_document #