[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Exporting narrowed subtrees to HTML
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Exporting narrowed subtrees to HTML |
Date: |
Thu, 01 Jul 2010 03:07:52 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Matt Lundin <address@hidden> writes:
> 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:
Cool! I didn't know about that. It only seems to work if transient
mark mode is enabled (but I have that on already).
I posted a patch for exporting a narrowed to subtree HTML export but it
gives slightly different results from selecting the tree with C-c @ --
the title (<h1>) is the name of the org-file similar to exporting the
entire document.
Thanks for pointing this out -- I'll probably start using C-c @ in the
future.
Regards,
Bernt
- [Orgmode] Re: Exporting narrowed subtrees to HTML,
Bernt Hansen <=