From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prabhakaran Kasinathan Subject: plantuml export (unable to resolve link: nil) Date: Fri, 30 Dec 2016 14:42:12 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114faaf8b785090544e05fe8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMxS7-0004un-2u for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 08:42:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMxS6-0006on-BG for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 08:42:35 -0500 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:34070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cMxS6-0006od-5J for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 08:42:34 -0500 Received: by mail-io0-x236.google.com with SMTP id p42so372294249ioo.1 for ; Fri, 30 Dec 2016 05:42:33 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --001a114faaf8b785090544e05fe8 Content-Type: text/plain; charset=UTF-8 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. --001a114faaf8b785090544e05fe8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
PlantUML src when exported to latex, has problems wit= h link reference.=C2=A0

export in latex : C-x C-e l =C2=A0l= =C2=A0
Error: Unable to resolve link: nil
Fix: #+O= PTION:=C2=A0broken-links:mark

<= div>Everything works very well with org 8.2.3. How to fix this problem in n= ew versions of ORG?

Org src:

=
#+OPTION:=C2=A0broken-links:mark

=
* TEST Figure
Figure [[fig:plantuml]].=C2=A0
=
#+BEGIN_SRC plantuml :file test.png
A -> B : re= quest
B -> A : response
#+END_SRC=C2=A0
#+NAME: fig:plantuml
#+CAPTION: Plantuml Test Figure=
#+RESULTS:

Output in ORG v 8.2.3<= /div>

Latex output:
<= div>
#+BEGIN_SRC latex
\section{TEST figure}
\label{sec= -1}

Fi= gure \ref{fig:plantuml}.=C2=A0

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

Output in ORG 9.0.3
=

Latex output:
<= b>
#+BEGIN_SRC latex
\section{T= EST figure}
\label{sec:org3dff397}

Figure [BROKEN LINK: nil].=C2=A0

\begin{center}
\inclu= degraphics{test.png}
\end{center}
#+END_SRC=C2=A0

Thanks in advance.= =C2=A0

--001a114faaf8b785090544e05fe8--