I have been trying to render my thesis with the bibliography added to the TOC. After reading bookdown documentation carefully I have come to the conclusion that I must do the following:
bookdown::render_book(input = "index.Rmd",output_format = "bookdown::pdf_book", toc_bib = TRUE)
However, "unused argument" error is thrown in the console when I try to use it.
Now, the documentation says that the third argument of render_book
is the dots
(i.e. ...
) argument and that it gets passed to output_format
, so it should work.
I'm confused here, why doesn't it work?