Skip to content

Commit

Permalink
LaTeX writer: ensure that beamer footnotes go on frame, not column.
Browse files Browse the repository at this point in the history
Closes #5769.
  • Loading branch information
jgm committed Oct 28, 2024
1 parent ec27d4b commit d87c761
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ packages: .
tests: True
flags: +embed_data_files
constraints: skylighting-format-blaze-html >= 0.1.1.2,
skylighting-format-context >= 0.1.0.2
skylighting-format-context >= 0.1.0.2,
-- for now (commercialhaskell/stackage#7545):
data-default-class <= 0.2, data-default <= 0.8

source-repository-package
type: git
Expand Down
3 changes: 2 additions & 1 deletion src/Text/Pandoc/Writers/LaTeX.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1128,8 +1128,9 @@ inlineToLaTeX (Note contents) = do
let noteContents = nest 2 contents' <> optnl
beamer <- gets stBeamer
-- in beamer slides, display footnote from current overlay forward
-- and ensure that the note is on the frame, not e.g. the column (#5769)
let beamerMark = if beamer
then text "<.->"
then text "<.->[frame]"
else empty
if externalNotes
then do
Expand Down

0 comments on commit d87c761

Please sign in to comment.