git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: Removed \group (we want to parse inside {}).
commitc949530815564d1ef9804fa9c168142c9da655b8 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 5 Jan 2011, 10:06 (16 years ago) parent3dab6c5
1 file changed−6
src/Text/Pandoc/Readers/LaTeX.hs−6
src/Text/Pandoc/Readers/LaTeX.hs−6
@@ -407,11 +407,6 @@ unknownEnvironment = try $ do
407407 else anyEnvironment -- otherwise just the contents
408408 return result
409409
410−group :: GenParser Char ParserState Inline
411−group = do
412− res <- bracketedText '{' '}'
413− return $ TeX $ "{" ++ res ++ "}"
414−
415410-- \ignore{} is used conventionally in literate haskell for definitions
416411-- that are to be processed by the compiler but not printed.
417412ignore :: GenParser Char ParserState Block
@@ -483,7 +478,6 @@ inline = choice [ str
483478 , accentedChar
484479 , nonbreakingSpace
485480 , cite
486− , group
487481 , specialChar
488482 , rawLaTeXInline'
489483 , escapedChar