mps9506 / quarto-cv

A CV template for quarto
GNU General Public License v3.0
80 stars 14 forks source link

LaTeX Error: Lonely \item--perhaps a missing list environment. #4

Closed mps9506 closed 1 year ago

mps9506 commented 1 year ago

template.log:

! LaTeX Error: Lonely \item--perhaps a missing list environment.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.240 ...tem[\citeproctext]{ref-student1908probable}

template.tex:

\section{Publications}\label{publications}

\phantomsection\label{refs-peer}
\begin{CSLReferences}{1}{0}
\bibitem[\citeproctext]{ref-student1908probable}
Student. 1908. {``The Probable Error of a Mean.''} \emph{Biometrika} 6
(1): 1--25.

\bibitem[\citeproctext]{ref-student1931z}
---------. 1931. {``On the {`z'} Test.''} \emph{Biometrika} 23 (3-4):
407--8.

is this something with citeproc?

mps9506 commented 1 year ago

https://github.com/jgm/citeproc/issues/135

mps9506 commented 1 year ago

The dev version of quarto (1.4.444) comes with pandoc 3.1.8 which requires a new template for csl-ref. The new template doesn't appear back compatible with previous pandoc versions. I'm not familiar enough with pandoc templating to figure out if we can retrieve the version number in the template and set the environment based on that.