Discussion:
Problem with spell checker
Jean-Marc Lasgouttes
2014-07-17 15:41:37 UTC
Permalink
Hello everyone
I'm having a problem with the spell-checker. I'm running a computer with
CentOS 6.5 installed, and I installed Lyx 2.1. However when I go in the
settings, the spell-checker option is greyed out and cannot be activated.
The strange thing is that not only a spell-checker was already installed
(hunspell from LibreOffice), but I also attempted reinstalling after
updating hunspell to the latest version with all the available dictionaries
installed.
Anyone else had this problem?
Many thanks
Hi Fabio,
LyX needs to be compiled with spellchecker support enabled (I assume
this requires the devel libraries to link against). If you are
compiling with CMake, try
-DLYX_HUNSPELL=ON -DLYX_ENCHANT=ON
for both Hunspell and Enchant.
Do you mean that cmake does not enable them by default? This is bad,
IMO. The configure script configure whatever spellcheckers it finds, and
it is possible to disable them individually.

JMarc
Scott Kostyshak
2014-07-17 15:51:24 UTC
Permalink
On Thu, Jul 17, 2014 at 11:41 AM, Jean-Marc Lasgouttes
Hello everyone
I'm having a problem with the spell-checker. I'm running a computer with
CentOS 6.5 installed, and I installed Lyx 2.1. However when I go in the
settings, the spell-checker option is greyed out and cannot be activated.
The strange thing is that not only a spell-checker was already installed
(hunspell from LibreOffice), but I also attempted reinstalling after
updating hunspell to the latest version with all the available dictionaries
installed.
Anyone else had this problem?
Many thanks
Hi Fabio,
LyX needs to be compiled with spellchecker support enabled (I assume
this requires the devel libraries to link against). If you are
compiling with CMake, try
-DLYX_HUNSPELL=ON -DLYX_ENCHANT=ON
for both Hunspell and Enchant.
Do you mean that cmake does not enable them by default? This is bad, IMO.
The configure script configure whatever spellcheckers it finds, and it is
possible to disable them individually.
I did mean that but I was mistaken (I saw the - LYX_HUNSPELL = OFF
reported at the end and thought that meant I wasn't compiling with
Hunspell, but now I see that it just means that I didn't explicitly
ask for it to compile with Hunspell).

Scott
Jean-Marc Lasgouttes
2014-07-17 15:54:36 UTC
Permalink
Post by Scott Kostyshak
Do you mean that cmake does not enable them by default? This is bad, IMO.
The configure script configure whatever spellcheckers it finds, and it is
possible to disable them individually.
I did mean that but I was mistaken (I saw the - LYX_HUNSPELL = OFF
reported at the end and thought that meant I wasn't compiling with
Hunspell, but now I see that it just means that I didn't explicitly
ask for it to compile with Hunspell).
Very good.

JMarc

Loading...