emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting Graphviz to PDF
@ 2013-02-08 20:12 Marko Dimjašević
  2013-02-08 20:34 ` Russell Adams
  2013-02-08 20:42 ` Thomas S. Dye
  0 siblings, 2 replies; 3+ messages in thread
From: Marko Dimjašević @ 2013-02-08 20:12 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-08 20:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-08 20:12 Exporting Graphviz to PDF Marko Dimjašević
2013-02-08 20:34 ` Russell Adams
2013-02-08 20:42 ` Thomas S. Dye

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