From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?=22Martin_G=2E_Skj=E6veland=22?= Subject: problem including graphics Date: Mon, 09 Nov 2009 13:45:22 +0100 Message-ID: <4AF80EE2.6070606@ifi.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7TcI-0001ml-RY for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 07:45:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7TcD-0001l4-EL for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 07:45:05 -0500 Received: from [199.232.76.173] (port=57170 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7TcD-0001kz-9D for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 07:45:01 -0500 Received: from mail-out2.uio.no ([129.240.10.58]:41808) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7TcC-0002sa-Se for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 07:45:01 -0500 Received: from mail-mx5.uio.no ([129.240.10.46]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1N7TcA-0007Of-7K for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 13:44:58 +0100 Received: from 1x-193-157-196-111.uio.no ([193.157.196.111]) by mail-mx5.uio.no with esmtpsa (TLSv1:AES256-SHA:256) user martige (Exim 4.69) (envelope-from ) id 1N7Tc9-0006Pp-Q8 for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 13:44:58 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, I have a problem including dot generated graphics in my export. The code is #+begin_src dot :file ./test.pdf :cmdline -Tpdf digraph test { Hello -> World; }; #+end_src When I export to latex it turns into \hyperref[./test.pdf]{file:./test.pdf} However, then I tried this in a separate document (to make this small example) it works fine and exports to \includegraphics[width=10em]{./test.pdf} So now my question is why is the same code in different documents interpreted different? Both documents have the same #+OPTIONS settings. My working document is a large document, so perhaps there are other bits of my document that interfere, but they shouldn't, right? Thanks! Martin