quarto-dev / quarto-dev/quarto-cli

Warn users about crossref entries in inline images

Open
#5,571 1 comment 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since May 16, 2023.

enhancement lint
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

(The bug here is that ![]... needs to be on a line by itself for our crossref system to pick it up.)

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/5568

Originally posted by MichelDSchmid May 16, 2023
Hi all

I have a, hopefully, small problem with cross references in a book project.

![NTC-Bauformen](images/ntc_bauformen.png){#fig-bau-formen width=9.5cm}
NTCs gibt es in verschiedensten Bauformen wie in @fig-bau-formen ersichtlich ist. Diese Bauformen stellen lediglich eine Auswahl der zur Verfügung stehenden Bauformen dar.

I'm always getting the error message:
WARNING: Unable to resolve crossref @fig-bau-formen
and of course I can't see a cross reference in the document, indepentend if it's in html or pdf..

I coudn't found something in the docs and I'm using quarto version 1.3.353

Thanks in advanced
Mike

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.