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:

Output in ORG v 8.2.3

*Latex output:*

#+BEGIN_SRC latex
\section{TEST figure}
\label{sec-1}

Figure \ref{fig:plantuml}.

\begin{figure}[htb]
\centering
\includegraphics{test.png}
\caption{\label{fig:plantuml}Plantuml Test Figure}
\end{figure}
\end{document}
#+END_SRC


Output in ORG 9.0.3

*Latex output:*

#+BEGIN_SRC latex
\section{TEST figure}
\label{sec:org3dff397}

Figure [BROKEN LINK: nil].

\begin{center}
\includegraphics{test.png}
\end{center}
#+END_SRC

Thanks in advance.

Reply via email to