LaTeX reader: proper implicit grouping around environment macros.
This commit is contained in:
parent
649133fe5e
commit
e8d7d157fd
1 changed files with 2 additions and 1 deletions
|
@ -212,7 +212,8 @@ newenvironment = do
|
|||
let result = (name,
|
||||
Macro GroupScope ExpandWhenUsed argspecs optarg
|
||||
(bg:startcontents),
|
||||
Macro GroupScope ExpandWhenUsed [] Nothing (eg:endcontents))
|
||||
Macro GroupScope ExpandWhenUsed [] Nothing
|
||||
(endcontents ++ [eg]))
|
||||
(do lookupMacro name
|
||||
case mtype of
|
||||
"provideenvironment" -> return Nothing
|
||||
|
|
Loading…
Add table
Reference in a new issue