Menu

#250 RemReminder on ticket #248 : Problems with the spellchecker of Alpha 9.2.2 in TeX Mode for french

9.2.3
closed
nobody
None
Bug
major
2021-06-01
2021-04-11
No

Having received no comment on ticket 248, I am rewriting it here with increasing its priority to major.

I have problems with the spellcker of Alpha 9.2.2 in TeX Mode for french. Specifically in a text in french, the job is not done correctly in presence of accents or in comments.

Here are the parameters concerning spelling in my Alpha's configuration for the TeX Mode
Choose an implementatation for spellcheck: Alpha

Alpha Preferences: "TeX" Mode > LaTeX Accents
Accent Smart Escape: Yes
Accents in Comments: No
Bind LaTeX Accents: No
Accente Syntax: \'{e} & \oe{}

Alpha Preferences: "TeX" Mode Features
LaTeX Accents: Yes

My test file is:

\documentclass[a4paper,12pt]
% letter
\begin{document}
Nous \'{e}tudions ici le bouclage dynamique de sortie qui est un sujet extr\^{e}mement extremement vaste. Nous nous li-mi-tons `{a} l'\'{e}nonc\'{e} d'id\'{e}es directrices et `{a} une pr\'{e}sentation tr`{e}s in\'{e}gale des r\'{e}sultats, avec beaucoup de d\'{e}tails pour certains et `{a} peine une \'{e}bauche pour d'autres.
\end{document}

After starting Alpha, I created a new file with the above content, change the mode to TeX, typed the above and recorded the file. Then Edit > Spelling > Spelcheck window flagged successively the following words,
letter Find next
extr Find next
extremement Correct
d'id Find next
tr Find next

For me letter should not be flagged because it is in a comment. The other flagged words show that TeX accents, as declared in the configuration, are not understood. Worse, the correction of extremement I get is extr\^{e}mement which is correct. But if I run the spellchecker on the corrected file, the corrected word is flagged as extr

I have noticed that the problem does not depend in the encoding. It is the same for UTF-8, OSX and ISO.

Is there a problem with my configuration or is it a problem with the spellchecker ?

Auxiliary question: how to remove "learned" words or to go back to the default dictionary ?

Thanks in advance for your help.

Discussion

  • Bernard Desgraupes

    Hi Laurent,
    I'm sorry for the lack of responsiveness but I am well aware of these bug reports about the shortcomings of spellchecking in TeX mode. This is on top of my todo list and I'll try to fix this ASAP.

     
  •  Laurent PRALY

    Laurent PRALY - 2021-04-11

    Thank you very much for your anwser. So I'll be patient :-) . Don't rush. I'll find a way around waiting for your solution

     
  • Bernard Desgraupes

    This is fixed now. Changes committed to the repository (rev. 2009).

    All reported faults are resolved in the example given. Please continue to report if you experience other issues.

    Note that in order to avoid that the word letter be flagged, you can enable the latex mode preference called Dont Spell Check Preamble.

     
  • Bernard Desgraupes

    • status: open --> fixed
     
  •  Laurent PRALY

    Laurent PRALY - 2021-05-21

    Hi Bernard
    Thank you very much. Indeed the problem seems to be solved.

    We are very fortunate to have you so efficient to take care of Alpha

    Regards
    Laurent Praly

     
  • Bernard Desgraupes

    • status: fixed --> closed
    • Version: 9.2.2 --> 9.2.3
     

Log in to post a comment.