From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: org babel: %% [removed source block] Date: Thu, 29 Nov 2018 14:19:47 +0100 Message-ID: <87r2f4ggwc.fsf@mat.ucm.es> References: <87y39c9kr7.fsf@mat.ucm.es> <87o9a8m3x3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha256; protocol="application/pkcs7-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSMEh-0005zM-T0 for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 08:20:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSMEc-0001gC-IT for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 08:20:07 -0500 Received: from [195.159.176.226] (port=47702 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSMEc-0001fk-98 for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 08:20:02 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gSMCS-0006kq-L4 for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 14:17:48 +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" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >>> "Eric" =3D=3D Eric S Fraga writes: > On Thursday, 29 Nov 2018 at 12:38, Uwe Brauer wrote: >> Now org-babel-tangle works nicely, but when I try to export the org >> file to latex via org-export-dispatch > I think the default is > :exports results > so you what you want is either > :exports both > or > :exports code Thanks, but I tried #+begin_src matlab :tangle test.m :export code :wrap latex :padline no=20 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