emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* selective export
@ 2010-03-07 22:10 Graham Smith
  2010-03-08  1:16 ` Matt Lundin
  2010-03-08  1:17 ` Mark Elston
  0 siblings, 2 replies; 4+ messages in thread
From: Graham Smith @ 2010-03-07 22:10 UTC (permalink / raw)
  To: emacs-orgmode

Using babel I have the data used for the analysis (in R) under a top
level heading just called data. I want to keep this in the org file
but not in the compiled pdf.

I have had a look at the selective export in the manual, but could do
with a bit more step by step instructions on how to exclude this bit
of the outline.

Could someone give me a bit of hand holding on how to do this.

Many thanks,

Graha,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: selective export
  2010-03-07 22:10 selective export Graham Smith
@ 2010-03-08  1:16 ` Matt Lundin
  2010-03-08  1:17 ` Mark Elston
  1 sibling, 0 replies; 4+ messages in thread
From: Matt Lundin @ 2010-03-08  1:16 UTC (permalink / raw)
  To: Graham Smith; +Cc: emacs-orgmode

Graham Smith <myotisone@gmail.com> writes:

> Using babel I have the data used for the analysis (in R) under a top
> level heading just called data. I want to keep this in the org file
> but not in the compiled pdf.
>
> I have had a look at the selective export in the manual, but could do
> with a bit more step by step instructions on how to exclude this bit
> of the outline.
>
> Could someone give me a bit of hand holding on how to do this.

If you have not changed the default configuration of
org-export-exclude-tags, you can simply add the tag :noexport: to any
tree you would like to keep out of the published file.

Or, if you prefer, you can customize org-export-exclude-tags to exclude
trees with a different tag.

Best,
Matt

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: selective export
  2010-03-07 22:10 selective export Graham Smith
  2010-03-08  1:16 ` Matt Lundin
@ 2010-03-08  1:17 ` Mark Elston
  2010-03-08  6:36   ` Graham Smith
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Elston @ 2010-03-08  1:17 UTC (permalink / raw)
  To: emacs-orgmode

Graha,

This is pretty straightforward really.  If all you want to do is exclude
a single top-level heading then I would just assign a tag to that
heading that you won't be assigning to any other heading.  In this
case you can probably get away with something simple, like 'data'.

If you're not sure how to do this put your cursor on the heading you
don't want exported and press C-cC-q and type the name of the tag
you chose.

Then, at the top of the file (or anywhere, really), put a line like
this:

#+EXPORT_EXCLUDE_TAGS: data

This will prevent the section you tagged with this tag from being
exported.

Mark

On 3/7/2010 2:10 PM, Graham Smith wrote:
> Using babel I have the data used for the analysis (in R) under a top
> level heading just called data. I want to keep this in the org file
> but not in the compiled pdf.
>
> I have had a look at the selective export in the manual, but could do
> with a bit more step by step instructions on how to exclude this bit
> of the outline.
>
> Could someone give me a bit of hand holding on how to do this.
>
> Many thanks,
>
> Graha,
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: selective export
  2010-03-08  1:17 ` Mark Elston
@ 2010-03-08  6:36   ` Graham Smith
  0 siblings, 0 replies; 4+ messages in thread
From: Graham Smith @ 2010-03-08  6:36 UTC (permalink / raw)
  To: emacs-orgmode

Thanks to you both, so easy when you know how. The manual makes sense
as well now.

Graham

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-08  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-07 22:10 selective export Graham Smith
2010-03-08  1:16 ` Matt Lundin
2010-03-08  1:17 ` Mark Elston
2010-03-08  6:36   ` Graham Smith

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