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

…衆ロ難τιáo~ 提交于 2019-12-22 01:31:04

问题


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

回答1:


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.



来源:https://stackoverflow.com/questions/34158723/how-do-i-get-a-long-more-than-1-page-bibliography-to-print-in-an-r-markdown-be

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!