mhayashi1120/Emacs-langtool

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

tddsg opened this issue · 3 comments

tddsg commented

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!

make reference to #22 #4

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.

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