From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Viren <bv@bnl.gov> Subject: Re: python/babel inline images Date: Tue, 05 Jun 2012 08:46:18 -0400 Message-ID: <ir47gvm9bad.fsf@lycastus.phy.bnl.gov> References: <87pq9egifm.fsf@bye.fritz.box> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([208.118.235.92]:40995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <bv@bnl.gov>) 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 <bv@bnl.gov>) 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 <bv@bnl.gov>) 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." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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 <nsmp_06@online.de> Cc: emacs-orgmode@gnu.org --=-=-= henry atting <nsmp_06@online.de> 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----- --=-=-=--