From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Exporting narrowed subtrees to HTML Date: Wed, 30 Jun 2010 23:20:50 -0400 Message-ID: <87tyojnazx.fsf@fastmail.fm> References: <87k4phajcl.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=47548 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUAFV-00032G-CX for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 23:15:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUAFU-0007Da-5s for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 23:15:37 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:39192) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUAFU-0007DV-14 for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 23:15:36 -0400 In-Reply-To: <87k4phajcl.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Tue, 29 Jun 2010 12:34:18 -0400") 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: Bernt Hansen Cc: emacs-orgmode@gnu.org Hi Bernt, Bernt Hansen writes: > > I am working in a deeply nested org file and have narrowed to subtree > for the part of the file I'm working on which happens to start at > heading level 5. > > I want to export this narrowed subtree to HTML but the first HTML > heading level matches the file instead of starting from heading > level 2. This makes the resulting HTML output not as pretty as it could > be. If you select the subtree with C-c @ (outline-mark-subtree), it should export properly: --8<---------------cut here---------------start------------->8---

Level 5 - Interesting stuff - narrow to subtree here

Level 6

Another Level 6

--8<---------------cut here---------------end--------------->8--- Best, Matt