emacs-grammarly / flycheck-grammarly

Grammarly support for Flycheck
GNU General Public License v3.0
127 stars 8 forks source link

LaTeX ? #7

Open spitters opened 3 years ago

spitters commented 3 years ago

This looks excellent. Did you consider supporting latex? Perhaps via RTF.

jcs090218 commented 3 years ago

We do expect support for LaTex! I am not very familiar with the syntax so it might take some time for me to implement this support correctly. All languages should have the same issue unless it's a pure text only.

spitters commented 3 years ago

Latex is a widely used markup language in universities, so grammarly support would have a big impact. Especially for students.

There are various tools to remove the markup. Export to rtf is one. Here are a couple of others. I'm not sure which one is most convenient for you. https://tex.stackexchange.com/questions/252203/tex-to-plain-text-or-doc

On Fri, Feb 19, 2021, 04:57 Jen-Chieh Shen notifications@github.com wrote:

We do expect support for LaTex! I am not very familiar with the syntax so it might take some time for me to implement this support correctly. All languages should have the same issue unless it's a pure text only.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emacs-grammarly/flycheck-grammarly/issues/7#issuecomment-781798832, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABTNTX64JNYFOXA6OCQL7LS7XOTPANCNFSM4XX6HF2Q .

spitters commented 3 years ago

Here's a plugin that seems to do the job for the overleaf online version of latex: https://github.com/robindijkhof/overleaf-textarea

On Fri, Feb 19, 2021 at 7:15 AM Bas Spitters b.a.w.spitters@gmail.com wrote:

Latex is a widely used markup language in universities, so grammarly support would have a big impact. Especially for students.

There are various tools to remove the markup. Export to rtf is one. Here are a couple of others. I'm not sure which one is most convenient for you. https://tex.stackexchange.com/questions/252203/tex-to-plain-text-or-doc

On Fri, Feb 19, 2021, 04:57 Jen-Chieh Shen notifications@github.com wrote:

We do expect support for LaTex! I am not very familiar with the syntax so it might take some time for me to implement this support correctly. All languages should have the same issue unless it's a pure text only.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emacs-grammarly/flycheck-grammarly/issues/7#issuecomment-781798832, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABTNTX64JNYFOXA6OCQL7LS7XOTPANCNFSM4XX6HF2Q .

Accacio commented 2 years ago

detex comes already in the (La)TeX distributions, so I think we can verify if we can called it (if distribution is installed) and then call it on the buffer string