aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 03679bb1d..cdac5b2a5 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -478,7 +478,6 @@ inline = choice [ str
, accentedChar
, nonbreakingSpace
, cite
- , index
, specialChar
, rawLaTeXInline'
, escapedChar
@@ -815,12 +814,6 @@ footnote = try $ do
cite :: GenParser Char ParserState Inline
cite = simpleCite <|> complexNatbibCites
-index :: GenParser Char ParserState Inline
-index = try $ do
- (name, _, _) <- command
- guard $ name == "index"
- return $ Str ""
-
simpleCiteArgs :: GenParser Char ParserState [Citation]
simpleCiteArgs = try $ do
first <- optionMaybe $ (char '[') >> manyTill inline (char ']')