search for: pdf_document2

Displaying 1 result from an estimated 1 matches for "pdf_document2".

Did you mean: pdf_document
2018 Feb 21
0
Adding a table of contents to html output using the bookdown package
...=TRUE) ) Then there is no table of contents. Are there an additional argument I could add to this render() command to get a TOC? I've looked, and haven't been able to find one. Thanks -Don p.s. On the other hand, with render('test.Rmd', output_dir='.', output_format=pdf_document2(number_sections=TRUE) ) I do get a TOC in the pdf document. > sessionInfo() R version 3.4.2 (2017-09-28) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: OS X El Capitan 10.11.6 Matrix products: default BLAS: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRblas.0.dy...