Bug 63544 - make spell checker use LaTeX babel commands to see which spell lib(s) should be used.
Summary: make spell checker use LaTeX babel commands to see which spell lib(s) should ...
Status: RESOLVED INTENTIONAL
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jeroen Wijnhout
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-01 01:10 UTC by Sander Devrieze
Modified: 2009-05-31 00:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Devrieze 2003-09-01 01:10:14 UTC
Version:            (using KDE KDE 3.1.2)

Kile would rock even more than it now already does if the spell checker can make use of the LaTeX babel commands. These commands are used for splitting rules, special characters, and maybe more things. But also the spell checker can make use of them...

Firstly you've the \usepackage[language1,language2]{babel} command in the preamble. LaTeX use this command to load the needed language stuff to compile the file. But also the spell checker can make use of it: it can be used to determine which spell lib(s) should be loaded.

Secondly you've the \selectlanguage{language} command. LaTeX use this to indicate a language change in the document. The spell checker can use this to see which spell lib is needed to check this part.

This wish has 2 advantages:
o You don't need to configure the spell lib anymore.
o You can check automagically the spelling from multi language documents in no time.

See also at http://hex.lspace.org/leo/thesis/tips/multiple-languages.html for information about these commands.
Comment 1 Jeroen Wijnhout 2003-09-05 19:20:36 UTC
Sounds interesting. I will see if I can find someone to implement this (I don't
have time in the coming months).

best,
Jeroen
Comment 2 Jeroen Wijnhout 2004-05-14 14:20:17 UTC
The new spell checking libraries will (in a way) support multi-lingual documents. However, if I'm correct this will only be available from KDE 3.3.x.

best,
Jeroen
Comment 3 Sander Devrieze 2004-06-27 18:41:33 UTC
So it works now in cvs???
Comment 4 Jeroen Wijnhout 2004-06-27 19:58:52 UTC
Well, you can switch to another dictionary while running the spell checker (you don't have to restart the spell checker anymore). So you can switch from, say German to French on the fly. However it doesn't happen automatically. Thus the wish is not implemented, but the situation has improved a little.

best,
Jeroen
Comment 5 Jeroen Wijnhout 2005-10-03 11:58:51 UTC
Closing this bug (it has been open too long without any action).

best,
Jeroen
Comment 6 Sander Devrieze 2005-10-03 17:47:00 UTC
bad :'-( ...it would have been a very useful feature.
Comment 7 Jeroen Wijnhout 2005-10-03 20:55:42 UTC
I do agree with you, but you know, time ...

best,
Jeroen
Comment 8 Sander Devrieze 2005-10-04 18:52:28 UTC
> 20:55 ------- I do agree with you, but you know, time ...


Why did you close it then? There might be others reading an unfixed bug...
Comment 9 Jeroen Wijnhout 2005-10-04 20:09:42 UTC
Well, nothing happened since 2003-09-01 ... Nobody came along until then. For me it is not practical to have many bug reports open I know I won't fix. I'm sorry about that, and you are right about it, but if somebody comes along and wants to work on Kile then I know several other bugs that need to be fixed first. I know it is not fair and all ...

best,
Jeroen
Comment 10 snvv101 2009-05-31 00:10:11 UTC
Hello,
I use xelatex and I don't have either \usepackage[language1,language2]{babel} in preable, or \selectlanguage{language} in main text.

When I set the speller to use a non-english dictionary then when I check the text it stops at all latex commands (i.e \section)

Also, I can not find a way to have inline spell checking

Regards,
snvv