diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-09-12 08:30:00 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-09-12 08:31:59 -0700 |
commit | 2e2795412def2f1f7c01b0b719b4d15a9b6f20f4 (patch) | |
tree | 20bac634ee32618425a025bb60774bd952edeac7 /data | |
parent | b71c7d97d17d6358a7e797655122ba03ccf193ca (diff) | |
download | pandoc-2e2795412def2f1f7c01b0b719b4d15a9b6f20f4.tar.gz |
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.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.latex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index 8dd3bdb12..4c60f8d21 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -176,14 +176,15 @@ $highlighting-macros$ $endif$ $if(tables)$ \usepackage{longtable,booktabs} -% Fix footnotes in tables (requires footnote package) -\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{} $if(beamer)$ \usepackage{caption} % These lines are needed to make table captions work with longtable: \makeatletter \def\fnum@table{\tablename~\thetable} \makeatother +$else$ +% Fix footnotes in tables (requires footnote package) +\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{} $endif$ $endif$ $if(graphics)$ |