emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org babel: %% [removed source block]


From: John Kitchin
Subject: Re: [O] org babel: %% [removed source block]
Date: Thu, 29 Nov 2018 08:46:25 -0500

Maybe you need :exports and not :export.

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803


On Thu, Nov 29, 2018 at 8:20 AM Uwe Brauer <address@hidden> wrote:
>>> "Eric" == Eric S Fraga <address@hidden> 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
function [ll x]=mitest(A0,x0)
% initialization
format long
epsi=1.e-3;
nit=0;
nmaxit=200;
Delta=10;
A=A0;
while Delta>epsi & nit<nmaxit
    nit=nit+1; % counter
#+end_src

The basic idea is.
That we do.
We also will

#+begin_src matlab  :tangle test.m :export both  :wrap latex :padline no
    y=A*x0;
end
#+end_src


And I obtain always:
\begin{document}

%% [removed source block]
The basic idea is.
That we do.
We also will

%% [removed source block]
\end{document}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]