From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: including the result of a block in several places?
Date: Fri, 07 Dec 2012 17:16:29 +0100 [thread overview]
Message-ID: <m2r4n1bzxe.fsf@top.irisa.fr> (raw)
Hello,
I tried including the result of evaluation a block in several slides,
but the second time it was not included. Here is the code I ran:
#+begin_src org
** Prototype-based objects
#+name: object_example
#+begin_src js :results code output :exports both
var f = function(a) {
this.x = a
}
f.prototype = {y : 1}
var o = new f (42)
console.log("o.x = " + o.x + ", o.y = " + o.y)
#+end_src
Results
#+results: object_example
** Prototype-based objects
#+begin_src js
var f = function(a) {
this.x = a
}
f.prototype = {y : 1}
var o = new f (42)
console.log("o.x = " + o.x + ", o.y = " + o.y)
#+end_src
Results
#+results: object_example
(Some additional images added)
#+end_src
I cannot do a "\pause" because a slide will be inserted in the middle.
Is it possible to have the results of the evaluation of a block in
several places?
Thanks,
Alan
next reply other threads:[~2012-12-07 16:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 16:16 Alan Schmitt [this message]
2012-12-07 18:26 ` including the result of a block in several places? Sebastien Vauban
2012-12-08 10:13 ` Alan Schmitt
2012-12-08 16:57 ` Thomas S. Dye
2012-12-10 8:57 ` Alan Schmitt
2012-12-10 9:57 ` Sebastien Vauban
2012-12-10 10:17 ` Alan Schmitt
2012-12-10 14:58 ` Eric Schulte
2012-12-10 16:14 ` Alan Schmitt
2012-12-10 19:32 ` Alan Schmitt
2012-12-10 19:43 ` Thomas S. Dye
2012-12-11 7:48 ` Alan Schmitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2r4n1bzxe.fsf@top.irisa.fr \
--to=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.