-
Notifications
You must be signed in to change notification settings - Fork 408
Description
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
[Filed originally by @fredericvergnaud at https://github.com/rstudio/rstudio/issues/16854]
System details
RStudio Edition : Desktop
RStudio Version : 2026.01.0+392
OS Version : MacOS Tahoe 26.2
R Version : 4.5.1
Quarto is behaving strangely with my bibliography.
I want to incorporate a bibliography into my website generated by Quarto.
Since I only want the final result, an HTML file bibliography.html that I want to insert with an iframe into a qmd file, I proceed as follows (a video would be needed to describe the problem properly, but I will try to be precise):
- I have a bibliography linked to
Zotero: this works very well - I integrate references into a
references.qmdfile: this works very well, thereferences.bibfile is created correctly - I run a
renderofreferences.qmdto generate areferences.htmlfile in thepublicdirectory: this works very well - Since I only want to keep this HTML file, I move it to the root directory and rename it
bibliography.html: OK - I create a new
bibliography.qmdfile in which I write the code to insert aniframe:
<iframe src="./bibliography.html"></iframe>
- At this point, my
bibliography.htmlfile is correct: I can modify it and remove the references to keep only the bibliography itself - It is when I run the
renderofbibliography.qmd, which only contains theiframecall frombibliography.html, that mybibliography.htmlfile is deleted and no longer contains my bibliography. Instead, I get: - My website structure: header, menu, footer
- In the
body: only JavaScript: an eventlistener, then the following functions:onCopySuccess,getTextToCopy, a test onquarto-embedded-source-code-modal,tippyHover,processXRef... and at the end abibliorefsvariable that seems related to what I want, but which doesn't display anything.
Do you understand any of this? And if so, what do I need to do to simply insert my bibliography.html file via bibliography.qmd without it being destroyed by subsequent quarto render commands?
- [ x] I have read the guide for submitting good bug reports.
- [ x] I have installed the latest version of RStudio, and confirmed that the issue still persists.
- If I am reporting an RStudio crash, I have included a diagnostics report.
- [ x] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
Steps to reproduce
No response
Actual behavior
No response
Expected behavior
No response
Your environment
No response
Quarto check output
Not sure--it's not in the original bug report. However, I reproduced it with Quarto 1.8.27.
$ quarto check
Quarto 1.8.27
[>] Checking environment information...
Quarto cache location: C:\Users\RonBlum\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.6.3: OK
Dart Sass version 1.87.0: OK
Deno version 2.3.1: OK
Typst version 0.13.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.8.27
Path: C:\Program Files\Quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: (external install)
Chromium: (not installed)
[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\RonBlum\AppData\Roaming\TinyTeX\bin\windows\
Version: 2025
[>] Checking Chrome Headless....................OK
Using: Chrome found on system
Path: C:\Program Files\Google\Chrome\Application\chrome.exe
Source: Windows Registry
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK
Version: 3.13.6
Path: C:/Users/RonBlum/AppData/Local/Programs/Python/Python313/python.
exe
Jupyter: 5.8.1
Kernels: python3
[>] Checking Jupyter engine render....OK
(\) Checking R installation............Rprofile ...
(|) Checking R installation............Rprofile ... done
[>] Checking R installation...........OK
Version: 4.5.2
Path: C:/PROGRA~1/R/R-45~1.2
LibPaths:
- C:/Users/RonBlum/AppData/Local/R/win-library/4.5
- C:/Program Files/R/R-4.5.2/library
knitr: 1.51
rmarkdown: 2.30
[>] Checking Knitr engine render......OK