aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorschrieveslaach <schrieveslaach@online.de>2017-03-27 21:20:27 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-27 21:20:27 +0200
commit49d72444d7223afe8730e1d7fe2ad881cc132b9c (patch)
tree23a4688a01be0c844c9322f7190f0158a4234ed2 /src/Text/Pandoc
parente3472f0df545e37344deff87d7ba1197e651ae8d (diff)
downloadpandoc-49d72444d7223afe8730e1d7fe2ad881cc132b9c.tar.gz
LaTeX reader: add support for LaTeX subfiles package.
Closes #3530.
Diffstat (limited to 'src/Text/Pandoc')
-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 ae441a387..9c028faa4 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -1008,6 +1008,7 @@ include = do
char '\\'
name <- try (string "include")
<|> try (string "input")
+ <|> try (string "subfile")
<|> string "usepackage"
-- skip options
skipMany $ try $ char '[' *> manyTill anyChar (char ']')