Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no page break in bibliography #45

Open
middleprofessor opened this issue Mar 28, 2018 · 7 comments
Open

no page break in bibliography #45

middleprofessor opened this issue Mar 28, 2018 · 7 comments

Comments

@middleprofessor
Copy link

I am using BiocStyle::pdf_document: to create a pdf from rmarkdown. My bibliography is more than one page in length but the pdf doesn't have a page break with the consequence that the bibliography simply continues into the bottom margin, with whatever references are left simply not printed. I recreated with a simple .rmd that only contains references (more than one page worth) and attached below. I updated RStudio, rmarkdown, bookdown, BiocStyle (to 2.7.8), the macTex distribution but no luck. Running OS Sierra 10.12.6
throw_away.pdf

@aoles
Copy link
Collaborator

aoles commented Mar 28, 2018

Thanks for your feedback! Can you please verify whether usingoutput: bookdown::pdf_document2 results the same problem?

Cheers,
Andrzej

@middleprofessor
Copy link
Author

bookdown::pdf_document2 has the full bibliography with the page break
BiocStyle::html_document has the full bibliography with the page break
rticles::peerj_article:
base_format: bookdown::pdf_document2 has the full bibliography with the page break

so the issue only occurs with BiocStyle::pdf_document:

Thanks!

@aoles
Copy link
Collaborator

aoles commented Mar 28, 2018

Thank you. Could you please provide the sample source files which you used for testing this?

Cheers,
Andrzej

@middleprofessor
Copy link
Author

This is a minimal example. I had to rename the .Rmd file and .bib files to .txt in order to attach here.
throw away.txt
biblio.txt

Thanks again.

@aoles
Copy link
Collaborator

aoles commented Mar 29, 2018

Thank you for providing the MWE. Unfortunately, so far I was not able to reproduce the described behavior. I will try again later on another machine, but this already indicates that the problem might be specific to your particular LaTeX configuration.
throw.away.pdf

@middleprofessor
Copy link
Author

Ah thanks so much for the time. This is frustrating because I love the BiocStyle format and the HTML works perfectly. The only component not up-to-date is my R installation. And I haven't changed any defaults to the LaTeX install so I will explore that.

@middleprofessor
Copy link
Author

new install of R/R studio/R packages/macTeX didn't solve it and I'm not sure where the conflict is. Ultimately I saved the .tex and added a manual \newpage to get the full bibliography. Also had to save R plots to image file folder but that was easy enough. Thanks again for the help. I love the style.

@lshep lshep self-assigned this Apr 16, 2018
@lshep lshep removed their assignment Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants