SW <sabrewo...@gmail.com> wrote:

> SW <sabrewolfy <at> gmail.com> writes:
> 
> > I have an org-file with many headlines of various levels, but no tags. I 
> > tagged
> > one top-level headline with :export: and exported to LaTeX with C-c C-e l. 
> > The
> > tagged headline and everything below it was exported, but so was the first
> > headline (and everything below it) in the org file, even though it did not 
> > have
> > any tags. The *only* tag is :exported: on the headline I want exported.
> 
> *A work-around:* If the first line of the Org file is blank/empty, *then* 
> *only*
> the headlines with tag :export: are exported. Instead of:
> 
> --------------------
> * Headline1
> * Headline2     :export:
> --------------------
> 
> use:
> 
> --------------------
> 
> * Headline1
> * Headline2     :export:
> --------------------
> 
> *"Solved"*
> 

I can confirm that without the empty line the first subtree gets
exported as well as the (tagged) second one (but not the third one in my
minimal example). That's a bug.

But the minimal example I posted *did* include the initial empty line;
nevertheless you reported reproducing the problem with it: how come?

Reply via email to