From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 6LkEHR/nbmegeQEAe85BDQ:P1 (envelope-from ) for ; Fri, 27 Dec 2024 17:42:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6LkEHR/nbmegeQEAe85BDQ (envelope-from ) for ; Fri, 27 Dec 2024 18:42:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iOTGRiHX; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735321374; 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=97WhoZQlLm/U3k/6sl+6sPquI4LwwV1xBIOBY7o9aFM=; b=m9qDYIuKTcjs0PvWllF5IkVi20a9Jx4xqB6lW6G6JFt9lkbP9WnETbOyOA3k8Nn021ct9h GuZHSvaTGp9Gc3KycIVy+n8NQUyruyAEE/Hd2pwrsZvWx5aTYCiJAhIKuJzBosSm8yuYfv Y52cx8YSXP/xSKh8KjUeu2mjee2P3L/y5EA8BEv47VdIYvE8FENpm7/Fw2xNuGltnUlOec CsF9fbEwSiT7YLUrsnLvIEqtXXwWBl2mLvPq4TKPNVqYRDeKXVRSspWUYq2oQTVbH7ZFtW 5tUrL58k3rTHs64QzY06oH+pfIfSsMBNGaaZVGU7VASsfXpRck/23TU/HJLFRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iOTGRiHX; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735321374; a=rsa-sha256; cv=none; b=epi9dde8Yci6ly5L+qcXrLXsxj8m+9ZlHZ3H1jGkPF5uRKSBgyCZAQHngi1EB4ViN5dCx6 jInGchIkuXdKqfPHgI5tHUuVXgfzjyZinzdpbodlw8W+fGlonAE9wglOPqi+J3fExTThhs 42GyQGp20ByPyOuSKJRFx1IUft10sVqN4LJhUjTdAv/LJbP8NxPj/hC2xGgN1jdY3ybwq/ TPvyDWT3TLR8qPcQX9CEwVckpemWiY35Al/EGd4s1TWo3VSDU5uock3g7IT41zB4QF48ll J2r5CVHNnoZvdqQHymoignJMW6+ZsNz5jdJ1HW4NaM2UtT7gDS3YZnOVJBGCMw== 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 A3C1B18EBB for ; Fri, 27 Dec 2024 18:42:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRELn-0000DE-Ap; Fri, 27 Dec 2024 12:42:15 -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 1tRELi-0000BV-1p for emacs-orgmode@gnu.org; Fri, 27 Dec 2024 12:42:10 -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 ) id 1tRELf-0008Kg-QZ for emacs-orgmode@gnu.org; Fri, 27 Dec 2024 12:42:09 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 40E3D240027 for ; Fri, 27 Dec 2024 18:42:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735321324; bh=rpmr0bZ2N1umqGvuo1RXryjivW8mLnmaWDfOZzDoXks=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=iOTGRiHXDGGG9B44IsKpGHvVtF4DQdtDaOJStfZX0OP16036flXjBAtCrksl8GkaO QyBimule7UmVZKpR+LuAIv7nohaPg6VSMHUxUtbId6H4lfoXWaAIeTAcYcJqdT5BNQ BTJFjrlYL/V+t3ts9TRp+Ke6QaXf77y4UVD8FS+zzur7PVQjp2Fa0L9kKwM6EBWp9o OIebHFEi+4NzsUyvr3lG9sIjra3GtjTkIjFJrnUq4PL3NW55SxGJP4FGZoAv77p6WL qOP42BeR2YNKREHIMg9kKAtoWIR7Yy/b83Sgj5gfHlefJXVZXb/3hsxI+7KtFRKFhh hWmXbusylgsXg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YKXqv3zP9z9rxM; Fri, 27 Dec 2024 18:42:03 +0100 (CET) From: Ihor Radchenko To: Pedro Andres Aranda Gutierrez Cc: rudolf@adamkovic.org, Org Mode List Subject: Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE` In-Reply-To: References: <495AE5B0-0551-40EC-B501-B681E479D261@gmail.com> Date: Fri, 27 Dec 2024 17:43:32 +0000 Message-ID: <87wmfl3ttn.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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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: , 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: -8.97 X-Spam-Score: -8.97 X-Migadu-Queue-Id: A3C1B18EBB X-Migadu-Scanner: mx10.migadu.com X-TUID: +Vgb/tYH3h5u Pedro Andres Aranda Gutierrez writes: > 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 Thanks! I am slightly concerned about generality of dropping ALT_TITLE from unnumbered sectioning command. >From LaTeX2e reference manual, I see Structure your text into divisions: parts, chapters, sections, etc. All sectioning commands have the same form, one of: sectioning-command{title} sectioning-command*{title} sectioning-command[toc-title]{title} But can we assume that unnumbered entries never appear in the table of contents? > 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.... Even better would be a test and a proper patch with commit message. Do you have time for that? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at