@@ -903,7 +903,13 @@ tableCellToLaTeX :: PandocMonad m => Bool -> (Double, Alignment, [Block])
903903tableCellToLaTeX _ (0, _, blocks) =
904904 blockListToLaTeX $ walk fixLineBreaks $ walk displayMathToInline blocks
905905tableCellToLaTeX header (width, align, blocks) = do
906+ beamer <- gets stBeamer
907+ oldInMinipage <- gets stInMinipage
908+ -- See #5367 -- footnotehyper/footnote don't work in beamer,
909+ -- so we need to produce the notes outside the table...
910+ modify $ \st -> st{ stInMinipage = beamer }
906911 cellContents <- blockListToLaTeX blocks
912+ modify $ \st -> st{ stInMinipage = oldInMinipage }
907913 let valign = text $ if header then "[b]" else "[t]"
908914 let halign = case align of
909915 AlignLeft -> "\\raggedright"