From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 8EspMVJxbWfrGgAA62LTzQ:P1 (envelope-from ) for ; Thu, 26 Dec 2024 15:08:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8EspMVJxbWfrGgAA62LTzQ (envelope-from ) for ; Thu, 26 Dec 2024 16:08:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="JD1MN5N/"; 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=1735225682; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xw1Xt8pQSEYu0xRFXOu8PjFwXCD2BYAH8bTMNYfPoL8=; b=ZsH/5Knovb4Yi/jvZ22KlF5G4CVzkzAChzxmAHfFVynHRWGiVUVj4NZSYxhk2nL3T9H01N OKuT5Ck3+bO+GtPlSAN+Hvs317E4lbskuloWnLElSBTrnZzSrVaj9Q6p/CdSpGV/CHQ4xS HzEZUA6TctNESnbMraq2RgsCv0+nLAxvauBptuUDg18CyxlGTkMHfKNdFW625EacLCaBPn ZCIucUGOqvx/QAagQqW5fwaVgShVDDSkjXk/RuzsIBuvY5c5jcGk++1GFRL1+URL46+PjQ Y4gio0vYAbojXP0rLxSPLtUQeQyz92snMrlcdi+4OevsoXWz2Nb1I9ClQe7uPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="JD1MN5N/"; 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=1735225682; a=rsa-sha256; cv=none; b=GkX6JB2ZbfkueHrPYuAn2B6MRdS6ZTDxwSD9IaYGNebejNPdAZmtIODo/VZYMmEAn3/LFH pJKhAPUscSzLsd2j+18J/wrMJTAmhfMrZY2+Gbf1carNA/s1nBOBsMmqVNAauwA08ZZYs0 B1X5BwKaXja5aJkjjV5Xx1b8bKKeU6pdSlMgAMlk7KRPNY/Wgq2skZVQ+EXAGzTcijMSK/ PTFe25o56tSdI1VbSG7Mbi4BTMGXu4fJJ7sSte5mswVlO+93z5L75ZzPvxdH4hLczyxZGG dDVISa3R/Ca0m2OiPxMpLFrsmEXJIJciIu0RHICMfIAM40+PnaYedosNBS9qxQ== 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 666928BBDD for ; Thu, 26 Dec 2024 16:08:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQpSP-0000u3-NR; Thu, 26 Dec 2024 10:07:25 -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 1tQpSO-0000tq-Fl for emacs-orgmode@gnu.org; Thu, 26 Dec 2024 10:07:24 -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 1tQpSM-0005PL-9E for emacs-orgmode@gnu.org; Thu, 26 Dec 2024 10:07:24 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D7238240027 for ; Thu, 26 Dec 2024 16:07:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735225638; bh=U1UvRdoLFrVzpaDI7OyK8AXcuJttsT3bQiOJoWFRghg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=JD1MN5N/7egAHgyUlhO8L8Baw6xWtn067FgYAhiV3B1CQ4RO7E4VIKZ8+yx2da4yq peReqx1rH1eieGNnCMnIlJ2BTXe0NAxb0ofK4YXj0ObXRbExvz6JPs5qsL+mkTqAX+ uPEQrLSIzBvjF8DM+9zAe7E+YemcCgL2glkM0ksk/E/iUVbkUPnGu1lTukTkpBmsJs Xsq5azoAy2A15iy7tdAHWj/w30cKSgj993bULm0wyWs3DSu0Y7OOJhu7ZC3eBuJbjT 4MBTA2UrvgzmueH5k89j0b0eSKlhK/kKICdL0Nxra683CxuqVca0O/xRx2OmaaO+XR EsUm9NwIJdvhw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YJsRp357Fz9rxD; Thu, 26 Dec 2024 16:07:18 +0100 (CET) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: emacs-orgmode@gnu.org Subject: Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE` In-Reply-To: References: Date: Thu, 26 Dec 2024 15:08:43 +0000 Message-ID: <87cyhe7a84.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -7.46 X-Spam-Score: -7.46 X-Migadu-Queue-Id: 666928BBDD X-TUID: fd8RP54mFxQA Rudolf Adamkovi=C4=8D writes: > REPRODUCTION: > > 1. Create a file containing: > > #+OPTIONS: num:nil >=20=20=20=20 > * Test > :PROPERTIES: > :ALT_TITLE: alt > :END: >=20=20=20=20 > This is a test. > > 2. Open the file. > 3. Export to a PDF file with LaTeX. Confirmed. This is because [] is inserted into the sectioning command unconditionally, regardless whether sectioning command supports such an optional argument. I suspect that the proper way to handle this problem is changing structure of `org-latex-classes' to explicitly specify alt-title placeholder. --=20 Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at