ismayc / thesisdown

An updated R Markdown thesis template using the bookdown package
Other
809 stars 357 forks source link

Thesisdown knit inconsistently incorporating new changes to PDF output #165

Closed rachelledig closed 2 years ago

rachelledig commented 3 years ago

Hello!

I am having issues with my thesisdown template not incorporating new changes I have made to individual chapter documents (and prelims) to my final output format. It seems to knit fine, with some warnings about citations (my issue) but basically, I will make a change to a given file, save it, knit, and the output document (in this case PDF) does not have any of my new changes in it.

Sometimes deleting the old PDF document (and subsequent tex output) will solve the issue. Sometimes I need to quit and restart the R project I am working in, knit again, and the changes appear. Sometimes nothing works. There seems to be no sense to the madness.

Basically, I would like my changes to be incorporated every time I knit.

Is there a temporary cache file somewhere that is causing this? any tips or tricks?

ismayc commented 3 years ago

Hi there. I've noticed this before recently as well and it seems (I think) to be a LaTeX issue. I've only been able to get it to work by deleting the output folder and all temporary files and then re-knitting.

rachelledig commented 3 years ago

Thanks a ton.

So you are deleting the entirety of the "book__" folder, correct?

Are there other temporary files stored in other places?

This seems to still not work for me....

ismayc commented 3 years ago

Yes, I am deleting the output directory before each build. There are a number of temporary files that are created in the main directory (where your .Rmd files are stored) as well. I believe they all should have the same index prefix in the filename, but I'm not sure on that.

github-actions[bot] commented 2 years ago

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.