emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Exporting Graphviz to PDF


From: Thomas S. Dye
Subject: Re: [O] Exporting Graphviz to PDF
Date: Fri, 08 Feb 2013 10:42:10 -1000

Aloha Marko,

See http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-dot.html

#+begin_src dot :file myfile.pdf 
...
#+end_src

All the best,
Tom

address@hidden (Marko Dimjašević) writes:

> 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

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

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