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