From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Octave/Matlab Code Export Issue? Date: Thu, 13 Mar 2014 16:08:36 +0000 Message-ID: <8761nijd2z.fsf@ucl.ac.uk> References: <1383898485.630157.1394685710946.JavaMail.zimbra@ittc.ku.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO8Be-0006Oz-B7 for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 12:08:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO8BU-0007kl-Dy for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 12:08:50 -0400 Received: from mail-am1lp0016.outbound.protection.outlook.com ([213.199.154.16]:45970 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO8BU-0007jq-8b for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 12:08:40 -0400 In-Reply-To: <1383898485.630157.1394685710946.JavaMail.zimbra@ittc.ku.edu> (Phil Regier's message of "Wed, 12 Mar 2014 23:41:50 -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: Phil Regier Cc: emacs-orgmode@gnu.org Phil Regier writes: > 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 Remove "octave" from the #+end_src line. There should be nothing else on that line. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.2, Org release_8.2.5h-709-g99f1ff