Quarto PDF render fails in Positron: before-bib.tex missing #9081
-
Hi, I’m trying to render multiple .qmd files to PDF from R using quarto::quarto_render() inside Positron, but I keep hitting an error. Here’s the workflow I’m running:
When rendering, I get this error:
What I’ve tried:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
I was not able to reproduce this problem, but FWIW I am not on Windows. Could you ask about what you are observing at https://github.com/quarto-dev/quarto-r/issues? I think we are doing the right thing in Positron in terms of where we've bundled Quarto and its resources. You might want to check if you observe the problem for a very simple |
Beta Was this translation helpful? Give feedback.
-
I forgot to mention that this error only comes up on Positron. It works in R studio. Should I still post it on the quarto boards?
From: Julia Silge ***@***.***>
Sent: Monday, August 18, 2025 2:51 PM
To: posit-dev/positron ***@***.***>
Cc: Jan, David (DUA) ***@***.***>; Author ***@***.***>
Subject: Re: [posit-dev/positron] Quarto PDF render fails in Positron: before-bib.tex missing (Discussion #9081)
CAUTION: This email originated from a sender outside of the Commonwealth of Massachusetts mail system. Do not click on links or open attachments unless you recognize the sender and know the content is safe.
I was not able to reproduce this problem, but FWIW I am not on Windows.
Could you ask about what you are observing at https://github.com/quarto-dev/quarto-r/issues<https://urldefense.com/v3/__https:/github.com/quarto-dev/quarto-r/issues__;!!CPANwP4y!VCqomPvU7GFppCK4wJxjkh5xwbHG-k31Wa0cmHYEBzxMgAJItzomG7Fh1DELJDl5z0tDDu2S8neIy1NCtIKeyuwWMg$>? I think we are doing the right thing in Positron in terms of where we've bundled Quarto and its resources. You might want to check if you observe the problem for a very simple quarto::quarto_render() for PDF with a single file.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/posit-dev/positron/discussions/9081*discussioncomment-14144939__;Iw!!CPANwP4y!VCqomPvU7GFppCK4wJxjkh5xwbHG-k31Wa0cmHYEBzxMgAJItzomG7Fh1DELJDl5z0tDDu2S8neIy1NCtIIwvyZjxg$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BAMN4WJ3MFVTY64GJWY4JED3OIOBJAVCNFSM6AAAAACEFZN62WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJUGQ4TGOI__;!!CPANwP4y!VCqomPvU7GFppCK4wJxjkh5xwbHG-k31Wa0cmHYEBzxMgAJItzomG7Fh1DELJDl5z0tDDu2S8neIy1NCtILfTtDRvA$>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
I am also seeing that same error. Simple .qmd file:
|
Beta Was this translation helpful? Give feedback.
-
I opened quarto-dev/quarto-r#283 to get some info from the folks who make the R package. |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue. I'm seeing the same error. Have R Studio and R installed on a Windows 11 machine. Quarto report runs fine in R Studio. Installed Positron on Windows for all users. Open and run same Quarto report. Get this error: ERROR: NotFound: The system cannot find the file specified. (os error 2): lstat 'c:\Program Files\Positron\resources\app\quarto\share\formats\pdf\pandoc\before-bib.tex' That directory does exist on this system and has 21 files in it, mostly .TEX files but NOT the specific one referenced in the error message. There is a before-body.tex file. Could this be what it's actually looking for? Also posted on @juliasilge 's Quarto issue. |
Beta Was this translation helpful? Give feedback.
I opened quarto-dev/quarto-r#283 to get some info from the folks who make the R package.