From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: export section body but not section title Date: Tue, 6 May 2014 23:34:24 +0200 Message-ID: <20140506213424.GC3591@chitra.no-ip.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whn0U-0005NW-GP for emacs-orgmode@gnu.org; Tue, 06 May 2014 17:34:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Whn0P-0003kp-0z for emacs-orgmode@gnu.org; Tue, 06 May 2014 17:34:34 -0400 Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]:47034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whn0O-0003kI-R0 for emacs-orgmode@gnu.org; Tue, 06 May 2014 17:34:28 -0400 Received: by mail-ee0-f44.google.com with SMTP id c41so139294eek.17 for ; Tue, 06 May 2014 14:34:27 -0700 (PDT) Received: from chitra.no-ip.org (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id x45sm41691474eef.15.2014.05.06.14.34.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 May 2014 14:34:27 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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: 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.