-
Notifications
You must be signed in to change notification settings - Fork 341
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
Compilation failed to PDF with Quarto 1.4.358 #6819
Comments
Can you provide a reproducible example ? As of now, we can run your document and so we can't see what could go wrong. It could be something from the content of your document itself. There is a lot of things happening in the YAML, including some lua filters, so maybe it could be link too. I don't say it does not come from a Quarto change, just that without being able to reproduce, it will be hard to find the change in |
hey @lorenzoFabbri, could you share the solution, if you found one? I'm currently receiving the same error here: https://github.com/lnnrtwttkhn/fair-teaching-proposal/tree/draft but only using GitHub Actions (see example here: https://github.com/lnnrtwttkhn/fair-teaching-proposal/actions/runs/8893520433/job/24419870767), local rendering works fine. thanks! |
Hello. I sort of gave up on Quarto for the moment... It's too annoying and I'd rather focus on the content of my papers 😅. |
Thanks for the quick response @lorenzoFabbri. ok, good to know that you didn't pursue this further. @cderv, my repo (see link above) provides an example, although it's not minimal. Also it seems to be a problem that occurs in GitHub Actions for me, local rendering works fine. I'll try to investigate this further, but just flagging this in case you want to consider re-opening the issue. thanks! |
@lnnrtwttkhn I don't think you have the same issue as @lorenzoFabbri . Error message is different in the latex log - similar but different. In your case this is related to bibliography problem. It can be reproduced by the following ---
title: "Table"
format: pdf
bibliography: bibliography.bib
---
::: {#refs}
::: There is a bibliography provided, and a Errors also happens with Pandoc directly ❯ quarto pandoc index.qmd --from markdown --to pdf --bibliography=bibliography.bib --citeproc -o test.pdf
Error producing PDF.
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.96 \end{CSLReferences} This is a single doc, but this is what happens in your project too, as you are using
Each .qmd will be rendered independently from each other to pdf. I don't know what you expect for your You could either include all your bib for uncited item : https://quarto.org/docs/authoring/footnotes-and-citations.html#including-uncited-items Please do open a new discussion if you have any follow up question thanks |
Thanks @cderv!
This was the crucial insight for me here. So as you suggested, adding
to the YAML header of |
@cderv I don't think we should crash if there are no citations, just print an empty reference section. Can I open an issue about this? |
Yes please do with a reproducible example. Only thing that we'll need to check :
Anyhow, a new issue is always welcome to discuss rather than old one. Thanks ! |
Reported upstream here: jgm/pandoc#10185 |
@cderv it got fixed upstream. How does it propagate downstream? Is quarto just calling the system-wide pandoc? |
Thanks for opening upstream ! Really appreciated !
Quarto uses its bundled version. This is because a Quarto version works with a specific Pandoc version, and can't work with a new one necessarilly without some tweaks to adapt to Pandoc potential change and breaking change. We did not do the dependency update for Pandoc yet. So it will propagate when Quarto will use the latest pandoc in a future update. And should be for next 1.6 stable release, and a soon to be pre-release in the meantime. |
In addition, Pandoc first needs to make a release. The current fix is only available on the default branch of Pandoc. |
Bug description
I am trying to render a Quarto document that was rendering fine with the latest release. I am now using Quarto version 1.4.358, and I get the following error message:
Steps to reproduce
I have the following in the YAML:
Expected behavior
No response
Actual behavior
No response
Your environment
Quarto check output
The text was updated successfully, but these errors were encountered: