Tufte pdf documents fail to compile with `vadjust` error
rmcd1024 opened this issue · 2 comments
rmcd1024 commented
Compiling the below document succeeds for pdf_document
and fails for all of the tufte pdf formats with the error
! You can't use `\vadjust' in vertical mode.
l.189 \leavevmode\vadjust
pre{\hypertarget{ref-grolemundux2fwickham:17}{}}%
---
output:
pdf_document: default
tufte::tufte_handout: default
bibliography: outputformat2.bib
---
@grolemund/wickham:17
```{r}
sessioninfo::session_info()
```
Successful compile including session_info
output: testtufte.pdf
Bib file: outputformat2.zip
Update: I've verified that this happens also with pandoc 2.14.2.
cderv commented
Thanks for the report.
I think it was related to jgm/pandoc#7215 and an update to Pandoc template was necessary.
This should now work ok in dev version of the package.
remotes::install_github("rstudio/tufte")
Thanks!
github-actions commented
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.