From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: org babel: %% [removed source block] Date: Thu, 29 Nov 2018 16:32:28 +0000 Message-ID: <8EF65BB1-E426-4748-BE42-03131CDEB17F@ucsd.edu> References: <87y39c9kr7.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPF1-0003mv-JX for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 11:32:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSPEy-0002et-C8 for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 11:32:39 -0500 Received: from iport-acv4-out.ucsd.edu ([132.239.0.7]:53307) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSPEw-0002cj-Ar for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 11:32:36 -0500 In-Reply-To: <87y39c9kr7.fsf@mat.ucm.es> Content-Language: en-US Content-ID: <80015806F9F8D5488C061EF5100285D4@AD.UCSD.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" To: Uwe Brauer Cc: org-mode-email I cannot reproduce your export issue with org 9.1.14. You need to provide more details. Perhaps you have a header-arg set that you have not told us about? What does C-c C-v C-i report when point is in each of your source blocks? I= get Lang: matlab Properties: :header-args nil :header-args:matlab nil Header Arguments: :cache no :exports code :hlines no :noweb no :padline no :results none :session none :tangle test.m for the first. HTH, Chuck > On Nov 29, 2018, at 3:38 AM, Uwe Brauer wrote: >=20 >=20 > Hi=20 >=20 > I have the following org file > #+BEGIN_SRC matlab :tangle test.m :padline no :results none > function [ll x]=3Dmitest(A0,x0) > % initialization=20 > format long > epsi=3D1.e-3; > nit=3D0; > nmaxit=3D200; > Delta=3D10; > A=3DA0; > while Delta>epsi & nit nit=3Dnit+1; % counter > #+END_SRC >=20 > The basic idea is. > That we do. > We also will >=20 > #+BEGIN_SRC matlab :tangle test.m :padline no > y=3DA*x0; > end > #+END_SRC >=20 > Now org-babel-tangle works nicely, but when I try to export the org file > to latex via org-export-dispatch >=20 > I obtain a latex file in which the source code is removed.=20 >=20 > What do I miss?? >=20 >=20 > I am asked in the export process whether I want to evaluate the code, > which I don't since it is a simple function not a code to be evaluated. >=20 >=20 >=20