Skip to content

interactive spellcheck for documents, in particular latex and md #7693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
haraldschilly opened this issue Jul 18, 2024 · 5 comments
Open
Labels

Comments

@haraldschilly
Copy link
Contributor

The spellchecker just highlights words, but doesn't guide you through all found issues, and there is no possibility to add words to a local dictionary for the non-browser spellchecker.

It would be nice to have a spellcheck frame, which highlights all wrong words, with some context (+/- 1 line) and shows options.

workaround

Run aspell in interactive mode in a terminal frame. Pick the correct mode, e.g. this one for latex.

aspell --mode=tex -d en_US check FILENAME.tex

2024-07-18-spellcheck-latex

@williamstein
Copy link
Contributor

dup of #4719

@haraldschilly
Copy link
Contributor Author

So, I don't think this is a dup, because I don't see how #4719 helps going through all misspelled words. I.e. the root problem this ticket tries to solve is having a long tex file and a few misspelled words. If there are only highlights in the source, you're forced to tediously scroll through everything, likely to miss.

@haraldschilly haraldschilly reopened this Aug 6, 2024
@williamstein williamstein added I-bug P-hitlist issue that just keeps getting hit labels Aug 9, 2024
@williamstein
Copy link
Contributor

I'm promoting this to BUG + Hitlist, since if you just hit this, I bet a lot of people do regularly, and it makes cocalc "relatively unusable"....

@williamstein
Copy link
Contributor

I'm changing latex to use the frontend browser's spellcheck. The backend will no longer be used at all. A user can configure whatever language in their browser, it's faster, etc.... and it actually works.

@williamstein
Copy link
Contributor

I'm changing latex to use the frontend browser's spellcheck

More precisely, by default. This was turned off only because of a temporary codemirror bug. It will still be possible to enable backend spell check, though I can't imagine how anyone would be able to figure out how...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants