From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id lAERKiDo0F/+AgAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 15:07:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uMqOJSDo0F9vZwAA1q6Kng (envelope-from ) for ; Wed, 09 Dec 2020 15:07:12 +0000 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 CF66F9403EE for ; Wed, 9 Dec 2020 15:07:11 +0000 (UTC) Received: from localhost ([::1]:42974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn13e-0000qi-JK for larch@yhetil.org; Wed, 09 Dec 2020 10:07:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn12m-0000o8-3c for emacs-orgmode@gnu.org; Wed, 09 Dec 2020 10:06:16 -0500 Received: from mout01.posteo.de ([185.67.36.65]:40725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn12k-0001Js-2B for emacs-orgmode@gnu.org; Wed, 09 Dec 2020 10:06:15 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 67EC2160062 for ; Wed, 9 Dec 2020 16:06:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607526370; bh=RhdzOnh2k2snMLCUtxSsxpIq+/P2dnB9LNNVCy+eJFg=; h=From:To:Cc:Subject:Date:From; b=nflv4qQwTuhrIsP9P1NYqyHunokIIoAlY7NoGJKfu7dft0AoHQQt2AjkwvmHBq8FV Kh/Pd7fkmNbuLQO9bJv8XFNi4Yi6IJxNqD1PILd3mDHnPdNEGOHGMIaLz+SxoWXz9+ ED6hvC0XnTaVtSSDkwMwYPrTlItk5/5KRH/PJE4gWhhSSUrgZH4VgnmZcPJiMDQh4Z yTltKew7zoF4snKE4K8VqsE7NspUomCrlsufmMxXP8e88XP1KG5nDfE/svqeT+6H0g MFSerowy34ipyZ+LNGvkkkvNDv1fSXU+9rJjNRb6UZ7auKH9KexK17B9XkBG4nhn1A Dbrebsn17tPtw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CrgNY74ZJz6tmD; Wed, 9 Dec 2020 16:06:05 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Charis Michelakis Subject: Re: Bug: Footnotes on Headers and LaTeX export [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)] References: <7c812c90-6ff3-ad54-7848-3ed75332c905@gmail.com> Date: Wed, 09 Dec 2020 16:06:04 +0100 In-Reply-To: <7c812c90-6ff3-ad54-7848-3ed75332c905@gmail.com> (Charis Michelakis's message of "Tue, 8 Dec 2020 13:35:13 +0200") Message-ID: <87ft4fdnoj.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@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_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nflv4qQw; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: CF66F9403EE X-Spam-Score: -1.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: Jb/iOL7uau/5 Hello, Charis Michelakis writes: > There is a potential bug regarging how footnotes on headers are > converted to LaTeX. > > Consider the following org file: > ------start-of-file----------- > > #+AUTHOR: Me > #+LATEX_HEADER: \usepackage{titlesec} > > * Header1[fn:1] > > * Footnotes > > [fn:1]Lorem ipsum It is a LaTeX problem, as the footnote command is a 'fragile' command and should not be put in a section. Try this: * Header1[fn:1] :PROPERTIES: :ALT_TITLE: Header1 :END: * Footnotes [fn:1]Lorem ipsum in latex it is exported as \section[Header1]{Header1\footnote{Lorem ipsum}} Regards, Juan Manuel