Back to LanguageTool Homepage - Privacy - Imprint

Cannot get LanguageTool to worj with TexStudio


(raffam) #1

I have TexStudio 2.12.6 and LanguageTool 3.7.

The grammar checking does not work

Here is the screenshot of my configuration file:
confimg

Here si the output of Help-.>Check Language Tool

where java:

JAVA: C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe -version

Real-time checking is enabled.
Grammar checking is enabled.

Tries to start automatically.

LT current status: error

LT-URL:

Here is the output of http://localhost:8081/:

Error: You're using an old version of our API that's not supported anymore. Please see https://languagetool.org/http-api/migration.php

I have followed the instruction posted in your wiki, with link omitted due to your rules on new users, which specifically say:

Note You need TeXstudio 2.12.2 or later to work with LT 3.6 or later

Please help

P.S. LanguageTool 3.5 does not work either


(Daniel Naber) #2

What do you get at http://localhost:8081/v2/check?language=en-US&text=my+text? If that returns JSON, LT is running fine. Your question is probably better suited for the TexStudio forum.


(raffam) #3

This is what it is returned. It seems to be JSON

{"software":{"name":"LanguageTool","version":"3.9","buildDate":"2017-09-26 10:01","apiVersion":1,"status":""},"warnings":{"incompleteResults":false},"language":{"name":"English (US)","code":"en-US"},"matches":[{"message":"This sentence does not start with an uppercase letter","shortMessage":"","replacements":[{"value":"My"}],"offset":0,"length":2,"context":{"text":"my text","offset":0,"length":2},"rule":{"id":"UPPERCASE_SENTENCE_START","description":"Checks that a sentence starts with an uppercase letter","issueType":"typographical","category":{"id":"CASING","name":"Capitalization"}}}]}


(raffam) #4

I got it to work, but your wiki needs an update. There is no Options->Configure TexStudio->Grammar anymore. Now is Options->Configure TexStudio->Language Checking


(Daniel Naber) #5

Thanks, I've updated the text - could you maybe provide an up-to-date screen shot which we can use instead of http://languagetool.wdfiles.com/local--files/checking-la-tex-with-languagetool/texstudio262.png?


(raffam) #6

Perhaps when I figure out how the autostart feature of texstudio works


(raffam) #7

Here you are


(Daniel Naber) #8

Thanks, I've added this to the Wiki.