From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Viren Subject: Re: python/babel inline images Date: Tue, 05 Jun 2012 08:46:18 -0400 Message-ID: References: <87pq9egifm.fsf@bye.fritz.box> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sbt9S-00070P-Vr for emacs-orgmode@gnu.org; Tue, 05 Jun 2012 08:46:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sbt9Q-0007Rw-S4 for emacs-orgmode@gnu.org; Tue, 05 Jun 2012 08:46:22 -0400 Received: from smtpgw.bnl.gov ([130.199.3.132]:43134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sbt9Q-0007R4-Ou for emacs-orgmode@gnu.org; Tue, 05 Jun 2012 08:46:20 -0400 In-Reply-To: <87pq9egifm.fsf@bye.fritz.box> (henry atting's message of "Tue, 05 Jun 2012 12:30:05 +0200") 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: henry atting Cc: emacs-orgmode@gnu.org --=-=-= henry atting writes: > I do not succeed in generating an inline image as a result of a > python code block. The code itself works, C-c C-c generates the > according picture, but only in my home directory. The code block: Could you not just follow the block with a hand-written link to the output file? Then, when it becomes available toggle "C-c C-x C-v" (once or twice) or "M-x org-display-inline-images" once. Maybe also rewrite the Python to place the output SVG in a directory associated with your ORG file so that link can be relative. I simply use an env. var. to locate where my plots should output. I'm an org-newbie so maybe there are better ways. -Brett. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk/N/5oACgkQEixH2Z0dKCyTXACfS9e07U5I80cBIwmZnGj8r9s9 OeQAniRQpbrSPgudS40alb4Hs+HTQ538 =vb1/ -----END PGP SIGNATURE----- --=-=-=--