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 03:04:10 +0000	[thread overview]
Message-ID: <m2liot26dx.fsf@btinternet.com> (raw)
In-Reply-To: <m2pqe526rs.fsf@btinternet.com>

Martyn Jago <martyn.jago@btinternet.com> writes:

> 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

Of course this won't work in python since it will 'print' result, but
not return it. so you also need :results output which makes, the `result'
that which is printed to STDOUT (standard out).

> What format are you exporting too?
> Best, Martyn

  reply	other threads:[~2012-01-27  3:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-27  2:36 aaron barclay
2012-01-27  2:55 ` Martyn Jago
2012-01-27  3:04   ` Martyn Jago [this message]
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:

  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=m2liot26dx.fsf@btinternet.com \
    --to=martyn.jago@btinternet.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Export without code blocks' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).