-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\O in math mode results in corrections #216
Comments
I can't reproduce this. With the provided sample document and configuration on a vanilla* VS Code 1.52.1, I get no errors with LTEX 8.2.0. The provided server log contains Maybe a different configuration (or document?) than the provided one has been used for creating the server log. Can you temporarily clear all settings (even all of the non-LTEX settings and all of the native VS Code settings) from your Another possibility is that these underlined diagnostics come from another extension, and not from LTEX. What message is displayed when you hover with your mouse over the errors? |
Hello, I am very sorry, the example I gave here was an attempt to create a short case, but it was indeed another spell checking extention which produced the error. However, Ltex does have an issue here. But it is different one: when using two \documentclass{report}
\usepackage{amsmath}
\renewcommand{\O}{O}
\begin{document}
\begin{align}
here are more symbols
\end{align}
\begin{align}
\O here are more symbols \O
\end{align}
\begin{align}
\O \O
\end{align}
\begin{align}
\O here are \O \O more symbols \O
\end{align}
\end{document}
which results in: with the message: The number of Adding Can you reproduce this? P.S. I had a document with a lot of Here is the log:
|
Ah yes, this is a bug. Accent commands like |
Thanks for the very quick fix. This was a funny one, actually ;) Probably it is not to often that someone uses already given commands in this way. Would it be possible to bring a minor release with this fix? I am writing my thesis right now so I see the underline throuout the whole day ;) |
I did that in the beginning, too, even with the same command Fix released in 8.2.1. |
Describe the bug
Despite these settings are set:
The environments get still corrected by LTeX.
Expected behavior
Ignored environments should not be checked for errors.
Sample document
If the bug occurs for a specific document (e.g. LaTeX), please paste it here. If your document is very long or confidential, please create and attach a smaller example for which the bug still occurs so that we can reproduce it.
LTeX configuration
Please paste all configuration settings starting with
ltex.
from yoursettings.json
. You can help us by temporarily removing some irrelevant settings from yoursettings.json
and see if the bug still occurs."LTeX Language Server" log file
First, reproduce the bug. Then, go to
View
→Output
and selectLTeX Language Server
in the drop-down list. Paste this log here:"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.
The text was updated successfully, but these errors were encountered: