glab <[email protected]> writes:

> The following minimal example reproduces the situation I am seeing.
>
> #+NAME: A
> #+BEGIN_SRC emacs-lisp :file iamge.png
> #+END_SRC
> #+CAPTION: Some text
> #+NAME: B
> #+RESULTS: A
> [[file:image.png]]
>
> A reference to image [[B]].

> When exporting the document, I get the error message:
>   org-export-data: Org export aborted.  Unable to resolve link: "B"
>
> This error occurs only when the RESULTS keyword references the name
> "A" (that is, the name of the code block).

Hi, Glab,

Try adding this header to the src block:

  :exports results

Does the problem persist?

(Note: Your example also has a typo, "iamge.png", but I don't suppose it
occurs in your actual test code.)

Yours,
Christian

Reply via email to