aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-09-23 08:34:18 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-09-23 08:34:37 -0700
commit72e71a1dad711fa25809d44284ec1e64304a901f (patch)
tree030e2dd984f320153e85db0a81064f715d2a7fdd
parentf232a0a720ea4879fe2e6f1b9e1a5c4e20097341 (diff)
downloadpandoc-72e71a1dad711fa25809d44284ec1e64304a901f.tar.gz
LaTeX reader: support longtable.
Closes #2411.
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 16d387dc4..ed0291051 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -1022,6 +1022,8 @@ environments = M.fromList
, ("figure", env "figure" $
resetCaption *> skipopts *> blocks >>= addImageCaption)
, ("center", env "center" blocks)
+ , ("longtable", env "table" $
+ resetCaption *> skipopts *> blocks >>= addTableCaption)
, ("table", env "table" $
resetCaption *> skipopts *> blocks >>= addTableCaption)
, ("tabular*", env "tabular" $ simpTable True)