Closed
Description
Footnotes within columns distort the output.
Input
# A slide
::::::::::::::::::::{.columns}
:::{.column width=50%}
contents[^1]
:::
:::{.column width=50%}
more contents^[another footnote]
:::
:::::::::::::::::::::
[^1]: A footnote
Commands
❯ pandoc --version
pandoc 2.7.3
Compiled with pandoc-types 1.17.5.4, texmath 0.11.2.2, skylighting 0.8.1
Default user data directory: /home/avmo/.local/share/pandoc or /home/avmo/.pandoc
❯ cat slides.md
❯ pandoc -t beamer -s slides.md -o slides.tex
❯ latexmk -pdf slides.tex
The solution
As suggested here https://tex.stackexchange.com/a/86757 would be to use \footnote<.->[frame]{some text}
. I believe it goes here:
pandoc/src/Text/Pandoc/Writers/LaTeX.hs
Lines 1323 to 1325 in 1138d5b