emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Exporting Graphviz to PDF


From: Marko Dimjašević
Subject: [O] Exporting Graphviz to PDF
Date: Fri, 08 Feb 2013 13:12:34 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]