summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-22 08:48:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-22 08:48:25 -0700
commite1d6be4e301cec74c3da26ea3a1ba0e21afe524e (patch)
tree3ec3a46dc328e7f19ceaf9227d905d61372fc918 /src
parent2bca01820100c1897bf260bff17b2a6688c4d792 (diff)
LaTeX reader: recognize `\newpage` as a block command.
Diffstat (limited to 'src')
-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 08aa0b20e..39b8c4a65 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -338,6 +338,7 @@ blockCommands = M.fromList $
, "hyperdef"
, "markboth", "markright", "markleft"
, "hspace", "vspace"
+ , "newpage"
]
addMeta :: ToMetaValue a => String -> a -> LP ()