LaTeX reader: allow blank space between braced arguments of commands.
For example \foo {bar} {baz} Closes #2592.
This commit is contained in:
parent
46e38d0a0a
commit
35e0544977
1 changed files with 3 additions and 1 deletions
|
@ -132,7 +132,9 @@ comment = do
|
|||
return ()
|
||||
|
||||
bgroup :: LP ()
|
||||
bgroup = () <$ char '{'
|
||||
bgroup = try $ do
|
||||
skipMany (spaceChar <|> try (newline <* notFollowedBy blankline))
|
||||
() <$ char '{'
|
||||
<|> () <$ controlSeq "bgroup"
|
||||
<|> () <$ controlSeq "begingroup"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue