You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately the PR #252 by @robjhyndman introduced a bug (originally reported at yihui/knitr#923), and one can no longer use footnotes in the title or author fields. A reproducible example:
---
title: "my title with footnote^[footnote that produces an error]"
author: "Fulano de Tal^[here too]"
date: "16/12/2014"
output:
pdf_document:
keep_tex: yes
---
Hello world.
This version works:
# before the PRdevtools::install_github('rstudio/rmarkdown@b1779030b63329ee2960fce2022db69ed104e08c')
This no longer works:
# after the PRdevtools::install_github('rstudio/rmarkdown@698dfdd0e96bf82a775d1197a31593d8c65c2425')
You get a LaTeX error:
! Argument of \reserved@a has an extra }.
<inserted text>
\par
l.52 ...footnote{footnote that produces an error}}
pandoc: Error producing PDF from TeX source
Error: pandoc document conversion failed with error 43
Execution halted
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
Unfortunately the PR #252 by @robjhyndman introduced a bug (originally reported at yihui/knitr#923), and one can no longer use footnotes in the title or author fields. A reproducible example:
This version works:
This no longer works:
You get a LaTeX error:
Not sure if @robjhyndman can fix it.
More background on this issue: e0adbbe
The text was updated successfully, but these errors were encountered: