From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Exporting Graphviz to PDF Date: Fri, 08 Feb 2013 10:42:10 -1000 Message-ID: References: <871ucqpnt9.fsf@neelix.gigaset.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3umX-0004P5-PO for emacs-orgmode@gnu.org; Fri, 08 Feb 2013 15:42:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3umW-0006kz-E3 for emacs-orgmode@gnu.org; Fri, 08 Feb 2013 15:42:49 -0500 Received: from oproxy12-pub.bluehost.com ([50.87.16.10]:42586) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1U3umW-0006je-4u for emacs-orgmode@gnu.org; Fri, 08 Feb 2013 15:42:48 -0500 In-Reply-To: <871ucqpnt9.fsf@neelix.gigaset.lan> ("Marko \=\?utf-8\?Q\?Dimja\?\= \=\?utf-8\?Q\?\=C5\=A1evi\=C4\=87\=22's\?\= message of "Fri, 08 Feb 2013 13:12:34 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marko =?utf-8?B?RGltamHFoWV2acSH?= Cc: emacs-orgmode@gnu.org Aloha Marko, See http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-dot.html #+begin_src dot :file myfile.pdf=20 ... #+end_src All the best, Tom marko@dimjasevic.net (Marko Dimja=C5=A1evi=C4=87) 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=3D"l0"] > "l1" [label=3D"l1"] >=20=20=20 > "l0" -> "l1" [label=3D" true : int n :=3D 0"] > }=20=20 > #+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 --=20 Thomas S. Dye http://www.tsdye.com