Hello,

Rick Frankel <r...@rickster.com> writes:

> In the new exporter, when the option to export only the subtree is
> specified, the first heading in the subtree is used as the title of
> the document. This seems wrong, as it becomes the title, the first
> element in the table of contents and the first (not necessarily
> the top level) section in the document.

It doesn't, AFAIU. Could you explain how you do export (in particular,
where is the point when you call the export subtree process) and what do
you expect on a simple example ?

For me:

#+begin_src org
#+TITLE: title
#+OPTIONS: toc:t
* Level 1
  Body 1 X
** Level 2
   Body 2
*** Level 3
    Body 3
#+end_src

with point at X will have "Level 1" as its title, but "Level 1" will
appear neither in the table of contents nor as the first section of the
produced document.


Regards,

-- 
Nicolas Goaziou

Reply via email to