From 2357e61748eada76a41a72adaf5adcb815b4a574 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 15 Oct 2015 23:15:40 -0700 Subject: LaTeX reader: fixed longtable support. --- src/Text/Pandoc/Readers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Readers') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index aeeed346d..359661c3e 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -1023,7 +1023,7 @@ environments = M.fromList , ("figure", env "figure" $ resetCaption *> skipopts *> blocks >>= addImageCaption) , ("center", env "center" blocks) - , ("longtable", env "table" $ + , ("longtable", env "longtable" $ resetCaption *> skipopts *> blocks >>= addTableCaption) , ("table", env "table" $ resetCaption *> skipopts *> blocks >>= addTableCaption) -- cgit v1.2.3