This is a recent and more detailed solution for Windows users.
- Make sure the last version of TeXstudio is downloaded from its website.
- Download the English dictionary (*.oxt) from here to the directory
C:\Program Files (x86)\TeXstudio\dictionaries
. - Download languagetools (*.zip) from its website.
- Navigate to LanguageTool directory, then open
languagetool.jar
. Go toText Checking > Options
, then checkRun as server op port
and type the port number8081
. ClickOK
and close.
- Open TeXstudio and go to
Options > Configure TeXstudio > Language Checking
while making sure theShow Advanced Options
is checked. - Click on
Import Dictionary...
and navigate toC:\Program Files (x86)\TeXstudio\dictionaries
, then choose the dictionary*.oxt
you downloaded. - Make sure the default languae is selected (e.g.
en_US
), and the thesaurus is selected from the same directory (e.g.th_en_US_v2.dat
).
- Check
Start LanguageTool if not running
. - Set the values
Server URL
,Java
,LT Path
andLT Arguments
tohttp://localhost:8081/
,java
(as recommended here),<directory of LanguageTool*-*>\languagetool.jar
andorg.languagetool.server.HTTPServer --port 8081
, respectively.
In order to make sure everything is fine, click on Help > Check LanguageTool
in TeXstudio. The output should be something like this
来源: https://tex.stackexchange.com/questions/155148/installing-language-tool-in-texstudio
原文地址:https://www.cnblogs.com/jins-note/p/10395198.html
时间: 2024-11-11 06:16:35