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
There is a now in the bibliography_entries() function, which is likely due to a missing "\item" for the lists of publications.
I use the template of Hyndman to test this, the error message comes as "! LaTeX Error: Something's wrong--perhaps a missing \item."
When I checked the .tex file, and found the problem lies in these code:
\section{Publications}\label{publications}}
\hypertarget{refs-9ab79af7a94489e94e6182750a67b967}{}
\begin{CSLReferences}{0}{0}
\leavevmode\vadjust pre{\hypertarget{ref-R-vitae}{}}%
\CSLLeftMargin{1. }%
\CSLRightInline{O'Hara-Wild, M., \& Hyndman, R. (2023). \emph{Vitae:
Curriculum vitae for r markdown}.
\url{https://pkg.mitchelloharawild.com/vitae/}}
\leavevmode\vadjust pre{\hypertarget{ref-R-tibble}{}}%
\CSLLeftMargin{2. }%
\CSLRightInline{Müller, K., \& Wickham, H. (2023). \emph{Tibble: Simple
data frames}. \url{https://tibble.tidyverse.org/}}
\end{CSLReferences}
I tried to insert an "\item" in front of each list, and it worked.
\begin{CSLReferences}{0}{0}
\item\leavevmode\vadjust pre{\hypertarget{ref-R-vitae}{}}%\CSLLeftMargin{1. }%\CSLRightInline{O'Hara-Wild, M., \& Hyndman, R. (2023). \emph{Vitae: Curriculum vitae for r markdown}. \url{https://pkg.mitchelloharawild.com/vitae/}}
\item\leavevmode\vadjust pre{\hypertarget{ref-R-tibble}{}}%\CSLLeftMargin{2. }%\CSLRightInline{Müller, K., \& Wickham, H. (2023). \emph{Tibble: Simple data frames}. \url{https://tibble.tidyverse.org/}}
\end{CSLReferences}
I figured it because the function, "bibliography_entries()", needed to be updated since I did not have this problem one month ago. The issue might be due to the recent update in R or latex itself.
Thank you.
The text was updated successfully, but these errors were encountered:
Thanks for describing this issue! I kept getting an Error saying "! LaTeX Error: Something's wrong--perhaps a missing \item." and I couldn't figure it out. Is there a possible work-around directly in the Rmd file? Or maybe a patch coming up?
Cheers
There is a now in the bibliography_entries() function, which is likely due to a missing "\item" for the lists of publications.
I use the template of Hyndman to test this, the error message comes as "! LaTeX Error: Something's wrong--perhaps a missing \item."
When I checked the .tex file, and found the problem lies in these code:
I tried to insert an "\item" in front of each list, and it worked.
I figured it because the function, "bibliography_entries()", needed to be updated since I did not have this problem one month ago. The issue might be due to the recent update in R or latex itself.
Thank you.
The text was updated successfully, but these errors were encountered: