On 24.08.2018 23:53, Paul A. Rubin wrote:
On 08/24/2018 02:23 PM, Wolfgang Engelmann wrote:
On 08/24/2018 08:00 PM, Wolfgang Engelmann wrote:
On 08/24/2018 07:06 PM, Scott Kostyshak wrote:
On Fri, Aug 24, 2018 at 11:10:33AM +0200, Wolfgang Engelmann wrote:
I reinstalled LyX under Linux and want to get its spellchecking
capability.
Hi Wolfgang,
How did you install LyX? Custom compile? If so, CMake or Autotools?
I compiled LyX 2.3.0 from source https://www.lyx.org/Download/
and used after make src/lyx to try it out. Have not yet made make
install.
If
you used a pre-compiled binary, was it from your distro's repo or from
e.g., a PPA? What Linux distribution do you use? What version of
LyX did
you install?
Does spellchecking in any language work?
no
What do you have in Tools >
Preferences > Paths > Hunspell dictionaries?
nothing yet
Where do I keep the hunspell files (English, German) under linux?
in .lyx?
It wasn't clear to me from the User guide >
Do any of the following help or is this a freshly new issue?
https://www.mail-archive.com/search?l=mid&q=201305180839.34334.engelmann%40uni-tuebingen.de
https://www.mail-archive.com/search?l=mid&q=556583B3.7070709%40uni-tuebingen.de
https://www.mail-archive.com/search?l=mid&q=55E7FE9C.7020308%40uni-tuebingen.de
https://www.mail-archive.com/search?l=mid&q=5710A7BE.7070303%40uni-tuebingen.de
Best,
Scott
Thanks for reply, Scott, and the reminders of earlier mails.
I had difficulties with installing debian stretch anew and switched
to linux-mint for the time being. Checking for build-dep lyx I got
we$ sudo apt-get build-dep lyx
[sudo] password for wolfgang:
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
There is apparently only one line in the sources list, and this is
commented out:
#deb cdrom:[Linux Mint 18.3 _Sylvia_ - Release amd64 20171127]/
xenial contrib main non-free
I got the usual official-package-repositories.list
>
deb http://packages.linuxmint.com qiana main upstream import
deb http://extra.linuxmint.com qiana main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe
multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted
universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main
restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
and tried build-dep lyx again but got
Unable to locate package build-dep
I am new to linux mint and have to find out how to proceed.
Thanks again
Wolfgang
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