@@ -876,7 +876,7 @@ table = multilineTable False <|> simpleTable True <|>
876-- | Parse a \newcommand or \renewcommand macro definition.
876-- | Parse a \newcommand or \renewcommand macro definition.
877macro :: GenParser Char ParserState Block
877macro :: GenParser Char ParserState Block
878macro = getState >>= guard . stateApplyMacros >>
878macro = getState >>= guard . stateApplyMacros >>
879− pMacroDefinition >>= addMacro >> return Null
879+ pMacroDefinition >>= addMacro >> blanklines >> return Null
881-- | Add a macro to the list of macros in state.
881-- | Add a macro to the list of macros in state.
882addMacro :: Macro -> GenParser Char ParserState ()
882addMacro :: Macro -> GenParser Char ParserState ()