emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Garreau\, Alexandre" <galex-713@galex-713.eu>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Org-plot/org-babel-gnuplot not working
Date: Wed, 05 Nov 2014 01:33:52 +0100	[thread overview]
Message-ID: <lh0zuvzzzzzz.gos.xxuns.g6.gal@galex-713.eu> (raw)
In-Reply-To: <CA+M2ft83HKyaj-XDMwO=VSFJaBHGQCUq-SvW2Gi6w0OQBwxJew@mail.gmail.com> (John Hendy's message of "Mon, 3 Nov 2014 21:48:31 -0600")

[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]

Le 04/11/2014 à 03h47, John Hendy a écrit :
> Could you post the gnuplot/babel relevant stuff from your .emacs?

This:

#+BEGIN_SRC emacs-lisp
;; active Babel languages
(org-babel-do-load-languages
 'org-babel-load-languages
 '((gnuplot . t)))
;; add additional languages with '((language . t)))
#+END_SRC

Of course it’s not enough. It doesn’t work. I saw this here:
<http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html>
(got the link on #org-mode asking for help).

Le 04/11/2014 à 04h48, John Hendy a écrit :
> Just took a look at the worg page and gave it a whirl in the style of
> Org 8.x. Indeed, the babel/setup section is oudated, and I'm not sure
> if 7.9.3f is on the "old style" or new style. I thought there was a
> sort of "pre-8.0" version of Org that still adhered to the newer
> syntax. In any case, take a look at the attached .org file with my
> minimal setup which works successfully for me. Hopefully it's
> self-explanatory. I attached my pdf export as well.

I already tried to eval your code, and it… oh… it turns out it works…
but… it’s the same that mine in my .emacs.d/init.el.

/And then, once more, it suddenly worked without any explanation/

Ok it works it’s great. Does any plot previewing exist? I mean, with the
image *in* the buffer, like for LaTeX preview feature (maybe I should
ask in a separate mail…)?

[-- Attachment #2: Type: application/pgp-signature, Size: 948 bytes --]

  reply	other threads:[~2014-11-05  0:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04  1:44 Org-plot/org-babel-gnuplot not working Garreau, Alexandre
2014-11-04  2:47 ` John Hendy
2014-11-04  3:48 ` John Hendy
2014-11-05  0:33   ` Garreau, Alexandre [this message]
2014-11-05  0:42     ` John Hendy
2014-11-05  0:57       ` Garreau, Alexandre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=lh0zuvzzzzzz.gos.xxuns.g6.gal@galex-713.eu \
    --to=galex-713@galex-713.eu \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).