Inline Math (text between a single dollar sign) causes LTeX to stop working #855
Labels
1-bug 🐛
Issue type: Bug report (something isn't working as expected)
2-unconfirmed
Issue status: Bug that needs to be reproduced (all new bugs have this label)
Describe the bug
The use of inline math in a .tex document "shuts down" LTeX. This problem seems to occur only when the inline math is not preceded by any character.
Steps to reproduce
This document should be sufficient to demonstrate the problem.
If both lines containing Lorem ipsum are kept uncommented, then the following server log is obtained and VSCode does not show any highlighted word.
However, if the second Lorem Ipsum is commented, then the following log is obtained and LTeX works as expected.
Expected behavior
I expect that the Grammar/Spell check does not stops because there is an inline math present in the text.
Sample document
LTeX configuration
"LTeX Language Server" log file
Included in the problem description
"LTeX Language Client" log file
First, set the
ltex.trace.server
setting in yoursettings.json
to"verbose"
. Then, reload the VS Code window and reproduce the bug. Go toView
→Output
and selectLTeX Language Client
in the drop-down list. Paste this log here (note: it will contain your checked document):Version information
List here the version information of the relevant software.
Additional context/information
The text was updated successfully, but these errors were encountered: