! LaTeX Error: Environment CSLReferences undefined.
graysonwhite opened this issue · 5 comments
Describe the bug
When attempting to knit my thesis to PDF I received the above LaTeX error. This was after transferring my thesis to a new computer, which has the latest version of thesisdown
(0.2.0) on it. The thesis knits perfectly on my old computer, which has thesisdown
0.1.0 on it.
The error appears to occur when trying to add the references file into the compiled thesis doc.
Desktop (please complete the following information):
- OS: MacOS Big Sur
Did you also update the template.tex file from the 0.2.0 release? That doesn't happen automatically when you install the new version of the package since I don't want to erase any changes that someone may have made to the template.
Unfortunately pandoc updated over the course of this academic year, which made exactly what you are referring to happen if people were using a different newer version of pandoc. Thus, the template file was updated going forward but that means that someone using an older version will have to copy over the new template.tex to get it to work.
Changing out the template.tex file fixed it. Thanks so much Chester!
You're welcome!
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org whenever possible) and link to this issue. If a reprex is not applicable, recording a short Loom video showing what you are seeing can go a long way in helping to diagnose problems.