[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Exporting narrowed subtrees to HTML
From: |
Matt Lundin |
Subject: |
[Orgmode] Re: Exporting narrowed subtrees to HTML |
Date: |
Wed, 30 Jun 2010 23:20:50 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi Bernt,
Bernt Hansen <address@hidden> 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---
<h1 class="title">Level 5 - Interesting stuff - narrow to subtree here</h1>
<div id="outline-container-1" class="outline-2">
<h2 id="sec-1">Level 6 </h2>
<div class="outline-text-2" id="text-1">
</div>
</div>
<div id="outline-container-2" class="outline-2">
<h2 id="sec-2">Another Level 6 </h2>
<div class="outline-text-2" id="text-2">
</div>
<!-- ...and so on... -->
--8<---------------cut here---------------end--------------->8---
Best,
Matt