-
Notifications
You must be signed in to change notification settings - Fork 971
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
Fatal problem with citeproc in Pandoc 3.1.8. and Eisvogel 2.4.1: "... missing \item." #361
Comments
I just tried with the latest version from Github (commit 8c48a17), which includes #358; the effect is unchanged. Also, note that the change from Pandoc 3.1.7 wrt to the LaTeX writer has been reverted. |
Addition: I tried going back to Eisvogel 2.4.0 and 2.3.0, to no avail. Only the error message changes slightly to
|
the eisvogel template is a modified variant of pandoc's default latex template. it seems, that it needs to be synchronised again. @Wandmalfarbe i wonder if it would be possible to rewrite this template into tex snippets to be used with the |
Yes, that would be very good (but likely means major work). Quarto is using a similar approach in the hope of more stable customized templates. |
I have the same issue with Pandoc 3.1.8 and Eisvogel 2.4.1
Where the bibliography entry is complete and correct AFAIK. I even added a dummy author entry, just to make sure.
FYI, I tried with an even older
|
I opened #364, which imports changes from the latest upstream LaTeX template. This fixes compilation with Pandoc 3.1.8. |
Thanks a lot! FYI: I have not yet been able to test if this fixes my issues, as I am using a custom Debian 12-based environment in Docker with But I trust in the others in here that the underlying issue is solved. Again, a huge thanks to @Wandmalfarbe and @davidmehren ! |
When I try to use the latest Eisvogel template 2.4.1 with Pandoc 3.1.8 on a Debian bookworm platform with TeX Live 2022 (texlive-full from
apt
), Markdown documents with references fail to compile to PDF.pandoc citations.md -o citations-eisvogel.pdf --from markdown --citeproc --template /foo/bar/eisvogel/eisvogel.latex
They compile flawlessly with the default Pandoc 3.1.8 LaTeX template:
pandoc citations.md -o citations-default.pdf --from markdown --citeproc
My guess is that the problem is related to a change in the Pandoc LaTeX template in release 3.1.7, because there it says:
Use \cite and \bibitem to link up citations, even with citeproc. (#9031). This will give us better accessibility; when tagging is enabled, the citation can be linked to the bibliography entry. This changes some of the details of the layout and the default template. We now make CSLReferences a special enumitem list that will contain \bibitems. Internal links inside citations to ids beginning in ref- are creating using \cite instead of \hyperref.
For better debugging, I created intermediate
.tex
documents as follows:citations-eisvogel.tex
:pandoc citations.md -o citations-eisvogel.tex --from markdown --citeproc --template /foo/bar/eisvogel/eisvogel.latex
citations-default.tex
:pandoc citations.md -o citations-default.tex --from markdown --citeproc
I attach the Markdown source and the resulting intermediate
*.tex
files (*.tex
as*.tex.txt
due to Github):The text was updated successfully, but these errors were encountered: