aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-03 23:03:14 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:40 +0100
commitc55a98ff0d3856221d9f4f93229ecea5a663fe42 (patch)
tree902f2fb51cc3b001898ec9ffcf30108c79540c4d
parent7a686175567295a5169625b5e5428f5b3300ea2a (diff)
downloadpandoc-c55a98ff0d3856221d9f4f93229ecea5a663fe42.tar.gz
LaTeX reader: Make sure we process includes in preamble.
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 9dc043783..06269f398 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -1219,6 +1219,7 @@ preamble = mempty <$> manyTill preambleBlock beginDoc
preambleBlock = void comment
<|> void sp
<|> void blanklines
+ <|> void include
<|> void macro
<|> void blockCommand
<|> void anyControlSeq