-
Notifications
You must be signed in to change notification settings - Fork 351
false Citeproc warning about missing citation #12136
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
Comments
This comment has been minimized.
This comment has been minimized.
We use it in the navbar of a html book. The link provides a link to the relevant line in |
It seems exactly same usage as initial problem Would it mean this is a regression 🤔 ? We need to come up with a simple example to reproduce and add as a test project |
I can't reproduce on a website. Note that the project is far from a default project. |
Yes. This is an extension providing our corporate identity.
The documentation says otherwise |
The warning still not appear in website project, so it might be a Book project oversight from the last fix. |
I've created a minimal examples without extensions.
Console output of
|
This still happen in this case because we do pass the quarto-cli/src/command/render/pandoc.ts Lines 1264 to 1302 in cbea271
Pandoc parses Metadata string as Mardown, and so it will resolve citation syntax in there unless escaped. Unfortunately, escaping like href: https://mastodon.online/\@inbo does not work either because of #3493 fix as it will escape again href: https://mastodon.online/\\@inbo which modify the intent. So this could be fixed in a scoped manner by also escaping in the pandoc metadata. Or we could also see why For reference, this is the intermediate metadata file we pass to pandoc crossref:
chapters: true
document-css: false
link-citations: true
quarto-template-params:
title-block-categories: 'true'
date-format: long
lang: en
fig-responsive: true
quarto-version: 99.9.9
bibliography:
- references.bib
book:
chapters:
- index.md
navbar:
left:
- text: Cover
file: index.md
- icon: mastodon
href: https://mastodon.online/@inbo
tools: []
render:
- type: chapter
file: index.md
depth: 0
toc-title: Table of contents and why We could try escape, or use |
A workaround is to replace |
Thanks - this could be a better escape than replacing |
Bug description
URLs containing an
@
like https://mastodon.online/@inbo result in a false citeproc warningSteps to reproduce
No response
Actual behavior
No response
Expected behavior
No response
Your environment
No response
Quarto check output
Quarto 99.9.9
[✓] Checking environment information...
Quarto cache location: /home/thierry/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 99.9.9
commit: 3aec7d3
Path: /home/thierry/quarto-cli/package/dist/bin
[✓] Checking tools....................OK
TinyTeX: v2024.12
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /home/thierry/.TinyTeX/bin/x86_64-linux
Version: 2024
[✓] Checking Chrome Headless....................OK
Using: Chrome found on system
Path: /usr/bin/google-chrome
Source: PATH
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.12.3
Path: /usr/bin/python3
Jupyter: 5.3.2
Kernels: python3
(|) Checking Jupyter engine render....Traceback (most recent call last):
File "/home/thierry/quarto-cli/src/resources/jupyter/jupyter.py", line 21, in
from notebook import notebook_execute, RestartKernel
File "/home/thierry/quarto-cli/src/resources/jupyter/notebook.py", line 20, in
from nbclient import NotebookClient
ModuleNotFoundError: No module named 'nbclient'
[✓] Checking Jupyter engine render....OK
The text was updated successfully, but these errors were encountered: