diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-05 10:06:51 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-05 10:06:51 -0800 |
commit | c949530815564d1ef9804fa9c168142c9da655b8 (patch) | |
tree | 7ddcf1f893cc0c3f7715008c269c2a8c60178b79 /src/Text/Pandoc/Readers | |
parent | 3dab6c574c6701d9e240efb98b239a39ca7ed8b4 (diff) | |
download | pandoc-c949530815564d1ef9804fa9c168142c9da655b8.tar.gz |
LaTeX reader: Removed \group (we want to parse inside {}).
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index f73fab699..f0b5542fa 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -407,11 +407,6 @@ unknownEnvironment = try $ do else anyEnvironment -- otherwise just the contents return result -group :: GenParser Char ParserState Inline -group = do - res <- bracketedText '{' '}' - return $ TeX $ "{" ++ res ++ "}" - -- \ignore{} is used conventionally in literate haskell for definitions -- that are to be processed by the compiler but not printed. ignore :: GenParser Char ParserState Block @@ -483,7 +478,6 @@ inline = choice [ str , accentedChar , nonbreakingSpace , cite - , group , specialChar , rawLaTeXInline' , escapedChar |