[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] including the result of a block in several places?
From: |
Alan Schmitt |
Subject: |
Re: [O] including the result of a block in several places? |
Date: |
Sat, 08 Dec 2012 11:13:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin) |
"Sebastien Vauban" <address@hidden> writes:
> Hi Alan,
>
> Alan Schmitt wrote:
>> I tried including the result of evaluation a block in several slides,
>> but the second time it was not included.
>>
>> Is it possible to have the results of the evaluation of a block in
>> several places?
>
> OOTB, I don't think so. However, you could have a code block which simply
> copies the results.
>
> See `echo' in the `library-of-babel.org'.
Nice suggestion, thanks a lot. According to the documentation, I can
"call" functions from the library of babel from anywhere, but when I try
this:
#+begin_src org
#+name: test
#+begin_src perl
for (my $i = 0; $i != 10; ++i) {
print "hello, world!\n";
}
#+end_src
#+call: echo(test)
#+end_src
I get a "org-babel-ref-resolve: Reference 'echo' not found in this
buffer".
Do I need to do something special to load the library?
Alan
- [O] including the result of a block in several places?, Alan Schmitt, 2012/12/07
- Re: [O] including the result of a block in several places?, Sebastien Vauban, 2012/12/07
- Re: [O] including the result of a block in several places?,
Alan Schmitt <=
- Re: [O] including the result of a block in several places?, Thomas S. Dye, 2012/12/08
- Re: [O] including the result of a block in several places?, Alan Schmitt, 2012/12/10
- Re: [O] including the result of a block in several places?, Sebastien Vauban, 2012/12/10
- Re: [O] including the result of a block in several places?, Alan Schmitt, 2012/12/10
- Re: [O] including the result of a block in several places?, Eric Schulte, 2012/12/10
- Re: [O] including the result of a block in several places?, Alan Schmitt, 2012/12/10
- Re: [O] including the result of a block in several places?, Alan Schmitt, 2012/12/10
- Re: [O] including the result of a block in several places?, Thomas S. Dye, 2012/12/10
- Re: [O] including the result of a block in several places?, Alan Schmitt, 2012/12/11