git.iko.soy/typeable/pandoc
on master help sign in
Move 'tables in footnotes' fix out of beamer part of default.latex.

This caused an error in beamer. Footnotes already work in tables in beamer, without this code.

commit2e2795412def2f1f7c01b0b719b4d15a9b6f20f4 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 12 Sep 2017, 08:30 (9 years ago) parentb71c7d9
1 file changed+3−2
data/templates/default.latex+3−2
data/templates/default.latex+3−2
@@ -176,14 +176,15 @@ $highlighting-macros$
176176$endif$
177177$if(tables)$
178178\usepackage{longtable,booktabs}
179−% Fix footnotes in tables (requires footnote package)
180−\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{}
181179$if(beamer)$
182180\usepackage{caption}
183181% These lines are needed to make table captions work with longtable:
184182\makeatletter
185183\def\fnum@table{\tablename~\thetable}
186184\makeatother
185+$else$
186+% Fix footnotes in tables (requires footnote package)
187+\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{}
187188$endif$
188189$endif$
189190$if(graphics)$