emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] [bug] Header argument :file in call_ lines


From: Eric Schulte
Subject: Re: [O] [babel] [bug] Header argument :file in call_ lines
Date: Mon, 26 Mar 2012 13:35:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Andreas Leha <address@hidden> writes:

> Hi all,
>
> I think there is a bug in babel concerning inline source block calls.
>
> Suppose, I have a source block that generates a file:
> #+name: someplot
> #+begin_src R :results graphics :file someplot.pdf :var somemax=10
>   plot(1:somemax)
> #+end_src
>
> #+results: someplot
> [[file:someplot.pdf]]
>
> I am trying to set the file name when I call this source block:
>
> Like in this file:
> call_someplot[:results graphics :file somebiggerplot.pdf]()[:results file] 
> where I still get the "someplot.pdf" as result.
>
> Note, that it functions as expected on non-inline call lines:
> #+call: someplot[:results graphics :file somebiggerplot.pdf]() :results file
>
> #+results: someplot[:results graphics :file somebiggerplot.pdf]()
> [[file:somebiggerplot.pdf]]

Hi Andreas,

I just pushed up a fix for this issue.

Thanks for reporting,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]