From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Error with :wrap org in babel and 8.0-pre Date: Thu, 11 Apr 2013 17:45:04 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQQF3-00088H-FK for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 18:45:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQQEs-0005aR-VV for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 18:45:17 -0400 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:59387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQQEs-0005WF-Kr for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 18:45:06 -0400 Received: by mail-la0-f45.google.com with SMTP id gw10so1988238lab.32 for ; Thu, 11 Apr 2013 15:45:05 -0700 (PDT) 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 I thought this was the proper syntax for printing stuff directly to a LaTeX document: #+begin_src R :session :exports results :results output :wrap org I've got a statement interspersing some prose with variable values like so: cat("This and such value was," var1, ", and this one was", var2, ".\n") The results block looks fine, but LaTeX is spitting out \begin{org} and \end{org} around it, which results in a compilation error: ! LaTeX Error: Environment org undefined. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.51 \begin{org} ! LaTeX Error: \begin{document} ended by \end{org}. Suggestions? Thanks, John