mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 20:23:45 -05:00
fix outline issue: allow Ref in Math in latex.grammar (#13054)
* added failing test * latex.grammar update: allow Ref in Math GitOrigin-RevId: 340bf40cf4804e7693965a29b16b869a54a467d7
This commit is contained in:
parent
27cc7db733
commit
8c12bce5b6
1 changed files with 3 additions and 0 deletions
|
@ -628,6 +628,9 @@ Math {
|
||||||
| Label {
|
| Label {
|
||||||
LabelCtrlSeq optionalWhitespace? OptionalArgument? LabelArgument
|
LabelCtrlSeq optionalWhitespace? OptionalArgument? LabelArgument
|
||||||
}
|
}
|
||||||
|
| Ref {
|
||||||
|
(RefCtrlSeq | RefStarrableCtrlSeq "*"?) optionalWhitespace? OptionalArgument? optionalWhitespace? OptionalArgument? optionalWhitespace? RefArgument
|
||||||
|
}
|
||||||
)+
|
)+
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue