Re: dictionary
Hello, I found .config/enchant/*.dic === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988| | Room# D114A === > Sent: Friday, January 28, 2022 at 5:27 PM > From: "Stephen Buonopane" > To: "Patrick Dupre" > Cc: lyx-users@lists.lyx.org > Subject: Re: dictionary > > > > On Jan 28, 2022, at 10:44 AM, Jürgen Spitzmüller via lyx-users > > wrote: > > > > Am Freitag, dem 28.01.2022 um 15:48 +0100 schrieb Patrick Dupre: > >> Here it is > >> > >> But no paths about my own dictionaries > > > > Checkout whether there are any (hidden) files starting with .aspell or > > .hunspell in your home directory (top level). > > If your operating system is able to search on content (ie spotlight on > MacOS), the following once worked for me to locate the personal dictionary... > 1) add an intentionally misspelled to your personal dictionary via LyX > 2) update content search database > 3) search for mis-spelled word > > Cheers > Steve -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
> > > On Jan 28, 2022, at 10:44 AM, Jürgen Spitzmüller via lyx-users > > wrote: > > > > Am Freitag, dem 28.01.2022 um 15:48 +0100 schrieb Patrick Dupre: > >> Here it is > >> > >> But no paths about my own dictionaries > > > > Checkout whether there are any (hidden) files starting with .aspell or > > .hunspell in your home directory (top level). > > If your operating system is able to search on content (ie spotlight on > MacOS), the following once worked for me to locate the personal dictionary... > 1) add an intentionally misspelled to your personal dictionary via LyX > 2) update content search database > 3) search for mis-spelled word > This is exactly what I have done, but without success! > Cheers > Steve -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
> On Jan 28, 2022, at 10:44 AM, Jürgen Spitzmüller via lyx-users > wrote: > > Am Freitag, dem 28.01.2022 um 15:48 +0100 schrieb Patrick Dupre: >> Here it is >> >> But no paths about my own dictionaries > > Checkout whether there are any (hidden) files starting with .aspell or > .hunspell in your home directory (top level). If your operating system is able to search on content (ie spotlight on MacOS), the following once worked for me to locate the personal dictionary... 1) add an intentionally misspelled to your personal dictionary via LyX 2) update content search database 3) search for mis-spelled word Cheers Steve -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
Am 28.01.2022 um 15:27 schrieb Patrick Dupre via lyx-users : > > OK, > > then it is enchant. > > It has been changed. In the past, I used to use ispell. Please, don’t top post! IMO, you have two options: 1. encrypt the mysteries of enchant and find it yourself, as LyX is not responsible for this operation. Read the doc here: https://abiword.github.io/enchant/ 2. Switch to a less intransparent beast and use e.g. Hunspell. BR, Stephan > Sent: Friday, January 28, 2022 at 3:15 PM > From: "Stephan Witt" > To: "Patrick Dupre" > Cc: lyx-users@lists.lyx.org > Subject: Re: dictionary > Am 28.01.2022 um 15:00 schrieb Patrick Dupre via lyx-users > : > > It is really msyterious: > > These what is installed: > > hunspell-en-GB-0.20140811.1-18.fc34.noarch > aspell-fr-0.50-33.fc34.x86_64 > hunspell-1.7.0-9.fc34.x86_64 > gtkspell3-3.0.10-7.fc34.x86_64 > gspell-1.9.1-1.fc34.x86_64 > hunspell-fr-6.2-7.fc34.noarch > aspell-en-2020.12.07-2.fc34.x86_64 > hunspell-filesystem-1.7.0-9.fc34.x86_64 > hunspell-en-0.20140811.1-18.fc34.noarch > hunspell-en-US-0.20140811.1-18.fc34.noarch > gtkspell-2.0.16-23.fc34.x86_64 > aspell-0.60.8-7.fc34.x86_64 > texlive-numspell-svn45441-39.fc34.noarch > > > but lyx does not seem to detect any of them > > I am attaching the configure.lyx file > > Please check your LyX settings and tell me your configuration. E.g., I’m > using the Apple speller (native) on Mac. This is a system service and the > local dictionary is hidden. > > > > What’s your setting? > > Stephan > > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
No, Except old (2020) .aspell.fr.prepl .aspell.fr.pws .aspell.en.prepl .aspell.en.pws Almost empty personal_ws-1.1 fr 0 === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988| | Room# D114A === > Sent: Friday, January 28, 2022 at 4:44 PM > From: "Jürgen Spitzmüller" > To: "Patrick Dupre" > Cc: lyx-users@lists.lyx.org > Subject: Re: dictionary > > Am Freitag, dem 28.01.2022 um 15:48 +0100 schrieb Patrick Dupre: > > Here it is > > > > But no paths about my own dictionaries > > Checkout whether there are any (hidden) files starting with .aspell or > .hunspell in your home directory (top level). > > HTH, > Jürgen > > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
Am Freitag, dem 28.01.2022 um 15:48 +0100 schrieb Patrick Dupre: > Here it is > > But no paths about my own dictionaries Checkout whether there are any (hidden) files starting with .aspell or .hunspell in your home directory (top level). HTH, Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
Am Freitag, dem 28.01.2022 um 15:29 +0100 schrieb Patrick Dupre via lyx-users: > I used to add "plenty" of words. And there are available from > spell checking to spell checking > > Thus, I really have dictionaries, but I cannot find where! Look at Tools > Preferences > Paths. There is a path specified for Hunspell Dictionaries. Check whether the dictionaries are in that very path. HTH, Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
I used to add "plenty" of words. And there are available from spell checking to spell checking Thus, I really have dictionaries, but I cannot find where! === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988| | Room# D114A === > Sent: Friday, January 28, 2022 at 3:22 PM > From: "Rich Shepard via lyx-users" > To: lyx-users@lists.lyx.org > Subject: Re: dictionary > > On Fri, 28 Jan 2022, Patrick Dupre wrote: > > > Unfortunately, the answer is negative. > > Patrick, > > Then you apparently have no personal word list/dictionary. On my system I > have: > $ find . -name pwl*.dict > ./.lyx/pwl_american.dict > ./.lyx/pwl_english.dict > > When you check spelling in a document have you ever added a new word that's > not in the default dictionary? I believe that creates and uses a pwl; others > will tell you if I'm wrong. > > Good luck, > > Rich > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
On Fri, 28 Jan 2022, Patrick Dupre wrote: Unfortunately, the answer is negative. Patrick, Then you apparently have no personal word list/dictionary. On my system I have: $ find . -name pwl*.dict ./.lyx/pwl_american.dict ./.lyx/pwl_english.dict When you check spelling in a document have you ever added a new word that's not in the default dictionary? I believe that creates and uses a pwl; others will tell you if I'm wrong. Good luck, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
It is really msyterious: These what is installed: hunspell-en-GB-0.20140811.1-18.fc34.noarch aspell-fr-0.50-33.fc34.x86_64 hunspell-1.7.0-9.fc34.x86_64 gtkspell3-3.0.10-7.fc34.x86_64 gspell-1.9.1-1.fc34.x86_64 hunspell-fr-6.2-7.fc34.noarch aspell-en-2020.12.07-2.fc34.x86_64 hunspell-filesystem-1.7.0-9.fc34.x86_64 hunspell-en-0.20140811.1-18.fc34.noarch hunspell-en-US-0.20140811.1-18.fc34.noarch gtkspell-2.0.16-23.fc34.x86_64 aspell-0.60.8-7.fc34.x86_64 texlive-numspell-svn45441-39.fc34.noarch but lyx does not seem to detect any of them I am attaching the configure.lyx file I have 4 aspell files .aspell.fr.prepl .aspell.fr.pws .aspell.en.prepl .aspell.en.pws But there all old. > > Hello, > > > > Where his my own dictionary (that one that I use when I make "add") ? > > Hello Patrick, > > the answer depends on the spell checker engine you’re using. > > The options are aspell, hunspell, enchant and the Apple speller. Not all are > available on all platforms. Please check your settings and tell which one > you’re using. > > BR, Stephan > > > > > Thanks > > > > === > > Patrick DUPRÉ | | email: pdu...@gmx.com > > Laboratoire interdisciplinaire Carnot de Bourgogne > > 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE > > Tel: +33 (0)380395988| | Room# D114A > > === > > > > -- > > lyx-users mailing list > > lyx-users@lists.lyx.org > > http://lists.lyx.org/mailman/listinfo/lyx-users > > config Description: Binary data -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
On 28-Jan-22 4:48 PM, Daniel via lyx-users wrote: On 28/01/2022 11:08, Daniel via lyx-users wrote: On 28/01/2022 10:42, Baris Erkus via lyx-users wrote: On 28-Jan-22 12:34 PM, Patrick Dupre via lyx-users wrote: Hello, Where his my own dictionary (that one that I use when I make "add") ? It is the pwl_x.dict file, where x is the language, under the LyX user directory. You can find the user directory on the About LyX window under help. E.g. pwl_english.dict pwl means personal word list, btw. There is no such (or similar) file on Windows 10 in my user directory... Okay, after adding a word to the personal dictionary *and* closing LyX, there is the file in the user directory! Everybody calm down. Just a false alarm... Ha ha ha : ) -- ↓↓ Please bottom-post. Start your reply here: -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
On 28/01/2022 11:08, Daniel via lyx-users wrote: On 28/01/2022 10:42, Baris Erkus via lyx-users wrote: On 28-Jan-22 12:34 PM, Patrick Dupre via lyx-users wrote: Hello, Where his my own dictionary (that one that I use when I make "add") ? It is the pwl_x.dict file, where x is the language, under the LyX user directory. You can find the user directory on the About LyX window under help. E.g. pwl_english.dict pwl means personal word list, btw. There is no such (or similar) file on Windows 10 in my user directory... Okay, after adding a word to the personal dictionary *and* closing LyX, there is the file in the user directory! -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
Am 28.01.2022 um 10:34 schrieb Patrick Dupre via lyx-users : > > Hello, > > Where his my own dictionary (that one that I use when I make "add") ? Hello Patrick, the answer depends on the spell checker engine you’re using. The options are aspell, hunspell, enchant and the Apple speller. Not all are available on all platforms. Please check your settings and tell which one you’re using. BR, Stephan > > Thanks > > === > Patrick DUPRÉ | | email: pdu...@gmx.com > Laboratoire interdisciplinaire Carnot de Bourgogne > 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE > Tel: +33 (0)380395988| | Room# D114A > === > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
> > On Fri, 28 Jan 2022, Patrick Dupre via lyx-users wrote: > > > It is where I expected > > ~/.lyx > > I run linux > > But I do not see: > > Patrick, > > From your home directory (~/) use the command > find . -name pwl*.dict > and it should show you the location of all dictionaries. > > HTH, > > Rich > -- Rich, Unfortunately, the answer is negative. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
On 28-Jan-22 1:08 PM, Daniel via lyx-users wrote: On 28/01/2022 10:42, Baris Erkus via lyx-users wrote: On 28-Jan-22 12:34 PM, Patrick Dupre via lyx-users wrote: Hello, Where his my own dictionary (that one that I use when I make "add") ? It is the pwl_x.dict file, where x is the language, under the LyX user directory. You can find the user directory on the About LyX window under help. E.g. pwl_english.dict pwl means personal word list, btw. There is no such (or similar) file on Windows 10 in my user directory... Funny. The folder that I have is : C:\Users\[UserName]\AppData\Roaming\LyX2.4\ -- ↓↓ Please bottom-post. Start your reply here: -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
On Fri, 28 Jan 2022, Patrick Dupre via lyx-users wrote: It is where I expected ~/.lyx I run linux But I do not see: Patrick, From your home directory (~/) use the command find . -name pwl*.dict and it should show you the location of all dictionaries. HTH, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
On 28/01/2022 10:42, Baris Erkus via lyx-users wrote: On 28-Jan-22 12:34 PM, Patrick Dupre via lyx-users wrote: Hello, Where his my own dictionary (that one that I use when I make "add") ? It is the pwl_x.dict file, where x is the language, under the LyX user directory. You can find the user directory on the About LyX window under help. E.g. pwl_english.dict pwl means personal word list, btw. There is no such (or similar) file on Windows 10 in my user directory... -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
Thanks, It is where I expected ~/.lyx I run linux But I do not see: session . lyxpipe.in lyxpipe.out cache .. configure.log lyxrc.defaults packages.lst textclass.lst xtemplates.lst lyxciteengines.lst lyxmodules.lst cbxFiles.lst bbxFiles.lst bibFiles.lst bstFiles.lst styFiles.lst clsFiles.lst preferences bind .lyx_configure_lock clipart doc examples images kbd layouts scripts templates ui === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988| | Room# D114A === > Sent: Friday, January 28, 2022 at 10:42 AM > From: "Baris Erkus via lyx-users" > To: lyx-users@lists.lyx.org > Subject: Re: dictionary > > > On 28-Jan-22 12:34 PM, Patrick Dupre via lyx-users wrote: > > Hello, > > > > Where his my own dictionary (that one that I use when I make "add") ? > > > It is the pwl_x.dict file, where x is the language, under the > LyX user directory. You can find the user directory on the About LyX > window under help. > > E.g. pwl_english.dict > > pwl means personal word list, btw. > > -- > > ↓↓ > Please bottom-post. Start your reply here: > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
On 28-Jan-22 12:34 PM, Patrick Dupre via lyx-users wrote: Hello, Where his my own dictionary (that one that I use when I make "add") ? It is the pwl_x.dict file, where x is the language, under the LyX user directory. You can find the user directory on the About LyX window under help. E.g. pwl_english.dict pwl means personal word list, btw. -- ↓↓ Please bottom-post. Start your reply here: -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: dictionary
Am Sonntag, 18. November 2018 16:29:23 CET schrieb Patrick Dupre : > > > > Am Sonntag, 18. November 2018 15:30:47 CET schrieb Patrick Dupre > > : > > > > > > > > > > > Am Sonntag, 18. November 2018 14:26:07 CET schrieb Patrick Dupre > > > > : > > > > > Hello, > > > > > > > > > > It seems in the last version the dictinaries are not updaded. > > > > > I anticipate an update when I "add" from the spellchecker. > > > > > But the .lyx/*.dict remain unchanged. > > > > > > > > > > === > > > > > Patrick DUPRÉ | | email: > > > > > pdu...@gmx.com > > > > > Laboratoire de Physico-Chimie de l'Atmosphère | | > > > > > Université du Littoral-Côte d'Opale | | > > > > > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > > > > > 189A, avenue Maurice Schumann | | 59140 Dunkerque, > > > > > France > > > > > === > > > > > > > > > > > > > Have you checked _after_ the end of the lyx session? > > > Yes. > > > No update > > > > > > > > Kornel > > > > > > > > > > > Do you use enchant? Could you check ~/.config/enchant/*.dic? > > > OK, those have been updated. > Why did it switch to other dictionaries? It was you switching to enchant. > I lost the use of my previous dictionaries. > > Thank. > It is editable text file. You could add the words from your other dictionaries with any text editor. Kornel signature.asc Description: This is a digitally signed message part.
Re: dictionary
> > Am Sonntag, 18. November 2018 15:30:47 CET schrieb Patrick Dupre > : > > > > > > > > Am Sonntag, 18. November 2018 14:26:07 CET schrieb Patrick Dupre > > > : > > > > Hello, > > > > > > > > It seems in the last version the dictinaries are not updaded. > > > > I anticipate an update when I "add" from the spellchecker. > > > > But the .lyx/*.dict remain unchanged. > > > > > > > > === > > > > Patrick DUPRÉ | | email: pdu...@gmx.com > > > > Laboratoire de Physico-Chimie de l'Atmosphère | | > > > > Université du Littoral-Côte d'Opale | | > > > > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > > > > 189A, avenue Maurice Schumann | | 59140 Dunkerque, > > > > France > > > > === > > > > > > > > > > Have you checked _after_ the end of the lyx session? > > Yes. > > No update > > > > > > Kornel > > > > > > > Do you use enchant? Could you check ~/.config/enchant/*.dic? > OK, those have been updated. Why did it switch to other dictionaries? I lost the use of my previous dictionaries. Thank.
Re: dictionary
Am Sonntag, 18. November 2018 15:30:47 CET schrieb Patrick Dupre : > > > > > Am Sonntag, 18. November 2018 14:26:07 CET schrieb Patrick Dupre > > : > > > Hello, > > > > > > It seems in the last version the dictinaries are not updaded. > > > I anticipate an update when I "add" from the spellchecker. > > > But the .lyx/*.dict remain unchanged. > > > > > > === > > > Patrick DUPRÉ | | email: pdu...@gmx.com > > > Laboratoire de Physico-Chimie de l'Atmosphère | | > > > Université du Littoral-Côte d'Opale | | > > > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > > > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > > > === > > > > > > > Have you checked _after_ the end of the lyx session? > Yes. > No update > > > > Kornel > > > Do you use enchant? Could you check ~/.config/enchant/*.dic? Kornel signature.asc Description: This is a digitally signed message part.
Re: dictionary
> > Am Sonntag, 18. November 2018 14:26:07 CET schrieb Patrick Dupre > : > > Hello, > > > > It seems in the last version the dictinaries are not updaded. > > I anticipate an update when I "add" from the spellchecker. > > But the .lyx/*.dict remain unchanged. > > > > === > > Patrick DUPRÉ | | email: pdu...@gmx.com > > Laboratoire de Physico-Chimie de l'Atmosphère | | > > Université du Littoral-Côte d'Opale | | > > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > > === > > > > Have you checked _after_ the end of the lyx session? Yes. No update > > Kornel >
Re: dictionary
Am Sonntag, 18. November 2018 14:26:07 CET schrieb Patrick Dupre : > Hello, > > It seems in the last version the dictinaries are not updaded. > I anticipate an update when I "add" from the spellchecker. > But the .lyx/*.dict remain unchanged. > > === > Patrick DUPRÉ | | email: pdu...@gmx.com > Laboratoire de Physico-Chimie de l'Atmosphère | | > Université du Littoral-Côte d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > === > Have you checked _after_ the end of the lyx session? Kornel signature.asc Description: This is a digitally signed message part.
Re: dictionary not found
hello Stephan, the problem that I have is that Lyx not recognize hunspell, and the hunspell path in preferences is greyed.At the present moment lyx recognize aspell and enchant.Aspell say that no found dictionaries, but enchant work. The only problem is that enchant not recognize my personal dictionary. RegardsMarcelo El Miércoles, 5 de noviembre, 2014 10:31:04, Stephan Witt st.w...@gmx.net escribió: Am 05.11.2014 um 14:10 schrieb Marcelo Acuña marceloacu...@yahoo.com: I get a partial solution. After several attempts by uninstalling and reinstalling all translators, dictionaries and libraries and recompile lyx every time, now lyx recognize enchant and aspell well, which did not have before. Aspell remain saying not have dictionaries but enchant work ok. Now I have the problem that enchant not take my personalized dictionaries. I put my dictionaries in home/user but enchant deletes when I start the spellchecker. Any idea? Marcelo, why don't you answer my proposal to set the path in preferences? Didn't it work? As I've said already enchant has no good support in LyX. I cannot help you with enchant trouble shooting. Perhaps some other user can help you. Stephan El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt st.w...@gmx.net escribió: Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3) = 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)
Re: dictionary not found
Am 12.11.2014 um 19:03 schrieb Marcelo Acuña marceloacu...@yahoo.com: hello Stephan, the problem that I have is that Lyx not recognize hunspell, and the hunspell path in preferences is greyed. Hi Marcelo, the path is disabled if LyX is build without hunspell support. You said in a previous mail you installed the libraries - perhaps you didn't install the devel package for hunspell. This should result in a LyX binary with hunspell support. Stephan At the present moment lyx recognize aspell and enchant. Aspell say that no found dictionaries, but enchant work. The only problem is that enchant not recognize my personal dictionary. Regards Marcelo El Miércoles, 5 de noviembre, 2014 10:31:04, Stephan Witt st.w...@gmx.net escribió: Am 05.11.2014 um 14:10 schrieb Marcelo Acuña marceloacu...@yahoo.com: I get a partial solution. After several attempts by uninstalling and reinstalling all translators, dictionaries and libraries and recompile lyx every time, now lyx recognize enchant and aspell well, which did not have before. Aspell remain saying not have dictionaries but enchant work ok. Now I have the problem that enchant not take my personalized dictionaries. I put my dictionaries in home/user but enchant deletes when I start the spellchecker. Any idea? Marcelo, why don't you answer my proposal to set the path in preferences? Didn't it work? As I've said already enchant has no good support in LyX. I cannot help you with enchant trouble shooting. Perhaps some other user can help you. Stephan El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt st.w...@gmx.net escribió: Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832
Re: dictionary not found
hello Stephan, the problem that I have is that Lyx not recognize hunspell, and the hunspell path in preferences is greyed.At the present moment lyx recognize aspell and enchant.Aspell say that no found dictionaries, but enchant work. The only problem is that enchant not recognize my personal dictionary. RegardsMarcelo El Miércoles, 5 de noviembre, 2014 10:31:04, Stephan Witt st.w...@gmx.net escribió: Am 05.11.2014 um 14:10 schrieb Marcelo Acuña marceloacu...@yahoo.com: I get a partial solution. After several attempts by uninstalling and reinstalling all translators, dictionaries and libraries and recompile lyx every time, now lyx recognize enchant and aspell well, which did not have before. Aspell remain saying not have dictionaries but enchant work ok. Now I have the problem that enchant not take my personalized dictionaries. I put my dictionaries in home/user but enchant deletes when I start the spellchecker. Any idea? Marcelo, why don't you answer my proposal to set the path in preferences? Didn't it work? As I've said already enchant has no good support in LyX. I cannot help you with enchant trouble shooting. Perhaps some other user can help you. Stephan El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt st.w...@gmx.net escribió: Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3) = 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)
Re: dictionary not found
Am 12.11.2014 um 19:03 schrieb Marcelo Acuña marceloacu...@yahoo.com: hello Stephan, the problem that I have is that Lyx not recognize hunspell, and the hunspell path in preferences is greyed. Hi Marcelo, the path is disabled if LyX is build without hunspell support. You said in a previous mail you installed the libraries - perhaps you didn't install the devel package for hunspell. This should result in a LyX binary with hunspell support. Stephan At the present moment lyx recognize aspell and enchant. Aspell say that no found dictionaries, but enchant work. The only problem is that enchant not recognize my personal dictionary. Regards Marcelo El Miércoles, 5 de noviembre, 2014 10:31:04, Stephan Witt st.w...@gmx.net escribió: Am 05.11.2014 um 14:10 schrieb Marcelo Acuña marceloacu...@yahoo.com: I get a partial solution. After several attempts by uninstalling and reinstalling all translators, dictionaries and libraries and recompile lyx every time, now lyx recognize enchant and aspell well, which did not have before. Aspell remain saying not have dictionaries but enchant work ok. Now I have the problem that enchant not take my personalized dictionaries. I put my dictionaries in home/user but enchant deletes when I start the spellchecker. Any idea? Marcelo, why don't you answer my proposal to set the path in preferences? Didn't it work? As I've said already enchant has no good support in LyX. I cannot help you with enchant trouble shooting. Perhaps some other user can help you. Stephan El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt st.w...@gmx.net escribió: Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832
Re: dictionary not found
hello Stephan, the problem that I have is that Lyx not recognize hunspell, and the hunspell path in preferences is greyed.At the present moment lyx recognize aspell and enchant.Aspell say that no found dictionaries, but enchant work. The only problem is that enchant not recognize my personal dictionary. RegardsMarcelo El Miércoles, 5 de noviembre, 2014 10:31:04, Stephan Wittescribió: Am 05.11.2014 um 14:10 schrieb Marcelo Acuña : > I get a partial solution. > After several attempts by uninstalling and reinstalling all translators, > dictionaries and libraries and recompile lyx every time, now lyx recognize > enchant and aspell well, which did not have before. Aspell remain saying not > have dictionaries but enchant work ok. > Now I have the problem that enchant not take my personalized dictionaries. > I put my dictionaries in home/user but enchant deletes when I start the > spellchecker. > Any idea? Marcelo, why don't you answer my proposal to set the path in preferences? Didn't it work? As I've said already enchant has no good support in LyX. I cannot help you with enchant trouble shooting. Perhaps some other user can help you. Stephan > > > El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt > escribió: > > > > Am 04.11.2014 um 17:27 schrieb Marcelo Acuña : > >> Stephan: >> "Which spell checker has a spanish dictionary?" >> ispell, aspell, myspell > > myspell is the the only usable package in your scenario. In fact it's > hunspell. The debian package puts the dictionaries into /usr/share/hunspell. > (At least the package contents here says so: > https://packages.debian.org/wheezy/all/myspell-es/filelist) > > So you may enter the mentioned path into your preferences and see if it > works. > > Stephan > >> >> "LyX has to be compiled with hunspell support. That's enough." >> >> Yes. I installed all lib and necesary modules for enchant and hunspell, when >> I run ./configure I get all the messages that say enchant and hunspell are >> ready. >> >> Marcelo >> >> El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt >> escribió: >> >> >> Am 03.11.2014 um 16:19 schrieb Marcelo Acuña : >> >> > The problem with hunspell is that debian no have spanish dictionary for >> > hunspell. >> >> Then you have to grab them from other source. >> >> Which spell checker has a spanish dictionary? >> >> > Plus I installed hunspell but is not recongized by lyx 2.1.x. >> >> LyX has to be compiled with hunspell support. That's enough. >> And you has to point it to the dictionaries if you have put them >> to a non-standard place (/usr/share/myspell is standard for LyX). >> >> Stephan >> >> >> > El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt >> > escribió: >> > >> > >> > Am 03.11.2014 um 05:41 schrieb John Coppens : >> > >> > > On Sun, 2 Nov 2014 22:43:17 +0100 >> > > Stephan Witt wrote: >> > > >> > >> Can you try the Hunspell package, please? >> > >> Enchant support in LyX 2.1 is not very good. >> > > >> > > I have exactly the same problem with hunspell. I compiled and installed >> > > it, >> > > added en_US and es_ES dictionaries, and tested it on a couple of text >> > > files from the console - no problem. >> > > >> > > When I start it from LyX, I get the message "Spellchecker has no >> > > dictionaries" >> > >> > So, the dictionaries are not found. >> > >> > The hunspell backend is better prepared for this situation, though. >> > You can open the message pane (in View menu) and enable debug messages >> > for "Files used by LyX". Then make sure you've enabled the Hunspell >> > checker in preferences. Now you can start the spell check and you'll see >> > the files/directories LyX is looking for dictionaries in message pane. >> > >> > > Strange: I configured Hunspell in LyX and did an strace. In the strace >> > > output I found: >> > > >> > > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3 >> > > read(3, >> > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., >> > > 832) = 832 >> > > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 >> > > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, >> > > 0) = 0x7ff13f128000 >> > > mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 >> > > mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, >> > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 >> > > close(3) = 0 >> > > >> > > open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3 >> > > read(3, >> > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., >> > > 832) = 832 >> > > fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 >> > > mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, >> > > 0) =
Re: dictionary not found
> Am 12.11.2014 um 19:03 schrieb Marcelo Acuña: > > hello Stephan, > the problem that I have is that Lyx not recognize hunspell, and the hunspell > path in preferences is greyed. Hi Marcelo, the path is disabled if LyX is build without hunspell support. You said in a previous mail you installed the libraries - perhaps you didn't install the devel package for hunspell. This should result in a LyX binary with hunspell support. Stephan > At the present moment lyx recognize aspell and enchant. > Aspell say that no found dictionaries, but enchant work. > The only problem is that enchant not recognize my personal dictionary. > > Regards > Marcelo > > > El Miércoles, 5 de noviembre, 2014 10:31:04, Stephan Witt > escribió: > > > Am 05.11.2014 um 14:10 schrieb Marcelo Acuña : > > > I get a partial solution. > > After several attempts by uninstalling and reinstalling all translators, > > dictionaries and libraries and recompile lyx every time, now lyx recognize > > enchant and aspell well, which did not have before. Aspell remain saying > > not have dictionaries but enchant work ok. > > Now I have the problem that enchant not take my personalized dictionaries. > > I put my dictionaries in home/user but enchant deletes when I start the > > spellchecker. > > Any idea? > > Marcelo, > > why don't you answer my proposal to set the path in preferences? Didn't it > work? > > As I've said already enchant has no good support in LyX. > I cannot help you with enchant trouble shooting. > Perhaps some other user can help you. > > Stephan > > > > > > > > El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt > > escribió: > > > > > > > > Am 04.11.2014 um 17:27 schrieb Marcelo Acuña : > > > >> Stephan: > >> "Which spell checker has a spanish dictionary?" > >> ispell, aspell, myspell > > > > myspell is the the only usable package in your scenario. In fact it's > > hunspell. The debian package puts the dictionaries into > > /usr/share/hunspell. (At least the package contents here says so: > > https://packages.debian.org/wheezy/all/myspell-es/filelist) > > > > So you may enter the mentioned path into your preferences and see if it > > works. > > > > Stephan > > > >> > >> "LyX has to be compiled with hunspell support. That's enough." > >> > >> Yes. I installed all lib and necesary modules for enchant and hunspell, > >> when I run ./configure I get all the messages that say enchant and > >> hunspell are ready. > >> > >> Marcelo > >> > >> El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt > >> escribió: > >> > >> > >> Am 03.11.2014 um 16:19 schrieb Marcelo Acuña : > >> > >> > The problem with hunspell is that debian no have spanish dictionary for > >> > hunspell. > >> > >> Then you have to grab them from other source. > >> > >> Which spell checker has a spanish dictionary? > >> > >> > Plus I installed hunspell but is not recongized by lyx 2.1.x. > >> > >> LyX has to be compiled with hunspell support. That's enough. > >> And you has to point it to the dictionaries if you have put them > >> to a non-standard place (/usr/share/myspell is standard for LyX). > >> > >> Stephan > >> > >> > >> > El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt > >> > escribió: > >> > > >> > > >> > Am 03.11.2014 um 05:41 schrieb John Coppens : > >> > > >> > > On Sun, 2 Nov 2014 22:43:17 +0100 > >> > > Stephan Witt wrote: > >> > > > >> > >> Can you try the Hunspell package, please? > >> > >> Enchant support in LyX 2.1 is not very good. > >> > > > >> > > I have exactly the same problem with hunspell. I compiled and > >> > > installed it, > >> > > added en_US and es_ES dictionaries, and tested it on a couple of text > >> > > files from the console - no problem. > >> > > > >> > > When I start it from LyX, I get the message "Spellchecker has no > >> > > dictionaries" > >> > > >> > So, the dictionaries are not found. > >> > > >> > The hunspell backend is better prepared for this situation, though. > >> > You can open the message pane (in View menu) and enable debug messages > >> > for "Files used by LyX". Then make sure you've enabled the Hunspell > >> > checker in preferences. Now you can start the spell check and you'll see > >> > the files/directories LyX is looking for dictionaries in message pane. > >> > > >> > > Strange: I configured Hunspell in LyX and did an strace. In the strace > >> > > output I found: > >> > > > >> > > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3 > >> > > read(3, > >> > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., > >> > > 832) = 832 > >> > > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 > >> > > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, > >> > > 0) =
Re: dictionary not found
I get a partial solution.After several attempts by uninstalling and reinstalling all translators, dictionaries and libraries and recompile lyx every time, now lyx recognize enchant and aspell well, which did not have before. Aspell remain saying not have dictionaries but enchant work ok.Now I have the problem that enchant not take my personalized dictionaries.I put my dictionaries in home/user but enchant deletes when I start the spellchecker.Any idea? El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt st.w...@gmx.net escribió: Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3) = 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3) = 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
Am 05.11.2014 um 14:10 schrieb Marcelo Acuña marceloacu...@yahoo.com: I get a partial solution. After several attempts by uninstalling and reinstalling all translators, dictionaries and libraries and recompile lyx every time, now lyx recognize enchant and aspell well, which did not have before. Aspell remain saying not have dictionaries but enchant work ok. Now I have the problem that enchant not take my personalized dictionaries. I put my dictionaries in home/user but enchant deletes when I start the spellchecker. Any idea? Marcelo, why don't you answer my proposal to set the path in preferences? Didn't it work? As I've said already enchant has no good support in LyX. I cannot help you with enchant trouble shooting. Perhaps some other user can help you. Stephan El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt st.w...@gmx.net escribió: Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)= 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this.
Re: dictionary not found
I get a partial solution.After several attempts by uninstalling and reinstalling all translators, dictionaries and libraries and recompile lyx every time, now lyx recognize enchant and aspell well, which did not have before. Aspell remain saying not have dictionaries but enchant work ok.Now I have the problem that enchant not take my personalized dictionaries.I put my dictionaries in home/user but enchant deletes when I start the spellchecker.Any idea? El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt st.w...@gmx.net escribió: Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3) = 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3) = 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
Am 05.11.2014 um 14:10 schrieb Marcelo Acuña marceloacu...@yahoo.com: I get a partial solution. After several attempts by uninstalling and reinstalling all translators, dictionaries and libraries and recompile lyx every time, now lyx recognize enchant and aspell well, which did not have before. Aspell remain saying not have dictionaries but enchant work ok. Now I have the problem that enchant not take my personalized dictionaries. I put my dictionaries in home/user but enchant deletes when I start the spellchecker. Any idea? Marcelo, why don't you answer my proposal to set the path in preferences? Didn't it work? As I've said already enchant has no good support in LyX. I cannot help you with enchant trouble shooting. Perhaps some other user can help you. Stephan El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt st.w...@gmx.net escribió: Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)= 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this.
Re: dictionary not found
I get a partial solution.After several attempts by uninstalling and reinstalling all translators, dictionaries and libraries and recompile lyx every time, now lyx recognize enchant and aspell well, which did not have before. Aspell remain saying not have dictionaries but enchant work ok.Now I have the problem that enchant not take my personalized dictionaries.I put my dictionaries in home/user but enchant deletes when I start the spellchecker.Any idea? El Martes, 4 de noviembre, 2014 16:12:04, Stephan Wittescribió: Am 04.11.2014 um 17:27 schrieb Marcelo Acuña : Stephan: "Which spell checker has a spanish dictionary?" ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan "LyX has to be compiled with hunspell support. That's enough." Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña : > The problem with hunspell is that debian no have spanish dictionary for > hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? > Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan > El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt > escribió: > > > Am 03.11.2014 um 05:41 schrieb John Coppens : > > > On Sun, 2 Nov 2014 22:43:17 +0100 > > Stephan Witt wrote: > > > >> Can you try the Hunspell package, please? > >> Enchant support in LyX 2.1 is not very good. > > > > I have exactly the same problem with hunspell. I compiled and installed it, > > added en_US and es_ES dictionaries, and tested it on a couple of text > > files from the console - no problem. > > > > When I start it from LyX, I get the message "Spellchecker has no > > dictionaries" > > So, the dictionaries are not found. > > The hunspell backend is better prepared for this situation, though. > You can open the message pane (in View menu) and enable debug messages > for "Files used by LyX". Then make sure you've enabled the Hunspell > checker in preferences. Now you can start the spell check and you'll see > the files/directories LyX is looking for dictionaries in message pane. > > > Strange: I configured Hunspell in LyX and did an strace. In the strace > > output I found: > > > > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3 > > read(3, > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., 832) > > = 832 > > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 > > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > > 0x7ff13f128000 > > mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 > > mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 > > close(3) = 0 > > > > open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3 > > read(3, > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., > > 832) = 832 > > fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 > > mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > > 0x7ff13ee68000 > > mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 > > mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 > > mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 > > close(3) = 0 > > > > Why is aspell called after hunspell? > > You're using LyX with backend support for more than one spell checker. > Every spell checker comes with it's own shared library. > These open calls are made on program startup to resolve the library function > addresses. > Your strace output doesn't indicate any function call... > > > No other hunspell directory or file is opened after this. Several > > aspell/enchant directories *are* opened. > > Where? What is an enchant directory? > > > Stephan > >
Re: dictionary not found
Am 05.11.2014 um 14:10 schrieb Marcelo Acuña: > I get a partial solution. > After several attempts by uninstalling and reinstalling all translators, > dictionaries and libraries and recompile lyx every time, now lyx recognize > enchant and aspell well, which did not have before. Aspell remain saying not > have dictionaries but enchant work ok. > Now I have the problem that enchant not take my personalized dictionaries. > I put my dictionaries in home/user but enchant deletes when I start the > spellchecker. > Any idea? Marcelo, why don't you answer my proposal to set the path in preferences? Didn't it work? As I've said already enchant has no good support in LyX. I cannot help you with enchant trouble shooting. Perhaps some other user can help you. Stephan > > > El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt > escribió: > > > > Am 04.11.2014 um 17:27 schrieb Marcelo Acuña : > >> Stephan: >> "Which spell checker has a spanish dictionary?" >> ispell, aspell, myspell > > myspell is the the only usable package in your scenario. In fact it's > hunspell. The debian package puts the dictionaries into /usr/share/hunspell. > (At least the package contents here says so: > https://packages.debian.org/wheezy/all/myspell-es/filelist) > > So you may enter the mentioned path into your preferences and see if it > works. > > Stephan > >> >> "LyX has to be compiled with hunspell support. That's enough." >> >> Yes. I installed all lib and necesary modules for enchant and hunspell, when >> I run ./configure I get all the messages that say enchant and hunspell are >> ready. >> >> Marcelo >> >> El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt >> escribió: >> >> >> Am 03.11.2014 um 16:19 schrieb Marcelo Acuña : >> >> > The problem with hunspell is that debian no have spanish dictionary for >> > hunspell. >> >> Then you have to grab them from other source. >> >> Which spell checker has a spanish dictionary? >> >> > Plus I installed hunspell but is not recongized by lyx 2.1.x. >> >> LyX has to be compiled with hunspell support. That's enough. >> And you has to point it to the dictionaries if you have put them >> to a non-standard place (/usr/share/myspell is standard for LyX). >> >> Stephan >> >> >> > El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt >> > escribió: >> > >> > >> > Am 03.11.2014 um 05:41 schrieb John Coppens : >> > >> > > On Sun, 2 Nov 2014 22:43:17 +0100 >> > > Stephan Witt wrote: >> > > >> > >> Can you try the Hunspell package, please? >> > >> Enchant support in LyX 2.1 is not very good. >> > > >> > > I have exactly the same problem with hunspell. I compiled and installed >> > > it, >> > > added en_US and es_ES dictionaries, and tested it on a couple of text >> > > files from the console - no problem. >> > > >> > > When I start it from LyX, I get the message "Spellchecker has no >> > > dictionaries" >> > >> > So, the dictionaries are not found. >> > >> > The hunspell backend is better prepared for this situation, though. >> > You can open the message pane (in View menu) and enable debug messages >> > for "Files used by LyX". Then make sure you've enabled the Hunspell >> > checker in preferences. Now you can start the spell check and you'll see >> > the files/directories LyX is looking for dictionaries in message pane. >> > >> > > Strange: I configured Hunspell in LyX and did an strace. In the strace >> > > output I found: >> > > >> > > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3 >> > > read(3, >> > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., >> > > 832) = 832 >> > > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 >> > > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, >> > > 0) = 0x7ff13f128000 >> > > mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 >> > > mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, >> > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 >> > > close(3)= 0 >> > > >> > > open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3 >> > > read(3, >> > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., >> > > 832) = 832 >> > > fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 >> > > mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, >> > > 0) = 0x7ff13ee68000 >> > > mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 >> > > mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, >> > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 >> > > mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, >> > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 >> > > close(3)= 0 >> > > >> > > Why is aspell called after hunspell?
Re: dictionary not found
Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3) = 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3) = 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo
Re: dictionary not found
Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3) = 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3) = 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
Am 04.11.2014 um 17:27 schrieb Marcelo Acuña marceloacu...@yahoo.com: Stephan: Which spell checker has a spanish dictionary? ispell, aspell, myspell myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan LyX has to be compiled with hunspell support. That's enough. Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo
Re: dictionary not found
Stephan: "Which spell checker has a spanish dictionary?" ispell, aspell, myspell "LyX has to be compiled with hunspell support. That's enough." Yes. I installed all lib and necesary modules for enchant and hunspell, when I run ./configure I get all the messages that say enchant and hunspell are ready. Marcelo El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Wittescribió: Am 03.11.2014 um 16:19 schrieb Marcelo Acuña : > The problem with hunspell is that debian no have spanish dictionary for > hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? > Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan > El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt > escribió: > > > Am 03.11.2014 um 05:41 schrieb John Coppens : > > > On Sun, 2 Nov 2014 22:43:17 +0100 > > Stephan Witt wrote: > > > >> Can you try the Hunspell package, please? > >> Enchant support in LyX 2.1 is not very good. > > > > I have exactly the same problem with hunspell. I compiled and installed it, > > added en_US and es_ES dictionaries, and tested it on a couple of text > > files from the console - no problem. > > > > When I start it from LyX, I get the message "Spellchecker has no > > dictionaries" > > So, the dictionaries are not found. > > The hunspell backend is better prepared for this situation, though. > You can open the message pane (in View menu) and enable debug messages > for "Files used by LyX". Then make sure you've enabled the Hunspell > checker in preferences. Now you can start the spell check and you'll see > the files/directories LyX is looking for dictionaries in message pane. > > > Strange: I configured Hunspell in LyX and did an strace. In the strace > > output I found: > > > > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3 > > read(3, > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., 832) > > = 832 > > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 > > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > > 0x7ff13f128000 > > mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 > > mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 > > close(3) = 0 > > > > open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3 > > read(3, > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., > > 832) = 832 > > fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 > > mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > > 0x7ff13ee68000 > > mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 > > mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 > > mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 > > close(3) = 0 > > > > Why is aspell called after hunspell? > > You're using LyX with backend support for more than one spell checker. > Every spell checker comes with it's own shared library. > These open calls are made on program startup to resolve the library function > addresses. > Your strace output doesn't indicate any function call... > > > No other hunspell directory or file is opened after this. Several > > aspell/enchant directories *are* opened. > > Where? What is an enchant directory? > > > Stephan > >
Re: dictionary not found
> Am 04.11.2014 um 17:27 schrieb Marcelo Acuña: > > Stephan: > > "Which spell checker has a spanish dictionary?" > > ispell, aspell, myspell > myspell is the the only usable package in your scenario. In fact it's hunspell. The debian package puts the dictionaries into /usr/share/hunspell. (At least the package contents here says so: https://packages.debian.org/wheezy/all/myspell-es/filelist) So you may enter the mentioned path into your preferences and see if it works. Stephan > > "LyX has to be compiled with hunspell support. That's enough." > > > > Yes. I installed all lib and necesary modules for enchant and hunspell, when > I run ./configure I get all the messages that say enchant and hunspell are > ready. > > > > Marcelo > >
Re: dictionary not found
Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)= 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
The problem with hunspell is that debian no have spanish dictionary for hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3) = 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3) = 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)= 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
On Mon, 3 Nov 2014 14:22:22 +0100 Stephan Witt st.w...@gmx.net wrote: You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... I see... Thanks. Yes, the function calls are much later. If you like, I can send you the entire trace gzipped. It's about 280k long. But the calls are to Enchant, not to the selected Hunspell. No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? I mean the directories where the enchant dictionaries are first looked for (/usr/share/enchant) These are the directories LyX looks in: /usr/share/myspell /usr/local/share/lyx /root/.lyx I.e., it does not look into hunspell's own directory. So, it seems we have to provide a symlink here? John
Re: dictionary not found
On Mon, 3 Nov 2014 15:19:48 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: The problem with hunspell is that debian no have spanish dictionary for hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. Marcelo, you can use the dictionaries from LibreOffice (OpenOffice), Firefox and others. The extensions are strange (.xpi and such), but they are actually .zip files. So you can rename them to something.zip, unzip them, and copy the contents to where LyX expects them (I would suggest /usr/share/myspell/ ) John
Re: dictionary not found
Am 03.11.2014 um 22:14 schrieb John Coppens j...@jcoppens.com: On Mon, 3 Nov 2014 14:22:22 +0100 Stephan Witt st.w...@gmx.net wrote: You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... I see... Thanks. Yes, the function calls are much later. If you like, I can send you the entire trace gzipped. It's about 280k long. But the calls are to Enchant, not to the selected Hunspell. No, thanks. :) But seriously, I'm using strace to investigate the doing of a closed source program. LyX is open source and I'm able to look at the source for problem solving. Enchant is not a spell checker library itself but a so called broker or wrapper library. You configure enchant which spell checker should be used for a given language. You have to analyze your configuration carefully to tell what really happens. LyX cannot tell how enchant is handling the request to spell check some string. Unfortunately there is no good logging and error handling for enchant calls in LyX. That's why I recommend the use of hunspell with LyX instead. What I do not understand, why enchant is used instead of hunspell. Are you sure your hunspell preference setting is active? As I wrote in an earlier message you should be able to see the hunspell file lookup messages if the debug messages are enabled. No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? I mean the directories where the enchant dictionaries are first looked for (/usr/share/enchant) These are the directories LyX looks in: /usr/share/myspell /usr/local/share/lyx /root/.lyx I.e., it does not look into hunspell's own directory. So, it seems we have to provide a symlink here? LyX's preference pane has an input field to define the path were to lookup the hunspell dictionaries. No need for a symlink. I don't know how to configure enchant to look at the correct place, sorry. Stephan
Re: dictionary not found
Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)= 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
The problem with hunspell is that debian no have spanish dictionary for hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3) = 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3) = 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com: The problem with hunspell is that debian no have spanish dictionary for hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net escribió: Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com: On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for Files used by LyX. Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)= 0 Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
On Mon, 3 Nov 2014 14:22:22 +0100 Stephan Witt st.w...@gmx.net wrote: You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... I see... Thanks. Yes, the function calls are much later. If you like, I can send you the entire trace gzipped. It's about 280k long. But the calls are to Enchant, not to the selected Hunspell. No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? I mean the directories where the enchant dictionaries are first looked for (/usr/share/enchant) These are the directories LyX looks in: /usr/share/myspell /usr/local/share/lyx /root/.lyx I.e., it does not look into hunspell's own directory. So, it seems we have to provide a symlink here? John
Re: dictionary not found
On Mon, 3 Nov 2014 15:19:48 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: The problem with hunspell is that debian no have spanish dictionary for hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. Marcelo, you can use the dictionaries from LibreOffice (OpenOffice), Firefox and others. The extensions are strange (.xpi and such), but they are actually .zip files. So you can rename them to something.zip, unzip them, and copy the contents to where LyX expects them (I would suggest /usr/share/myspell/ ) John
Re: dictionary not found
Am 03.11.2014 um 22:14 schrieb John Coppens j...@jcoppens.com: On Mon, 3 Nov 2014 14:22:22 +0100 Stephan Witt st.w...@gmx.net wrote: You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... I see... Thanks. Yes, the function calls are much later. If you like, I can send you the entire trace gzipped. It's about 280k long. But the calls are to Enchant, not to the selected Hunspell. No, thanks. :) But seriously, I'm using strace to investigate the doing of a closed source program. LyX is open source and I'm able to look at the source for problem solving. Enchant is not a spell checker library itself but a so called broker or wrapper library. You configure enchant which spell checker should be used for a given language. You have to analyze your configuration carefully to tell what really happens. LyX cannot tell how enchant is handling the request to spell check some string. Unfortunately there is no good logging and error handling for enchant calls in LyX. That's why I recommend the use of hunspell with LyX instead. What I do not understand, why enchant is used instead of hunspell. Are you sure your hunspell preference setting is active? As I wrote in an earlier message you should be able to see the hunspell file lookup messages if the debug messages are enabled. No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. Where? What is an enchant directory? I mean the directories where the enchant dictionaries are first looked for (/usr/share/enchant) These are the directories LyX looks in: /usr/share/myspell /usr/local/share/lyx /root/.lyx I.e., it does not look into hunspell's own directory. So, it seems we have to provide a symlink here? LyX's preference pane has an input field to define the path were to lookup the hunspell dictionaries. No need for a symlink. I don't know how to configure enchant to look at the correct place, sorry. Stephan
Re: dictionary not found
Am 03.11.2014 um 05:41 schrieb John Coppens: > On Sun, 2 Nov 2014 22:43:17 +0100 > Stephan Witt wrote: > >> Can you try the Hunspell package, please? >> Enchant support in LyX 2.1 is not very good. > > I have exactly the same problem with hunspell. I compiled and installed it, > added en_US and es_ES dictionaries, and tested it on a couple of text > files from the console - no problem. > > When I start it from LyX, I get the message "Spellchecker has no > dictionaries" So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for "Files used by LyX". Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. > Strange: I configured Hunspell in LyX and did an strace. In the strace > output I found: > > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > 0x7ff13f128000 > mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 > mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 > close(3)= 0 > > open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3 > read(3, > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., 832) > = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 > mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > 0x7ff13ee68000 > mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 > mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 > mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 > close(3)= 0 > > Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... > No other hunspell directory or file is opened after this. Several > aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
The problem with hunspell is that debian no have spanish dictionary for hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Wittescribió: Am 03.11.2014 um 05:41 schrieb John Coppens : > On Sun, 2 Nov 2014 22:43:17 +0100 > Stephan Witt wrote: > >> Can you try the Hunspell package, please? >> Enchant support in LyX 2.1 is not very good. > > I have exactly the same problem with hunspell. I compiled and installed it, > added en_US and es_ES dictionaries, and tested it on a couple of text > files from the console - no problem. > > When I start it from LyX, I get the message "Spellchecker has no > dictionaries" So, the dictionaries are not found. The hunspell backend is better prepared for this situation, though. You can open the message pane (in View menu) and enable debug messages for "Files used by LyX". Then make sure you've enabled the Hunspell checker in preferences. Now you can start the spell check and you'll see the files/directories LyX is looking for dictionaries in message pane. > Strange: I configured Hunspell in LyX and did an strace. In the strace > output I found: > > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > 0x7ff13f128000 > mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 > mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 > close(3) = 0 > > open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3 > read(3, > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., 832) > = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 > mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > 0x7ff13ee68000 > mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 > mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 > mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 > close(3) = 0 > > Why is aspell called after hunspell? You're using LyX with backend support for more than one spell checker. Every spell checker comes with it's own shared library. These open calls are made on program startup to resolve the library function addresses. Your strace output doesn't indicate any function call... > No other hunspell directory or file is opened after this. Several > aspell/enchant directories *are* opened. Where? What is an enchant directory? Stephan
Re: dictionary not found
Am 03.11.2014 um 16:19 schrieb Marcelo Acuña: > The problem with hunspell is that debian no have spanish dictionary for > hunspell. Then you have to grab them from other source. Which spell checker has a spanish dictionary? > Plus I installed hunspell but is not recongized by lyx 2.1.x. LyX has to be compiled with hunspell support. That's enough. And you has to point it to the dictionaries if you have put them to a non-standard place (/usr/share/myspell is standard for LyX). Stephan > El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt > escribió: > > > Am 03.11.2014 um 05:41 schrieb John Coppens : > > > On Sun, 2 Nov 2014 22:43:17 +0100 > > Stephan Witt wrote: > > > >> Can you try the Hunspell package, please? > >> Enchant support in LyX 2.1 is not very good. > > > > I have exactly the same problem with hunspell. I compiled and installed it, > > added en_US and es_ES dictionaries, and tested it on a couple of text > > files from the console - no problem. > > > > When I start it from LyX, I get the message "Spellchecker has no > > dictionaries" > > So, the dictionaries are not found. > > The hunspell backend is better prepared for this situation, though. > You can open the message pane (in View menu) and enable debug messages > for "Files used by LyX". Then make sure you've enabled the Hunspell > checker in preferences. Now you can start the spell check and you'll see > the files/directories LyX is looking for dictionaries in message pane. > > > Strange: I configured Hunspell in LyX and did an strace. In the strace > > output I found: > > > > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3 > > read(3, > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., 832) > > = 832 > > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 > > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > > 0x7ff13f128000 > > mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 > > mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 > > close(3)= 0 > > > > open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3 > > read(3, > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., > > 832) = 832 > > fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 > > mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > > 0x7ff13ee68000 > > mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 > > mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 > > mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 > > close(3)= 0 > > > > Why is aspell called after hunspell? > > You're using LyX with backend support for more than one spell checker. > Every spell checker comes with it's own shared library. > These open calls are made on program startup to resolve the library function > addresses. > Your strace output doesn't indicate any function call... > > > No other hunspell directory or file is opened after this. Several > > aspell/enchant directories *are* opened. > > Where? What is an enchant directory? > > > Stephan > >
Re: dictionary not found
On Mon, 3 Nov 2014 14:22:22 +0100 Stephan Wittwrote: > You're using LyX with backend support for more than one spell checker. > Every spell checker comes with it's own shared library. > These open calls are made on program startup to resolve the library function > addresses. > Your strace output doesn't indicate any function call... I see... Thanks. Yes, the function calls are much later. If you like, I can send you the entire trace gzipped. It's about 280k long. But the calls are to Enchant, not to the selected Hunspell. > > No other hunspell directory or file is opened after this. Several > > aspell/enchant directories *are* opened. > > Where? What is an enchant directory? I mean the directories where the enchant dictionaries are first looked for (/usr/share/enchant) These are the directories LyX looks in: /usr/share/myspell /usr/local/share/lyx /root/.lyx I.e., it does not look into hunspell's own directory. So, it seems we have to provide a symlink here? John
Re: dictionary not found
On Mon, 3 Nov 2014 15:19:48 + (UTC) Marcelo Acuñawrote: > The problem with hunspell is that debian no have spanish dictionary for > hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. Marcelo, you can use the dictionaries from LibreOffice (OpenOffice), Firefox and others. The extensions are strange (.xpi and such), but they are actually .zip files. So you can rename them to something.zip, unzip them, and copy the contents to where LyX expects them (I would suggest /usr/share/myspell/ ) John
Re: dictionary not found
Am 03.11.2014 um 22:14 schrieb John Coppens: > On Mon, 3 Nov 2014 14:22:22 +0100 > Stephan Witt wrote: > >> You're using LyX with backend support for more than one spell checker. >> Every spell checker comes with it's own shared library. >> These open calls are made on program startup to resolve the library function >> addresses. >> Your strace output doesn't indicate any function call... > > I see... Thanks. > > Yes, the function calls are much later. If you like, I can send > you the entire trace gzipped. It's about 280k long. But the calls are to > Enchant, not to the selected Hunspell. No, thanks. :) But seriously, I'm using strace to investigate the doing of a closed source program. LyX is open source and I'm able to look at the source for problem solving. Enchant is not a spell checker library itself but a so called broker or wrapper library. You configure enchant which spell checker should be used for a given language. You have to analyze your configuration carefully to tell what really happens. LyX cannot tell how enchant is handling the request to spell check some string. Unfortunately there is no good logging and error handling for enchant calls in LyX. That's why I recommend the use of hunspell with LyX instead. What I do not understand, why enchant is used instead of hunspell. Are you sure your hunspell preference setting is active? As I wrote in an earlier message you should be able to see the hunspell file lookup messages if the debug messages are enabled. >>> No other hunspell directory or file is opened after this. Several >>> aspell/enchant directories *are* opened. >> >> Where? What is an enchant directory? > > I mean the directories where the enchant dictionaries are first looked for > (/usr/share/enchant) > > These are the directories LyX looks in: > > /usr/share/myspell > /usr/local/share/lyx > /root/.lyx > > I.e., it does not look into hunspell's own directory. So, it seems we have > to provide a symlink here? LyX's preference pane has an input field to define the path were to lookup the hunspell dictionaries. No need for a symlink. I don't know how to configure enchant to look at the correct place, sorry. Stephan
Re: dictionary not found
On Sat, 1 Nov 2014 15:40:56 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: Yes, work ok.LibreOffice spellchecker work too. I normally don't use spellcheckers, but I tested enchant now, and it does seem to fail randomly. Sometimes I get the 'dictionary' problem, and sometimes the checker just reports that all is correct... Marcelo, I've submitted a bug report on your problem (Ticket #9318) http://www.lyx.org/trac/ticket/9318 Let's hope for a quick reply! John
Re: dictionary not found
fail randomly uahhh!Ok, but for me fail all times.Thanks! El Domingo, 2 de noviembre, 2014 13:19:54, John Coppens j...@jcoppens.com escribió: On Sat, 1 Nov 2014 15:40:56 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: Yes, work ok.LibreOffice spellchecker work too. I normally don't use spellcheckers, but I tested enchant now, and it does seem to fail randomly. Sometimes I get the 'dictionary' problem, and sometimes the checker just reports that all is correct... Marcelo, I've submitted a bug report on your problem (Ticket #9318) http://www.lyx.org/trac/ticket/9318 Let's hope for a quick reply! John
Re: dictionary not found
Am 31.10.2014 um 20:55 schrieb Marcelo Acuña marceloacu...@yahoo.com: hello, I have lyx 2.1.2 compiled in debian linux. I can`t get that spellcheckers work. I have installed all components of myspell, enchant (development librarys included) and dictionarys but when I start a run of the spellchcker I get a dictionary not found message. Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. Stephan
Re: dictionary not found
On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)= 0 Why is aspell called after hunspell? No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. It's as if hunspell is just ignored, even though it was succesfully opened. John
Re: dictionary not found
On Sat, 1 Nov 2014 15:40:56 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: Yes, work ok.LibreOffice spellchecker work too. I normally don't use spellcheckers, but I tested enchant now, and it does seem to fail randomly. Sometimes I get the 'dictionary' problem, and sometimes the checker just reports that all is correct... Marcelo, I've submitted a bug report on your problem (Ticket #9318) http://www.lyx.org/trac/ticket/9318 Let's hope for a quick reply! John
Re: dictionary not found
fail randomly uahhh!Ok, but for me fail all times.Thanks! El Domingo, 2 de noviembre, 2014 13:19:54, John Coppens j...@jcoppens.com escribió: On Sat, 1 Nov 2014 15:40:56 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: Yes, work ok.LibreOffice spellchecker work too. I normally don't use spellcheckers, but I tested enchant now, and it does seem to fail randomly. Sometimes I get the 'dictionary' problem, and sometimes the checker just reports that all is correct... Marcelo, I've submitted a bug report on your problem (Ticket #9318) http://www.lyx.org/trac/ticket/9318 Let's hope for a quick reply! John
Re: dictionary not found
Am 31.10.2014 um 20:55 schrieb Marcelo Acuña marceloacu...@yahoo.com: hello, I have lyx 2.1.2 compiled in debian linux. I can`t get that spellcheckers work. I have installed all components of myspell, enchant (development librarys included) and dictionarys but when I start a run of the spellchcker I get a dictionary not found message. Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. Stephan
Re: dictionary not found
On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Witt st.w...@gmx.net wrote: Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message Spellchecker has no dictionaries Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)= 0 Why is aspell called after hunspell? No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. It's as if hunspell is just ignored, even though it was succesfully opened. John
Re: dictionary not found
On Sat, 1 Nov 2014 15:40:56 + (UTC) Marcelo Acuñawrote: > Yes, work ok.LibreOffice spellchecker work too. > I normally don't use spellcheckers, but I tested enchant now, and it does seem to fail randomly. Sometimes I get the 'dictionary' problem, and sometimes the checker just reports that all is correct... Marcelo, I've submitted a bug report on your problem (Ticket #9318) http://www.lyx.org/trac/ticket/9318 Let's hope for a quick reply! John
Re: dictionary not found
"fail randomly" uahhh!Ok, but for me fail all times.Thanks! El Domingo, 2 de noviembre, 2014 13:19:54, John Coppensescribió: On Sat, 1 Nov 2014 15:40:56 + (UTC) Marcelo Acuña wrote: > Yes, work ok.LibreOffice spellchecker work too. > I normally don't use spellcheckers, but I tested enchant now, and it does seem to fail randomly. Sometimes I get the 'dictionary' problem, and sometimes the checker just reports that all is correct... Marcelo, I've submitted a bug report on your problem (Ticket #9318) http://www.lyx.org/trac/ticket/9318 Let's hope for a quick reply! John
Re: dictionary not found
Am 31.10.2014 um 20:55 schrieb Marcelo Acuña: > hello, > I have lyx 2.1.2 compiled in debian linux. > I can`t get that spellcheckers work. I have installed all components of > myspell, enchant (development librarys included) and dictionarys but when I > start a run of the spellchcker I get a dictionary not found message. Can you try the Hunspell package, please? Enchant support in LyX 2.1 is not very good. Stephan
Re: dictionary not found
On Sun, 2 Nov 2014 22:43:17 +0100 Stephan Wittwrote: > Can you try the Hunspell package, please? > Enchant support in LyX 2.1 is not very good. I have exactly the same problem with hunspell. I compiled and installed it, added en_US and es_ES dictionaries, and tested it on a couple of text files from the console - no problem. When I start it from LyX, I get the message "Spellchecker has no dictionaries" Strange: I configured Hunspell in LyX and did an strace. In the strace output I found: open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13f128000 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000 close(3)= 0 open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff13ee68000 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000 close(3)= 0 Why is aspell called after hunspell? No other hunspell directory or file is opened after this. Several aspell/enchant directories *are* opened. It's as if hunspell is just ignored, even though it was succesfully opened. John
Re: dictionary not found
Yes, work ok.LibreOffice spellchecker work too. El Viernes, 31 de octubre, 2014 22:39:16, John Coppens j...@jcoppens.com escribió: On Fri, 31 Oct 2014 19:55:09 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: hello, I have lyx 2.1.2 compiled in debian linux. I can`t get that spellcheckers work. I have installed all components of myspell, enchant (development librarys included) and dictionarys but when I start a run of the spellchcker I get a dictionary not found message. All other functions of lyx work properly. Marcelo Does enchant work from the command line? enchant -l some file should list all the spelling errors in some file. John
Re: dictionary not found
Yes, work ok.LibreOffice spellchecker work too. El Viernes, 31 de octubre, 2014 22:39:16, John Coppens j...@jcoppens.com escribió: On Fri, 31 Oct 2014 19:55:09 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: hello, I have lyx 2.1.2 compiled in debian linux. I can`t get that spellcheckers work. I have installed all components of myspell, enchant (development librarys included) and dictionarys but when I start a run of the spellchcker I get a dictionary not found message. All other functions of lyx work properly. Marcelo Does enchant work from the command line? enchant -l some file should list all the spelling errors in some file. John
Re: dictionary not found
Yes, work ok.LibreOffice spellchecker work too. El Viernes, 31 de octubre, 2014 22:39:16, John Coppensescribió: On Fri, 31 Oct 2014 19:55:09 + (UTC) Marcelo Acuña wrote: > hello, I have lyx 2.1.2 compiled in debian linux. I can`t get that > spellcheckers work. I have installed all components of myspell, enchant > (development librarys included) and dictionarys but when I start a run of the > spellchcker I get a dictionary not found message. All other functions of lyx > work properly. > Marcelo Does enchant work from the command line? enchant -l should list all the spelling errors in . John
Re: dictionary not found
On Fri, 31 Oct 2014 19:55:09 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: hello, I have lyx 2.1.2 compiled in debian linux. I can`t get that spellcheckers work. I have installed all components of myspell, enchant (development librarys included) and dictionarys but when I start a run of the spellchcker I get a dictionary not found message. All other functions of lyx work properly. Marcelo Does enchant work from the command line? enchant -l some file should list all the spelling errors in some file. John
Re: dictionary not found
On Fri, 31 Oct 2014 19:55:09 + (UTC) Marcelo Acuña marceloacu...@yahoo.com wrote: hello, I have lyx 2.1.2 compiled in debian linux. I can`t get that spellcheckers work. I have installed all components of myspell, enchant (development librarys included) and dictionarys but when I start a run of the spellchcker I get a dictionary not found message. All other functions of lyx work properly. Marcelo Does enchant work from the command line? enchant -l some file should list all the spelling errors in some file. John
Re: dictionary not found
On Fri, 31 Oct 2014 19:55:09 + (UTC) Marcelo Acuñawrote: > hello, I have lyx 2.1.2 compiled in debian linux. I can`t get that > spellcheckers work. I have installed all components of myspell, enchant > (development librarys included) and dictionarys but when I start a run of the > spellchcker I get a dictionary not found message. All other functions of lyx > work properly. > Marcelo Does enchant work from the command line? enchant -l should list all the spelling errors in . John
Re: Dictionary style?
Peter Clark wrote: Can anyone recommend a style for a dictionary layout? Searching CTAN turned up lexikon, but the results are not as...compact...as I desire. I don't read German, so there might be a way to make it look like a regular dictionary, but the example files lexikon.tex only produces a widely-spaced two-column list. I may just have to start practicing my new LaTeX skills and modify lexikon.sty, but I wanted to find out if someone had already invented the wheel I am looking for. search in google: http://groups.google.de/groups?q=dictionary+group:comp.text.texhl=destart=0sa=N Herbert -- http://www.lyx.org/help/
Re: Dictionary style?
Peter Clark wrote: Can anyone recommend a style for a dictionary layout? Searching CTAN turned up lexikon, but the results are not as...compact...as I desire. I don't read German, so there might be a way to make it look like a regular dictionary, but the example files lexikon.tex only produces a widely-spaced two-column list. I may just have to start practicing my new LaTeX skills and modify lexikon.sty, but I wanted to find out if someone had already invented the wheel I am looking for. search in google: http://groups.google.de/groups?q=dictionary+group:comp.text.texhl=destart=0sa=N Herbert -- http://www.lyx.org/help/
Re: Dictionary style?
Peter Clark wrote: > Can anyone recommend a style for a dictionary layout? Searching CTAN turned > up lexikon, but the results are not as...compact...as I desire. I don't read > German, so there might be a way to make it look like a regular dictionary, > but the example files lexikon.tex only produces a widely-spaced two-column > list. I may just have to start practicing my new LaTeX skills and modify > lexikon.sty, but I wanted to find out if someone had already invented the > wheel I am looking for. search in google: http://groups.google.de/groups?q=dictionary+group:comp.text.tex=de=0=N Herbert -- http://www.lyx.org/help/
Re: Dictionary
Glauber Tomaz wrote: I've been working with Lyx in Portuguese(Brazil). I'd like to know where I can find a dictionary for this language to run the Lyx spelling checker. http://www.educat.hu-berlin.de/~voss/lyx/index.html#ispell Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Dictionary
Glauber Tomaz wrote: I've been working with Lyx in Portuguese(Brazil). I'd like to know where I can find a dictionary for this language to run the Lyx spelling checker. http://www.educat.hu-berlin.de/~voss/lyx/index.html#ispell Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Dictionary
Glauber Tomaz wrote: > > I've been working with Lyx in Portuguese(Brazil). I'd like to know where I > can find a dictionary for this language to run the Lyx spelling checker. http://www.educat.hu-berlin.de/~voss/lyx/index.html#ispell Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/