Figure [[fig-plantuml]].#+BEGIN_SRC plantuml :file test.png :exports resultsA -> B : requestB -> A : response#+END_SRC#+NAME: fig-plantuml#+CAPTION: Plantuml Test Figure#+RESULTS:[[file:test.png]]
Hello,
Prabhakaran Kasinathan <prabhakaran1989@gmail.com> writes:
> PlantUML src when exported to latex, has problems with link reference.
>
> export in latex : C-x C-e l l
> Error: Unable to resolve link: nil
> Fix: #+OPTION: broken-links:mark
>
>
> Everything works very well with org 8.2.3. How to fix this problem in new
> versions of ORG?
>
> *Org src:*
>
> #+OPTION: broken-links:mark
>
> * TEST Figure Figure [[fig:plantuml]].
>
> #+BEGIN_SRC plantuml :file test.png
> A -> B : request
> B -> A : response
> #+END_SRC
>
> #+NAME: fig:plantuml
> #+CAPTION: Plantuml Test Figure
>
> #+RESULTS:
You should try "M-x org-lint" on this document. Basically, you are using
affiliated keywords (name, caption, results) that apply to nothing.
Regards,
--
Nicolas Goaziou