emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Lars E. Pettersson" <lars@homer.se>
To: emacs-orgmode@gnu.org
Subject: Re: src blocks: code is /always/ exported
Date: Thu, 29 Dec 2016 21:05:51 +0100	[thread overview]
Message-ID: <cc8ba22d-fff9-3329-4bef-a1d66e255278@homer.se> (raw)
In-Reply-To: <3083091.RUdT2yByqR@bombus>

On 12/29/16 19:45, Martin Gürtler wrote:
> I do not really need src block evaluation during export. I only need to
> evaluate (manually) when I changed the graphics src, what I am doing
> anyway to check the changed image.
>
> But how would I control the (not-)inclusion of the src code during
> export in that case?

I am using the following:

(add-to-list 'org-babel-default-header-args '(:eval . "never-export"))
(add-to-list 'org-babel-default-inline-header-args '(:eval . 
"never-export"))

Lars
-- 
Lars E. Pettersson <lars@homer.se>
http://www.sm6rpz.se/

  reply	other threads:[~2016-12-29 20:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-29 14:53 src blocks: code is /always/ exported "Martin Gürtler"
2016-12-29 17:07 ` Charles C. Berry
2016-12-29 18:45   ` Martin Gürtler
2016-12-29 20:05     ` Lars E. Pettersson [this message]
2016-12-29 20:12     ` Charles C. Berry

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=cc8ba22d-fff9-3329-4bef-a1d66e255278@homer.se \
    --to=lars@homer.se \
    --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).