Re: [O] bug in selective export when selected heading follows excluded heading

2012-06-01 Thread Eric S Fraga
Eric S Fraga e.fr...@ucl.ac.uk writes:

 Hsiu-Khuern Tang tan...@gmail.com writes:

 Hi,

 Here's an input file, a.org:

 

 #+OPTIONS:   toc:nil
 #+EXPORT_EXCLUDE_TAGS: exclude
 #+EXPORT_SELECT_TAGS: include

 * chap1

 ** sec1  :exclude:

 ** sec2  
 :include:

 

 If I export this file, the heading gets mangled.  E.g., the ascii export is:

 Confirmed with up to date org.

To follow this up further, the solution is to put the :include: tag on
the top level heading (chap1) as well.  Then the export works fine.

There is still a bug but whether sec2 should be output at all or not,
given that chap1 has no tag, is unclear!  Undefined situation basically.

HTH,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
: using Org release_7.8.10-630-g4144c5.dirty




Re: [O] bug in selective export when selected heading follows excluded heading

2012-06-01 Thread Hsiu-Khuern Tang
Hi Eric,

On Thu, May 31, 2012 at 11:10 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote:
 Eric S Fraga e.fr...@ucl.ac.uk writes:

 Confirmed with up to date org.

Thanks for confirming the bug.

 ...
 There is still a bug but whether sec2 should be output at all or not,
 given that chap1 has no tag, is unclear!  Undefined situation basically.

The Selective export section of the manual does say, If a selected
tree is a subtree, the heading hierarchy above it will also be
selected for export, but not the text below those headings.  I find
this behavior useful to avoid having too many tags.

 HTH,
 eric

 --
 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
 : using Org release_7.8.10-630-g4144c5.dirty


- Hsiu-Khuern.



Re: [O] bug in selective export when selected heading follows excluded heading

2012-05-31 Thread Eric S Fraga
Hsiu-Khuern Tang tan...@gmail.com writes:

 Hi,

 Here's an input file, a.org:

 

 #+OPTIONS:   toc:nil
 #+EXPORT_EXCLUDE_TAGS: exclude
 #+EXPORT_SELECT_TAGS: include

 * chap1

 ** sec1   :exclude:

 ** sec2   
 :include:

 

 If I export this file, the heading gets mangled.  E.g., the ascii export is:

Confirmed with up to date org.
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
: using Org release_7.8.10-630-g4144c5.dirty




[O] Bug in selective export when selected heading follows excluded heading

2012-05-28 Thread Hsiu-Khuern Tang
(Adding the [O] tag to the subject line -- sorry for the re-post)

Hi,

Here's an input file, a.org:



#+OPTIONS: toc:nil
#+EXPORT_EXCLUDE_TAGS: exclude
#+EXPORT_SELECT_TAGS: include

* chap1

** sec1:exclude:

** sec2:include:



If I export this file, the heading gets mangled.  E.g., the ascii export is:


 a
 =

Author: Hsiu-Khuern Tang
Date: 2012-05-26 00:31:10 PDT



1 chap1** sec2 :include:




I'm using the latest Org.

Thanks,
- Hsiu-Khuern.



[O] bug in selective export when selected heading follows excluded heading

2012-05-26 Thread Hsiu-Khuern Tang
Hi,

Here's an input file, a.org:



#+OPTIONS:   toc:nil
#+EXPORT_EXCLUDE_TAGS: exclude
#+EXPORT_SELECT_TAGS: include

* chap1

** sec1 :exclude:

** sec2 :include:



If I export this file, the heading gets mangled.  E.g., the ascii export is:


  a
  =

Author: Hsiu-Khuern Tang
Date: 2012-05-26 00:31:10 PDT



1 chap1** sec2 :include:




I'm using the latest Org.

Thanks,
- Hsiu-Khuern.