Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
has anybody integrated one of the emacs-grammarly-packages (e.g. in the form of flychecking) into LaTeX-mode? I'm looking for a setup which allows me to write LaTeX and benefit from grammarly-checks.
lsp-ltex. This is based on ltex-ls, which is a language server for grammar-checking LaTeX using LanguageTool. The setup is a bit tricky, and there are definitely some bugs and missing features, but when it's set up it's pretty smooth.
Textidote is also based on languageTool. It doesn't use LSP, but it can generate nice browseable HTML to look at all of the errors. It's not emacs-specific, but there's a snippet in the README of how to integrate it with flycheck.
See https://github.com/matze-dd/YaLafi" :modes (latex-mode plain-tex-mode) :command ("python3" "-m" "yalafi.shell" "--lt-command" "languagetool" "--language" (eval (if ispell-current-dictionary (substring ispell-current-dictionary 0 2) "en")) source) :error-patterns ((warning line-start "=== " (file-name) " ===\n" (one-or-more digit) ".) Line " line ", column " column ", Rule ID: " (id (one-or-more (any "A-Z_")) (optional "[" (one-or-more digit)"]")) "\n" "Message: " (message) line-end)) :enabled (lambda () (and (flycheck-python-find-module 'tex-yalafi "yalafi.shell") (executable-find "languagetool"))) :verify (lambda (_) (flycheck-python-verify-module 'tex-yalafi "yalafi.shell")))