On 08/25/2018 03:33 AM, Wolfgang Engelmann wrote:
On 24.08.2018 23:53, Paul A. Rubin wrote:
Wolfgang,
I'm a Mint user. I suggest you start in the Software Manager (which
you can find in the Mint menu). Search for "Enchant" and, if not
installed, install it there. (Using the software manager rather than
Synaptic facilitates reinstalling software after a system upgrade.)
Once Enchant is installed, select it as the spellchecker engine in
the LyX preferences menu.
Enchant is actually a wrapper. It will pick the first available
spellchecker program from a prioritized list that you can customize.
I have not customized it on my system. The default list is in the
file /usr/share/enchant/enchant.ordering. In my case, the default
ordering is myspell, then aspell, then ispell (of which only aspell
is installed, so I guess that's what it uses). If you have more than
one spellchecker installed, you can give different orderings for
different languages.
If you find you do not have all the languages you need, you can go
back to the Software Manager and search for either "Hunspell" or
"Myspell", then install dictionaries from there. I'm not exactly sure
how Enchant finds the extra dictionaries, but it does. I have only
the English aspell dictionary, but I have a bunch of Hunspell
dictionaries (including German) and a few Myspell dictionaries
(including Portuguese, though I have no idea why). I just tried
typing a German sentence in a new LyX document, which defaulted to
English. Enchant flagged every word as misspelled. As soon as I
changed the document language to German, every word passed muster. So
apparently Enchant was able to find the Hunspell German dictionary.
Hope this helps,
Paul
Thanks, Paul, for all the advices. Enchant is installed. In
tools>preferences there is a selection item called Hunspell
dictionaries, but clicking on Browse does not open the browser in
contrast to all the other Browse boxes above and below it. Could this
be due to the fact, that I have not yet made make install, but work
with src/lyx for the time being?
Wolfgang
You've got me there. I never compile LyX, I just use packaged .deb
files. On my system, the drop-down list in Preferences for the
spellchecker engine contains only one entry (Enchant).
Paul