LaTex:texstudio语法检查插件LanguageToolGUI

来源:互联网 发布:unity3d引擎架构设计 编辑:程序博客网 时间:2024/06/05 19:10

参考:http://tex.stackexchange.com/questions/155148/installing-language-tool-in-texstudio 问题解决方法

            http://wiki.languagetool.org/checking-la-tex-with-languagetool 插件使用方法


问题来源:经常用latex写国际顶级会议期刊论文,那么英文的语法检查是必不可少的,经过搜索,找到了适合texstudio的语法检查工具,供大家参考!


解决方法:

1. 下载LanguageToolGUI工具(https://languagetool.org/download/LanguageTool-2.7.zip)

2. 使用该插件:

A. TexStudio supports LanguageTool as an inline grammar checker. Note that you need to configure TXS first, by using Options > Configure TexStudio… > Grammar like this:(注意languagetool.jar和Java jdk环境7.0以上)


B. You should start LanguageTool GUI (which is contained in LanguageToolGUI.jar in the .oxt file, which is simply a zip file) and start it. Then simply open Options and select the option to run it as HTTP server. By default, it uses port 8081, which is also the default for TXS:


C. If TexStudio is configured to use inline grammar checking (which is the default, see Options > Configure TexStudio… > Editor > Inline Checking > Grammar), you should see grammar checks immediately:



D. 将鼠标移到texstudio中的内容中,右键单击绿色波浪线的单词,即可看到语法提升和发现语法错。


说明:LanguageTool需要运行后,texstudio才会检查语法错误,似乎这是texstudio的bug,望修复.











1 0