emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #+call: and file link
@ 2011-07-02 18:45 Thomas S. Dye
  2011-07-02 19:19 ` Christian Moe
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2011-07-02 18:45 UTC (permalink / raw)
  To: emacs-orgmode

Aloha all,

I have a generic R function that creates a plot and returns a link to
the file in the #+results: line.  

When I #+call: the function as follows the plot file is output
correctly, but the #+results: line doesn't contain a link.

#+call: dated-events-plot[:file out.pdf](bcal=test, theme="gray") 

#+results: dated-events-plot[:file out.pdf](bcal=test, theme="gray")
: out.pdf

How can I #+call: my generic function so the #+results: line contains a
link?

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: #+call: and file link
  2011-07-02 18:45 #+call: and file link Thomas S. Dye
@ 2011-07-02 19:19 ` Christian Moe
  2011-07-02 20:14   ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Moe @ 2011-07-02 19:19 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode

Aloha,

Try this (should be one line):

#+call: dated-events-plot[:file out.pdf](bcal=test, theme="gray") 
:results file

Yours,
Christian



On 7/2/11 8:45 PM, Thomas S. Dye wrote:
> Aloha all,
>
> I have a generic R function that creates a plot and returns a link to
> the file in the #+results: line.
>
> When I #+call: the function as follows the plot file is output
> correctly, but the #+results: line doesn't contain a link.
>
> #+call: dated-events-plot[:file out.pdf](bcal=test, theme="gray")
>
> #+results: dated-events-plot[:file out.pdf](bcal=test, theme="gray")
> : out.pdf
>
> How can I #+call: my generic function so the #+results: line contains a
> link?
>
> All the best,
> Tom
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: #+call: and file link
  2011-07-02 19:19 ` Christian Moe
@ 2011-07-02 20:14   ` Thomas S. Dye
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas S. Dye @ 2011-07-02 20:14 UTC (permalink / raw)
  To: mail; +Cc: emacs-orgmode

Aloha Christian,

Thanks!  That's just what I wanted.

All the best,
Tom

Christian Moe <mail@christianmoe.com> writes:

> Aloha,
>
> Try this (should be one line):
>
> #+call: dated-events-plot[:file out.pdf](bcal=test, theme="gray")
> :results file
>
> Yours,
> Christian
>
>
>
> On 7/2/11 8:45 PM, Thomas S. Dye wrote:
>> Aloha all,
>>
>> I have a generic R function that creates a plot and returns a link to
>> the file in the #+results: line.
>>
>> When I #+call: the function as follows the plot file is output
>> correctly, but the #+results: line doesn't contain a link.
>>
>> #+call: dated-events-plot[:file out.pdf](bcal=test, theme="gray")
>>
>> #+results: dated-events-plot[:file out.pdf](bcal=test, theme="gray")
>> : out.pdf
>>
>> How can I #+call: my generic function so the #+results: line contains a
>> link?
>>
>> All the best,
>> Tom
>>
>

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-02 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-02 18:45 #+call: and file link Thomas S. Dye
2011-07-02 19:19 ` Christian Moe
2011-07-02 20:14   ` Thomas S. Dye

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).