From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4HEJDplefWfYAAEAqHPOHw:P1 (envelope-from ) for ; Tue, 07 Jan 2025 17:04:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4HEJDplefWfYAAEAqHPOHw (envelope-from ) for ; Tue, 07 Jan 2025 18:04:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=VlFrTJwD; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736269464; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tWCtL0tNFuWf4GW2YIHPTRzjKVv7jpFrTVpWit1t+gU=; b=WSZ9+71fdheQGq0RaAPfgkVBXv3rllZ//R0rmBcgJZFSVCoYFclRHHJfRnlTr83PbVSv+b aayHY37SkSGDpoT5GLbVeXFiD3aRkEaby9+NE6quls5lRgmPgKRYNf0oTK+3fXraoDsABG glslzhrZCUnwrQJ32TXN0hDngRBUPaQDDhc07l7YYBFRZeAUXnIO0rIZPBw+LS5R+wos34 avIR42qNcfgGz/dgFePpoG0kZAHRlsZZP0TrzYb9ViHwR6YhjYZ4IEhry3TlLb86BtyaKB a/PmUyqUdX4o/893XcL97xoqhEMVBjwruUjNmcb5M66rqMFR8tdMTrTMzgx4lw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=VlFrTJwD; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736269464; a=rsa-sha256; cv=none; b=qVrJUtL1+JpV7ADclMM93DlV+/vEpu4Lh+H2sl0oOaBVMM+XisB1R9j8GLv1T/rPtWR8pr fMNRzC9ehVZH4He0VfoukAeMahxSjjK73FCgflB7ysdtZqrtrolcXIXj7UHTzBUkTWvDyG W65UvmkFD5L39Sl4+ihHyOc0x+tlGmEpk0dJ2wOLRj1ahKBjg4f4mZK6agNF5Yt5dvTveE +9xt2AbbgmJYUC13qGPORmMzMq4e6Qq6ZzmWeCzf97S1imhbX49etVS5wj+Y6zCGXrOaEk 53VkOt8fJDjkjS+4tkOeyzu1QQszcEj9qUvsmRiEUQL9zJPLd+VsHnzvZ72W1Q== 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 9A01396D68 for ; Tue, 07 Jan 2025 18:04:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVCXy-00074r-1H; Tue, 07 Jan 2025 11:35:14 -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 ) id 1tVCXw-00074e-Jh for emacs-orgmode@gnu.org; Tue, 07 Jan 2025 11:35:12 -0500 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVCXt-00041Y-5i for emacs-orgmode@gnu.org; Tue, 07 Jan 2025 11:35:12 -0500 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5d3ecae02beso19944778a12.0 for ; Tue, 07 Jan 2025 08:35:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736267706; x=1736872506; darn=gnu.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IeWWIKf/QN+swcA0aXqektb05cq2zSndxf0EcVNeHAE=; b=VlFrTJwD911N75ZoG/H3TZDCgeD8Xcrqkl/9Y9xMqJbELUTdIw+4JXF951yi3W8zGs /oBSdTr5F7YNEea4yt7JBZ06hFc6IlS2gAcgbWNMChihLtiW64EmiY0zbFIVttDxbyBx uMahHSDAh1rEAB1ytNGRVl+w7YUS7okjp7Z9m8+GSTFVHXeXnZ/NP/Qnks80FifVAZ9k qSYS8VlxqaBdWyPzFxS//Nj5gU6HMWmLdt22eAHW5jLfcUdRNWxDg0440Udj3vwVLjwN BEwRQmxRjjfuHiidOH0OlTINzUiP8/Zv5t9nsLzm7O4bz2ZyrSRlYwKiJe09fKZskWIA JKVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736267706; x=1736872506; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IeWWIKf/QN+swcA0aXqektb05cq2zSndxf0EcVNeHAE=; b=Hcmk7V0Kp6jMHv/vLyGel/xxaLnH4I3FqaNrCCD9EKu0DS9GiT6yzydZL39MdgTqjU Ao7gp4I4CmfRsZdlb6vHoTMWcUSvvnKDitOvtqKOIdUPvPj9IFO+zOnOJvWT5o5jfrU9 koRYaYGN/pgvlO6iMN1+rqZFXU67N8KjI1tDH9hU4Ckve1eNauMz3PDo4AOVy21MuKqM ZHI3y0vIwtrCalK5Ogm3gG1QMb85cUg7s4UYpHdupCeSEenAi0TAXPQyu5f0bHkSZDTW eODNBGucejC4Vs3EXNVnzX62dIAYNGCubd60qQSaJJvSMELMYCEULaHicmVmddtFNkuS +d/g== X-Gm-Message-State: AOJu0YyNv4tFDcqie7U94UR9yJJv/co7E5UD/UGaTYPFpBWos2EEie5P Y20W+xt7lQEDhyZO3p3gl+YWmoY8y/amlnDPu70GlllrDB5AjwXvHs+5JvyDBijdtCrqmgFh6B9 Ny5LoVxX2F1UW0qLEelVtdqL7pTkRhw== X-Gm-Gg: ASbGncuBQRftsgqfauISjXGp4WpT35iewBhG2ZL88Abdb5HoeVE7PGTMGpqWoB3ub41 kLeNAuifXkr+GxCsCprckeT4+cHcq4eGOsdgM6g== X-Google-Smtp-Source: AGHT+IHt4vtufaXLCNpIa39TeG6FGa1MSkoSoQxXi01MoNvd08Qnsbntv2F+QgwIwy+P6T9RxX/Rhyw7bRlDZpEKYJs= X-Received: by 2002:a05:6402:401b:b0:5d2:7456:9812 with SMTP id 4fb4d7f45d1cf-5d81ddfbe2fmr67840324a12.22.1736267706017; Tue, 07 Jan 2025 08:35:06 -0800 (PST) MIME-Version: 1.0 From: Pedro Andres Aranda Gutierrez Date: Tue, 7 Jan 2025 17:34:38 +0100 Message-ID: Subject: PATCH: fix ToC generation in the Latex exporter To: Org Mode List , Ihor Radchenko , Ihor Radchenko Cc: rudolf@adamkovic.org Content-Type: multipart/mixed; boundary="000000000000da61d3062b2053fb" Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52c.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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.32 X-Spam-Score: 3.32 X-Migadu-Queue-Id: 9A01396D68 X-Migadu-Scanner: mx10.migadu.com X-TUID: 80Bp8WeuYnS8 --000000000000da61d3062b2053fb Content-Type: multipart/alternative; boundary="000000000000da61d3062b2053f9" --000000000000da61d3062b2053f9 Content-Type: text/plain; charset="UTF-8" Hi Please find attached a patch to fix ToC generation in the LaTeX exporter. With this, you don't need to reach back to @@latex @@ constructs to get your ToC alright. I have added an option to generate ToC's that is closer to LaTeX (num:latex) tha to org Let me know... /PA -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --000000000000da61d3062b2053f9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

Please find attached a pa= tch to fix ToC generation in the LaTeX exporter. With this, you don't n= eed to reach back to=C2=A0@@latex=C2=A0@@ constructs to get your ToC alrigh= t. I have added an option to generate ToC's that is closer to LaTeX (nu= m:latex) tha to org=C2=A0

Let me know... /PA
=

--
Fragen sind nicht da, um beant= wortet zu werden,
Fragen sind da um gestellt zu werden
Ge= org Kreisler

Headaches with a Juju log:
= unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run = a leader-deposed hook here, but we can't yet

<= /div>
--000000000000da61d3062b2053f9-- --000000000000da61d3062b2053fb Content-Type: text/x-patch; charset="UTF-8"; name="0001-ox-latex-fix-toc-generation.patch" Content-Disposition: attachment; filename="0001-ox-latex-fix-toc-generation.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m5moumxz0 RnJvbSBhMjgxOTMxNDUxNGRkZDRlMmNjZDQ4MzAxODI3ZWQ0YzFjODc1ZDg1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiAiUGVkcm8gQS4gQXJhbmRhIEd1dGnDqXJyZXoiIDxwYWFndXRp QGdtYWlsLmNvbT4KRGF0ZTogVHVlLCA3IEphbiAyMDI1IDE3OjIwOjI2ICswMTAwClN1YmplY3Q6 IFtQQVRDSF0gb3gtbGF0ZXg6IGZpeCB0b2MgZ2VuZXJhdGlvbgoKKiBsaXNwL294LWxhdGV4LmVs OiBBZGQgdmFyaWFibGUgYG9yZy1sYXRleC11bm51bWJlcmVkLXNlY3Rpb24tcmUnCnRvIGZpbHRl ciB0aGUgdW5udW1iZXJlZCBzZWN0aW9uLgoob3JnLWxhdGV4LWhlYWRsaW5lKTogZml4ICdudW06 dCcgdG9jIGdlbmVyYXRpb24gdG8gbWF0Y2ggb3RoZXIKZXhwb3J0ZXJzIGFuZCBhZGQgYSBuZXcg J251bTpsYXRleCcgb3B0aW9uIHRoYXQgYmVoYXZlcyBjbG9zZXIgdG8KdG9jIGdlbmVyYXRpb24g Y3JpdGVyaWEgaW4gTGFUZVgKKiB0ZXN0aW5nL2xpc3AvdGVzdC1veC1sYXRleC5lbDogdGVzdCB0 aGUgZml4IGFuZCBuZXcgdG9jIGdlbmVyYXRpb24Kb3B0aW9uLgoqIGRvYy9vcmctbWFudWFsLm9y ZzogRG9jdW1lbnQgdGhlIGZpeCBhbmQgbmV3IHRvYyBnZW5lcmF0aW9uIG9wdGlvbgoqIGV0Yy9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FuZGlkYXRlIChzdHJpbmct bWF0Y2ggb3JnLWxhdGV4LXVubnVtYmVyZWQtc2VjdGlvbi1yZSBzZWN0aW9uLWZtdCkpKQorCisg ICAgICAgICAgICAgICAgICAod2hlbiAob3IKKyAgICAgICAgICAgICAgICAgICAgICAgICA7OyBB bHdheXMgc3VwcHJlc3MgOlVOTlVNQkVSRUQ6IG5vdG9jCisgICAgICAgICAgICAgICAgICAgICAg ICAgKHN0cmluZz0gdW5udW1iZXJlZC10eXBlICJub3RvYyIpCisgICAgICAgICAgICAgICAgICAg ICAgICAgOzsgV2hlbiBudW1iZXJpbmcgbW9kZSBpcyAnbGF0ZXgnCisgICAgICAgICAgICAgICAg ICAgICAgICAgOzsgc3VwcHJlc3MgdW5udW1iZXJlZCAndCcgd2l0aG91dCBhbHRlcm5hdGl2ZSB0 aXRsZQorICAgICAgICAgICAgICAgICAgICAgICAgIDs7IDpBTFRfVElUTEU6CisgICAgICAgICAg ICAgICAgICAgICAgICAgKGFuZCAoc3RyaW5nPSBzZWMtbnVtICJsYXRleCIpCisgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAoc3RyaW5nPSB1bm51bWJlcmVkLXR5cGUgInQiKQorICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgKHN0cmluZz0gb3B0LXRpdGxlIGZ1bGwtdGV4dCkpKQor ICAgICAgICAgICAgICAgICAgICAoc2V0cSBjYW5kaWRhdGUgbmlsKSkKKwkgICAgICAgICAgKGZv cm1hdCBzZWN0aW9uLWZtdCBmdWxsLXRleHQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgKGNv bmNhdAorICAgICAgICAgICAgICAgICAgICAgICAgICAgOzsgTWF0Y2ggb25seSB0aGUgJ2Nhbm9u aWNhbCcgY2hhcHRlciwgc2VjdGlvbixzdWJzZWN0aW9uLCBldGMKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICh3aGVuIGNhbmRpZGF0ZQorICAgICAgICAgICAgICAgICAgICAgICAgICAgOzsg b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