diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-09-06 21:24:24 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-09-06 21:24:24 +0000 |
commit | 87aa45844666123283c39d28012f0a6fe44e4d8c (patch) | |
tree | c343d712e02bf4f2a771a2687709d664a120f88e /Text/Pandoc | |
parent | b422711451fb6520e9a23caee973bf2f36c237c6 (diff) | |
download | pandoc-87aa45844666123283c39d28012f0a6fe44e4d8c.tar.gz |
LaTeX reader: Removed specialEnvironment parser.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1425 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Text/Pandoc')
-rw-r--r-- | Text/Pandoc/Readers/LaTeX.hs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Text/Pandoc/Readers/LaTeX.hs b/Text/Pandoc/Readers/LaTeX.hs index d7d031595..e1efce1e9 100644 --- a/Text/Pandoc/Readers/LaTeX.hs +++ b/Text/Pandoc/Readers/LaTeX.hs @@ -156,7 +156,6 @@ block = choice [ hrule , comment , bibliographic , para - , specialEnvironment , itemBlock , unknownEnvironment , ignore @@ -347,12 +346,6 @@ itemBlock = try $ do -- raw LaTeX -- -specialEnvironment :: GenParser Char st Block -specialEnvironment = do -- these are always parsed as raw - lookAhead (choice (map (\name -> begin name) ["tabular", "figure", - "tabbing", "eqnarry", "picture", "table", "verse", "theorem"])) - rawLaTeXEnvironment - -- | Parse any LaTeX environment and return a Para block containing -- the whole literal environment as raw TeX. rawLaTeXEnvironment :: GenParser Char st Block |