quarto-dev / quarto-dev/quarto-cli
Crossref syntax not well supported with `non-space-sperated` situation
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 6k
- Fork
- 458
- Merge medio
- 1g 9h
- PR unite (30g)
- 41
Descrizione
Crossref syntax such as See @fig-demofiglabel is not well supported with no-space situation for docx output format.
WARNING: Unable to resolve crossref @fig-demofiglabel所示
For example:
如@fig-demofiglabel所示
I tried the syntax below, with no success
如@{fig-demofiglabel}所示
MWE
---
title: MWE
format: docx
---
See @fig-demofiglabel
如@{fig-demofiglabel}所示
If I add a space before`@`, it works.
如 @{fig-demofiglabel}所示
```{r}
#| label: fig-demofiglabel
#| fig-cap: "Demo figure"
plot(1)
```
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Reproduce the minimal example with Quarto's docx output and the adjacent Chinese characters around @fig-demofiglabel. Compare the working spaced reference with the no-space cases, then trace the cross-reference parsing and resolution path. Done means the cross-reference resolves without requiring a preceding space, while existing spaced syntax continues to work.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100