aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-05 10:06:51 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-05 10:06:51 -0800
commitc949530815564d1ef9804fa9c168142c9da655b8 (patch)
tree7ddcf1f893cc0c3f7715008c269c2a8c60178b79
parent3dab6c574c6701d9e240efb98b239a39ca7ed8b4 (diff)
downloadpandoc-c949530815564d1ef9804fa9c168142c9da655b8.tar.gz
LaTeX reader: Removed \group (we want to parse inside {}).
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs6
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