-
Notifications
You must be signed in to change notification settings - Fork 284
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
Citedrive bibliography not rendering in Quarto book html #8814
Comments
I can reproduce. Here is the stack trace:
For HTML book we do a specific processing and I am not sure we handle URL correctly or just have a wrong detection here quarto-cli/src/project/types/book/book-bibliography.ts Lines 256 to 262 in 05a2985
I'll have a look Thanks for the report! |
The issue seems to come from our pandoc conversion of the reference We do use this markdown ---
bibliography:
- references.bib
- >-
https:/api.citedrive.com/bib/fe951e8e-8d9a-4b1e-9242-7a5591d4ca2b/references.bib?x=eyJpZCI6ICJmZTk1MWU4ZS04ZDlhLTRiMWUtOTI0Mi03YTU1OTFkNGNhMmIiLCAidXNlciI6ICIyNTY4IiwgInNpZ25hdHVyZSI6ICJkMWUyZWQ5NjE0MDdjOGVmNTIxMzEwMmE5ZTYwM2E5YzI3ZGY1ODc0YWJhNjJkZjU4YzU4ZmZiZjVkYTFjNjg0In0=/bibliography.bib
nocite: '@Harvey_2006, @Goodchild_2019, @knuth84'
--- to run on it
And this is what is failing (with bare pandoc to). There is a missing Issue is correct support for url in book project bibliography |
Bug description
CiteDrive generates a URL that can normally be used within Quarto documents. But for HTML books, the reference.qmd section won't render. This works fine with PDF. Also only rendering
index.qmd
formats the inline citations correctly.Steps to reproduce
_quarto.yml
file:index.qmd
:Expected behavior
Bibliography from CiteDrives renders normally
Actual behavior
Rendering the HTML book fails with the error:
Your environment
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
RStudio 2023.12.1+402 "Ocean Storm" Release (4da58325ffcff29d157d9264087d4b1ab27f7204, 2024-01-28) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.12.1+402 Chrome/116.0.5845.190 Electron/26.2.4 Safari/537.36
Quarto check output
The text was updated successfully, but these errors were encountered: