I compile my .Rmd files using
bookdown::render_book("index.Rmd", bookdown::pdf_book())
How do I ensure the intermediate LaTeX file is retained and not cleaned up?
I am aware of Rmarkdown Retain .tex file, but for some reason, editing my YAML files does not keep the LaTeX file.