`bookdown`/`rmarkdown`/`knitr`: Hook for execution after output document is finalized?
`bookdown`/`rmarkdown`/`knitr`: Hook for execution after output document is finalized? My PDF -report generation using bookdown includes packing of result files into a zip archive, into which I (currently manually) integrate the PDF document itself as well. PDF bookdown zip PDF Is there any hook that would enable automating the integration of the finished PDF ? WOuld require a post- pdflatex command by knitr , I suppose ... PDF pdflatex knitr How do you currently trigger the knitting? The RStudio button? Is something along the lines of this stackoverflow.com/questions/39713618/… helpful? – CL. Jul 2 at 12:27 That looks interesting indeed ... off investigating. – balin Jul 2 at 15:33 ...