* export section body but not section title
@ 2014-05-06 13:19 Ken Mankoff
2014-05-06 21:34 ` Suvayu Ali
0 siblings, 1 reply; 2+ messages in thread
From: Ken Mankoff @ 2014-05-06 13:19 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
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.
-k.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: export section body but not section title
2014-05-06 13:19 export section body but not section title Ken Mankoff
@ 2014-05-06 21:34 ` Suvayu Ali
0 siblings, 0 replies; 2+ messages in thread
From: Suvayu Ali @ 2014-05-06 21:34 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-06 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 13:19 export section body but not section title Ken Mankoff
2014-05-06 21:34 ` Suvayu Ali
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).