From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Gauland Subject: [new exporter] :wrap problems Date: Wed, 5 Dec 2012 20:31:37 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgLdN-0002ah-CG for emacs-orgmode@gnu.org; Wed, 05 Dec 2012 15:31:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgLdM-0004lW-8s for emacs-orgmode@gnu.org; Wed, 05 Dec 2012 15:31:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:41652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgLdM-0004lF-26 for emacs-orgmode@gnu.org; Wed, 05 Dec 2012 15:31:56 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TgLdV-0005Bo-Ph for emacs-orgmode@gnu.org; Wed, 05 Dec 2012 21:32:06 +0100 Received: from 218-101-54-25.trimble.co.nz ([218.101.54.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Dec 2012 21:32:05 +0100 Received: from mikelygee by 218-101-54-25.trimble.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Dec 2012 21:32:05 +0100 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@gnu.org I've run into trouble using the :wrap option with babel, with the new exporter. Using :wrap to put the result in an EXAMPLE block works consistently, but putting the result into a SRC block is inconsistent. This example: * :wrap example #+BEGIN_SRC ruby :results value :exports both :wrap EXAMPLE "This string came from Ruby." #+END_SRC #+BEGIN_SRC ruby :results value :exports both :wrap SRC fundamental "This string also came from Ruby." #+END_SRC Works as I would expect with the old exporter, but the new exporter does not process the generated SRC block. Exporting to ASCII gives me: :wrap example ============= ,---- | "This string came from Ruby." `---- ,---- | This string came from Ruby. `---- ,---- | "This string also came from Ruby." `---- #+BEGIN_SRC fundamental This string also came from Ruby. #+END_SRC fundamental The HTML and LaTeX exporters behave similarly (ie., the old exporters work; the new ones don't). The org files I'm using contain several such blocks, and I've found that some will be exported corretly, and others won't, though I haven't noticed any pattern. Can anyone verify that this behaviour is not unique to my system (and perhaps suggest where the problem may be?) Kind Regards, Mike Gauland