mitchelloharawild / vitae

R Markdown Résumés and CVs
https://pkg.mitchelloharawild.com/vitae/
1.22k stars 237 forks source link

CSLReference \vadjust in vertical mode error #225

Closed jmbarbone closed 1 year ago

jmbarbone commented 1 year ago

Had some errors that I believe I traced back to https://github.com/jgm/pandoc/issues/7215 when trying to render from https://github.com/jmbarbone/barbone-cv:

I was unable to find any missing LaTeX packages from the error log Barbone-CV.log.
! You can't use `\vadjust' in vertical mode.
l.246 \leavevmode\vadjust
                          pre{\hypertarget{ref-irani2017asthma}{}}% 

Error: LaTeX failed to compile Barbone-CV.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Barbone-CV.log for more info.
Execution halted

I made a clone and changed the params [3] to [2] and that seems to fix the issue.

https://github.com/mitchelloharawild/vitae/blob/935d63d9863761bf5218530cf20e4aeece682599/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex#L140