aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-30 19:12:50 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-30 19:12:50 +0000
commit3b790b80f3cf8f13eacda0bc5e5f6d3238242fd8 (patch)
tree32cce028aa3dc666e9d57300f1a6ab2320d8b0d6
parent14dc5206697539cd8f9afc2b5c640ed2df319a1a (diff)
downloadpandoc-3b790b80f3cf8f13eacda0bc5e5f6d3238242fd8.tar.gz
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
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
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 '}'