From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hsiu-Khuern Tang Subject: Re: Omit top level heading in latex export? Date: Mon, 25 Oct 2010 13:49:20 -0700 Message-ID: References: <4CA885BA.8050906@indraneel.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=52138 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PATyu-0001L8-VM for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 16:49:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PATyt-0003bo-F0 for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 16:49:24 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:60066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PATyt-0003be-CR for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 16:49:23 -0400 Received: by gxk2 with SMTP id 2so105314gxk.0 for ; Mon, 25 Oct 2010 13:49:20 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: orgmode Hi all, Even though this problem has been solved by exporting a region consisting of a single subtree ... I've always thought that it would be nice to be able to get the same behavior using org-publish, so that it can be used more easily in scripts. To be concrete: if I have this structure: * Essays :export: ** Essay One ** Essay Two I'd like to be able to use a publishing option to export "Essays" and get output like Section 1 Essay One Section 2 Essay Two (which is what we get when we select the subtree "Essays" as the active region before exporting) instead of Section 1 Essays Section 1.1 Essay One Section 1.2 Essay Two --=20 Best, Hsiu-Khuern. On Sun, Oct 3, 2010 at 8:27 AM, suvayu ali wr= ote: > On 3 October 2010 06:31, Indraneel Majumdar wr= ote: >> =A0Hi, >> >> I'm running into a problem with latex export. I have several essays unde= r a >> top level heading "Essays". How can I export say only one essay without = the >> top level heading "Essays" also showing up in the output as a "Section"?= I >> want the heading of my essay to be displayed as a latex section. Is this >> possible in any simple way? The manual describes some option to define m= y >> own class in the .emacs file, but I couldn't understand that very well. >> eg. >> >> * Essays >> ** Essay One >> ** Essay Two >> >> I want to export only "Essay Two" (eg with a :export: tag) and don't wan= t >> "Essays" to show up. >> > > What about just exporting the subtree you want? I believe the way to > do that is to go to the subtree and while exporting limit the export > with `1'. Hope this helps. > >> >> Thanks in advance, >> Indraneel >> > > -- > Suvayu > > Open source is the future. It sets us free. > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >