From 3b790b80f3cf8f13eacda0bc5e5f6d3238242fd8 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Thu, 30 Aug 2007 19:12:50 +0000 Subject: Fixed bug in LaTeX reader, which wrongly assumed that the roman numeral after "enum" in "setcounter" would consist entirely of "i"s. enumiv is legitimate. git-svn-id: https://pandoc.googlecode.com/svn/trunk@961 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc/Readers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Readers/LaTeX.hs') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 58e0fa21a..16ccf77fc 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -248,7 +248,7 @@ orderedList = try $ do spaces start <- option 1 $ try $ do failIfStrict string "\\setcounter{enum" - many1 (char 'i') + many1 (oneOf "iv") string "}{" num <- many1 digit char '}' -- cgit v1.2.3