From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aDDNCA/lXWN6EwEAbAwnHQ (envelope-from ) for ; Sun, 30 Oct 2022 03:44:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QFrVCA/lXWNWXgAA9RJhRA (envelope-from ) for ; Sun, 30 Oct 2022 03:44:31 +0100 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 89B803FE93 for ; Sun, 30 Oct 2022 03:44:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooyI6-00056r-RV; Sat, 29 Oct 2022 22:43:14 -0400 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 ) id 1ooyI5-00056V-75 for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 22:43:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooyI2-0002JA-R0 for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 22:43:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8425C240101 for ; Sun, 30 Oct 2022 03:43:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667097786; bh=216FrzMfnsCumzQfWDzptQ86klLdFIi4l9mNyAIhvqI=; h=From:To:Cc:Subject:Date:From; b=qOl0u8SXoLveZ3BEhWygDu/pHq8xPR7OdlhJeQETjbn3YuXaPVosH9O2mPf/QZiCG +cQQL0orsreKD8zIA7DqW55l418hRxB4ZfHOHGXmHsSSi/N0EbTMCRbPz0aQXEuZqw O/FDUqucCCMDVqVdCb/XFOtj1F22UgaC/7WfWRybYWoNlc00p8FNXv/Wz78uvRhtYD sCHx09yo1dLCAeoiyxjwselwwt9RdAqJgOI+v7++z3gt6MVdsXdjAkbbpO9171ftpu ZEw+nari6az9+RfeOGgW2u+foENmSA2Husj0HwLnq27HIbGwqvpcKuO+VUgFLICN1U J5i+Z46NftQJA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N0LDk6Pzpz6tmL; Sun, 30 Oct 2022 03:43:02 +0100 (CET) From: Ihor Radchenko To: Michel Damiens , orgmode@tec.tecosaur.net Cc: emacs-orgmode@gnu.org Subject: Re: Identical attributes id="text-table-of-contents" of div with role="doc-toc" when exporting to html when using tables of contents for multiple subheadings In-Reply-To: References: Date: Sun, 30 Oct 2022 02:43:46 +0000 Message-ID: <87sfj6av4t.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667097871; 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=DY6VISeQA7s3nlR9JwexX6dNjKMC66NQEqjQmQyll08=; b=B+ZK4zJ/66mGdva4aNuJAXp/KF5gEXu9HnqYbLfJeWTp7kxFCzaYcZ5iF+h4ohfVlLhta3 J14o00BLe9IQ3AynTqtGd+UIYRy+OSrTZ/cxm2neSO3TyuCBVy1Eu5wXIgu8D2HzoM8o1N dwktxAd/yyG1GsEc1EJQaL5NibdDYuH5dZwsSptdw7xiwGaEsbBggcMTtAoqPP+7Gr/4mQ 8LiX6AlIhYFskQLwmGiLZ91W5XXNRDv2V/sPebgqZ7xpoN/RLok39/MsHTPiUpdOpFxcQZ nRHbXAEhZUjMn6YiyUMpVFKLcys8qXQ4rUaibGPoZ9aoTofT6d35+caHnk64aQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667097871; a=rsa-sha256; cv=none; b=ezECixBRPUnlAzLNfKjeGE73DAi6EtMK1GYoqpXuTl37bbt5s8yfDmT5InT9y5WUQPQaaT 8dO3kKzfGrlA2SmsjIwbkb/sgAcaY891U2A9P5v0iw1ZILV+ukUBsbJcN0qUWhYHyPiV/e YCzvhHqqm5b1vFppGvhhsNpvyoq8c9H8CbM8OzwW9JSoFfTTz6Tzj1e/irZ4xbQu36eKSJ iI0ZceERW/su1SrjPhRosAcYp49YRnT9wdz8X1c6QeVpgZrB1Nwpt6rcOvpka46C67Jelo UiTHnBFPaKjfMN3yoXpVY/5cA6Tx64rVVNjZ8L1ct7dzp1Qw3Djq7akgFdzLHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qOl0u8SX; 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" X-Migadu-Spam-Score: -9.24 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qOl0u8SX; 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" X-Migadu-Queue-Id: 89B803FE93 X-Spam-Score: -9.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: KHbhYiLyPBQ5 Michel Damiens writes: > when exporting to html this org document : > > #+OPTIONS: toc:1 > * par 1 > #+TOC: headlines 1 local > ** par 1.1 > ** par 1.2 > * par 2 > #+TOC: headlines 1 local > ** par 2.1 > ** par 2.2 > > div's for toc (with role="org-toc") in subheadings par 1 and par 2 get the > same id : text-table-of-contents : Confirmed. Timothy, could you take a look? We could probably modify the id in `org-html-toc' when SCOPE is non-nil. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at