emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Juan Manuel Macías" <maciaschain@posteo.net>
To: Charis Michelakis <ch.p.mxs@gmail.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: Bug: Footnotes on Headers and LaTeX export [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]
Date: Wed, 09 Dec 2020 16:06:04 +0100	[thread overview]
Message-ID: <87ft4fdnoj.fsf@posteo.net> (raw)
In-Reply-To: <7c812c90-6ff3-ad54-7848-3ed75332c905@gmail.com> (Charis Michelakis's message of "Tue, 8 Dec 2020 13:35:13 +0200")


Charis Michelakis <ch.p.mxs@gmail.com> 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]
  :ALT_TITLE: Header1

* Footnotes
[fn:1]Lorem ipsum

in latex it is exported as

\section[Header1]{Header1\footnote{Lorem ipsum}}


Juan Manuel 

  reply	other threads:[~2020-12-09 15:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08 11:35 Bug: Footnotes on Headers and LaTeX export [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)] Charis Michelakis
2020-12-09 15:06 ` Juan Manuel Macías [this message]
     [not found]   ` <69288122-6dfb-4235-47bf-d38344c730b0@gmail.com>
2020-12-09 15:31     ` Juan Manuel Macías

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ft4fdnoj.fsf@posteo.net \
    --to=maciaschain@posteo.net \
    --cc=ch.p.mxs@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).