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
This commit is contained in:
fiddlosopher 2007-08-30 19:12:50 +00:00
parent 14dc520669
commit 3b790b80f3

View file

@ -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 '}'