[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Footnote definition within a verse block has spurious line breaks wh
From: |
Nicolas Goaziou |
Subject: |
Re: Footnote definition within a verse block has spurious line breaks when exported to LaTeX |
Date: |
Sat, 05 Dec 2020 10:09:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello,
Juan Manuel Macías <maciaschain@posteo.net> writes:
> When a verse block includes a footnote reference, the
> corresponding footnote definition is
> understood in the LaTeX export as if it were part of the verses.
> In other words, every
> line in a =\footnote{}= macro ends with the string =\\=, and the
> spaces between paragraphs are understood as spaces
> between stanzas (\vspace*{1em}). If the text of the footnote
> definition contains one or more filled
> paragraphs, then the export result is catastrophic.
>
> For example, if we have something like this:
>
> #+begin_src org
> ,#+begin_verse
> lorem
> ipsum[fn:1]
> dolor
> ,#+end_verse
>
> [fn:1] Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
> Donec hendrerit tempor
> tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt
> et, mattis eget,
> convallis nec, purus.
>
> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
> hendrerit tempor tellus.
> Donec pretium posuere tellus. Proin quam nisl, tincidunt et,
> mattis eget, convallis nec,
> purus.
> #+end_src
This is hopefully fixed in master branch. Let me knows if it works for
you.
Thank you for the report.
Regards,
--
Nicolas Goaziou