[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: Footnotes on Headers and LaTeX export [9.3 (release_9.3 @ /usr/
From: |
Juan Manuel Macías |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello,
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]
: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