Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get a long (more than 1 page) bibliography to print in an R markdown beamer?

I have an issue rendering bibliographies covering more than one page as only the first one is printed using RMarkdown and beamer output.

The same question has been posted at http://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html#comment-2398115545 but without any help.

---
title: "Sample Document"
output: beamer_presentation
bibliography: bibliography.bib
---
like image 260
pcava Avatar asked Oct 22 '25 13:10

pcava


1 Answers

You can force a slide to be continued on the next one by setting its class to allowframebreaks. Just do this for your last slide. From the pandoc mailing-list:

## References {.allowframebreaks} 

Edit: knitr has a setting that prevents this solution from working out of the box with rmarkdown. See this question for a solution.

like image 142
scoa Avatar answered Oct 24 '25 03:10

scoa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!