From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: including the result of a block in several places? Date: Fri, 07 Dec 2012 17:16:29 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th0bN-0002t1-VW for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 11:16:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Th0bI-0000sc-6a for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 11:16:37 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:63971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th0bI-0000sQ-00 for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 11:16:32 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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