Re: [O] remote plot with local output?

2015-09-15 Thread Benda Xu
Hi Charles, "Charles C. Berry" writes: > Untested, but try this : > > #+name: localize > #+BEGIN_SRC emacs-lisp :var file="" srcinfo=(org-babel-get-src-block-info) >(let* ((dir (cdr (assoc :dir (nth 2 srcinfo > (rfile (concat (file-name-as-directory dir) file)) > (lfi

Re: [O] Graphic files displayed in buffer?

2015-09-15 Thread Rasmus
Hello, > OK, so I made the file self-contained by transferring to it all the code > it uses in my library of Babel. At least that's nice in itself... (I now keep common config data in a git submodule that I clone and load at export time with Make). > Then, I opened with emacs -q, answered "yes"

Re: [O] Displaying SVG inline in org-mode

2015-09-15 Thread Rasmus
Hi Eduardo, Eduardo Mercovich writes: > OTOH I have some svg icons that are shown perfectly in their own > buffers, but when included inline -just like the pngs- are shown only as > a reference like "/home/edumerco/whatever.svg" instead of the > icon. iimage mode is on. It works for me. This i

[O] Displaying SVG inline in org-mode

2015-09-15 Thread Eduardo Mercovich
Dear all. Sorry if this is too simple, but I'm a newbie in the Emacs world. I have a few png inline images which are displayed fine in Org. OTOH I have some svg icons that are shown perfectly in their own buffers, but when included inline -just like the pngs- are shown only as a reference lik

Re: [O] Graphic files displayed in buffer?

2015-09-15 Thread Thomas S . Dye
Hi Rasmus, Rasmus writes: > Hi Tom, > >> Thanks for looking into this. Your file works here, too. >> >> I found that loading my file somehow sets this variable: >> >> org-inline-image-overlays is a variable defined in `org.el'. > > This variable is only set from org-inline-image functions in or

Re: [O] Jekyll and Pygments

2015-09-15 Thread Marcel van der Boom
> [William:] > Is there anyone on the list who uses Jekyll (the Ruby-based > static site > generator [1]) and has a way of writing in Org that works with the syntax > highlighting done with Pygments [2]? > I wrote a little blog [1] about it earlier this year. Perhaps that will be helpful to y

Re: [O] Graphic files displayed in buffer?

2015-09-15 Thread Rasmus
Hi Tom, > Thanks for looking into this. Your file works here, too. > > I found that loading my file somehow sets this variable: > > org-inline-image-overlays is a variable defined in `org.el'. This variable is only set from org-inline-image functions in org.el (I didn't check contrib). So your

Re: [O] Scheme code block gives false error message

2015-09-15 Thread Nick Dokos
Lawrence Bottorff writes: > . . . quick question, Nick (et al): how do I (enlightened beginner) apply the > above patch? I'm using > latest ELPA from org-mode repo. > Save the patch in a file (say "ob-scheme.patch") in the top level directory of your org-mode tree (the one that includes the lis

Re: [O] Scheme code block gives false error message

2015-09-15 Thread Lawrence Bottorff
Ach, disregard that last bleating. Got it changed, and yes, it works -- for both guile and chicken. Thanks a ton, ND. But, yes, if there's a cool emacs way to take your diff and apply it I'd like to know. . . LB On Tue, Sep 15, 2015 at 5:25 PM, Lawrence Bottorff wrote: > . . . quick question,

[O] Jekyll and Pygments

2015-09-15 Thread William Denton
Is there anyone on the list who uses Jekyll (the Ruby-based static site generator [1]) and has a way of writing in Org that works with the syntax highlighting done with Pygments [2]? Bill [1] http://jekyllrb.com/ [2] http://jekyllrb.com/docs/templates/ -- William Denton ↔ Toronto, Canada ↔

Re: [O] Scheme code block gives false error message

2015-09-15 Thread Lawrence Bottorff
. . . quick question, Nick (et al): how do I (enlightened beginner) apply the above patch? I'm using latest ELPA from org-mode repo. LB

Re: [O] Scheme code block gives false error message

2015-09-15 Thread Lawrence Bottorff
I've tried the Moebius workaround (see above). It seems to work, and #+begin_src scheme . . . seems to call my MIT scheme and do results just fine. But it ignores the idea of multiple sessions, which the geiser-based ob-scheme did so well and just has one MIT scheme "session." However it does not

Re: [O] HTML export doesn't work when #+TITLE: is added

2015-09-15 Thread Lee Hinman
Lee Hinman writes: > Hi Org-ML, > > I'm trying to resolve an issue similar to the one here: > http://lists.gnu.org/archive/html/emacs-orgmode/2015-08/msg01195.html > > Where I cannot export a file with a #+TITLE in it with the latest > org-mode release. To follow-up on this, this was due to havi

Re: [O] remote plot with local output?

2015-09-15 Thread Charles C. Berry
On Tue, 15 Sep 2015, Benda Xu wrote: Hi Charles, "Charles C. Berry" writes: Look at the :post header arg (info "(org) post") You write a src block that extracts the remote file name from *this*, creates a local file name from it, copies the remote file to the local host, then subst

Re: [O] Merge branch 'maint'

2015-09-15 Thread Nicolas Richard
Oleh Krehel writes: > Now, please check my facts again. Is it true that Emacs doesn't have > maint and has instead a bunch of hanging branches for each release that > aren't meant to have master merged into them on release? In emacs, the current emacs24 branch will never be used for a release unl

Re: [O] babel stopping export after updating to org 8.3

2015-09-15 Thread Robert Klein
Hi Aviv wrote: > Robert Klein roklein.de> writes: > >> >> Hi >> >> Aviv wrote: >> >>> Hi! >>> >>> I just upgraded to org 8.3 and am stuck with an export issue. >>> >>> When I try to export a file with just "#+begin_src" and " "#+end_src" as >>> the >>> only lines, I get the error >>> "user-e

Re: [O] remote plot with local output?

2015-09-15 Thread Benda Xu
Hi Suvayu, Suvayu Ali writes: > Maybe, you could do all that in your python source block? You could use > the :file header to specify where the plot gets copied to on the local > filesystem. > > WDYT? I did think of putting the logic into python source block. As I will also have R block like

Re: [O] remote plot with local output?

2015-09-15 Thread Benda Xu
Hi Charles, "Charles C. Berry" writes: > Look at the :post header arg > > (info "(org) post") > > You write a src block that extracts the remote file name from *this*, > creates a local file name from it, copies the remote file to the local > host, then substitutes the local file name in *

Re: [O] Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)]

2015-09-15 Thread Eric S Fraga
On Tuesday, 15 Sep 2015 at 09:50, Uwe Brauer wrote: [...] > You are right, the evil ∈! Since I have started to use prettify-symbol > mode it is difficult to distinguish two situations: > > - prettify-symbols, using overlays, *displays* \in by ∈ > > - but also \in can be *replaced* by

Re: [O] babel stopping export after updating to org 8.3

2015-09-15 Thread Aviv
Robert Klein roklein.de> writes: > > Hi > > Aviv wrote: > > > Hi! > > > > I just upgraded to org 8.3 and am stuck with an export issue. > > > > When I try to export a file with just "#+begin_src" and " "#+end_src" as > > the > > only lines, I get the error > > "user-error: No language fo

Re: [O] Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)]

2015-09-15 Thread Uwe Brauer
> "Charles" == Charles C Berry writes: > On Mon, 14 Sep 2015, Uwe Brauer wrote: >> >> Hello >> >> For the following example, >> >> $$w∈ {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq M_0, >> w(t,x)\leq 0}$$ >> > $$w\in {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta