From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 UMgTFSBTXWN6xQAAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 18:21:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oFnPEyBTXWNRWwEAG6o9tA (envelope-from ) for ; Sat, 29 Oct 2022 18:21:52 +0200 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 0ADAE2F436 for ; Sat, 29 Oct 2022 18:21:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oooZm-0005FR-Se; Sat, 29 Oct 2022 12:20:50 -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 1oooZl-0005Ey-Rq for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 12:20:49 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oooZk-0001WD-4j for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 12:20:49 -0400 Received: by mail-pf1-x435.google.com with SMTP id i3so7230380pfc.11 for ; Sat, 29 Oct 2022 09:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=2KG3vbWZhOZHFDZdpXHDT8WLW3gNLI6CRXjh4NbVzJA=; b=LU2BFer2YZ+8ZYm0ulP2VTesRko1RUYMo/fp65uXNvsuZxPVkjw1GHHO0zk4XwCzUQ bc41Dz983NXXaPlxC1+CP2QNpED3/MseBFcce3DPbCUS6DEzfFZkd5SGyXms1PGN+WY+ R791XdwaQIDD+Eukp5DPY2NW9isxCq4tf9UgqWaQDy0eesbxGiW1+ebCNZ2HH89sm+z5 jpyCK0ffLY05mUbe5bEiRQe65xt6c/tRQWqH6MUdO+Wi84xtMTQsJB9lOmjOd9BqqF+w vYNNJsklErl3YtAaPIffgzAzGCGQAOEAaIpX/PeYzZT70MV5fOu4c8YMEdHuNrY2fZMx OQDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2KG3vbWZhOZHFDZdpXHDT8WLW3gNLI6CRXjh4NbVzJA=; b=johKODhokFsdrhGhuvryU6+LYb5/QfUsSsxnzUdNSUZQ5eQMJcliR34x8Ax/K3Q8GJ hJf/1uMEH61de6iyTvJmCS7Dx5u69tb7j+pm3JfBEiDtZg/+9bJwIXsyjaoQ8IRLWX2X aD9kibSag2a5MWRWlW+RwG2bJpvd/cptcKFsTluH6P7gRoUnU19vKdEtMWDniUR3ltBM HGUDq8X1wnTYLs/YUhZ3OUeJ9ZMgw0cxRC34MwCeEme+tDN1z3GUSMVq2X9j2zVYj6bp rYTPAC/JHDbdIdJG5FjWMFhGP59ibph0MT5YyLx+a9HRXbgo2YV/hMLdllZ5e2OtNCf6 XFmg== X-Gm-Message-State: ACrzQf3xK5I4HkN5YH6SlxGUZtjinTiqSgTMveR5+5/jdi2YCDZ5bKpW /LNjBgwWmCdj2rVFi8V8+k3J90og+7yU3w0uCdbQqrKAFAM= X-Google-Smtp-Source: AMsMyM668rw/uCmEvY6+iN1LB3RSI7AICz6loH+36PEj4o6Hi/MdAJf4uU4EnOQ4I5qhu87AqXoHjlbB9dQYBli3WmE= X-Received: by 2002:a63:6c84:0:b0:43c:700f:6218 with SMTP id h126-20020a636c84000000b0043c700f6218mr4573663pgc.420.1667060445761; Sat, 29 Oct 2022 09:20:45 -0700 (PDT) MIME-Version: 1.0 From: Michel Damiens Date: Sat, 29 Oct 2022 18:20:19 +0200 Message-ID: Subject: 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 To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000b056f005ec2ec1f9" Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=michel.damiens@gmail.com; helo=mail-pf1-x435.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1667060512; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2KG3vbWZhOZHFDZdpXHDT8WLW3gNLI6CRXjh4NbVzJA=; b=CmYaOKu3bX84vaCToRYwmEYGzhhIvBZ7XmPZTo8g8uwaVC3TVF/Lv/xE/oH6/Q/wOTtRIR bPOJF5FVAYTbqpDdyUIQJfACGuteQs39QihnXY/AMR+lnywMkCxVG5KBpBvpN9iA3j2zeD 2UJ4WvW12Rg6IufOt5gYCeiSfiiv1GgisxZEBcu3u9bySDm70/qZbpQ6NANKt0I0oBw4G1 uAWPh/TjrMbI6VaZRCsEqxRtgCb1MtqfH6Iog1Ynl1xIMT3nkRPW4etUXcKlXTAIg6swWt SDYW4orCaXlflZ3KMa96Ya9E7ViG0jyVO/go/btAGOHTUOv8lz9zAaSWyA1O6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667060512; a=rsa-sha256; cv=none; b=pgqfLIpNSABmW9UgsKeOpt3FN2/k/CXYC/uEMBn4RM74ISGxi1+6F+xubhJ8a6bIDOtKBW /CwxjIvM3uis4CcEdU8eQ2DHJKRynYc9dhj5j3VQlPecwrtBAmUr98foM1etVA/lWrwb3r jR8gsYjsElZy9GiABtkRtamUXpPdSXvEBYg3CfsWy/Rn9UXg+SW7OGEYHPzcrib3jT+f4Y Tl5AW0chPn2fK6qFRJ2Z8VDETn0KrHA2ds7kzVf8j0nIJGHpeP/fhUFR5PusynZtJRzU6k 9CpDyQ4GsL0pKS24cfOZ/RbjftfHq+rBbu4VlUw0n+Vo2oYnF3h+IKEA4hA2bw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LU2BFer2; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LU2BFer2; dmarc=pass (policy=none) header.from=gmail.com; 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: 0ADAE2F436 X-Spam-Score: -2.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7Ya4vsH+NpEs --000000000000b056f005ec2ec1f9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, 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=3D"org-toc") in subheadings par 1 and par 2 get th= e same id : text-table-of-contents :

par 1

<------ = HERE

par 1.1

par 1.2

par 2

<------= HERE

par 2.1

par 2.2

Is it possible to differentiate them in modifying some export option ? Thanks for your help. Michel --000000000000b056f005ec2ec1f9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+SGVsbG8sPGJyPjxicj53aGVuIGV4cG9ydGluZyB0byBodG1sIHRoaXMg b3JnIGRvY3VtZW50IDo8YnI+PGJyPsKgIMKgIMKgIytPUFRJT05TOiB0b2M6MTxicj7CoCDCoCDC oCogcGFyIDE8YnI+wqAgwqAgwqAjK1RPQzogaGVhZGxpbmVzIDEgbG9jYWw8YnI+wqAgwqAgwqAq KiBwYXIgMS4xPGJyPsKgIMKgIMKgKiogcGFyIDEuMjxicj7CoCDCoCDCoCogcGFyIDI8YnI+wqAg wqAgwqAjK1RPQzogaGVhZGxpbmVzIDEgbG9jYWw8YnI+wqAgwqAgwqAqKiBwYXIgMi4xPGJyPsKg IMKgIMKgKiogcGFyIDIuMjxicj48YnI+ZGl2JiMzOTtzIGZvciB0b2MgKHdpdGggcm9sZT0mcXVv dDtvcmctdG9jJnF1b3Q7KSBpbiBzdWJoZWFkaW5ncyBwYXIgMSBhbmQgcGFyIDIgZ2V0IHRoZSBz YW1lIGlk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