emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug when exporting as html with (org-narrow-to-subtree)


From: David Bjergaard
Subject: [O] Bug when exporting as html with (org-narrow-to-subtree)
Date: Sat, 26 Jan 2013 13:40:29 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux)

Hi,

I'm not sure how to file bug reports but:

When exporting to html with (org-narrow-to-subtree) headlines deeper
than 2 levels won't get exported.  

Expected behavior: All subheadings should be exported to a level set by
headline-levels in my org init, or H: in the #+OPTIONS: line. 

Steps to reproduce: 
Suppose the buffer contains:
#+BEGIN_EXAMPLE
* Daily Entries
** <2013-01-14 Mon> Dated Entry 1                                    :export:
This is exported
*** Lorem ipsom:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. 

Subheadings and further nesting isn't...
**** Not Exported
Still not exported...
** <2013-01-15 Tue> Another Dated entry                              :export:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. 
*** Not Exported
#+END_EXAMPLE

Placing the cursor at line 2 and calling (org-narrow-to-subtree) results
in:
#+BEGIN_EXAMPLE
** <2013-01-14 Mon> Dated Entry 1                                    :export:
This is exported
*** Lorem ipsom:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. 

Subheadings and further nesting isn't...
**** Not Exported
Still not exported...
#+END_EXAMPLE
Then calling any of (org-export-as-html-*) results in only the "This is
exported" text, the remaining text is missing.

Cheers, 

    Dave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]