emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: marko@dimjasevic.net (Marko Dimjašević)
To: emacs-orgmode@gnu.org
Subject: Exporting Graphviz to PDF
Date: Fri, 08 Feb 2013 13:12:34 -0700	[thread overview]
Message-ID: <871ucqpnt9.fsf@neelix.gigaset.lan> (raw)

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

Hi folks,

I'm trying to export a Graphviz dot graph to PDF. I have Graphviz
installed on my system.

Should I use:

#+begin_src dot
...
#+end_src

or

#+begin_dot
...
#+end_dot

?

For example, I'd like to use the following graph:

#+begin_dot pg.svg -Tsvg :exports results
  digraph ProgramGraph {
          "l0" [label="l0"]
          "l1" [label="l1"]
  
          "l0" -> "l1" [label=" true : int n := 0"]
  }  
#+end_dot

When I export it to PDF, instead of graph image I get a link with the
text:

file:pg_fcf0df40c0995897a72f6bb3a1b738b16b305752.svg

pointing to the file.

How to get the image embedded into PDF instead? I have Org-mode 7.6 and
please say that there's a way to do it in 7.6 (because I won't be able
to upgrade to anything newer until Trisquel 6.0 is released).


Cheers,
Marko
-- 
http://dimjasevic.net/marko

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

             reply	other threads:[~2013-02-08 20:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 20:12 Marko Dimjašević [this message]
2013-02-08 20:34 ` Exporting Graphviz to PDF Russell Adams
2013-02-08 20:42 ` Thomas S. Dye

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=871ucqpnt9.fsf@neelix.gigaset.lan \
    --to=marko@dimjasevic.net \
    --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 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).