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

Bibliography in papaja::revision_letter_pdf gives LaTeX Error: Lonely \item--perhaps a missing list environment. #587

Open
cjvanlissa opened this issue Jun 12, 2024 · 3 comments
Assignees
Labels

Comments

@cjvanlissa
Copy link

I'm sorry, this won't be a reproducible example. If it's not a bug, feel free to ignore.

I'm unable to render a revision_letter_pdf with references, because the bibliography entries each give this error:

LaTeX Error: Lonely \item--perhaps a missing list environment.

The entries look like this:

\bibitem[\citeproctext]{ref-benjaminRedefineStatisticalSignificance2017}
Benjamin, D. J., Berger, J. O., Johannesson, M., Nosek, B. A., Wagenmakers, E.-J., Berk, R., \ldots{} Johnson, V. E. (2017). Redefine statistical significance. \emph{Nature Human Behaviour}, \emph{2}(1), 6--10. \url{https://doi.org/10.1038/s41562-017-0189-z}

Which seems to be the same as the entries from my papaja::apa6_pdf manuscript:

\bibitem[\citeproctext]{ref-benjaminRedefineStatisticalSignificance2017}
Benjamin, D. J., Berger, J. O., Johannesson, M., Nosek, B. A., Wagenmakers, E.-J., Berk, R., \ldots{} Johnson, V. E. (2017). Redefine statistical significance. \emph{Nature Human Behaviour}, \emph{2}(1), 6--10. \url{https://doi.org/10.1038/s41562-017-0189-z}

Maybe some package is missing from the revision_letter template?

@cjvanlissa
Copy link
Author

Just changing output : papaja::revision_letter_pdf to output : papaja::apa6_pdf allows me to render successfully, so I do think something might be missing from the revision_letter_pdf template.

@jvcasillas
Copy link
Contributor

Adding that I am also getting this error.

@crsh
Copy link
Owner

crsh commented Jul 1, 2024

Thanks for reporting this. I'll take a look as soon as possible.

@crsh crsh added the bug label Jul 1, 2024
@crsh crsh self-assigned this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants