texstudio语法检查

转自:http://blog.csdn.net/fandroid/article/details/40015845   http://blog.csdn.net/fandroid/article/details/40015019

1、设置为  英语 语法检查:

参考:http://texstudio.sourceforge.net/manual/current/usermanual_en.html 链接中的1.4.1说明


问题来源:发现TexStudio启动后的默认语言一直是default de_DE - German,通过右下角选择后,下次启动还是不能生效。


解决方法:在latex文档首行中加入comment,即% !TeX spellcheck = en_US 那么该文档使用的语言就永久确定了。


2、texstudio语法检查插件LanguageToolGUI

参考: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)  https://languagetool.org/

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,望修复.


你可能感兴趣的:(文章排版,LATEX,语法检查)