[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] [bug] Header argument :file in call_ lines
From: |
Andreas Leha |
Subject: |
Re: [O] [babel] [bug] Header argument :file in call_ lines |
Date: |
Mon, 26 Mar 2012 23:42:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Eric Schulte <address@hidden> writes:
> 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,
Hi Eric,
thanks a lot. I can confirm the issue is fixed.
Regards,
Andreas