antonWetzel / typst-languagetool

LanguageTool Integration for Typst for spell and grammer check
MIT License
36 stars 9 forks source link

Option to ignore math? #29

Closed hbierlee closed 1 month ago

hbierlee commented 1 month ago

Hi,

Another request: is there an option to ignore math (either inline or blocks)? Or is the idea to copy-paste the README block to ignore math sections?

Cheers,

Henk

antonWetzel commented 1 month ago

The compiled document is checked, at this point there is no difference between text from paragraphs and text from math symbols. With the styling from the readme or lt.typ equations worked for me as blocks or in a sentance without false positives.

hbierlee commented 1 month ago

I see! I understand this bit a lot better now.