Hi Bernt, Bernt Hansen <be...@norang.ca> 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 _______________________________________________ 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