cvs --with-pspell no go
pspell-.11.2 aspell-.32.5 gzipped log attached. cvs 1900h ADT Sep 15 Garst makepspell.log.gz
Re: cvs --with-pspell no go
This is due to larsbj change to use string instead of char *. Change each instance of word the compiler complains about to word.c_str() and it should compile OK. --- Kevin Atkinson kevina at users sourceforge net http://metalab.unc.edu/kevina/
Re: cvs --with-pspell no go
Kevin Atkinson wrote: > > This is due to larsbj change to use string instead of char *. Change each > instance of word the compiler complains about to word.c_str() and it > should compile OK. > I presume you are talking about changes in pspell. In anycase, that could mean some number of attempts to compile. I'll wait. Garst
Re: cvs --with-pspell no go
On Sat, 16 Sep 2000, Garst R. Reese wrote: > Kevin Atkinson wrote: > > > > This is due to larsbj change to use string instead of char *. Change each > > instance of word the compiler complains about to word.c_str() and it > > should compile OK. > > > I presume you are talking about changes in pspell. In anycase, that > could mean some number of attempts to compile. I'll wait. No, not pspell. spellchecker.C. For example to fix this error: spellchecker.C:627: cannot convert `word' from type `const basic_string,__default_alloc_template >' to type `const char *' change this line: int word_ok = pspell_manager_check(sc, word); to this int word_ok = pspell_manager_check(sc, word.c_str()); --- Kevin Atkinson kevina at users sourceforge net http://metalab.unc.edu/kevina/
RE: cvs --with-pspell no go
On 16-Sep-2000 Garst R. Reese wrote: > pspell-.11.2 > aspell-.32.5 > gzipped log attached. > cvs 1900h ADT Sep 15 > Garst Fixed as Kevin said (word.c_str())! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Abstainer, n.: A weak person who yields to the temptation of denying himself a pleasure. -- Ambrose Bierce, "The Devil's Dictionary"
Re: cvs --with-pspell no go
Juergen Vigna wrote: > > On 16-Sep-2000 Garst R. Reese wrote: > > pspell-.11.2 > > aspell-.32.5 > > gzipped log attached. > > cvs 1900h ADT Sep 15 > > Garst > > Fixed as Kevin said (word.c_str())! > > Jürgen > Did you commit that? I don't see any changes to spellchecker.C in 4PM cvs update. Garst
Re: cvs --with-pspell no go
"Garst R. Reese" <[EMAIL PROTECTED]> writes: | > Fixed as Kevin said (word.c_str())! | > | > Jürgen | > | Did you commit that? I don't see any changes to spellchecker.C in 4PM | cvs update. I'll commit some stuff to fix this right away. btw. Have you tried the current cvs with xforms 0.89 and C-space? Lgb
Re: cvs --with-pspell no go
"Lars Gullik Bjønnes" wrote: > > "Garst R. Reese" <[EMAIL PROTECTED]> writes: > > | > Fixed as Kevin said (word.c_str())! > | > > | > Jürgen > | > > | Did you commit that? I don't see any changes to spellchecker.C in 4PM > | cvs update. > > I'll commit some stuff to fix this right away. Thanks > btw. Have you tried the current cvs with xforms 0.89 and C-space? > > Lgb No, but I'll do that and let you know in the AM. Garst
Re: cvs --with-pspell no go
"Lars Gullik Bjønnes" wrote: > > "Garst R. Reese" <[EMAIL PROTECTED]> writes: > > | > Fixed as Kevin said (word.c_str())! > | > > | > Jürgen > | > > | Did you commit that? I don't see any changes to spellchecker.C in 4PM > | cvs update. > > I'll commit some stuff to fix this right away. > > btw. Have you tried the current cvs with xforms 0.89 and C-space? > > Lgb \alpha worked, C-space worked, xforms 0.89 compiled --with-pspell spellchecker put up an error box saying "unable to load the aspell module." That's probably a matter of reading the docs, but that sucks. I went to the aspell docs and get referred to the pspell docs. They are copius and probably tell me what I need to know, but there should be a default config. Three Thumbs Down. No Smiley. If I open the Options menu, there is a tab at the far right that starts with Pri, but the box isn't big enough to show it all. If I click on the partial tab, LyX sigsevs. Garst
Re: cvs --with-pspell no go
On Mon, 18 Sep 2000, Garst R. Reese wrote: > "Lars Gullik Bjønnes" wrote: > > > > "Garst R. Reese" <[EMAIL PROTECTED]> writes: > > > > | > Fixed as Kevin said (word.c_str())! > > | > > > | > Jürgen > > | > > > | Did you commit that? I don't see any changes to spellchecker.C in 4PM > > | cvs update. > > > > I'll commit some stuff to fix this right away. > > > > btw. Have you tried the current cvs with xforms 0.89 and C-space? > > > > Lgb > \alpha worked, C-space worked, xforms 0.89 > compiled --with-pspell > spellchecker put up an error box saying "unable to load the aspell > module." That is probably because you don't have Pspell compiled correctly. If you are using Linux the easiest thing to do is compile Pspell with --enable-ltdl. Otherwise you need to link in the Aspell code with Pspell like it says in the manual. --- Kevin Atkinson kevina at users sourceforge net http://metalab.unc.edu/kevina/
Re: cvs --with-pspell no go
Kevin Atkinson wrote: > > On Mon, 18 Sep 2000, Garst R. Reese wrote: > > > spellchecker put up an error box saying "unable to load the aspell > > module." > > That is probably because you don't have Pspell compiled correctly. If you > are using Linux the easiest thing to do is compile Pspell with > --enable-ltdl. Otherwise you need to link in the Aspell code with Pspell > like it says in the manual. That should be in the top level README.
Re: cvs --with-pspell no go
Kevin Atkinson wrote: > > On Mon, 18 Sep 2000, Garst R. Reese wrote: > > > "Lars Gullik Bjønnes" wrote: > > > > > > "Garst R. Reese" <[EMAIL PROTECTED]> writes: > > spellchecker put up an error box saying "unable to load the aspell > > module." > > That is probably because you don't have Pspell compiled correctly. If you > are using Linux the easiest thing to do is compile Pspell with > --enable-ltdl. Otherwise you need to link in the Aspell code with Pspell > like it says in the manual. I recompiled pspell --enable-ltdl. That worked as far as getting aspell to run, But how do I pass options to LyX to select the canadian dictionary? Garst
Re: cvs --with-pspell no go
On 18-Sep-2000 Garst R. Reese wrote: > Did you commit that? I don't see any changes to spellchecker.C in 4PM > cvs update. Sorry no, not yet I'll commit it today, I had some other changes pending but wanted to fix it all before commiting. Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Your own mileage may vary.
Re: cvs --with-pspell no go
On 18-Sep-2000 Garst R. Reese wrote: > \alpha worked, C-space worked, xforms 0.89 > compiled --with-pspell > spellchecker put up an error box saying "unable to load the aspell > module." > That's probably a matter of reading the docs, but that sucks. I went to > the aspell docs and get referred to the pspell docs. They are copius and > probably tell me what I need to know, but there should be a default > config. Strange I installed the rpms and had all working for spellchecking "english" without touching anything! > Three Thumbs Down. No Smiley. #:O) come on I don't think so you sure have had a smile on your face when you wrote the above ;) Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ When it comes to broken marriages most husbands will split the blame -- half his wife's fault, and half her mother's.
Re: cvs --with-pspell no go
On Mon, 18 Sep 2000, Garst R. Reese wrote: > Kevin Atkinson wrote: > > > > On Mon, 18 Sep 2000, Garst R. Reese wrote: > > > > > "Lars Gullik Bjønnes" wrote: > > > > > > > > "Garst R. Reese" <[EMAIL PROTECTED]> writes: > > > spellchecker put up an error box saying "unable to load the aspell > > > module." > > > > That is probably because you don't have Pspell compiled correctly. If you > > are using Linux the easiest thing to do is compile Pspell with > > --enable-ltdl. Otherwise you need to link in the Aspell code with Pspell > > like it says in the manual. > I recompiled pspell --enable-ltdl. That worked as far as getting aspell > to run, > But how do I pass options to LyX to select the canadian dictionary? > Garst You can't right now. See my previous emails to the list for what needs to be done to support this. You can set the master option in either a configuration file or an environmental variable. See the Aspell manual for more details. --- Kevin Atkinson kevina at users sourceforge net http://metalab.unc.edu/kevina/
Re: cvs --with-pspell no go
On 19-Sep-2000 Kevin Atkinson wrote: > > You can't right now. See my previous emails to the list for what needs to > be done to support this. You can set the master option in either a > configuration file or an environmental variable. See the Aspell manual for > more details. > I don't get this Kevin! All I heared is that we cannot have multiple languages checked in one document, but I didn't know that right now I can check ONLY in the default pspell dictionary language! Well it still segfaults, so it is quite unusable, so we have to wait for you to stop it segfaulting on us #:O) Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ "Why waste negative entropy on comments, when you could use the same entropy to create bugs instead?" -- Steve Elias
Re: cvs --with-pspell no go
On Tue, 19 Sep 2000, Juergen Vigna wrote: > > You can't right now. See my previous emails to the list for what needs to > > be done to support this. You can set the master option in either a > > configuration file or an environmental variable. See the Aspell manual for > > more details. > > I don't get this Kevin! All I heared is that we cannot have multiple > languages checked in one document, but I didn't know that right now > I can check ONLY in the default pspell dictionary language! Um in a previous email: Date: Mon, 4 Sep 2000 06:26:38 -0400 (EDT) From: Kevin Atkinson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Two letter ISO 639 language code? In order to spell checker in other languages in Pspell the two letter ISO 639 language code is needed. Is there a way to get this? Or do I need to create a lookup table from the ispell language name to the code? I also need the country code in some cases, like for using the Canadian dictionary. --- Kevin Atkinson kevina at users sourceforge net http://metalab.unc.edu/kevina/
Re: cvs --with-pspell no go
On 19-Sep-2000 Kevin Atkinson wrote: > Um in a previous email: > > Date: Mon, 4 Sep 2000 06:26:38 -0400 (EDT) > From: Kevin Atkinson <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Two letter ISO 639 language code? > > In order to spell checker in other languages in Pspell the two letter > ISO 639 language code is needed. Is there a way to get this? Or do I > need to create a lookup table from the ispell language name to the code? > > I also need the country code in some cases, like for using the Canadian > dictionary. Ok we already decided to add this language_country code so that you can use it later. I've seen this mail and have it in my archive, but thought that it was only referenced to a multilanguage document :) I'll tell you when we have the according construct! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Let not the sands of time get in your lunch.
Re: cvs --with-pspell no go
On Tue, 19 Sep 2000, Juergen Vigna wrote: > > On 19-Sep-2000 Kevin Atkinson wrote: > > > Um in a previous email: > > > > Date: Mon, 4 Sep 2000 06:26:38 -0400 (EDT) > > From: Kevin Atkinson <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Two letter ISO 639 language code? > > > > In order to spell checker in other languages in Pspell the two letter > > ISO 639 language code is needed. Is there a way to get this? Or do I > > need to create a lookup table from the ispell language name to the code? > > > > I also need the country code in some cases, like for using the Canadian > > dictionary. > > Ok we already decided to add this language_country code so that you can > use it later. Um where. How do I use it? I also need the country code for languages which you have down such as "american" may I suggest you use the standard syntax which will be _ for example american will be "en_US". I also need a way know the encoding that LyX will be sending the TeX in. The current known encodings are ``utf-8'', ``iso8859-*'', ``koi8-r'', ``viscii'', ``cp1252'', ``machine unsigned 16'', ``machine unsigned 32''. Case does not matter. Kevin Atkinson kevina at users sourceforge net http://metalab.unc.edu/kevina/
Re: cvs --with-pspell no go
On 21-Sep-2000 Kevin Atkinson wrote: > > Um where. How do I use it? > I'll add it to language.[Ch] I don't know how you can use it :), but for now you could get a general language code from the init call! (I'll change the code so that in the init_spell... call you get as lang-string the lang_country code! > I also need the country code for languages which you have down such as > "american" may I suggest you use the standard syntax which will be > _ > for example american will be "en_US". > Someone has a list of all this? I'll fill out the ones I know and leaf the rest to the empty-string! > I also need a way know the encoding that LyX will be sending the TeX > in. The current known encodings are ``utf-8'', ``iso8859-*'', ``koi8-r'', > ``viscii'', ``cp1252'', ``machine unsigned 16'', ``machine unsigned > 32''. Case does not matter. You can also get it from the BufferParams::language_info have a look at language.[Ch]. Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Nice guys finish last. -- Leo Durocher
Re: cvs --with-pspell no go
On 22-Sep-2000 Juergen Vigna wrote: > > I'll add it to language.[Ch] I don't know how you can use it :), One more to think for Jean-Marc (as french rapresentant ;): Why do we have: { "francais", N_("Francais"), false, &iso8859_1 }, { "french", N_("French"), false, &iso8859_1 }, entries? Should we add entries for every language in the native tone to: italian -> italiano german -> deutsch ... or maybe remove the "francais" entry? Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ "An open mind has but one disadvantage: it collects dirt." -- a saying at RPI
Re: cvs --with-pspell no go
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> Someone has a list of all this? I'll fill out the ones I know Juergen> and leaf the rest to the empty-string! We should provide a table of dicionaries for ispell too. JMarc
Re: cvs --with-pspell no go
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> One more to think for Jean-Marc (as french rapresentant ;): Juergen> Why do we have: Juergen> { "francais", N_("Francais"), false, &iso8859_1 }, { Juergen> "french", N_("French"), false, &iso8859_1 }, Juergen> entries? This is because babel has all this entries. I am in the process of cleaning this up, and in my cvs tree it is just { "frenchb", N_("French"), false, &iso8859_1 }, { "french", N_("French (GUTenberg)"), false, &iso8859_1 }, This is because we have the babel french option and also the french.sty package, which is a bit different. These should be associated to the same dictionary, anyway. JMarc
Re: cvs --with-pspell no go
Kevin, could you please explain me how to use another language dictionary? I downloaded the german directory and installed the needed files in /usr/share/aspell/german.dat /usr/share/aspell/german_phonet.dat /usr/lib/aspell/german Following the INSTALL explanations. In init_spellchecker... I did: PspellConfig * config = new_pspell_config(); -> string code; -> (void)split(lang, code, '_'); -> config->replace("language-tag", code.c_str()); spell_error_object = new_pspell_manager(config); But now aspell keeps telling me: I'm sorry I can't find any sutable word lists for language-tag "de" Any idea? Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Never say you know a man until you have divided an inheritance with him.
Re: cvs --with-pspell no go
On 22-Sep-2000 Juergen Vigna wrote: > Any idea? I got it working (just followed the pspell manual ;), now we can spellcheck also other language directories (or canadian for Garst :) with the pspell module. What now is missing is: - multi language documents - pspell-library not segfaulting on us on long documents Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ I think, therefore I am... I think.
Re: cvs --with-pspell no go
On Fri, 22 Sep 2000, Juergen Vigna wrote: > Kevin, > > could you please explain me how to use another language dictionary? > > I downloaded the german directory and installed the needed files in > > /usr/share/aspell/german.dat > /usr/share/aspell/german_phonet.dat > /usr/lib/aspell/german You also need the pwli file "/usr/share/pspell/de-aspell.pwli" and should conatin exactly one line. /usr/lib/aspell/german -- Kevin Atkinson kevina at users sourceforge net http://metalab.unc.edu/kevina/
Re: cvs --with-pspell no go
On Fri, 22 Sep 2000, Juergen Vigna wrote: > I'll add it to language.[Ch] I don't know how you can use it :), > but for now you could get a general language code from the init call! > (I'll change the code so that in the init_spell... call you get as > lang-string the lang_country code! > > > I also need the country code for languages which you have down such as > > "american" may I suggest you use the standard syntax which will be > > _ > > for example american will be "en_US". > > > > Someone has a list of all this? > I'll fill out the ones I know and leaf the rest to the empty-string! See http://www.unicode.org/unicode/onlinedat/online.html. The look to the left for "Language and Country Codes". Also the county code should only be used when a particular language string is specific for a particular country. You want to use the ISO Code2 for the country codes when it is needed. BTW: Pspell will currently ignore the country code so the Canadian dictionary won't work quite yet. I will add support for using the country code in the next release. > > I also need a way know the encoding that LyX will be sending the TeX > > in. The current known encodings are ``utf-8'', ``iso8859-*'', ``koi8-r'', > > ``viscii'', ``cp1252'', ``machine unsigned 16'', ``machine unsigned > > 32''. Case does not matter. > > You can also get it from the BufferParams::language_info have a look at > language.[Ch]. OK you should also, right after the setting the language tag, set the encoding type. --- Kevin Atkinson kevina at users sourceforge net http://metalab.unc.edu/kevina/
Re: cvs --with-pspell no go
Kevin Atkinson wrote: > > On Fri, 22 Sep 2000, Juergen Vigna wrote: > > > I'll add it to language.[Ch] I don't know how you can use it :), > > but for now you could get a general language code from the init call! > > (I'll change the code so that in the init_spell... call you get as > > lang-string the lang_country code! > > > > > I also need the country code for languages which you have down such as > > > "american" may I suggest you use the standard syntax which will be > > > _ > > > for example american will be "en_US". > > > > > > > Someone has a list of all this? > > I'll fill out the ones I know and leaf the rest to the empty-string! > > See http://www.unicode.org/unicode/onlinedat/online.html. The look to the > left for "Language and Country Codes". > > Also the county code should only be used when a particular language string > is specific for a particular country. You want to use the ISO Code2 for > the country codes when it is needed. > > BTW: Pspell will currently ignore the country code so the Canadian > dictionary won't work quite yet. I will add support for using the country > code in the next release. Tanks a lot this Friday. looking in my locale directory I did not find an en_CA, so I filled it out from the the redhad dist. en_CA/LC_MESSAGES/SYS_LC_MESSAGES TRANS.TBL It looks like I still need a line in language.C, but maybe my CVS is just not current enough (this pm) Anyway, I'll wait. Garst
Re: cvs --with-pspell no go
"Garst R. Reese" wrote: > > BTW: Pspell will currently ignore the country code so the Canadian > > dictionary won't work quite yet. I will add support for using the country > > code in the next release. > Tanks a lot this Friday. > looking in my locale directory I did not find an en_CA, so I filled it > out from the the redhad dist. en_CA/LC_MESSAGES/SYS_LC_MESSAGES > TRANS.TBL > > It looks like I still need a line in language.C, but maybe my CVS is > just not current enough (this pm) > > Anyway, I'll wait. > Garst Replying to my own post. After adding a canadian line to language .C, I spell checked a document that had been telling me that colour was wrong and suggested color. It now accepts colour and rejects color, so I guess it is finding the canadian dict. after all. I also tried initialize and initialise to be sure I was not getting GB spelling. Garst
Re: cvs --with-pspell no go
Juergen Vigna wrote: > > On 22-Sep-2000 Juergen Vigna wrote: > > > Any idea? > > I got it working (just followed the pspell manual ;), now we can > spellcheck also other language directories (or canadian for Garst :) > with the pspell module. > > What now is missing is: > > - multi language documents > - pspell-library not segfaulting on us on long documents > > Jürgen I had to make the change in the attached diff to language.C. This lets aspell work. Kevin says pspell will still not work, but will be fixed in his next release. There are probably other changes needed. I have obtained the ISO language and country codes and will peruse the list. Garst --- language.C Sat Sep 23 02:22:57 2000 +++ language.C.new Sat Sep 23 02:22:39 2000 @@ -61,6 +61,7 @@ { "bahasa", N_("Bahasa"), false, &iso8859_1, "" }, { "brazil", N_("Brazil"), false, &iso8859_1, "" }, { "breton", N_("Breton"), false, &iso8859_1, "" }, + { "canadian", N_("Canadian"), false, &iso8859_1, "en_CA" }, { "catalan", N_("Catalan"), false, &iso8859_1, "" }, { "croatian", N_("Croatian"), false, &iso8859_2, "" }, { "czech", N_("Czech"), false, &iso8859_2, "" },