Re: Table of contents position in HTML export

2024-02-17 Thread Ihor Radchenko
Ihor Radchenko  writes:

> Kodi Arfer  writes:
>
>> the table of contents appears before "text before headline", although the 
>> manual says "Org normally inserts the table of contents directly before the 
>> first headline of the file". So shouldn't it be after "text before 
>> headline"? Or is it the manual that's wrong?
>
> Confirmed.

Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c9fc4c03e
TOC is placed before document contents, not before first headline.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: Table of contents position in HTML export

2021-10-20 Thread Ihor Radchenko
Kodi Arfer  writes:

> the table of contents appears before "text before headline", although the 
> manual says "Org normally inserts the table of contents directly before the 
> first headline of the file". So shouldn't it be after "text before headline"? 
> Or is it the manual that's wrong?

Confirmed.

Best,
Ihor



Table of contents position in HTML export

2021-10-04 Thread Kodi Arfer

When I export this file to HTML with `emacs -Q` and Org 9.5

#+TITLE: example document

text before headline

* headline!

after headline

the table of contents appears before "text before headline", although the manual says "Org 
normally inserts the table of contents directly before the first headline of the file". So shouldn't it 
be after "text before headline"? Or is it the manual that's wrong?