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