ismayc / thesisdown

An updated R Markdown thesis template using the bookdown package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thesisdown knit inconsistently incorporating new changes to PDF output

rachelledig opened this issue · comments

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?

  • OS: Mac Catalina 10.15.7
  • R version 4.0.3
  • thesisdown 0.2.0

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.

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....

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.

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.