inbo_slides returned empty toc
florisvdh opened this issue · 2 comments
While recompiling https://github.com/inbo/tutorials/blob/3231eda/content/tutorials/r_inla/spatial/index.Rmd (because of updating CRS specifications in the tutorials repo), an empty TOC slide was returned in the resulting PDF:
I worked around it (in inbo/tutorials@3dd5f6e) by using INBOmd at 32cd4eb, though clearly this is unwanted.
The same occurs when choosing this template for a new slideshow. When slide_level
is not changed (default 1 is kept) and toc
is set to TRUE, the slide titled 'Overzicht' is completely empty. When slide_level
is changed to 2, the numbers 1, 2 and 3 appear, similar to the example of @florisvdh, but without the squares (maybe he used slide_level 3?). When moving near these numbers, I noticed there is a link referring to the 1st level title slides. Maybe the text is there but invisible?
Personally I would prefer that the toc shows the content up to the same level as indicated in slide_level, so 2 levels in my case, now this seems not to be the case.