From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Regier Subject: Octave/Matlab Code Export Issue? Date: Wed, 12 Mar 2014 23:41:50 -0500 (CDT) Message-ID: <1383898485.630157.1394685710946.JavaMail.zimbra@ittc.ku.edu> References: <1198335352.630117.1394684001766.JavaMail.zimbra@ittc.ku.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNxT2-0000o6-UG for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 00:42:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNxSr-0002nr-6n for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 00:42:04 -0400 Received: from stephens.ittc.ku.edu ([129.237.125.220]:44521) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNxSr-0002nf-2c for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 00:41:53 -0400 Received: from zimbra.ittc.ku.edu (zimbra.ittc.ku.edu [129.237.125.105]) by stephens.ittc.ku.edu (Postfix) with ESMTP id 845749400DF for ; Wed, 12 Mar 2014 23:41:50 -0500 (CDT) Received: from zimbra.ittc.ku.edu (localhost.localdomain [127.0.0.1]) by zimbra.ittc.ku.edu (Postfix) with ESMTP id 1CD9AC2276 for ; Wed, 12 Mar 2014 23:41:51 -0500 (CDT) Received: from zimbra.ittc.ku.edu (zimbra.ittc.ku.edu [129.237.125.105]) by zimbra.ittc.ku.edu (Postfix) with ESMTP id 11AD7C1810 for ; Wed, 12 Mar 2014 23:41:51 -0500 (CDT) In-Reply-To: <1198335352.630117.1394684001766.JavaMail.zimbra@ittc.ku.edu> 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'm having trouble with Octave export, and I am not quite sure where to look. In an Org file I have the following: #+BEGIN_SRC octave a = [1;3;5;7;9] b = [2;4;6;8] ans=a; #+END_SRC octave When exporting to LaTeX I get the following: \#+BEGIN\_SRC octave a = [1;3;5;7;9] b = [2;4;6;8] ans=a; \#+END\_SRC octave The style is consistent whether I export to LaTeX (buffer or PDF) or HTML; I've tried 'matlab' in lieu of 'octave', and various :results and :exports combinations, and I always get the literal output of the org syntax itself for the code, though I get a proper verbatim block of output contents when I export results. 'sh' and 'latex' blocks work properly (as do 'org' and 'awk' in other documents), exporting code and results alike without passing Org markup through, but this issue persists with octave on older and newer (emacs 24.3.1 with org 8.2.5h) builds. I've set the usual execution confirmation options and added matlab and octave to the loaded languages, and even disabled super/subscript rendering, all through customize, and even tried wiping out my .emacs and starting over just in ca se. I've tried poking around the source but I don't know what I'm looking for; I don't see direct references to export/publish in ob-octave, and ox is way beyond me, I'm afraid. Can anyone guess either what I'm doing wrong or where I might start looking look for such a language-specific, non-option-specific, non-backend-specific export glitch? Thanks for any suggestions... Phil