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:
parent
14dc520669
commit
3b790b80f3
1 changed files with 1 additions and 1 deletions
|
@ -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 '}'
|
||||
|
|
Loading…
Reference in a new issue