From b26247a4a833fc7871b3d6b9cdacda0a6672253f Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Wed, 5 Jan 2011 11:56:37 -0800
Subject: [PATCH] LaTeX reader: Added "index" to ignorable commands.

---
 src/Text/Pandoc/Readers/LaTeX.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 1c224de9e..03679bb1d 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -435,7 +435,7 @@ unknownCommand = try $ do
            else return $ Plain [Str $ concat args]
 
 commandsToIgnore :: [String]
-commandsToIgnore = ["special","pdfannot","pdfstringdef","bibliography"]
+commandsToIgnore = ["special","pdfannot","pdfstringdef", "index","bibliography"]
 
 skipChar :: GenParser Char ParserState Block
 skipChar = do