简体   繁体   中英

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
---

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM