emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: export section body but not section title
Date: Tue, 6 May 2014 23:34:24 +0200	[thread overview]
Message-ID: <20140506213424.GC3591@chitra.no-ip.org> (raw)
In-Reply-To: <m2eh07caed.fsf@gorgonzola.whoi.edu>

On Tue, May 06, 2014 at 09:19:22AM -0400, Ken Mankoff wrote:
> 
> Is there a way (tag?) in Org to export the body but not the
> title/heading? For example,
> 
> * Section 1   :noexport:
>   Some Text
> * Section 2
>   Some more text
> 
> Would not export the "Some Text" or any part of Section 1. I'd like to
> export the "Some Text" text, just not the title "Section 1". 
> 
> Use Case: More sections and collapsability in the Org doc makes
> writing/organizing easier, but the journal format doesn't allow any
> sections except one (Supplemental Material). 
> 
> Is this supported in Org as-is, or does it require a bit of Lisp code?
> I'd be happy for a LaTeX-specific solution.

With the filter shown here:

<https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L279>

You should be able to ignore the headlines by tagging them with
`ignoreheading'.

I have not tested this snippet in a long time, so you might need to
revise it to get it to work.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

      reply	other threads:[~2014-05-06 21:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 13:19 export section body but not section title Ken Mankoff
2014-05-06 21:34 ` Suvayu Ali [this message]

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=20140506213424.GC3591@chitra.no-ip.org \
    --to=fatkasuvayu+linux@gmail.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).