![]() I would appreciate it if you could help me know how to set the values Java, LT Path, and LT Arguments in the TexStudio > Preferences > Language Checking. I tried all three different paths mentioned above, none working. Now following the other post on this forum, I tried to set all of these paths in TexStudio Note that there are two levels of detail. Which using the readlink command (from here) returns an origin of /System/Library/Frameworks/amework/Versions/Current/Commands/java Some options are directly available in the GUI via context menus, see here, others are available with the Configure TeXstudio command in the Options menu (Preferences under Mac OS X). And when running which java it returns the "symlink" /usr/bin/java OpenJDK 64-Bit Server VM (build 14+36-1461, mixed mode, sharing) OpenJDK Runtime Environment (build 14+36-1461) Now when running java -version it returns OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)Īlso for some reason, I had to install the OpenJDK Cask brew cask install java OpenJDK Runtime Environment (build 13.0.2+8) ![]() Which places the Java binaries in /usr/local/opt/openjdk/bin or /usr/local/opt/openjdk/libexec/openjdk.jdk/Contents/Home/bin/ ![]() Which automatically installs OpenJDK as a dependency brew install java LT-URL: I have installed LanguageTool via HomeBrew: brew install languagetool That's the output of Help > Check LanguageTool: which java: /usr/local/bin/languagetool-server The problem is that in Homebrew LT is wrapped in a shell script: $ cat /usr/local/bin/languagetool-serverĮxport JAVA_HOME="$/bin/java" -cp "/usr/local/Cellar/languagetool/5.1.3_2/libexec/languagetool-server.jar" means than LT shouldn't launch, say, java languagetool.jar but the script which already includes this command. Usually it's /usr/local/bin/languagetool-server. The solution is easy: put the output of which languagetool-server to the Language Checking > LanguageTool > Java field. TexStudio is not able to run the LanguageTool server on its own!. The issue has also been described on this page. The problem is that TexStudio does not run the LanguageTool server as it should. Then manually run the LanguageTool server on a terminal /usr/local/bin/languagetool-server So from here, I had to run the LanguageTool GUI /usr/local/bin/languagetool-gui activate the port first:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |