emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Berry, Charles" <ccberry@ucsd.edu>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: org babel: %% [removed source block]
Date: Thu, 29 Nov 2018 16:32:28 +0000	[thread overview]
Message-ID: <8EF65BB1-E426-4748-BE42-03131CDEB17F@ucsd.edu> (raw)
In-Reply-To: <87y39c9kr7.fsf@mat.ucm.es>

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
	: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.



> On Nov 29, 2018, at 3:38 AM, Uwe Brauer <oub@mat.ucm.es> wrote:
> 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
> The basic idea is.
> That we do.
> We also will
> #+BEGIN_SRC matlab :tangle test.m :padline no
>    y=A*x0;
> end
> 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.

  parent reply	other threads:[~2018-11-29 16:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8EF65BB1-E426-4748-BE42-03131CDEB17F@ucsd.edu \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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).