emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Prabhakaran Kasinathan <prabhakaran1989@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
	Thibault Marin <thibault.marin@gmx.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: plantuml export (unable to resolve link: nil)
Date: Fri, 30 Dec 2016 16:36:09 +0100	[thread overview]
Message-ID: <CAFH0ppYE8CDT8Lg+uv3J_QPXbW_2Vvpzex9JeHqqTWa6X1Rq2A@mail.gmail.com> (raw)
In-Reply-To: <87k2ahl9h8.fsf@nicolasgoaziou.fr>

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

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 <mail@nicolasgoaziou.fr>
wrote:

> 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
>

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

      reply	other threads:[~2016-12-30 15:36 UTC|newest]

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

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=CAFH0ppYE8CDT8Lg+uv3J_QPXbW_2Vvpzex9JeHqqTWa6X1Rq2A@mail.gmail.com \
    --to=prabhakaran1989@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=thibault.marin@gmx.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).