From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug (?) in new exporter (export subtree) Date: Wed, 16 Jan 2013 19:36:10 +0100 Message-ID: <87libt2cx1.fsf@gmail.com> References: <20130115203629.GA25867@BigDog.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvXql-0001t3-OZ for emacs-orgmode@gnu.org; Wed, 16 Jan 2013 13:36:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvXqj-0002cM-Ae for emacs-orgmode@gnu.org; Wed, 16 Jan 2013 13:36:35 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:43717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvXqj-0002c3-47 for emacs-orgmode@gnu.org; Wed, 16 Jan 2013 13:36:33 -0500 Received: by mail-wg0-f52.google.com with SMTP id 12so1107865wgh.7 for ; Wed, 16 Jan 2013 10:36:32 -0800 (PST) In-Reply-To: <20130115203629.GA25867@BigDog.local> (Rick Frankel's message of "Tue, 15 Jan 2013 15:36:29 -0500") 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 Hello, Rick Frankel writes: > In the new exporter, when the option to export only the subtree is > specified, the first heading in the subtree is used as the title of > the document. This seems wrong, as it becomes the title, the first > element in the table of contents and the first (not necessarily > the top level) section in the document. It doesn't, AFAIU. Could you explain how you do export (in particular, where is the point when you call the export subtree process) and what do you expect on a simple example ? For me: #+begin_src org #+TITLE: title #+OPTIONS: toc:t * Level 1 Body 1 X ** Level 2 Body 2 *** Level 3 Body 3 #+end_src with point at X will have "Level 1" as its title, but "Level 1" will appear neither in the table of contents nor as the first section of the produced document. Regards, -- Nicolas Goaziou