Skip to content
Permalink
Browse files
fix rstudio/bookdown#582: force keep_tex = TRUE in pdf_document() for…
… the latex_document() format, so that clean_supporting = FALSE
  • Loading branch information
yihui committed May 24, 2018
1 parent dc2b2e5 commit ec4ed1f48643cff077fefbd84af5477fa0913ff3
Showing 3 changed files with 5 additions and 4 deletions.
@@ -1,7 +1,7 @@
Package: rmarkdown
Type: Package
Title: Dynamic Documents for R
Version: 1.9.14
Version: 1.9.15
Authors@R: c(
person("JJ", "Allaire", role = "aut", email = "jj@rstudio.com"),
person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")),
@@ -248,7 +248,7 @@ pdf_intermediates_generator <- function(saved_files_dir, original_input,
#' @rdname pdf_document
#' @export
latex_document <- function(...) {
merge_lists(pdf_document(...), list(pandoc = list(ext = ".tex", keep_tex = TRUE)))
merge_lists(pdf_document(..., keep_tex = TRUE), list(pandoc = list(ext = ".tex")))
}

#' @rdname pdf_document
@@ -17,10 +17,11 @@ rmarkdown 1.10 (unreleased)

* Update to Font Awesome version 5.0.13 (#1340).

* Add `site_resources()` function for computing resource files required for a website
* Add `site_resources()` function for computing resource files required for a website.

* Allow `pre_knit` hook to override knitr options
* Allow `pre_knit` hook to override knitr options.

* The `latex_document()` format should not clean up the figure directory (thanks, @emiltb, rstudio/bookdown#582).

rmarkdown 1.9
--------------------------------------------------------------------------------

0 comments on commit ec4ed1f

Please sign in to comment.