From 8af1c065d2791d6e76735a56c0ce22f4ad957b6f Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Tue, 20 Jun 2017 10:11:05 +0200
Subject: latex template:  fix typo in fix for notes in tables.

See https://github.com/jgm/pandoc-templates/commit/1475299c9aebfe3e47c135d6653202db3b2f6696#diff-c7c27b8e99f898fde7715afd9ae8cd02R126

However, this is not a complete fix:
https://github.com/jgm/pandoc-templates/pull/208#issuecomment-309631622

Thanks to zeeMonkeez.  See #2378.
---
 data/templates/default.latex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'data/templates/default.latex')

diff --git a/data/templates/default.latex b/data/templates/default.latex
index 156c43985..70d754a2b 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -135,7 +135,7 @@ $endif$
 $if(tables)$
 \usepackage{longtable,booktabs}
 % Fix footnotes in tables (requires footnote package)
-\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{}
+\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{}
 $endif$
 $if(graphics)$
 \usepackage{graphicx,grffile}
-- 
cgit v1.2.3

