From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prabhakaran Kasinathan Subject: Re: plantuml export (unable to resolve link: nil) Date: Fri, 30 Dec 2016 16:36:09 +0100 Message-ID: References: <87k2ahl9h8.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f6c1c406be00544e1f71a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMzEO-0006AF-30 for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 10:36:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMzEN-0007Tg-3B for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 10:36:32 -0500 Received: from mail-it0-x230.google.com ([2607:f8b0:4001:c0b::230]:34990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cMzEM-0007T8-Sc for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 10:36:31 -0500 Received: by mail-it0-x230.google.com with SMTP id c20so239092279itb.0 for ; Fri, 30 Dec 2016 07:36:30 -0800 (PST) In-Reply-To: <87k2ahl9h8.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou , Thibault Marin Cc: emacs-orgmode@gnu.org --001a113f6c1c406be00544e1f71a Content-Type: text/plain; charset=UTF-8 Hi everyone, @thanks to Thibault Marin. I fixed the problem, try the following: * TEST figure Figure [[fig-plantuml]]. #+BEGIN_SRC plantuml :file test.png :exports results A -> B : request B -> A : response #+END_SRC #+NAME: fig-plantuml #+CAPTION: Plantuml Test Figure #+RESULTS: [[file:test.png]] running "M-x org-lint" , shows no error on the above org content. Thanks for your help. Best Regards, Prabhakaran Kasinathan On Fri, Dec 30, 2016 at 4:31 PM, Nicolas Goaziou wrote: > Hello, > > Prabhakaran Kasinathan 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 > --001a113f6c1c406be00544e1f71a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi everyone,=C2=A0

@thanks to=C2=A0Thibault M= arin.=C2=A0

I fixed the problem, try the following:
<= div>
* TEST figure

Figure [= [fig-plantuml]].=C2=A0

#+BEGIN_SRC plantuml :file test.png := exports results
A -> B : request
B -> A : response
#+E= ND_SRC=C2=A0
#+NAME: fig-plantuml
#+CAPTION: Plantuml Test Figure=
#+RESULTS:
[[file:test.png]]

running "M-x org-= lint" , shows no error on the above org content.

Thanks for your help.=C2=A0=

Best Regard= s,
Prabhakaran Kasinathan

On Fri, Dec 30, 2016 at 4:31 PM, Nicolas Goa= ziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Prabhakaran Kasinathan <pra= bhakaran1989@gmail.com> writes:

> PlantUML src when exported to latex, has problems with link reference.=
>
> export in latex : C-x C-e l=C2=A0 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

--001a113f6c1c406be00544e1f71a--