all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Prabhakaran Kasinathan <prabhakaran1989@gmail.com>
To: emacs-orgmode@gnu.org
Subject: plantuml export (unable to resolve link: nil)
Date: Fri, 30 Dec 2016 14:42:12 +0100	[thread overview]
Message-ID: <CAFH0ppZFnHvica2VRLAFkG9VKOFSvmMx0hnb7_vHnFW-TbRp3Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 980 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 2593 bytes --]

             reply	other threads:[~2016-12-30 13:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-30 13:42 Prabhakaran Kasinathan [this message]
2016-12-30 14:26 ` plantuml export (unable to resolve link: nil) Thibault Marin
2016-12-30 15:31 ` Nicolas Goaziou
2016-12-30 15:36   ` Prabhakaran Kasinathan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFH0ppZFnHvica2VRLAFkG9VKOFSvmMx0hnb7_vHnFW-TbRp3Q@mail.gmail.com \
    --to=prabhakaran1989@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.