emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martyn Jago <martyn.jago@btinternet.com>
To: emacs-orgmode@gnu.org
Subject: Re: Export without code blocks
Date: Fri, 27 Jan 2012 02:55:51 +0000	[thread overview]
Message-ID: <m2pqe526rs.fsf@btinternet.com> (raw)
In-Reply-To: CAHtOG9GyYkgGnFb9ERdpcVrRLEGL_-uFgYoEV1jU78atpBj5Nw@mail.gmail.com

Hi Aaron

aaron barclay <aaron.diplopic@gmail.com> writes:

> Hi,
>
> I am having trouble finding the correct way to export a document without
> the code blocks included. Should I be using #+EXPORT_EXCLUDE_TAGS? I can't
> seem to get it to work, anyone have the correct syntax?
>
> cheers,
> aaron.

#+EXPORT_EXCLUDE_TAGS is for defining tags (such as NO_EXPORT) to
prevent headings or sub-headings (branches) being exported. As in:

** don't export me                  :NO_EXPORT:
stuff

Possibly what you need is :exports none  or :exports results :

begin_src python :exports results
  print "result"
end_src

What format are you exporting too?

Best, Martyn

  reply	other threads:[~2012-01-27  2:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-27  2:36 Export without code blocks aaron barclay
2012-01-27  2:55 ` Martyn Jago [this message]
2012-01-27  3:04   ` Martyn Jago
2012-01-29 21:57     ` aaron barclay

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=m2pqe526rs.fsf@btinternet.com \
    --to=martyn.jago@btinternet.com \
    --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).