Skip to content

Crossrefs: combined internal and external references don't work #1186

@mcanouil

Description

@mcanouil

Bug description

Cross references are not parsed properly when combining figure reference and article reference, i.e., the article reference is missing

See: https://github.com/mcanouil/quarto-issues/tree/main/quarto-cli-1186

Possibly related to #1155

Quarto: 0.9.592 (I tried to upgrade to 598 and broke Quarto)
OS: MacOS arm64


Edit with Quarto 1.7.18

---
title: "Reproducible Quarto Document"
format: html
engine: markdown
references:
  - id: canouil_jointly_2018
    author:
      - family: Canouil
        given: Mickaël
      - family: Balkau
        given: Beverley
      - family: Roussel
        given: Ronan
      - family: Froguel
        given: Philippe
      - family: Rocheleau
        given: Ghislain
    container-title: Frontiers in Genetics
    doi: 10.3389/fgene.2018.00210
    issued: 2018
    title: "Jointly Modelling Single Nucleotide Polymorphisms With
      Longitudinal and Time-to-Event Trait: An Application to Type 2
      Diabetes and Fasting Plasma Glucose"
    type: article-journal
    journal-title: "Frontiers in Genetics*"
---

- ISSUE: This is a ref to article and figure [@canouil_jointly_2018; @fig-placeholder].
- OK: This is a ref to article and figure @canouil_jointly_2018, @fig-placeholder.
- OK: This is a ref alone [@canouil_jointly_2018].
- OK: This is a ref alone @canouil_jointly_2018.

![An image]({{< placeholder 600 400 >}}){#fig-placeholder}
Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcrossref

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions