From c949530815564d1ef9804fa9c168142c9da655b8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 5 Jan 2011 10:06:51 -0800 Subject: LaTeX reader: Removed \group (we want to parse inside {}). --- src/Text/Pandoc/Readers/LaTeX.hs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/Text') 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 -- cgit v1.2.3