mhayashi1120 / Emacs-langtool

LanguageTool for Emacs
GNU General Public License v3.0
377 stars 31 forks source link

Make emacs-langtool skip checking grammar for Latex commands starting with a backslash? #25

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi,

I observe that current Emacs-langtool may report Latex macros, which starts by a backslash like \emph, \textbf, \textit,... as grammar errors. There is often a lot of such macros and and the overwhelming appearance of these errors actually makes the real error less obvious.

Do you know if it is possible to make Emacs-langtool skip such Latex macros?

Thank you!

mhayashi1120 commented 6 years ago

make reference to #22 #4

caadar commented 6 years ago

How do people make LT complains on TeX markup?

My default LT install works pretty well with TeX files.

Tested with LT 3.5 and git version. Native gui or emacs-langtool. All check rules is on.

Moreover, #22 seems unusable due to mass false alerts.

cjl8zf commented 3 years ago

@tddsg I have recently written a package that fixes this. It is now on MELPA: https://github.com/cjl8zf/langtool-ignore-fonts