From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp0.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id +LOYEGia0GV5FgAAqHPOHw:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 17 Feb 2024 12:37:12 +0100
Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0.migadu.com with LMTPS
	id +LOYEGia0GV5FgAAqHPOHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 17 Feb 2024 12:37:12 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=ZzZWA0Qd;
	dmarc=pass (policy=none) header.from=posteo.net;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1708169832;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=J1b+LueZ83xZ1e0K80RzuUDaVN4U3BssbDDaUIY0s4w=;
	b=gQGnDy8urxqYxJuVLn2XxwK45ZL0XylpAvY8HvjUmnuxZDN07oBvjlqPTgdhHRwYZskr7v
	6urHQwzrW93e9U2EcJtA2hmOLwxeWgacPt5JHPXSp184YMCcTLy/0K3e8HTdhASZwWxmQ9
	zC6mGfR9Bmfobo0OR7qiCg9cXUmUdNq97Y/a4ybd3E3RSnyPvOqSO5GqJ0nt4Yy5rjLd0b
	xsBhlSQspG1pQsPChmAMfCor/fMZwhKONVxhz9znEnzyLR3YXpR7veogt3Rv78pwm4yyjI
	5KImJiFWM5lBF4kBpt3pdW1/pcitZiHF22DjpW7aQ3pPGFN7U++N5m0tx3Bp7g==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=ZzZWA0Qd;
	dmarc=pass (policy=none) header.from=posteo.net;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708169832; a=rsa-sha256; cv=none;
	b=FpThqaUUmwzls7nFP8EC/VR3uXv2Yvim4he6cVtlWA1lZQ9MlxXugIxrrLTXSaDPf/ltn1
	gIymySg0Y18j4CtWiru4FIS5D4kO6a5vozGWaiL8OoPSF87j0fZDz2k4qiwwV+n5+BSH2Z
	vzjbNvxiCN3/NreBSbAj0+3utNz/doQ9Vexwpli2GpGy0iaoLk47nG+PLVwyhmnFWIkRHb
	lKz5OcZ2ReyaAog1HrJh+CwameNcAMHliBTN8mmdVsHWZYZFUjaYutvZgSTzFrFtj2PGY1
	JpnBCti/watkSSCDp2WlDfIUl1TwS7xPDMyVflZDp5qY58uYngyNkZkEfEwQBg==
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 03CD05366E
	for <larch@yhetil.org>; Sat, 17 Feb 2024 12:37:12 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1rbIzh-0001GY-OR; Sat, 17 Feb 2024 06:36:33 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1rbIzg-0001GL-7K
 for emacs-orgmode@gnu.org; Sat, 17 Feb 2024 06:36:32 -0500
Received: from mout01.posteo.de ([185.67.36.65])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1rbIze-0005xX-67
 for emacs-orgmode@gnu.org; Sat, 17 Feb 2024 06:36:31 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id B839D24002B
 for <emacs-orgmode@gnu.org>; Sat, 17 Feb 2024 12:36:27 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1708169787; bh=5WawBk53Eer96Ud7NMpt1AWN1RRyVtR5nn7wgQiML0g=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=ZzZWA0QdrrSLNq8u7h27BfgH9a6xtkRBO2XUS7dI06ntuOkN+1xKam8lIjZ1ZNRFE
 yvWdabhrjBwURu0gt9Tr/go1QTwzn7COuV8t1dlsoy81XYhY3KLgUA86fw4+bhYKm1
 8q+wSgRoJNzenixztV+FEh9kuqZKrHtPiayFC2d6dX6ncUqRIRqR4EDY4PF3bZUfFl
 cDxHOf/fg6ih3pjaxBkoJj23d3ts6VVqBTkDTbz/WUcfE6KCxJTSVNUR+lNvywG8MI
 G8SoQWH4IvS0DxQ9yoAWwHtXgpnyLGEPfrV+pnccVFG+Bar8RzvzEsMkCbmicU/875
 ZvX+M0jmllaYA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4TcRZy0m03z9rxB;
 Sat, 17 Feb 2024 12:36:25 +0100 (CET)
From: Ihor Radchenko <yantar92@posteo.net>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: Kodi Arfer <kodi@arfer.net>, emacs-orgmode@gnu.org
Subject: Re: Table of contents position in HTML export
In-Reply-To: <87a6j3dc3n.fsf@localhost>
References: <dd0ae51d-7d56-0ff6-5eb1-3786464adfe3@arfer.net>
 <87a6j3dc3n.fsf@localhost>
Date: Sat, 17 Feb 2024 13:36:41 +0000
Message-ID: <87zfvzxlee.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net;
 helo=mout01.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: -6.74
X-Spam-Score: -6.74
X-Migadu-Queue-Id: 03CD05366E
X-Migadu-Scanner: mx13.migadu.com
X-TUID: mkZ8yEtD2dGr

Ihor Radchenko <yantar92@gmail.com> writes:

> Kodi Arfer <kodi@arfer.net> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>