LTeX: Grammar/spell checker :mag::heavy_check_mark: for VS Code using LanguageTool with support for LaTeX :mortar_board:, Markdown :pencil:, and others
Note: It is highly recommended to follow the instructions at https://valentjn.github.io/ltex/vscode-ltex/contributing.html#how-to-report-bugs and use the LTeX: Report bug in LTeX command from within Visual Studio Code. Per the contribution guidelines, deleting parts of the template or not filling in vital information may result in the issue to be immediately closed as invalid.
Describe the bug
There is a rule that after full stop there is a capital.
On the other hand, a dot may be a full stop or just indicate an abbreviation.
In latex there is the rule that capital dot is an abbreviation (C. ), whereas lowercase (i.e.) is full stop.
This works most of the time but not always.
Thus there is the command \@ indicating an invisible lower case letter.
So if there is a fulls stop C., one writes C\@. and if there is not full stop at i.e. one writes i.e.\@.
It may be a feature request that ltex takes care of this or it may be a bug that it does not yet, as you like.
Anyway, proc.\@ of Royal Soc. yields a warning that of is lower case and it should not.
Steps to reproduce
Steps to reproduce the behavior:
write a latex file containing the above line
activate ltex
See warning as described above.
Expected behavior
There shall be no error.
Sample document
Very simple
"LTeX Language Server" log file
First, reproduce the bug. Then, go to View → Output and select LTeX Language Server in the drop-down list. Paste this log here:
Note: It is highly recommended to follow the instructions at https://valentjn.github.io/ltex/vscode-ltex/contributing.html#how-to-report-bugs and use the
LTeX: Report bug in LTeX
command from within Visual Studio Code. Per the contribution guidelines, deleting parts of the template or not filling in vital information may result in the issue to be immediately closed as invalid.Describe the bug There is a rule that after full stop there is a capital. On the other hand, a dot may be a full stop or just indicate an abbreviation. In latex there is the rule that capital dot is an abbreviation (C. ), whereas lowercase (i.e.) is full stop. This works most of the time but not always. Thus there is the command \@ indicating an invisible lower case letter. So if there is a fulls stop C., one writes C\@. and if there is not full stop at i.e. one writes i.e.\@.
It may be a feature request that ltex takes care of this or it may be a bug that it does not yet, as you like. Anyway,
proc.\@ of Royal Soc.
yields a warning thatof
is lower case and it should not.Steps to reproduce Steps to reproduce the behavior:
Expected behavior There shall be no error.
Sample document Very simple
"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 Very big but irrelevant.
Version information List here the version information of the relevant software.
java -version
, only if not using Java automatically downloaded by LTeX)Additional context/information None