emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* including the result of a block in several places?
@ 2012-12-07 16:16 Alan Schmitt
  2012-12-07 18:26 ` Sebastien Vauban
  0 siblings, 1 reply; 12+ messages in thread
From: Alan Schmitt @ 2012-12-07 16:16 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2012-12-11  7:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-07 16:16 including the result of a block in several places? Alan Schmitt
2012-12-07 18:26 ` 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

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