Open attiliocn opened 1 year ago
I also have the same issue unfortunately. Is there a way to tell ltex to ignore some line that he can't parse correctly ?
I also have the same issue unfortunately. Is there a way to tell ltex to ignore some line that he can't parse correctly ?
I'm using the inline math environment as a workaround.
\documentclass[12pt]{report}
\begin{document}
Lorem ipsum$\Delta$ dolor sit amet, consectetur adipiscing elit.
Lorem ipsum \begin{math}\Delta\end{math} dolor sit amet, consectetur adipiscing elit.
\end{document}
Also having the same problem here. I can post the logs if needed.
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