'Error when rendering rmarkdown pdf with table of contents
The following YAML
---
title: 'Hello'
author: "Me"
output:
pdf_document
---
works fine to render a pdf document. However, adding a table of contents argument to the YAML
---
title: 'Hello'
author: "Me"
output:
pdf_document:
toc: yes
---
gives the following error:
! Undefined control sequence.
l.1 \babel@toc
{spanish}{}
I read that reinstalling the package babel was working for someone, but not for me, so any help is appreciated. Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
