I am trying to include a bibliography into a revealjs presentation using rmarkdown. However, despite the apparent inclusion of the bibliography in the pandoc processing (the pandoc command generated by rmarkdown includes the bib file and the citeproc filter), the generated html does not include the references. Using a different slide presentation generator and rmarkdown, such as ioslides, correctly includes the references. I was not able to find any obvious statement abuot supporting bibliography processing with rmarkdown and revealjs. Is it possible?
Is it possible to include a bibliography in a revealjs presentation using rmarkdown?
Asked Answered
As a workaround you can try the following:
create a separate Rmd-file and adapt the following:
--- output: html_document bibliography: pathtomybibfile.bib nocite: | @cite, @all, @your, @references ---
generate html-version of this file (e.g. name it bib.html)
include html within your revealjs-presentation via:
# {data-background-iframe="bib.html"}
© 2022 - 2024 — McMap. All rights reserved.
pandoc 2.3.1
and resolved it by installing2.7.2
. – Nebulous