In line with this question, I have problems generating table of contents with a beamer class document, which I have made in RStudio with R markdown and knitr.
My YAML header looks like this:
---
params:
x: !r x
author: "Author"
date: "Januar 2016"
graphics: yes
fontsize: 10pt
output:
beamer_presentation:
includes:
in_header: in_header.tex
keep_tex: yes
latex_engine: xelatex
slide_level: 1
template: body.tex
toc: true
classoption: aspectratio=169
---
I use the default beamer template in body.tex found here (I needed to make som adjustsments to the title page, so that's why I have referred to it explicitly).
I render the document with
render(input = "file_name.Rmd",
params = list(x = i),
output_file = "file_name.beamer.pdf"
)
However, only a blank page shows up in the pdf generated and no TOC. I have tried to run render several times.