emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org babel: %% [removed source block]
@ 2018-11-29 11:38 Uwe Brauer
  2018-11-29 13:03 ` Eric S Fraga
  2018-11-29 16:32 ` Berry, Charles
  0 siblings, 2 replies; 12+ messages in thread
From: Uwe Brauer @ 2018-11-29 11:38 UTC (permalink / raw)
  To: emacs-orgmode


Hi 

I have the following org file
#+BEGIN_SRC matlab :tangle test.m :padline no :results none
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 :padline no
    y=A*x0;
end
#+END_SRC

Now org-babel-tangle works nicely, but when I try to export the org file
to latex via org-export-dispatch

I obtain a latex file in which the source code is removed. 

What do I miss??


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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-11-29 22:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-29 11:38 org babel: %% [removed source block] Uwe Brauer
2018-11-29 13:03 ` Eric S Fraga
2018-11-29 13:19   ` Uwe Brauer
2018-11-29 13:46     ` John Kitchin
2018-11-29 15:16       ` Uwe Brauer
2018-11-29 15:18       ` Uwe Brauer
2018-11-29 15:24       ` Uwe Brauer
2018-11-29 16:32 ` Berry, Charles
2018-11-29 16:57   ` Uwe Brauer
2018-11-29 17:25     ` John Kitchin
2018-11-29 17:27   ` [SOLVED] (was: org babel: %% [removed source block]) Uwe Brauer
2018-11-29 22:20     ` [SOLVED] Nick Dokos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).