From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: Octave/Matlab Code Export Issue? Date: Thu, 13 Mar 2014 16:16:00 +0000 (UTC) Message-ID: References: <1198335352.630117.1394684001766.JavaMail.zimbra@ittc.ku.edu> <1383898485.630157.1394685710946.JavaMail.zimbra@ittc.ku.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO8J7-0002KK-L4 for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 12:16:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO8J0-0001jm-Jv for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 12:16:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:49763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO8J0-0001ja-DP for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 12:16:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WO8Iy-0002qc-9T for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 17:16:24 +0100 Received: from 137.110.39.49 ([137.110.39.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 17:16:24 +0100 Received: from ccberry by 137.110.39.49 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 17:16:24 +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 Phil Regier math.ku.edu> 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 > > Instead try this: --8<---------------cut here---------------start------------->8--- #+NAME: abc #+BEGIN_SRC octave a = [1;3;5;7;9] b = [2;4;6;8] ans=a; #+END_SRC --8<---------------cut here---------------end--------------->8--- Note that the #+END_SRC line has no trailing nor anything else: 14.1 Structure of code blocks ============================= Live code blocks can be specified with a `src' block or inline.(1) The structure of a `src' block is #+NAME: #+BEGIN_SRC
#+END_SRC HTH, Chuck