lcreteig/amsterdown

Error when rendering pdf: \vadjust in vertical mode

lcreteig opened this issue · 0 comments

! You can't use `\vadjust' in vertical mode.
l.xxx \leavevmode\vadjust
                          pre{\hypertarget{ref}{}}%

Seems to be caused by change in pandoc 2.11.4 (noticed it when updating the Docker image for Binder (#11)). Related to #4, but requires another fix, probably the one suggested here: jgm/pandoc#7215 (comment). Replace that part of template.tex to match one of the rstudio/rticles templates, e.g. this one.