From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ANZqGbBQbmfDDwEAe85BDQ:P1 (envelope-from ) for ; Fri, 27 Dec 2024 07:01:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ANZqGbBQbmfDDwEAe85BDQ (envelope-from ) for ; Fri, 27 Dec 2024 08:01:04 +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="jkA/I0F7"; 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=1735282864; 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=qeZf5kIDjQs19TCgH3a7XXGDBg5k8GOol5kJE2VsRVw=; b=EwOtzBcE+bKK0w3kq3tBn49OHIox4/Ghtk67wPmOQUoyGYHc6/lFajIP3trm+qkkhq7RD+ ZZlGR3znZL46MiMMIzaIueno4Fq2RaAkl8CpvWoDh3GYDGEIOOHIGDert+JmY6COKibBiN ZLfXT+EMUBCHcApkYlLhDv7AE671VI3VpOV+IckD73xDnp7Ijj7Yxw2iOFCE4cUM0G3UQ8 uSW2m+ac8oRNNhO0LYRKms8fzz+cuBEQI9d/hubhK6hertfk6XF+EQNUBYKjCgTfty3vKg /3HAPZR0k05fnIppeM6UKHZ5caOX5G89u6Y6W7zZDzZ6p8g+mjT9pwo62jC9iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b="jkA/I0F7"; 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=1735282864; a=rsa-sha256; cv=none; b=VSGWpQoLYrKwKI0kDFj3S9hPyQHngZToFgfDPpvBeTkpQTFHNHz1uOTb6xhtiqrrcxkeWQ tRbwLrWRZSwg7ZBbK8fDk4UVY31qS2pvFVuililpNVS8titIp0gDRKZ/AU/8Wr5mZ9JYaX EFuGtHESfMTDNufJo0+ucpq05XXXQE/0p8CI1TNXGNRpPzgZ78RbOO/q+BgPn8uOrCDVLo JeXdu7BowI6xh6iJMpL99e6Av1V4V//4xSm6D56ptEaEMJW/YjALKPt09xGJxs8CJiNPlM NiXE8wojwcYKDsoV6HOZNzxOD+Lqe4A4klB0kheRGzeFSY/Mv5zKdVA17fniYA== 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 1A4787B536 for ; Fri, 27 Dec 2024 08:01:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR4KS-0001vO-Rn; Fri, 27 Dec 2024 02:00:12 -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 1tR4KR-0001u2-8c for emacs-orgmode@gnu.org; Fri, 27 Dec 2024 02:00:11 -0500 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tR4KP-0003jK-BF for emacs-orgmode@gnu.org; Fri, 27 Dec 2024 02:00:11 -0500 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5d647d5df90so11736304a12.2 for ; Thu, 26 Dec 2024 23:00:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735282807; x=1735887607; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Bsail3YD2gER3g0eCLj12P9e55IgFG4j2bZhLMnAXPI=; b=jkA/I0F7No/tZe/P48csdEb1SsuWAK1+xq3tEAY4kScxM5uXpWxEogVsUXrOfzTsI+ 6LPwJV0GfWTL5jq3EuBc3zrp6OzSQUwzDQMcGC4NZRinYVN52Eg/iqXMUHvTCy5Ch/f2 lVcXwhzh2U+ElNFc1ACArNl2RcWrioYoNfsLH+VjNCgwwB2MQfrpgPiqhblKbKjXydu7 I5rD+oSgaRphI9klWCPs7AAufORtPj+xlshGG5IxFx9JJP//T8ggcjVhGKxsiimFL+f4 kOTTIvYJeCtu903bAojWpkYXq+b5hCIgZTfS9UBCaMb1FQepr9eWymHS+VH9MA69sDGT ZzTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735282807; x=1735887607; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Bsail3YD2gER3g0eCLj12P9e55IgFG4j2bZhLMnAXPI=; b=D1sZshtTCG85yKef+AIsQ2g4cPafabu250gwWBDKwuv9Vhct6+kH34AsaE0g58Ay3W ZkS1hh1zr6xijSdLfghlcTlh3LSDMOSppmGjPzj9UdBAc6GwXZLQBZLHUKJC3e/0kzvb MdKQo9lEb/yR3XUvesJO4mxS+5qkXD7AVxo11zk22HCK8WmfqskHfvMuyfmUJq+aAgIf QsnR974OB2eEdKELUtXcTruSbGCtvElCElRa795qjefFDkX9fwRvSqvX2XM8DOU+CmHR IdJgYCZxo0fndstM4KMs+w21T4fTyouJoc796hBW368JURP5uVbcCQRrSFbS1mxZoMR9 MBcg== X-Gm-Message-State: AOJu0Yz3EmUGCEtHyHNXTXouzmbW8XlE/jNqAOe8yMf71KkjJCuFnStJ I098y3XfF1F2o5G3QkyOfNGmNkq/yhHga3fbpiJxJN6vqJjgtUEzu6tO55DeEMp0YGKnV8Qj6DG CpHrchIZcLqRq7EfwNtSPBBrL+Cs= X-Gm-Gg: ASbGncte+Efe5mVHF2V4oWUCSxfiVsrDJJ/U5C69Av9BKsU0hVmrx34HFY+lDMfhw94 NSTEaNUM2ulCQyn9AX2KVJlJdCJzuyZGojix0Fg== X-Google-Smtp-Source: AGHT+IElRGTRGJsK5HMEGX5yvPWtXTOirKg9MAzDYjLq0/2br+6ClZHIQxwbTRhuoSvMiRWamfDdrcOZ/O+UCDYcc2M= X-Received: by 2002:a05:6402:270d:b0:5d0:c684:bae5 with SMTP id 4fb4d7f45d1cf-5d81dd8fe3fmr19096644a12.13.1735282806774; Thu, 26 Dec 2024 23:00:06 -0800 (PST) MIME-Version: 1.0 References: <495AE5B0-0551-40EC-B501-B681E479D261@gmail.com> In-Reply-To: <495AE5B0-0551-40EC-B501-B681E479D261@gmail.com> From: Pedro Andres Aranda Gutierrez Date: Fri, 27 Dec 2024 07:59:40 +0100 Message-ID: Subject: Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE` To: rudolf@adamkovic.org Cc: Org Mode List , Ihor Radchenko Content-Type: multipart/mixed; boundary="00000000000048cd77062a3b0383" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52d.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 4.09 X-Spam-Score: 4.09 X-Migadu-Queue-Id: 1A4787B536 X-TUID: 35T9on3Ez9Gv --00000000000048cd77062a3b0383 Content-Type: multipart/alternative; boundary="00000000000048cd74062a3b0381" --00000000000048cd74062a3b0381 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, A quick fix (on main) attached. With this ALT_TITLE is ignored in the document with #+OPTIONS: num:nil and if #+OPTIONS: num:t and :PROPERTIES: :UNNUMBERED: t MWE: ---- #+OPTIONS: num:t * Test :PROPERTIES: :UNNUMBERED: t :ALT_TITLE: alt :END: This is a test. * Numbered test :PROPERTIES: :alt_title: alt numbered :END: This is the second part of the test. ---- PS: maybe a rework of this part to make it more readable could be desirable.... Seasons greetings, /PA On Thu, 26 Dec 2024 at 18:15, Pedro Andres Aranda Gutierrez < paaguti@gmail.com> wrote: > A MWE: > > =E2=80=94=E2=80=94 > \documentclass{article} > > \title{test} > \author{paranda } > \date{December 2024} > > \begin{document} > > \maketitle > \tableofcontents > > \section{Introduction} > > \subsection[Sub - shown 1]{Sub intro - shown} > This section shows up with a modified heading > \subsection*{Sub intro - hidden} > This subsection doesn't show up in the ToC > \subsection{Sub intro - shown 2} > This subsection shows up as is in the ToC > \end{document} > =E2=80=94=E2=80=94 > > El 26 dic 2024, a las 18:08, Pedro Andres Aranda Gutierrez < > paaguti@gmail.com> escribi=C3=B3: > > > > Hi Rudolf, > > > > After playing around with the generated LaTeX in overleaf, I have to > conclude that the problem is that ALT_TITLE should be not generated for > unnumbered chapters, sections, etc. As far as my LaTeX goes, you use the > [alt_title] to get something different in the TOC, so it makes no sense a= nd > LaTeX doesn=E2=80=99t cater for it. > > > > Solutions from the org-mode side: > > 1. You don=E2=80=99t use ALT_TITLE if section is unnumbered (easier) > > 2. We make org-mode throw an error in this case (???) > > > > Discussion open ;-) > > > > Seasons greetings, > > /PA > > --=20 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 --00000000000048cd74062a3b0381 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

A quick fix (on main) attache= d. With this ALT_TITLE is ignored in the document with #+OPTIONS: num:nil a= nd if #+OPTIONS: num:t and :PROPERTIES: :UNNUMBERED: t

MW= E:
----
#+OPTIONS: num:t

* Test
:PROPERTIES:<= br>:UNNUMBERED: t
:ALT_TITLE: alt
:END:

This is a test.
* Numbered test
:PROPERTIES:
:alt_title: alt numbered
:END:
This is the second part of the test.
----

PS: maybe a rework of this part to make it more readabl= e could be desirable....

Seasons greetings, /PA

On Thu, 26 Dec 2024 at 18:15, Pedro Andres Aranda = Gutierrez <paaguti@gmail.com>= ; wrote:
A MWE:<= br>
=E2=80=94=E2=80=94
\documentclass{article}

\title{test}
\author{paranda }
\date{December 2024}

\begin{document}

\maketitle
\tableofcontents

\section{Introduction}

\subsection[Sub - shown 1]{Sub intro - shown}
This section shows up with a modified heading
\subsection*{Sub intro - hidden}
This subsection doesn't show up in the ToC
\subsection{Sub intro - shown 2}
This subsection shows up as is in the ToC
\end{document}
=E2=80=94=E2=80=94
> El 26 dic 2024, a las 18:08, Pedro Andres Aranda Gutierrez <paaguti@gmail.com> e= scribi=C3=B3:
>
> Hi Rudolf,
>
> After playing around with the generated LaTeX in overleaf, I have to c= onclude that the problem is that ALT_TITLE should be not generated for unnu= mbered chapters, sections, etc. As far as my LaTeX goes, you use the [alt_t= itle] to get something different in the TOC, so it makes no sense and LaTeX= doesn=E2=80=99t cater for it.
>
> Solutions from the org-mode side:
> 1. You don=E2=80=99t use ALT_TITLE if section is unnumbered (easier) > 2. We make org-mode throw an error in this case (???)
>
> Discussion open ;-)
>
> Seasons greetings,
> /PA



--
Fragen sind nich= t da, um beantwortet zu werden,
Fragen sind da um gestellt zu werd= en
Georg Kreisler

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

--00000000000048cd74062a3b0381-- --00000000000048cd77062a3b0383 Content-Type: text/x-patch; charset="US-ASCII"; name="fix.diff" Content-Disposition: attachment; filename="fix.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m56ef93x0 ZGlmZiAtLWdpdCBhL2xpc3Avb3gtbGF0ZXguZWwgYi9saXNwL294LWxhdGV4LmVsCmluZGV4IDRi MmU3OTdkMC4uNjUwN2ExYzQyIDEwMDY0NAotLS0gYS9saXNwL294LWxhdGV4LmVsCisrKyBiL2xp c3Avb3gtbGF0ZXguZWwKQEAgLTI0MDIsMTAgKzI0MDIsMTAgQEAgaG9sZGluZyBjb250ZXh0dWFs IGluZm9ybWF0aW9uLiIKIAkJCQkgIChzdHJpbmctbWF0Y2gtcCAiXFw8bG9jYWxcXD4iIHYpCiAJ CQkJICAoZm9ybWF0ICJcXHN0b3Bjb250ZW50c1tsZXZlbC0lZF0iIGxldmVsKSkpKSkKIAkJICAg IGluZm8gdCkpKSkpCi0JICAoaWYgKGFuZCAob3IgKGFuZCBvcHQtdGl0bGUgKG5vdCAoZXF1YWwg b3B0LXRpdGxlIGZ1bGwtdGV4dCkpKQorCSAgKGlmIChhbmQgbnVtYmVyZWRwIChvciAoYW5kIG9w dC10aXRsZSAobm90IChlcXVhbCBvcHQtdGl0bGUgZnVsbC10ZXh0KSkpCiAgICAgICAgICAgICAg ICAgICAgICAgIDs7IEhlYWRpbmcgY29udGFpbnMgZm9vdG5vdGVzLiAgQWRkIG9wdGlvbmFsIHRp dGxlCiAgICAgICAgICAgICAgICAgICAgICAgIDs7IHZlcnNpb24gd2l0aG91dCBmb290bm90ZXMg dG8gYXZvaWQgZm9vdG5vdGVzIGluCi0gICAgICAgICAgICAgICAgICAgICAgIDs7IFRPQy9mb290 ZXJzLgorICAgICAgICAgICAgICAgICAgICAgICA7OyBUT0MvZm9vdGVycyBmb3IgbnVtYmVyZWQg c2VjdGlvbnMgKm9ubHkqCiAgICAgICAgICAgICAgICAgICAgICAgIChhbmQgKG5vdCAoZXF1YWwg ZnVsbC10ZXh0LW5vLWZvb3Rub3RlIGZ1bGwtdGV4dCkpCiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgKHNldHEgb3B0LXRpdGxlIGZ1bGwtdGV4dC1uby1mb290bm90ZSkpKQogCQkgICAoc3Ry aW5nLW1hdGNoICJcXGBcXFxcXFwoLis/XFwpeyIgc2VjdGlvbi1mbXQpKQo= --00000000000048cd77062a3b0383--