emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Diego Zamboni <diego@zzamboni.org>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: org mode with babel source: execute all source blocks, don't export them to latex
Date: Tue, 13 Oct 2020 09:04:52 +0200	[thread overview]
Message-ID: <CAGY83EdjdaCtghL+g0qQ0XuUzKFf_kBHv0gjXz2YS34=U389DQ@mail.gmail.com> (raw)
In-Reply-To: <87mu0qzli4.fsf@mat.ucm.es>

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Hi Uwe,

    1. Is there any equivalent to org-update-all-dblocks for the source
> blocks?
>

I think you want org-babel-execute-buffer:


Documentation
Call org-babel-execute-src-block on every source block in

the current buffer.

     2. I want to export the org file to latex, in the current setting
>        the source blocks are also exported. I tried
>        #+begin_src matlab  :results output raw   :eval never-export
>        but it did not help.
>

Normally, =:results output= should be enough, but there might be some
peculiarities with matlab blocks that change this behavior.

--Diego

[-- Attachment #2: Type: text/html, Size: 1457 bytes --]

  reply	other threads:[~2020-10-13  7:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-13  6:29 org mode with babel source: execute all source blocks, don't export them to latex Uwe Brauer
2020-10-13  7:04 ` Diego Zamboni [this message]
2020-10-13  7:26   ` [matlab src is always exported to latex!!] (was: org mode with babel source: execute all source blocks, don't export them to latex) Uwe Brauer
2020-10-13  8:31     ` [solution of sorts] (was: [matlab src is always exported to latex!!]) Uwe Brauer
2020-10-13  8:31     ` [matlab src is always exported to latex!!] Eric S Fraga
2020-10-13 11:31       ` Uwe Brauer
2020-10-13  8:44     ` [matlab src is always exported to latex!!] (was: org mode with babel source: execute all source blocks, don't export them to latex) Dr. Arne Babenhauserheide
2020-10-13 11:34       ` [matlab src is always exported to latex!!] Uwe Brauer
2020-10-13 12:11         ` Diego Zamboni
2020-10-13 12:56           ` Uwe Brauer
2020-10-13 12:59             ` Eric S Fraga
2020-10-13 17:21               ` Uwe Brauer

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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='CAGY83EdjdaCtghL+g0qQ0XuUzKFf_kBHv0gjXz2YS34=U389DQ@mail.gmail.com' \
    --to=diego@zzamboni.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

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