@@ -407,8 +407,10 @@ title = try $ do
407authors :: GenParser Char ParserState Block
407authors :: GenParser Char ParserState Block
408authors = try $ do
408authors = try $ do
409 string "\\author{"
409 string "\\author{"
410+ let andsep = try $ string "\\and" >> notFollowedBy letter >>
411+ spaces >> return '&'
410− raw <- many1 (notFollowedBy (char '}') >> inline)
412+ raw <- sepBy (many $ notFollowedBy (char '}' <|> andsep) >> inline) andsep
411− let authors' = map normalizeSpaces $ splitBy (== LineBreak) raw
413+ let authors' = map normalizeSpaces raw
414 updateState (\s -> s { stateAuthors = authors' })
416 updateState (\s -> s { stateAuthors = authors' })