You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one writes latex code that contains "{-" substring, the code analyser thinks that it opens another comment parenthesis. In reality it can be a part of latex code symbolising inverse elements in an algebraic structure.
An example of such behaviour is the line {- | $ f^{-1}g$ -}. It is treated as an open (and not closed) comment line. In the meantime {- | $ f^{-1}g $ -}-} is treated as s closed comment line.
P.S. if one writes {- | $ f^{ -1}g $ -} then it is correct latex code with the same behaviour as previously and it is being treated normally, as a closed comment line.
The text was updated successfully, but these errors were encountered:
We've stumbled upon this problem earlier and we decided that at the moment we do not want to modify the parser. Instead it is recommended to use the workaround you proposed at the end of your message.
If one writes latex code that contains "{-" substring, the code analyser thinks that it opens another comment parenthesis. In reality it can be a part of latex code symbolising inverse elements in an algebraic structure.
An example of such behaviour is the line
{- | $ f^{-1}g$ -}
. It is treated as an open (and not closed) comment line. In the meantime{- | $ f^{-1}g $ -}-}
is treated as s closed comment line.P.S. if one writes
{- | $ f^{ -1}g $ -}
then it is correct latex code with the same behaviour as previously and it is being treated normally, as a closed comment line.The text was updated successfully, but these errors were encountered: