Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mps9506 opened this issue Oct 31, 2023 · 2 comments
Closed

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

mps9506 opened this issue Oct 31, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@mps9506
Copy link
Owner

mps9506 commented Oct 31, 2023

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 mps9506 added the bug Something isn't working label Oct 31, 2023
@mps9506
Copy link
Owner Author

mps9506 commented Nov 1, 2023

jgm/citeproc#135

@mps9506
Copy link
Owner Author

mps9506 commented Nov 1, 2023

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.

@mps9506 mps9506 closed this as completed in 9cb01c7 Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant