LaTeX reader: Removed specialEnvironment parser.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1425 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
b422711451
commit
87aa458446
1 changed files with 0 additions and 7 deletions
|
@ -156,7 +156,6 @@ block = choice [ hrule
|
||||||
, comment
|
, comment
|
||||||
, bibliographic
|
, bibliographic
|
||||||
, para
|
, para
|
||||||
, specialEnvironment
|
|
||||||
, itemBlock
|
, itemBlock
|
||||||
, unknownEnvironment
|
, unknownEnvironment
|
||||||
, ignore
|
, ignore
|
||||||
|
@ -347,12 +346,6 @@ itemBlock = try $ do
|
||||||
-- raw LaTeX
|
-- 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
|
-- | Parse any LaTeX environment and return a Para block containing
|
||||||
-- the whole literal environment as raw TeX.
|
-- the whole literal environment as raw TeX.
|
||||||
rawLaTeXEnvironment :: GenParser Char st Block
|
rawLaTeXEnvironment :: GenParser Char st Block
|
||||||
|
|
Loading…
Add table
Reference in a new issue