Skip to content

Commit

Permalink
Merge pull request #202 from eliocamp/patch-1
Browse files Browse the repository at this point in the history
Fixes bookdown.post.latex restore
  • Loading branch information
ismayc authored Feb 1, 2024
2 parents bc1afb4 + 0cbf5a9 commit 0fdc563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/thesis.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ thesis_pdf <- function(toc = TRUE, toc_depth = 3, highlight = "default", pandoc_

old_opt <- getOption("bookdown.post.latex")
options(bookdown.post.latex = fix_envs)
on.exit(options(bookdown.post.late = old_opt))
on.exit(options(bookdown.post.latex = old_opt))

base
}
Expand Down

0 comments on commit 0fdc563

Please sign in to comment.