Re: crash when spell checking

2018-12-05 Thread José Abílio Matos
On Tuesday, 4 December 2018 07.10.53 WET Patrick Dupre wrote:
> Hello,
> 
> I do not understand why lyx crashes when I run the spell checker.
> Then it crashes every time that I try to reload it!!!
> It is a BEARMER document.
> Unfortunately, it is not a document that I can broadcast, and I am in
> rush.
> 
> fedora 28,

Hi Patrick,
have you been able to fix this issue?

Regards,
-- 
José Abílio




Re: crash when spell checking

2018-12-04 Thread Paul A. Rubin

On 12/4/18 2:10 AM, Patrick Dupre wrote:

Hello,

I do not understand why lyx crashes when I run the spell checker.
Then it crashes every time that I try to reload it!!!
It is a BEARMER document.
Unfortunately, it is not a document that I can broadcast, and I am in
rush.

fedora 28,
===
  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
===
This is a bit of a shot in the dark, but you can try the following. Move 
your ~/.lyx directory someplace (as a backup), then start LyX, 
reconfigure, and restart LyX. See if that lets you load the beamer 
document safely.


Paul



crash when spell checking

2018-12-03 Thread Patrick Dupre
Hello,

I do not understand why lyx crashes when I run the spell checker.
Then it crashes every time that I try to reload it!!!
It is a BEARMER document.
Unfortunately, it is not a document that I can broadcast, and I am in
rush.

fedora 28,
===
 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
===


Re: An observation on 3.2.1 spell checking

2018-10-19 Thread Paul A. Rubin

On 10/18/18 4:26 PM, Rich Shepard wrote:
The document I'm now writing has many hyphenated words (e.g., 
Douglas-fir,
near-surface) and all are questioned by the spelling checker. I don't 
recall
seeing this before and don't know if its source is lyx or the spell 
checker

being used (I don't recall whether it's aspell or ispell).

  No action is required on anyone's part but I find it interesting that
these compound words are seen as being mis-spelled, even after I
(supposedly) add them to the dictionary.

Regards,

Rich
LyX is not the culprit. I just copied your first paragraph into a LyX 
document (and added a hyphenated word of my own, in case the hyphens in 
your email pasted in as some funky character). The spelling checker 
(Enchant, which probably means aspell doing the actual work) had no 
problem with any hyphenated words. It only bitched about "lyx" and 
"aspell" (but, curiously, not about "ispell").


Perhaps it's a configuration option in whichever engine you're using? If 
that's too much hassle, you might try going to Tools > Preferences... > 
Language Settings > Spellchecker and putting a hyphen in the "Escape 
characters" field. Maybe that will fix it?


Paul



Re: An observation on 3.2.1 spell checking

2018-10-19 Thread Jean-Marc Lasgouttes

Le 19/10/2018 à 15:05, Rich Shepard a écrit :

   I just looked at the SlackBuild script I've used for years (chaning only
version numbers) and see nothing related to spell checkers in the configure
section so I assume that all but ispell are in included.


It depends actually of what development packages (header files) are 
available when configuring.


JMarc


Re: An observation on 3.2.1 spell checking

2018-10-19 Thread Rich Shepard

On Fri, 19 Oct 2018, Jean-Marc Lasgouttes wrote:


ispell is the one for oldtimers.
aspell is the more modern ispell.
hunspell is the more modern aspell
enchant is a wrapper that canbe configured at system level to use whatever 
spell checker you have on your system (not sure where).


JMarc,

   Thanks very much for the insight. I've not before paid any attention to
this.


It depends on what spell checkers have been compiled in when building LyX.


  I just looked at the SlackBuild script I've used for years (chaning only
version numbers) and see nothing related to spell checkers in the configure
section so I assume that all but ispell are in included.

  Interesting detail.

Best regards,

Rich


Re: An observation on 3.2.1 spell checking

2018-10-19 Thread Jean-Marc Lasgouttes

Le 19/10/2018 à 14:33, Rich Shepard a écrit :

   Turns out lyx was set to use enchant (never knew of this before) where I
used to use aspell or ispell. (Here, aspell, enchnat, ispell, and hunspell
are all installed and I've no idea how, or why, they differ.)


ispell is the one for oldtimers.
aspell is the more modern ispell.
hunspell is the more modern aspell
enchant is a wrapper that canbe configured at system level to use 
whatever spell checker you have on your system (not sure where).


 Anyway, I was

offered aspell as an option so I changed the spell checker to that. The
option, 'accept compound words' was checked yet apparently not available in
enchant. Because this non-acceptance was a chenge from the past lyx must
have changed the default spell checker in a recent upgrade and I hadn't
noticed. Probably because I didn't go looking for the reason.


It depends on what spell checkers have been compiled in when building LyX.

JMarc


Re: An observation on 3.2.1 spell checking

2018-10-19 Thread Rich Shepard

On Fri, 19 Oct 2018, Daniel wrote:


Those words are not marked on my system. I use Hunspell on Windows (which
is installed as default with LyX, I think). You can check your
spell-checker via

Preferences > Language Settings > Spellchecker


Daniel,

  Well, well, well! I don't recall ever looking at that portion of settings
in the many years I've used lyx (all on linux).

  Turns out lyx was set to use enchant (never knew of this before) where I
used to use aspell or ispell. (Here, aspell, enchnat, ispell, and hunspell
are all installed and I've no idea how, or why, they differ.) Anyway, I was
offered aspell as an option so I changed the spell checker to that. The
option, 'accept compound words' was checked yet apparently not available in
enchant. Because this non-acceptance was a chenge from the past lyx must
have changed the default spell checker in a recent upgrade and I hadn't
noticed. Probably because I didn't go looking for the reason.

  Thanks very much for the lesson.

Regards,

Rich



Re: An observation on 3.2.1 spell checking

2018-10-19 Thread Daniel

On 18/10/2018 22:26, Rich Shepard wrote:
   The document I'm now writing has many hyphenated words (e.g., 
Douglas-fir,
near-surface) and all are questioned by the spelling checker. I don't 
recall

seeing this before and don't know if its source is lyx or the spell checker
being used (I don't recall whether it's aspell or ispell).

   No action is required on anyone's part but I find it interesting that
these compound words are seen as being mis-spelled, even after I
(supposedly) add them to the dictionary.

Regards,

Rich


Those words are not marked on my system. I use Hunspell on Windows 
(which is installed as default with LyX, I think). You can check your 
spell-checker via


Preferences > Language Settings > Spellchecker

Best,
Daniel



An observation on 3.2.1 spell checking

2018-10-18 Thread Rich Shepard

  The document I'm now writing has many hyphenated words (e.g., Douglas-fir,
near-surface) and all are questioned by the spelling checker. I don't recall
seeing this before and don't know if its source is lyx or the spell checker
being used (I don't recall whether it's aspell or ispell).

  No action is required on anyone's part but I find it interesting that
these compound words are seen as being mis-spelled, even after I
(supposedly) add them to the dictionary.

Regards,

Rich


Re: spell checking problem in LyX

2015-10-17 Thread Michael Berger

openSUSE 13.2, KDE 4.14.9, LyX 2.1.2-1.6-x86_64 from Vendor openSUSE

I was able to resolve "Spell checker has no dictionaries" using hunspell 
as follows:

visit http://rpm.pbone.net/
select "Advanced RPM search
select your distro (in my case openSUSE 13.x)
in the search field enter "hunspell"
From all the search results presented select the most appropriate RPM 
for your installation

(I selected texmaker-debug source 4.4.1.-67.1.x86-64_rpm)
install and here you go!

Hope this helps!? But for Lyx on Windows?? :-D
sort of feed-back would be appreciated

Michael Berger

On 10/17/2015 02:18 AM, Uwe Stöhr wrote:

Dear LyXers,

it was not possible to spell-check English (US and Canadian) under LyX 
2.1.4 for Windows. This problem is now fixed.

There are 2 possibilities:

- replace the 2 files
  en_CA.aff
  en_US.aff
  in the LyX installation folder with these ones:

http://sourceforge.net/projects/lyxwininstaller/files/hunspell/en_CA.aff/download 


  and

http://sourceforge.net/projects/lyxwininstaller/files/hunspell/en_US.aff/download 



- uninstall LyX and the reinstall it using the latest installer you 
find on

  http://www.lyx.org/Download
  or
  http://ftp.lyx.de/LyX%202.1.4/

regards Uwe







Solution for English spell checking problem in LyX 2.1.4

2015-10-16 Thread Uwe Stöhr

Dear LyXers,

it was not possible to spell-check English (US and Canadian) under LyX 
2.1.4 for Windows. This problem is now fixed.

There are 2 possibilities:

- replace the 2 files
  en_CA.aff
  en_US.aff
  in the LyX installation folder with these ones:

http://sourceforge.net/projects/lyxwininstaller/files/hunspell/en_CA.aff/download
  and

http://sourceforge.net/projects/lyxwininstaller/files/hunspell/en_US.aff/download

- uninstall LyX and the reinstall it using the latest installer you find on
  http://www.lyx.org/Download
  or
  http://ftp.lyx.de/LyX%202.1.4/

regards Uwe




Re: Case-sensitive spell-checking

2015-05-29 Thread Scott Kostyshak
On Fri, May 29, 2015 at 2:29 PM, Richard Heck  wrote:
> On 05/27/2015 03:55 PM, alain krier wrote:
>>
>> Hey,
>>
>> Is it possible to make the spell-checking in Lyx case-sensitve?
>> For example in the following sentence I want "House" to be underlined red
>> because it should be written in lower-case:
>>
>> This is a House.
>
>
> There is no way to do this in LyX, so far as I am aware. It's also not
> trivial to get right, since in "the White House" it should be capitalized,
> in some cases, though not in all. Not to mention at the beginning of a
> sentence. So this is almost more a job for a grammar checker.

And LyX can indeed interface with a grammar checker:
http://wiki.lyx.org/Tools/LyX-GrammarChecker

Scott


Re: Case-sensitive spell-checking

2015-05-29 Thread Richard Heck

On 05/27/2015 03:55 PM, alain krier wrote:

Hey,

Is it possible to make the spell-checking in Lyx case-sensitve?
For example in the following sentence I want "House" to be underlined 
red because it should be written in lower-case:


This is a House.


There is no way to do this in LyX, so far as I am aware. It's also not 
trivial to get right, since in "the White House" it should be 
capitalized, in some cases, though not in all. Not to mention at the 
beginning of a sentence. So this is almost more a job for a grammar checker.


Richard



Case-sensitive spell-checking

2015-05-27 Thread alain krier
Hey,

Is it possible to make the spell-checking in Lyx case-sensitve?
For example in the following sentence I want "House" to be underlined red
because it should be written in lower-case:

This is a House.

kind regards


Re: Spell-checking two languages

2012-08-23 Thread Michael Bach

On 8/23/2012 2:40 PM, Jean-Marc Lasgouttes wrote:


What is wrong with marking English text as English and German text as
German?



There is nothing wrong with this. Thanks for your frank response which 
made me realize my misconception: I had the impression that marking text 
as e.g. English makes the spell checker ignore these parts when a 
"German" spell check is started (see OP). I was not aware that 
dictionary switching is automated via the language choice. It already 
worked the way I wanted it.


Sorry for the noise,

Michael





Re: Spell-checking two languages

2012-08-23 Thread Jean-Marc Lasgouttes

Le 23/08/2012 13:50, Michael Bach a écrit :

I could not find any info in the Help Manuals. I know that I can do a
Edit > Language on the parts in English so that the German spell checker
ignores them. But I would ideally also have a way of checking these
parts as well with the English checker.


What is wrong with marking English text as English and German text as 
German?


JMarc



Spell-checking two languages

2012-08-23 Thread Michael Bach

Dear LyX Users and Developers,

I just wanted to ask whether there is the option to use the 
spell-checking feature of LyX for a document with e.g. mixed German and 
English content.


I could not find any info in the Help Manuals. I know that I can do a 
Edit > Language on the parts in English so that the German spell checker 
ignores them. But I would ideally also have a way of checking these 
parts as well with the English checker.


Any best practices?

Michael



Re: How to use spell checking in lyx?

2011-08-03 Thread Csikos Bela
Liviu Andronic  írta:
>2011/8/2 Csikos Bela :>
> Hello lyx users:>
>>
> I wanted to use lyx spell checker for Hungarian language but I could not find 
> out how to do it.>
>>
> I have lyx 2.0.0 compiled on my system.>
> On my system hunspell-devel and aspell-devel files are also installed, and 
> lyx>
> took this into account at build.>
>>
> I can set "Spellchecker engine" in lyx preferences either to aspell or to 
> hunspell.>
>>
> When aspell is selected in preferences:>
> If I create a document and set its language to Hungarian in document 
> settings, the spell checker does not use a Hungarian dictionary. If I press 
> F7 the spell checker stop at the first Hungarian word and the language in the 
> spell checker is set to English. How can I change the selected dictionary to 
> Hungarian permanently?>
> aspell-hu is installed.>
>>
With Aspell, try this [1], and let us know if it works.>
Liviu>
>
[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87799.html>

Thank you.
It helped to change language for the text.
No spell checker works as expected.

Thanks again,

bcsikos



Re: How to use spell checking in lyx?

2011-08-02 Thread Liviu Andronic
2011/8/2 Csikos Bela :
> Hello lyx users:
>
> I wanted to use lyx spell checker for Hungarian language but I could not find 
> out how to do it.
>
> I have lyx 2.0.0 compiled on my system.
> On my system hunspell-devel and aspell-devel files are also installed, and lyx
> took this into account at build.
>
> I can set "Spellchecker engine" in lyx preferences either to aspell or to 
> hunspell.
>
> When aspell is selected in preferences:
> If I create a document and set its language to Hungarian in document 
> settings, the spell checker does not use a Hungarian dictionary. If I press 
> F7 the spell checker stop at the first Hungarian word and the language in the 
> spell checker is set to English. How can I change the selected dictionary to 
> Hungarian permanently?
> aspell-hu is installed.
>
With Aspell, try this [1], and let us know if it works.
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87799.html


How to use spell checking in lyx?

2011-08-02 Thread Csikos Bela
Hello lyx users:

I wanted to use lyx spell checker for Hungarian language but I could not find 
out how to do it.

I have lyx 2.0.0 compiled on my system.
On my system hunspell-devel and aspell-devel files are also installed, and lyx
took this into account at build.

I can set "Spellchecker engine" in lyx preferences either to aspell or to 
hunspell.

When aspell is selected in preferences:
If I create a document and set its language to Hungarian in document settings, 
the spell checker does not use a Hungarian dictionary. If I press F7 the spell 
checker stop at the first Hungarian word and the language in the spell checker 
is set to English. How can I change the selected dictionary to Hungarian 
permanently?
aspell-hu is installed.

Hunspell does not work at all, the hunspell Hungarian dictionary might be 
missing.

Thanks,

bcsikos




Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-28 Thread Walter
>> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83713.html
>
> Ok, AFAIU this refers to the XeLaTeX engine and not to LyX.
> Of course, if someone wants to develop a solid algorithm for language
> guessing and can convince the LyX developer community of it and has the
> resources to implement and test it - it may happen. Another option
> would be to have a spell checker backend including this feature.

OK. Sadly I am not that person, but I am very glad that this
discussion has occurred and at least the potential for improvements
identified.

>> But alas, the user is still utterly laboured with tedious repetition
>> of language specification (also text style selection, with the hack i
>> use), and will remain so until LyX UI changes.
>
> Do you have an example for such a document?

I will email you immediately with a copy.

>>> But it can be tricky to make it right. It heavily depends on the spell 
>>> checker -
>>> aspell e. g. accepts completely different "alternative" language settings as
>>> hunspell or apples spell checker do. And it depends on the 
>>> runtime-environment -
>>> what dictionaries are available for the user on the current machine.
>>> And we have the feature to switch between the spell checker back ends at 
>>> runtime.
>>
>> This sounds ugly.  Is there any similarity between spell checking APIs?  Is
>> there a cross platform, spell checking library unification / abstraction 
>> layer
>> available? Would it be worth developing one? How difficult is it to detect
>> known dictionaries and spell checkers on a cross-platform basis?
>
> I'll cite my own investigation about similarity between spell checking APIs.
> The focus was the management of personal word lists.
>
>> We have support for different spell checker backends.
>> All of them are able to check words, of course.
>> But the capabilities with personal word lists differs horrible.
>> The following table presents the results of my investigation.
>>
>> Feature     | aspell | native (mac) | enchant | hunspell
>> 
>> check       | +      | +            | +       | +
>> suggest     | +      | +            | +       | +
>> accept      | +      | +            | +       | +
>> insert      | +      | +            | o (2)   | o (3)
>> ispersonal? | o (1)  | +            | -       | -
>> remove      | -      | +            | + (4)   | -
>>
>> Legend:
>> + feature is supported
>> - feature is not supported
>> o there are limitations:
>> 1) aspell has the interface to enumerate the personal word list.
>>   So it's possible to implement, I have a patch for LyX at hand.
>> 2) The versions below 1.6.0 are truncating the personal word list
>>   on open - effectively no personal word list available after restart.
>> 3) There is no persistent state for personal word lists.
> (4) Enchant manages it's own personal word lists.

Thanks for this very interesting review.

Points (2) and (3), plus the lack of a remove feature for some
engines, seem to be the sorts of things that comments upstream
could fix.  In addition, (3) could be worked around by LyX pretty
easily (though such code is always best avoided), and both (2)
and missing remove functionality seem not critical (just annoying).

Could you please clarify what the purpose of 'ispersonal?' is at the
LyX UI level?  I'm guessing it's a feature to test whether a word
came from a "standard" dictionary or from a "personal" dictionary,
but I am unsure of whether this distinction is useful at all for LyX?

>> There is some rumor on the net already to consolidate the spelling
>> for the whole desktop.
>> https://wiki.ubuntu.com/ConsolidateSpellingLibs
>> I don't know how long it would last to get some result.

This seems to be a move for pushing Ubuntu towards hunspell
and enchant.  hunspell is claimed to be the most modern
implementation of a multilingual spell checking backend.

However, its language support is not complete, so users of
some languages still require support for other, specialised
engines (Voikko for Finnish, Zemberek for Turkish, Uspell for
Yiddish, Hebrew, and Eastern European languages, Hspell
for Hebrew) which enchant can provide.

Contrary to your prior email, it seems that enchant does
work on OSX, since support for AppleSpell (Mac OSX) is
claimed @ http://www.abisource.com/projects/enchant/

(Note: Ubuntu cites problems preventing the dropping of
older implementations due to the lack of upstream hunspell
or enchant support in some major software packages, such
as PHP. GTKSpell and KDE use enchant already).

>>>&g

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Jürgen Spitzmüller
Stephan Witt wrote:
> Of course, if someone wants to develop a solid algorithm for language
> guessing and can convince the LyX developer community of it and has the
> resources to implement and test it - it may happen. Another option
> would be to have a spell checker backend including this feature.

Note that language settings are not only needed for the spellchecker, but 
ultimately also for LaTeX (babel). If you do not mark the language properly, 
you will get wrong hyphenation, which is much more crucial than the 
spellchecker. 

Jürgen


Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 14:05 schrieb Walter:

>>> Whilst using LyX 2.0beta1 [since verified on LyX 2.0beta3] I recently ran
>>> a spell check for the first time.
>>> 
>>> The interface is good and no doubt an improvement on previous eras, however
>>> the following struck me as possible to improve.
>>> 
>>> Those items marked with "[*]" I consider a bug in LyX. Those items marked
>>> with "[X]" I consider a bug elsewhere.
>>> 
>>> 
>>> 1. Preferences|Language Settings|Spellchecker [*]
>>>   --
>>>   Fields lack a description.  Faced with having used non-US spelling
>>>   in my document ("for shame!"), I do not want to manually set hundreds
>>>   of individual words to be 'English (UK)', which using the inbuilt right
>>>   sidebar interface appears to be the default way forward.  (For some
>>>   reason, 'English (AU)' is not even an option on my system, though that's
>>>   probably my fault.)
>> 
>> The following refers to the field "Alternative language" I'd guess.
> 
> Correct!
> 
>>>   Thus driven to the preferences dialog, I was unsure of which mystical
>>>   value to enter in to the great LyX machine.  Assuming 'man aspell' would
>>>   clear it up, indeed some text was located that made the expected format
>>>   for the entry of a single language value probable:
>>> 
>>>"It follows the same format of the  LANG  environmental variable on
>>> most systems. It consists of the two letter ISO 639 language code and
>>> an optional two letter ISO 3166 country code after a dash or 
>>> underscore."
>>> 
>>>   I tried this ("en_AU"), and it did work.  However, there are two problems:
>>>- Even the first step would be a challenge for some users
>>>- I would like to add multiple values to the field, since otherwise even
>>>  at this early stage of my document still hundreds of words and place
>>>  names in French, German, Greek (+romanised Greek), Chinese (+romanised
>>>  Chinese), etc. trip up the spell checker. (Use of these languages
>>>  is frequent and scattered right throughout the document.)
>> 
>> Ok, with this use case - mixed language documents - you are requested to
>> mark the text appropriately. Here LyX does no guessing and there are no
>> plans to change that.
> 
> On the contrary, dear fellow: the opposite has already come to pass!
> Demand hath begat a plan!  One man, I understand, begat that plan: a
> module fan, Michiel Kamermans!
> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83713.html

Ok, AFAIU this refers to the XeLaTeX engine and not to LyX.
Of course, if someone wants to develop a solid algorithm for language
guessing and can convince the LyX developer community of it and has the
resources to implement and test it - it may happen. Another option
would be to have a spell checker backend including this feature.

> <http://www.ctan.org/tex-archive/macros/xetex/latex/fontwrap/>
> "So that fonts are *autoselected* based on UNICODE range unless
> otherwise overridden."
> 
> But alas, the user is still utterly laboured with tedious repetition
> of language specification (also text style selection, with the hack i
> use), and will remain so until LyX UI changes.

Do you have an example for such a document?

> 
>> But it can be tricky to make it right. It heavily depends on the spell 
>> checker -
>> aspell e. g. accepts completely different "alternative" language settings as
>> hunspell or apples spell checker do. And it depends on the 
>> runtime-environment -
>> what dictionaries are available for the user on the current machine.
>> And we have the feature to switch between the spell checker back ends at 
>> runtime.
> 
> This sounds ugly.  Is there any similarity between spell checking APIs?  Is
> there a cross platform, spell checking library unification / abstraction layer
> available? Would it be worth developing one? How difficult is it to detect
> known dictionaries and spell checkers on a cross-platform basis?

I'll cite my own investigation about similarity between spell checking APIs.
The focus was the management of personal word lists.

> We have support for different spell checker backends.
> All of them are able to check words, of course.
> But the capabilities with personal word lists differs horrible.
> The following table presents the results of my investigation.
> 
> Feature | aspell | na

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 15:16 schrieb Walter:

>> This sounds ugly.  Is there any similarity between spell checking APIs?  Is
>> there a cross platform, spell checking library unification / abstraction 
>> layer
>> available? Would it be worth developing one? How difficult is it to detect
>> known dictionaries and spell checkers on a cross-platform basis?
> 
> Possible answer: http://www.abisource.com/projects/enchant/

Unfortunately enchant has big drawbacks:
* missing language variety support
* not available for LyX on mac

And in fact it is only a wrapper around existing spell checkers -
just as LyX is :-)

Stephan

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Liviu Andronic
On Thu, Jan 27, 2011 at 3:16 PM, Walter  wrote:
>> This sounds ugly.  Is there any similarity between spell checking APIs?  Is
>> there a cross platform, spell checking library unification / abstraction 
>> layer
>> available? Would it be worth developing one? How difficult is it to detect
>> known dictionaries and spell checkers on a cross-platform basis?
>
> Possible answer: http://www.abisource.com/projects/enchant/
>
LyX supports enchant. [1] [2]
Liviu

[1] http://wiki.lyx.org/LyX/NewInLyX20#toc28
[2] http://www.mail-archive.com/lyx-announce@lists.lyx.org/msg00124.html


> - Walter
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Walter
> This sounds ugly.  Is there any similarity between spell checking APIs?  Is
> there a cross platform, spell checking library unification / abstraction layer
> available? Would it be worth developing one? How difficult is it to detect
> known dictionaries and spell checkers on a cross-platform basis?

Possible answer: http://www.abisource.com/projects/enchant/

- Walter


Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Liviu Andronic

Hello
This is a long document indeed and, unfortunately, I couldn't find the  
will to go through it all. But I should have a couple of interesting  
references regarding multilingual documents.


This has been discussed previously on the list, in the context of XeTeX  
support in LyX 2.0 SVN:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83713.html
http://comments.gmane.org/gmane.editors.lyx.general/66485

Especially Daron's comments:
http://permalink.gmane.org/gmane.editors.lyx.general/66547

Hope this is of help
Liviu



On Wed, 26 Jan 2011 15:00:56 +0100, Walter   
wrote:


(Note: Mostly this email dates from pre-Christmas December - took me  
awhile

   to post!)

(This is a bit more verbose than it should be, as I am presently stuck in
an historic colonial hill station of Tunisia, by the Algerian border, and
being winter the weather is bitter and I am therefore locked in my hotel
room with time, but no internet connection!)

Whilst using LyX 2.0beta1 [since verified on LyX 2.0beta3] I recently ran
a spell check for the first time.

The interface is good and no doubt an improvement on previous eras,  
however

the following struck me as possible to improve.

Those items marked with "[*]" I consider a bug in LyX. Those items marked
with "[X]" I consider a bug elsewhere.


1. Preferences|Language Settings|Spellchecker [*]
   --
   Fields lack a description.  Faced with having used non-US spelling
   in my document ("for shame!"), I do not want to manually set hundreds
   of individual words to be 'English (UK)', which using the inbuilt  
right

   sidebar interface appears to be the default way forward.  (For some
   reason, 'English (AU)' is not even an option on my system, though  
that's

   probably my fault.)

   Thus driven to the preferences dialog, I was unsure of which mystical
   value to enter in to the great LyX machine.  Assuming 'man aspell'  
would
   clear it up, indeed some text was located that made the expected  
format

   for the entry of a single language value probable:

"It follows the same format of the  LANG  environmental variable on
 most systems. It consists of the two letter ISO 639 language code  
and
 an optional two letter ISO 3166 country code after a dash or  
underscore."


   I tried this ("en_AU"), and it did work.  However, there are two  
problems:

- Even the first step would be a challenge for some users
- I would like to add multiple values to the field, since otherwise  
even
  at this early stage of my document still hundreds of words and  
place
  names in French, German, Greek (+romanised Greek), Chinese  
(+romanised

  Chinese), etc. trip up the spell checker. (Use of these languages
  is frequent and scattered right throughout the document.)

   The method to do this (eg: separate multiple values with a space or  
comma),

   or indeed whether entering multiple values in to this field is at all
   possible remains unclear.

   Whilst the ideal route would be to add (relatively) complex  
integration

   code that auto-detected available spellcheckers, their dictionaries,
   and provided a sexy GUI for end user language selection instead of a
   mystical text field, I realise this is not going to happen overnight  
or

   perhaps ever.

   Thus, as a relatively easy half-way fix, could we please have some
   increased on-screen documentation?  Something like "eg: 'en_GB' for
   aspell." may suffice for 95% of users.

2. Right click to set spellchecker language on a highlighted word fails  
[*]

   
   It appears that when 'Tools|Preferences|Language  
Settings|Spellchecker|
   Spellcheck continuously' is set, and red-wavy (Note: LyX 2.0.0beta1  
was
   wavy, LyX 2.0.0beta3 is straight and thicker) underlined words are  
right

   clicked, there is an option to set their language for spellchecking
   purposes.  However, this does not appear to actually do anything!
   This makes it necessary for the user to select the word then use  
'Edit|

   Language|Whatever language' to actually perform the change - pointless
   tedium.

3. Wider problem of spellchecking and multilingual support
   ---
   Regarding points 1 and 2, really there is a wider problem of  
multilingual

   support being a little 'all over the place', with a bunch of different
   "solutions" in use.  In terms of LyX, none of these are really  
"solutions"
   as even with LyX 2.0beta1 it appears to be demonstrably impossible to  
link
   the manual language markup made in conjunction with a font-linked  
solution

   to the manual language markup required for spellchecking purposes.

   The TeX-world's colourful background to all this is understandable,  
and of
   course I would not suggest to fly in the face of either  
configurability
   nor tradition nor the existing user b

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Walter
> I'll try to answer this - although I surely don't have so much time you had 
> to write this.

Relativity...

>> Whilst using LyX 2.0beta1 [since verified on LyX 2.0beta3] I recently ran
>> a spell check for the first time.
>>
>> The interface is good and no doubt an improvement on previous eras, however
>> the following struck me as possible to improve.
>>
>> Those items marked with "[*]" I consider a bug in LyX. Those items marked
>> with "[X]" I consider a bug elsewhere.
>>
>>
>> 1. Preferences|Language Settings|Spellchecker [*]
>>   --
>>   Fields lack a description.  Faced with having used non-US spelling
>>   in my document ("for shame!"), I do not want to manually set hundreds
>>   of individual words to be 'English (UK)', which using the inbuilt right
>>   sidebar interface appears to be the default way forward.  (For some
>>   reason, 'English (AU)' is not even an option on my system, though that's
>>   probably my fault.)
>
> The following refers to the field "Alternative language" I'd guess.

Correct!

>>   Thus driven to the preferences dialog, I was unsure of which mystical
>>   value to enter in to the great LyX machine.  Assuming 'man aspell' would
>>   clear it up, indeed some text was located that made the expected format
>>   for the entry of a single language value probable:
>>
>>    "It follows the same format of the  LANG  environmental variable on
>>     most systems. It consists of the two letter ISO 639 language code and
>>     an optional two letter ISO 3166 country code after a dash or underscore."
>>
>>   I tried this ("en_AU"), and it did work.  However, there are two problems:
>>    - Even the first step would be a challenge for some users
>>    - I would like to add multiple values to the field, since otherwise even
>>      at this early stage of my document still hundreds of words and place
>>      names in French, German, Greek (+romanised Greek), Chinese (+romanised
>>      Chinese), etc. trip up the spell checker. (Use of these languages
>>      is frequent and scattered right throughout the document.)
>
> Ok, with this use case - mixed language documents - you are requested to
> mark the text appropriately. Here LyX does no guessing and there are no
> plans to change that.

On the contrary, dear fellow: the opposite has already come to pass!
Demand hath begat a plan!  One man, I understand, begat that plan: a
module fan, Michiel Kamermans!
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83713.html

<http://www.ctan.org/tex-archive/macros/xetex/latex/fontwrap/>
 "So that fonts are *autoselected* based on UNICODE range unless
otherwise overridden."

But alas, the user is still utterly laboured with tedious repetition
of language specification (also text style selection, with the hack i
use), and will remain so until LyX UI changes.

> But it can be tricky to make it right. It heavily depends on the spell 
> checker -
> aspell e. g. accepts completely different "alternative" language settings as
> hunspell or apples spell checker do. And it depends on the 
> runtime-environment -
> what dictionaries are available for the user on the current machine.
> And we have the feature to switch between the spell checker back ends at 
> runtime.

This sounds ugly.  Is there any similarity between spell checking APIs?  Is
there a cross platform, spell checking library unification / abstraction layer
available? Would it be worth developing one? How difficult is it to detect
known dictionaries and spell checkers on a cross-platform basis?

>>   Thus, as a relatively easy half-way fix, could we please have some
>>   increased on-screen documentation?  Something like "eg: 'en_GB' for
>>   aspell." may suffice for 95% of users.
>
> Until the field gets replaced or removed a tooltip may help.

Great!

>> 2. Right click to set spellchecker language on a highlighted word fails [*]
>>   
>>   It appears that when 'Tools|Preferences|Language Settings|Spellchecker|
>>   Spellcheck continuously' is set, and red-wavy (Note: LyX 2.0.0beta1 was
>>   wavy, LyX 2.0.0beta3 is straight and thicker) underlined words are right
>>   clicked, there is an option to set their language for spellchecking
>>   purposes.  However, this does not appear to actually do anything!
>>   This makes it necessary for the user to select the word then use 'Edit|
>>   Language|Whatever language' 

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Stephan Witt
 to set their language for spellchecking
>   purposes.  However, this does not appear to actually do anything!
>   This makes it necessary for the user to select the word then use 'Edit|
>   Language|Whatever language' to actually perform the change - pointless
>   tedium.

You propose to auto extend the selection to word boundaries when setting
the language at a given position and no selection exists. That sounds
sensible...

> 3. Wider problem of spellchecking and multilingual support
>   ---
>   Regarding points 1 and 2, really there is a wider problem of multilingual
>   support being a little 'all over the place', with a bunch of different
>   "solutions" in use.  In terms of LyX, none of these are really "solutions"
>   as even with LyX 2.0beta1 it appears to be demonstrably impossible to link
>   the manual language markup made in conjunction with a font-linked solution
>   to the manual language markup required for spellchecking purposes.

Sorry, I cannot follow you. The language you assigned a word, phrase or 
paragraph
is used for spell checking of the given words in this area. Do you refer to the
fact that it's possible to mark two parts of a word with two languages?

>   The TeX-world's colourful background to all this is understandable, and of
>   course I would not suggest to fly in the face of either configurability
>   nor tradition nor the existing user base's preferences, however to my mind
>   it would be expedient for ease of use (especially for new users with
>   little TeX background, who - let's face it - represent the largest
>   possible and probable future user base) if LyX would 'encourage' people
>   to an 'intelligent' default solution instead of leaving them high and dry
>   with a "there's 1000 ways to do it but we're not really going to hint at
>   any of them" situation, as we see at present.  Now, I see the adoption
>   of XeTeX-specific checkboxes in LyX 2.0beta1 as a *great* step forward
>   in this direction, but "there's a ways to go yet".

Surely. (But that's not my playground.)

>   As per previous posts whereby I suggested revising the user interface to
>   make proper use of available databases and let the user assign fonts
>   to unicode blocks and/or languages and/or custom defined text-types for
>   font selection purposes, a forward-looking, integrated solution should
>   also take in to account spellchecker requirements.
> 
>   Otherwise, we poor users are laboured with having to make 1000 manual
>   markups just to include a short bit of text!  This is exemplified if,
>   for instance, one wishes to quote a place name with translations and their
>   romanised equivalents in situ at many points throughout a document
>   (my unfortunate situation, and before anyone asks: no I cannot switch to
>   compiling a reference table, for reasons of readership and readability)
> 
>   In summary, a short list of user-side 'wants' for such a future upgrade
>   to multilingual support would be:
>- works with unicode TeX systems (XeTeX)
>- works with TTF
>- provides dialog based font selection (see previous post)
>- provides dialog based language selection (see previous post)
>- does not require duplicate language markup for the font subsystem
>  and the spellchecker subsystem
>- upgrades the spellchecker subsystem to be more multilingual aware
> 
>   Please do reference the previous message which included a UI mockup for
>   further details on the proposed genre of solution:
>http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83635.html
>http://pratyeka.org/unicode-font-mockup.png (hosted copy of mockup)

I didn't follow this in detail - sorry...

But your wish list above seems a little bit too general.
E. g. "upgrades the spellchecker subsystem to be more multilingual aware"...
What do you have in mind exactly?

> 
> 4. Weird behaviour with common prefixes and specialist compounds [X]
>   -
>   Common prefixes such as micro and proto seem to confuse aspell.  Not sure
>   if this is somehow related to how it is linked from LyX, but I assume the
>   issue is with them.  For example, 'proto-' does not seem to
>   be accepted, forcing 'proto' to be added manually as a valid word.
>   Unfortunately, the LyX interface does not offer a proper workaround.
>   (Please see point 5.)
>   (Note: Upon further investigation, actually a lot of words appear to be
>missing from the default dictionary, including "hewn", "proven",
>"romanised". A scrabble player 

Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-26 Thread Walter
(Note: Mostly this email dates from pre-Christmas December - took me awhile
   to post!)

(This is a bit more verbose than it should be, as I am presently stuck in
an historic colonial hill station of Tunisia, by the Algerian border, and
being winter the weather is bitter and I am therefore locked in my hotel
room with time, but no internet connection!)

Whilst using LyX 2.0beta1 [since verified on LyX 2.0beta3] I recently ran
a spell check for the first time.

The interface is good and no doubt an improvement on previous eras, however
the following struck me as possible to improve.

Those items marked with "[*]" I consider a bug in LyX. Those items marked
with "[X]" I consider a bug elsewhere.


1. Preferences|Language Settings|Spellchecker [*]
   --
   Fields lack a description.  Faced with having used non-US spelling
   in my document ("for shame!"), I do not want to manually set hundreds
   of individual words to be 'English (UK)', which using the inbuilt right
   sidebar interface appears to be the default way forward.  (For some
   reason, 'English (AU)' is not even an option on my system, though that's
   probably my fault.)

   Thus driven to the preferences dialog, I was unsure of which mystical
   value to enter in to the great LyX machine.  Assuming 'man aspell' would
   clear it up, indeed some text was located that made the expected format
   for the entry of a single language value probable:

"It follows the same format of the  LANG  environmental variable on
 most systems. It consists of the two letter ISO 639 language code and
 an optional two letter ISO 3166 country code after a dash or underscore."

   I tried this ("en_AU"), and it did work.  However, there are two problems:
- Even the first step would be a challenge for some users
- I would like to add multiple values to the field, since otherwise even
  at this early stage of my document still hundreds of words and place
  names in French, German, Greek (+romanised Greek), Chinese (+romanised
  Chinese), etc. trip up the spell checker. (Use of these languages
  is frequent and scattered right throughout the document.)

   The method to do this (eg: separate multiple values with a space or comma),
   or indeed whether entering multiple values in to this field is at all
   possible remains unclear.

   Whilst the ideal route would be to add (relatively) complex integration
   code that auto-detected available spellcheckers, their dictionaries,
   and provided a sexy GUI for end user language selection instead of a
   mystical text field, I realise this is not going to happen overnight or
   perhaps ever.

   Thus, as a relatively easy half-way fix, could we please have some
   increased on-screen documentation?  Something like "eg: 'en_GB' for
   aspell." may suffice for 95% of users.

2. Right click to set spellchecker language on a highlighted word fails [*]
   
   It appears that when 'Tools|Preferences|Language Settings|Spellchecker|
   Spellcheck continuously' is set, and red-wavy (Note: LyX 2.0.0beta1 was
   wavy, LyX 2.0.0beta3 is straight and thicker) underlined words are right
   clicked, there is an option to set their language for spellchecking
   purposes.  However, this does not appear to actually do anything!
   This makes it necessary for the user to select the word then use 'Edit|
   Language|Whatever language' to actually perform the change - pointless
   tedium.

3. Wider problem of spellchecking and multilingual support
   ---
   Regarding points 1 and 2, really there is a wider problem of multilingual
   support being a little 'all over the place', with a bunch of different
   "solutions" in use.  In terms of LyX, none of these are really "solutions"
   as even with LyX 2.0beta1 it appears to be demonstrably impossible to link
   the manual language markup made in conjunction with a font-linked solution
   to the manual language markup required for spellchecking purposes.

   The TeX-world's colourful background to all this is understandable, and of
   course I would not suggest to fly in the face of either configurability
   nor tradition nor the existing user base's preferences, however to my mind
   it would be expedient for ease of use (especially for new users with
   little TeX background, who - let's face it - represent the largest
   possible and probable future user base) if LyX would 'encourage' people
   to an 'intelligent' default solution instead of leaving them high and dry
   with a "there's 1000 ways to do it but we're not really going to hint at
   any of them" situation, as we see at present.  Now, I see the adoption
   of XeTeX-specific checkboxes in LyX 2.0beta1 as a *great* step forward
   in this direction, but "there's a ways to go yet".

   As per previous posts whereby I suggested revising

Spell checking stopped working

2010-11-06 Thread Andras Toth
Hello,

The spell-check (aspell-library) in my LyX installation stopped working: if I 
hit F7 (or click on the icon), just a status message "(dialog-show 
spellchecker: F7)" is shown, but nothing happens.
I am not sure, whether it is a bug, since I tried it before a few times, and 
it was working; however I do not remember changing any settings either.
Did anyone already experience this problem?

Regards,

Andras



P.S.: details:

Using LyX v. 1.6.4 on OpenSUSE 11.2

Language: English

Other spelling engines: ispell, aspell, hspell, aspell (library).
aspell yields the same result, hspell executable is not installed as far as I 
know, and with ispell I get the error: "The spellchecker could not be started
ispell:  unrecognized formatter type 'latin9'"

Spelling in other programs (OpenOffice, KMail, Firefox) is working fine.


Re: Editing while spell-checking

2010-05-20 Thread Uwe Stöhr

Am 21.05.2010 01:50, schrieb Frederick Noronha:


Is there some way I could edit (make small changes) to a file, at the
same time as I'm spellchecking it?


Due to a bug not in LyX 1.6.6. In LyX 2.0 this will be possible.

regards Uwe


Editing while spell-checking

2010-05-20 Thread Frederick Noronha
Is there some way I could edit (make small changes) to a file, at the
same time as I'm spellchecking it?

Reason: I notice some small word needs to be italicised or changed to
lower-case, but under the current way of doing things, I have to exit
from the spellchecker, make the change, and then go back.

Please help if possible. FN

Frederick Noronha
+91-9822122436
+91-832-2409490


Spell Checking under Mac OS

2010-03-31 Thread Gabriele Genta
Hello everyone,
I've got a problem with LyX spellchecking under mac os x, it seems it
isn't able to save new words to the dictionary when I click "Add" in
the UI. I'm talking about LyX version 1.6.5, with aspell 0.60.6
(installed through homebrew).
I've read on the internet about this problem and someone suggests to
make modifications to the aspell.conf file int /usr/local/etc, but I
don't have that file and can't manage to find a default online.
I've also found that aspell created a personal dictionary for the
words I added in ~/.aspell.it.pws (I've opened it with a text editor
and it contains exactly what I added), but that doesn't seem to affect
spell checking inside LyX: it keeps on asking for the same words.
What can I do?
Thanks a lot,

   Gabriele Genta


Re: Continuous spell checking donations: some questions

2009-03-22 Thread Abdelrazak Younes

On 21/03/2009 18:23, Liviu Andronic wrote:

On Fri, Mar 20, 2009 at 3:15 PM, Abdelrazak Younes  wrote:
   

But, ideally, the inline spellchecking capabilities will be programmed in
spellchecker agnostic way. At least that's how I am going to implement it.

 

Out of curiousity, would this involve enchant?
   


No, switching to enchant would be part of this spellchecker rewriting 
project. I tried once to use Enchant but I was put off by the dependency 
to glib (from gtk). What I meant is that the inline spellchecker support 
will be able to use any spellcheker that is used by LyX, that's all.


Abdel.



Re: Continuous spell checking donations: some questions

2009-03-21 Thread Liviu Andronic
On Fri, Mar 20, 2009 at 3:15 PM, Abdelrazak Younes  wrote:
> But, ideally, the inline spellchecking capabilities will be programmed in
> spellchecker agnostic way. At least that's how I am going to implement it.
>
Out of curiousity, would this involve enchant?
Liviu



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Continuous spell checking donations: some questions

2009-03-20 Thread Doug Laidlaw
On Saturday 21 March 2009 12:02:28 pm Doug Laidlaw wrote:> On Saturday 21 
March 2009 12:14:46 am silvio grosso wrote:
> > Hello everybody,
> >
> > I would like to donate something more to the "continuous spell checking
> > project". The link is: http://www.lyx.org/Donate.
> > At present, It lacks 237 euros to be accepted by Abdelrazak Younes
> >
> > First of all, I know it might be obvious but I would like to know whether
> > this feature is going to work on all platforms: Windows, Linux, Mac. I
> > suppose the answer is positive...
> >
> > Secondly, I read the roadmap about Lyx 2 and there is an interesting
> > improvement related to the spell checking. More precisely, I noticed
> > Jurgen Spitzmüller has introduced support for the MyThes thesaurus
> > library which is what OpenOffice uses.  The link is:
> > http://wiki.lyx.org/LyX/NewInLyX20 I am wondering if this will apply to
> > the continuous spell checking feature. In short, the dictionaries are
> > going to be the same?
> > I am interested mainly in the Italian dictionary because I know all
> > thesaurus for Italian are really good in OpenOffice.
> >
> > Thirdly, I would like to know whether this extension could damage the Lyx
> > performances. If this happens, needless to say, It could be disabled by
> > default... In many softwares as OpenOffice using the spell checker on
> > windows xp I have never noticed any problem... Nevertheless Lyx is a very
> > different software...
> >
> > To sum up, is there a date regarding the availability of this feature
> > (provided the 1000 euro are reached soon)? I am aware it is a really
> > early to ask  about the Lyx 2 version but I am wondering if you
> > developers have a rough idea regarding its release date. Maybe after
> > summer 2009? I looked for in the roadmap section but I didn't find
> > anything.
> >
> > Best regards,
> >
> > Silvio
>
> I haven't looked at the draft, but I would like to see the spellchecker
> more selective.  It queries every "word" in an URL.  Accuracy in an URL is
> rarely connected with dictionary spelling.
>
> Doug.

But on thinking about it, I am not talking about the URL under the Insert 
menu.  I am talking about footnotes in a book for printing.  They don't have 
to be clickable, and I prefer italics to the default typewriter font.  I just 
haven't typed so many URLs before.  With only one or two, it isn't a 
nuisance.

Doug.




Re: Continuous spell checking donations: some questions

2009-03-20 Thread Doug Laidlaw
On Saturday 21 March 2009 12:14:46 am silvio grosso wrote:
> Hello everybody,
>
> I would like to donate something more to the "continuous spell checking
> project". The link is: http://www.lyx.org/Donate.
> At present, It lacks 237 euros to be accepted by Abdelrazak Younes
>
> First of all, I know it might be obvious but I would like to know whether
> this feature is going to work on all platforms: Windows, Linux, Mac. I
> suppose the answer is positive...
>
> Secondly, I read the roadmap about Lyx 2 and there is an interesting
> improvement related to the spell checking. More precisely, I noticed Jurgen
> Spitzmüller has introduced support for the MyThes thesaurus library which
> is what OpenOffice uses.  The link is: http://wiki.lyx.org/LyX/NewInLyX20 I
> am wondering if this will apply to the continuous spell checking feature.
> In short, the dictionaries are going to be the same?
> I am interested mainly in the Italian dictionary because I know all
> thesaurus for Italian are really good in OpenOffice.
>
> Thirdly, I would like to know whether this extension could damage the Lyx
> performances. If this happens, needless to say, It could be disabled by
> default... In many softwares as OpenOffice using the spell checker on
> windows xp I have never noticed any problem... Nevertheless Lyx is a very
> different software...
>
> To sum up, is there a date regarding the availability of this feature
> (provided the 1000 euro are reached soon)? I am aware it is a really early
> to ask  about the Lyx 2 version but I am wondering if you developers have a
> rough idea regarding its release date. Maybe after summer 2009? I looked
> for in the roadmap section but I didn't find anything.
>
> Best regards,
>
> Silvio

I haven't looked at the draft, but I would like to see the spellchecker more 
selective.  It queries every "word" in an URL.  Accuracy in an URL is rarely 
connected with dictionary spelling. 

Doug.



Re: Continuous spell checking donations: some questions

2009-03-20 Thread Erez Yerushalmi
Yuppi,  I am excited!!!

Thanks Silvio and Abdel
erez



On Fri, Mar 20, 2009 at 3:47 PM, Abdelrazak Younes  wrote:

> silvio grosso wrote:
>
>> Hello everybody,
>>
>> I would like to donate something more to the "continuous spell checking
>> project". The link is: http://www.lyx.org/Donate. At present, It lacks
>> 237 euros to be accepted by Abdelrazak Younes
>>
>
> Hello again Silvio,
>
> I see that you put your money where your mouth is :-)
>
> Anyway, I have no choice but to implement the feature now :-)
> It will probably take some weeks as I can work only during the weekend
> these days. But It will be in 2.0, promise.
>
> Thanks a lot for this second contribution, the biggest to date!
>
> Abdel.
>
>


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: Continuous spell checking donations: some questions

2009-03-20 Thread Abdelrazak Younes

silvio grosso wrote:

Hello everybody,

I would like to donate something more to the "continuous spell checking project". 
The link is: http://www.lyx.org/Donate. 
At present, It lacks 237 euros to be accepted by Abdelrazak Younes


Hello again Silvio,

I see that you put your money where your mouth is :-)

Anyway, I have no choice but to implement the feature now :-)
It will probably take some weeks as I can work only during the weekend 
these days. But It will be in 2.0, promise.


Thanks a lot for this second contribution, the biggest to date!

Abdel.



Re: Continuous spell checking donations: some questions

2009-03-20 Thread Abdelrazak Younes

silvio grosso wrote:

Hello everybody,

I would like to donate something more to the "continuous spell
checking project". The link is: http://www.lyx.org/Donate. At
present, It lacks 237 euros to be accepted by Abdelrazak Younes

First of all, I know it might be obvious but I would like to know
whether this feature is going to work on all platforms: Windows,
Linux, Mac. I suppose the answer is positive...


Rigth. Everything's cross platform.



Secondly, I read the roadmap about Lyx 2 and there is an interesting
improvement related to the spell checking. More precisely, I noticed
Jurgen Spitzmüller has introduced support for the MyThes thesaurus
library which is what OpenOffice uses.  The link is:
http://wiki.lyx.org/LyX/NewInLyX20 I am wondering if this will apply
to the continuous spell checking feature. In short, the dictionaries
are going to be the same? I am interested mainly in the Italian
dictionary because I know all thesaurus for Italian are really good
in OpenOffice.


As Jürgen said, this is about the spellchecker, not the Thesaurus. Now, 
if you talk about the MySpell/Hunspell engine used in OpenOffice, that 
is a different project, entirely.


But, ideally, the inline spellchecking capabilities will be programmed 
in spellchecker agnostic way. At least that's how I am going to 
implement it.




Thirdly, I would like to know whether this extension could damage the
Lyx performances. If this happens, needless to say, It could be
disabled by default... In many softwares as OpenOffice using the
spell checker on windows xp I have never noticed any problem... 
Nevertheless Lyx is a very different software...


My preliminar test don't indicate any performance penalties. The feature 
will not be mandatory of course. One will be able to disable it.




To sum up, is there a date regarding the availability of this feature
(provided the 1000 euro are reached soon)? I am aware it is a really
early to ask  about the Lyx 2 version but I am wondering if you
developers have a rough idea regarding its release date. Maybe after
summer 2009? I looked for in the roadmap section but I didn't find
anything.


If it is like 1.5 and 1.6, 2.0 will probably appear after the summer, 
probably at the end of the year. But nothing is sure of course.


Abdel.



Re: Continuous spell checking donations: some questions

2009-03-20 Thread Jürgen Spitzmüller
silvio grosso wrote:
> Secondly, I read the roadmap about Lyx 2 and there is an interesting
> improvement related to the spell checking. More precisely, I noticed Jurgen
> Spitzmüller has introduced support for the MyThes thesaurus library which
> is what OpenOffice uses.  The link is: http://wiki.lyx.org/LyX/NewInLyX20 I
> am wondering if this will apply to the continuous spell checking feature.
> In short, the dictionaries are going to be the same?

No. For spellchecking, we use aspell. Thesaurus is a different beast.

> I am interested mainly in the Italian dictionary because I know all
> thesaurus for Italian are really good in OpenOffice.

You will be able to use that dictionary for LyX 2's thesaurus as well, 
provided that you have the MyThes library installed.

Jürgen


Continuous spell checking donations: some questions

2009-03-20 Thread silvio grosso

Hello everybody,

I would like to donate something more to the "continuous spell checking 
project". 
The link is: http://www.lyx.org/Donate. 
At present, It lacks 237 euros to be accepted by Abdelrazak Younes

First of all, I know it might be obvious but I would like to know whether this 
feature is going to work on all platforms: Windows, Linux, Mac. I suppose the 
answer is positive...

Secondly, I read the roadmap about Lyx 2 and there is an interesting 
improvement related to the spell checking.
More precisely, I noticed Jurgen Spitzmüller has introduced support for the 
MyThes thesaurus library which is what OpenOffice uses.  The link is: 
http://wiki.lyx.org/LyX/NewInLyX20
I am wondering if this will apply to the continuous spell checking feature. 
In short, the dictionaries are going to be the same? 
I am interested mainly in the Italian dictionary because I know all thesaurus 
for Italian are really good in OpenOffice.

Thirdly, I would like to know whether this extension could damage the Lyx 
performances. 
If this happens, needless to say, It could be disabled by default... 
In many softwares as OpenOffice using the spell checker on windows xp I have 
never noticed any problem...
Nevertheless Lyx is a very different software...

To sum up, is there a date regarding the availability of this feature (provided 
the 1000 euro are reached soon)?
I am aware it is a really early to ask  about the Lyx 2 version but I am 
wondering if you developers have a rough idea regarding its release date. Maybe 
after summer 2009?
I looked for in the roadmap section but I didn't find anything.

Best regards,

Silvio





spell checking in Dutch (or perhaps other languages than English)

2009-02-05 Thread Hubert Christiaen
I installed the Dutch package for ispell, but Lyx complained "Could not find 
dutch.hash". In looking in the ispell directory, I found a nederlands.hash 
and nederlands.aff . I added symbolic links dutch.hash and dutch.aff and now 
everything works fine!

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


Re: Spell checking

2009-02-05 Thread Anders Host-Madsen
Installing cocoAspell worked. Great.






Re: Spell checking

2009-02-05 Thread Anders Host-Madsen
OK, I can see that there is an answer to my question
on the LyX wiki. Didn't realize that before asking here.



Spell checking

2009-02-05 Thread Anders Host-Madsen
I badly need spell checking for my typing. LyX relies on aspell, 
which I don't have. I went to the aspell web page and 
downloaded, but I find no installation
instructions. I'm lost. I use LyX on a Mac, and it seems aspell 
is some kind of unix thing. 
I can see that cocoAspell is a Mac 
version of aspell. If I install that,
will it also work from LyX? Thanks.



Re: Spell checking problems

2008-06-14 Thread RyanC

Thank you, Nigel.

That worked. I had only been playing with options under 
tools-->preferences. (I did look through the manual, website, etc. Must 
have missed it.)


Thanks,
Ryan

Nigel Pegram wrote:
Try setting the language to british in the language pane of document 
settings.


Nigel

2008/6/12 RyanC <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

Hello,

LyX 1.5.3 on Mepis Linux does not seem to be able to make use of
any of my spell checking libraries. I'm pretty sure I have them
all installed - ispell, aspell, etc; American and British English.
With ispell I get:

The spellchecker could not be started
Can't open /usr/lib/ispell/english.hash

I think this may be because the file is not called "english.hash",
but "british.hash". Any suggestions?

Thanks,
Ryan






Re: Spell checking problems

2008-06-14 Thread Nigel Pegram
Try setting the language to british in the language pane of document
settings.

Nigel

2008/6/12 RyanC <[EMAIL PROTECTED]>:

> Hello,
>
> LyX 1.5.3 on Mepis Linux does not seem to be able to make use of any of my
> spell checking libraries. I'm pretty sure I have them all installed -
> ispell, aspell, etc; American and British English. With ispell I get:
>
> The spellchecker could not be started
> Can't open /usr/lib/ispell/english.hash
>
> I think this may be because the file is not called "english.hash", but
> "british.hash". Any suggestions?
>
> Thanks,
> Ryan
>


Spell checking problems

2008-06-11 Thread RyanC

Hello,

LyX 1.5.3 on Mepis Linux does not seem to be able to make use of any of 
my spell checking libraries. I'm pretty sure I have them all installed - 
ispell, aspell, etc; American and British English. With ispell I get:


The spellchecker could not be started
Can't open /usr/lib/ispell/english.hash

I think this may be because the file is not called "english.hash", but 
"british.hash". Any suggestions?


Thanks,
Ryan 


exclude some word from spell-checking

2008-03-06 Thread G. Milde
Dear LyX users,

my thesis contains many words that are not part of the standard language and
hence not in the ispell wordlist.

I know, I can insert them in my personal dictionary, but there are cases
that are only right in a specific context like file name or "Eulersche" in
Eulersche Winkel.

I would like to exclude them from the spell-check so I do not have to choose
"Ignore" again and again as I have to re-check the document after changes.

Changing the language to some different value came into my mind but 

* what language would be a wise choice,
* is this a wise approach at all,
* are there better ways?

I also wonder whether it is better to have spell-checking in comments and
notes or not:

* Sometimes the notes contain text that is temporarily stored away,
* sometimes they contain abbreviations, file-names, tags and other 
  non-orthographic strings.

Personally, I'd favour exclusion of Notes.

Guenter



spell-checking in French with LyX 1.5.1

2007-08-17 Thread gilles horowitz
There seems to be a problem with spell-checking in French in LyX  
1.5.1. Apparently, the spell checker does not recognize accented  
characters. More precisely, words with accented letters are  
systematically declared as erroneous.

I don't have this problem with LyX 1.4.5.1
I'm working with MacOS X

Gilles Horowitz


Re: german spell checking in LyX 1.3.7 for Windows

2006-03-06 Thread Paul A. Rubin

Marcus Glöder wrote:

Hello,

today I installed LyX 1.3.7 for Windows with the LyXWinInstaller and 
with it my old WinLyX 1.3.3 replaced. Although aspell is installed and 
also the german spell checking was downloaded of the aspell site and 
installed then, aspell in LyX -> Edit -> Preferences cannot be 
furnished. There is allways to be seen a grey deposited "ispell", and 
the spell checker does not find the german dictionary (de).


This is normal.  The Windows version only supports aspell (not ispell or 
any other choices), so use of aspell is hard-coded into the program. 
The entry in Edit->Preferences is grayed out.  (I don't know why it 
reads ispell, but that does not matter; the Windows version will 
automatically use aspell.)


On the old wiki side for the WinLyX version at the time one described 
precise, how aspell with german dictionary is to be installed. For the 
new version 1.3.7 I found no reference on the wiki sides. How can I 
install a working german spell checker in LyX?


If the German dictionary for aspell was installed correctly, it should 
work (it does for me).  Did you set the language document to German 
(Layout->Document->Language)?  What specifically happens when you 
attempt to run the spell checker on a document?


/Paul



german spell checking in LyX 1.3.7 for Windows

2006-03-03 Thread Marcus Glöder

Hello,

today I installed LyX 1.3.7 for Windows with the LyXWinInstaller and 
with it my old WinLyX 1.3.3 replaced. Although aspell is installed and 
also the german spell checking was downloaded of the aspell site and 
installed then, aspell in LyX -> Edit -> Preferences cannot be 
furnished. There is allways to be seen a grey deposited "ispell", and 
the spell checker does not find the german dictionary (de).


On the old wiki side for the WinLyX version at the time one described 
precise, how aspell with german dictionary is to be installed. For the 
new version 1.3.7 I found no reference on the wiki sides. How can I 
install a working german spell checker in LyX?


Thank you in advance
Marcus Glöder


Re: Spell checking multiple languages?

2005-11-18 Thread Stephen Harris


- Original Message - 
From: "Andreas Kofod-Hansen" <[EMAIL PROTECTED]>

To: 
Sent: Friday, November 18, 2005 6:16 AM
Subject: Spell checking multiple languages?



Hi



I have read that it's possible to spell check a multiple language, but the
statement that it is possible have never been accompanied by a guide on to
how to do it, so this is what I ask now.



Regards

Andreas





P.S. I use Lyx in Windows with Aspell as the spell checker.




C:\Aspell. Aspell has a mailing list and a manual. I found an entry,
under extra-dicts, which I thought would work for English/French.
But IIRC, that only worked for Linux. So I created a Master dict.
using text word lists from both languages which had shortcomings.
There is a new version available for Windows, .60, not easy to get
which maybe has gooten to implementing extra-dicts for Windows.

Kevin Atkinson is the guru of the Aspell-user mailing list. I read:

"Aspell doesn't have a per document dictionary mainly because there is no 
real good way to store them and also because it will add more complexity

to the user interface.  However, if you wish you can have a per-document
personal dictionary and also use your normal personal dictionary by doing
the following:

>
> aspell --add-extra-dicts=~/.aspell.english.pws --personal= 
> ...


Bingo, that's what I needed. I was really thinking of this for use with 
LyX,
and if there's some standard way to add extra dictionaries on the command 
line, then the LyX crew can work out the other bit of the problem."


SH: But that was in 2001. Perhaps the French or German LyX
users have figured out multiple dicts by now. I am curious too.

Regards,
Stephen







Spell checking multiple languages?

2005-11-18 Thread Andreas Kofod-Hansen
Hi

 

I have read that it's possible to spell check a multiple language, but the
statement that it is possible have never been accompanied by a guide on to
how to do it, so this is what I ask now.

 

Regards

Andreas

 

 

P.S. I use Lyx in Windows with Aspell as the spell checker.

 



Spell checking

2005-03-23 Thread samar
Hi

I am running lyx 1.3.4 on the mepis distribution. 

The problem is that invoking the spellcheck gives the message "Lyx failed to 
start ispell"

This is confusing as I have selected aspell in the preferences menu and have 
also reconfigured and restarted Lyx.

Appreciate any advice on where I could have erred.

best regards

samar

Re: spell checking in lyx win32 1.3.3

2004-09-19 Thread Rob S
Leo;
Have a look here:
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup
There is a section on this page which you can follow. For a German 
language supported spellcheck you will need to follow all points 1 - 4 
of the spellcheck section found on this page

Rob S
Leo Gürtler wrote:
Hallo everybody,
how can I use German spellchecking in lyx Win32 1.3.3 ?
I installed the aspell + aspell_de binaries as well as aspell_en for 
English
Lyx says it cannot find a suitable dictionary for "de" although 
"aspell" is checked as the software to be used for spell-checking.

thanks,
greetings
leo





spell checking in lyx win32 1.3.3

2004-09-19 Thread Leo Gürtler
Hallo everybody,
how can I use German spellchecking in lyx Win32 1.3.3 ?
I installed the aspell + aspell_de binaries as well as aspell_en for English
Lyx says it cannot find a suitable dictionary for "de" although "aspell" 
is checked as the software to be used for spell-checking.

thanks,
greetings
leo



Re: spell checking

2003-07-10 Thread Matej Cepl
On 2003-07-09, 16:20 GMT, John Levon wrote:
> Can latex accept utf8 (or whatever) encoded source files ? Or woould we
> need a pass to export such accented characters ?

There are two attempts to make TeX behave with UTF-8 (aside from Omega,
which IMHO still not fully mature):

- LaTeX3 development team created support for UTF-8 for inputenc,
- Petr Ol\v{s}\'ak (yes, he is my fellow Czech) extended his encTeX to
  UTF-8 (i.e., it is support for UTF-8 on the level of input/output
  processor of TeX, so everything works as it should). His webpage is
  petr.olsak.net/enctex.html (previous version -- w/o UTF-8 -- was
  described in his article for Tugboat, which should be available on
  www.tex.org and if I am not mistaken also on
  ftp://math.feld.cvut.cz/pub/olsak/enctex/encdoc.pdf).

However, both of these attempts are very bleeding edge of development.
encTeX should be part of the next web2c (promise made in February and
AFAIK there is still not new release), and I am not quite sure whether
UTF-8 support for inputenc made it to new LaTeX yet. So I am afraid, we
cannot much rely on it.

   Have a nice day,

  Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: spell checking

2003-07-09 Thread John Levon
On Wed, Jul 09, 2003 at 12:23:31PM -0400, William Adams wrote:

> Subject: announce: inputenc support for utf8
> Organization: LaTeX3 project

Sounds relatively blue-sky in terms of what lyx can use then...

regards
john


Re: spell checking

2003-07-09 Thread William Adams
John asked:
>Can latex accept utf8 (or whatever) encoded source files ?

This was recently announced:
http://groups.google.com/groups?selm=batokq%245cj%241%40online.de&output=gplain

From: Frank Mittelbach <[EMAIL PROTECTED]>
Newsgroups: comp.text.tex
Subject: announce: inputenc support for utf8
Date: Mon, 26 May 2003 21:02:35 +0200
Organization: LaTeX3 project

there has been some discussion a while ago concerning utf8 support for
LaTeX 
and as a result there has been some code development to provide utf8 
support via inputenc. I would add something like that to the next
latex2e 
release.

this is kind of beta, but perhaps one or the other might want to give it
a 
try. it can be found at

http://www.latex-project.org/code/experimental/utf8ienc.zip

there is also some inputenc support to allow inputenc chars being used
in 
math (should be used with elatex)

http://www.latex-project.org/code/experimental/inpmath.zip

best
frank


Re: spell checking

2003-07-09 Thread John Levon
On Wed, Jul 09, 2003 at 05:19:15PM +0200, Jean-Marc Lasgouttes wrote:

> I think that nobody tried to touch this because the right solution is
> actually unicode.

Can latex accept utf8 (or whatever) encoded source files ? Or woould we
need a pass to export such accented characters ?

regards
john


Re: spell checking

2003-07-09 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> On Fri, Jul 04, 2003 at 06:49:02PM -0600, Fernando Perez wrote:
>> I'm not sure it's actually a LyX true bug, but more of a subtle
>> confusion. In Lyx, it's possible to have accented characters be
>> generated as Latex sequences (\'{e}) or as directly accented
>> letters (é). I've seen the

John> Ahhh... so this is an insetlatexaccent thing JMarc ?

John> Can someone explain to me why we have insetlatexaccent ? And how
John> do you actuallly get to use it ? And why :)

insetlatexaccent is used to represent accents the latex way. The
primary use is for example to introduce latin2 characters in a latin1
text. There is some magic to do that in the cdef files, but I am not
sure what it does exactly.

Normally, LyX is not supposed to use insetlatexaccent when the
character exists in current font.

Another thing: following some improvements from Lars, insetlatexaccent
is broken is the display font does not contain raw accents (i.e. it is
broken is base font is either latin2 or latin9).

I think that nobody tried to touch this because the right solution is
actually unicode.

JMarc


Re: spell checking

2003-07-07 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> Huh ? Somebody is going to have to describe what the issue is.
John> If I type "problme" it spellchecks and suggests "probléme" just
John> fine,
>>  It seems that you should update your French dictionary...

John> Wrong accent ? I never did get used to those little squiggly
John> things ;)

Yes, it should have been "problème". I think these sqiggly things have
a nice "Old Europe" touch.

JMarc


Re: spell checking

2003-07-05 Thread Matej Cepl
On 2003-07-04, 14:21 GMT, Vaclav Smidl wrote:
Have you tried to put your accented characters to:
Edit> Preferences > Language setting > Spellchecker > Escape characters  ?
(This is the path in QT version, should be fairly similar in xforms)
You need to use correct encoding though.
This is really strange:

So far LyX worked at least somehow for spellchecking Czech texts 
(encoding Latin2), but when I try to spell attached Czech text 
(which is beginning of very famous poem), I got this very strange 
dialog box (see attached screenshot -- ``večer'' means 
``evening'' and it is perfectly correct spelling). So far in the 
previous versions I need not to set document encoding in 
Layout/Document/Language/Spellchecking -- but even when I set it 
up, it works same badly. Moreover when I finish the dialog, LyX 
coredumpts with core which doesn't say much (#0  0x4076d781 in 
kill () from /lib/libc.so.6). I use ispell 3.1.20 from Debian 
distribution.

I have LyX 1.3.2 with Qt 3.1.2 on Debian/woody (I have compiled 
the thing myself; gcc 2.95.4). Actually you may be even 
interested in output of ldd `which lyx`:

	libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0x4002)
	libpspell.so.4 => /usr/lib/libpspell.so.4 (0x405b8000)
	libltdl.so.3 => /usr/lib/libltdl.so.3 (0x405d6000)
	libdl.so.2 => /lib/libdl.so.2 (0x405dc000)
  libpspell-modules.so.1 => /usr/lib/libpspell-modules.so.1 
 (0x405df000)
  libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 
 (0x405e1000)
	libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4062a000)
	libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40632000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40648000)
	libm.so.6 => /lib/libm.so.6 (0x40722000)
	libc.so.6 => /lib/libc.so.6 (0x40744000)
	libaudio.so.2 => /usr/lib/libaudio.so.2 (0x40861000)
	libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40875000)
	libpng.so.3 => /usr/lib/libpng.so.3 (0x408bf000)
	libz.so.1 => /usr/lib/libz.so.1 (0x408eb000)
	libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x408fa000)
	libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4096)
	libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40974000)
	libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x4097a000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x409a3000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x409ea000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x409f7000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)

Any thoughts?

  Thanks,

 Matej

--
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Why should I travel, when I'm already there?
-- Bostonian lady, when being asked why she never visited
 other places than Boston


newfile1.dvi
Description: TeX dvi file
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language czech
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard
\noindent 
Byl pozdní večer, první máj,
\newline 
večerní máj byl lásky čas,
\newline 
kde borový zaváněl háj.
\the_end
<>

Re: spell checking

2003-07-05 Thread John Levon
On Fri, Jul 04, 2003 at 06:49:02PM -0600, Fernando Perez wrote:

> I'm not sure it's actually a LyX true bug, but more of a subtle confusion.  
> In Lyx, it's possible to have accented characters be generated as Latex 
> sequences (\'{e}) or as directly accented letters (é).  I've seen the 

Ahhh... so this is an insetlatexaccent thing JMarc ?

Can someone explain to me why we have insetlatexaccent ? And how do you
actuallly get to use it ? And why :)

regards
john


Re: spell checking

2003-07-05 Thread John Levon
On Fri, Jul 04, 2003 at 06:05:05PM +0200, Jean-Marc Lasgouttes wrote:

> > "John" == John Levon <[EMAIL PROTECTED]> writes:
> 
> John> Huh ? Somebody is going to have to describe what the issue is.
> John> If I type "problme" it spellchecks and suggests "probléme" just
> John> fine, 
> 
> It seems that you should update your French dictionary...

Wrong accent ?  I never did get used  to those little squiggly things ;)

john


Re: spell checking

2003-07-04 Thread Fernando Perez
Matej Cepl wrote:
On 2003-07-04, 13:40 GMT, Eduardo Haro wrote:

I'm beginning to use LYX, and I've got a problem with the spell checker,
for a document in french. The thing is that, when LYX begins the spell
checking, it alwais breakes the words in the accents (for example, for
the word "problme", it checks "probl" and "me", but never recognises
the whole word).


This is actually a very old bug in LyX, which unfortunately still did
not get fixed. Let's hope ... :-)
I'm not sure it's actually a LyX true bug, but more of a subtle confusion.  In 
Lyx, it's possible to have accented characters be generated as Latex sequences 
 (\'{e}) or as directly accented letters (é).  I've seen the problem 
mentioned by the OP if I use the first option, but if I use accented letters 
directly, it goes away.

I can't quite recall what I did to make sure I got é instead of \'{e} in the 
.tex sources, though.  It was long ago, and whatever preference I set seems to 
have survived from my 0.10 install through today.

The nice thing about this is that it also makes the resulting .tex sources 
much nicer to read.

HTH.

Best,

f.



Re: spell checking

2003-07-04 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> Huh ? Somebody is going to have to describe what the issue is.
John> If I type "problme" it spellchecks and suggests "probléme" just
John> fine, 

It seems that you should update your French dictionary...

JMarc


Re: spell checking

2003-07-04 Thread Vaclav Smidl
Have you tried to put your accented characters to:
Edit> Preferences > Language setting > Spellchecker > Escape characters  ?
(This is the path in QT version, should be fairly similar in xforms)

You need to use correct encoding though.

Best,

Vasek

On Friday 04 of July 2003 14:40, Eduardo Haro wrote:
> Hello,
>
> I'm beginning to use LYX, and I've got a problem with the spell checker,
> for a document in french. The thing is that, when LYX begins the spell
> checking, it alwais breakes the words in the accents (for example, for
> the word "problme", it checks "probl" and "me", but never recognises
> the whole word).
>
> Do you have an idea where the problem is?
>
> Thanks.



Re: spell checking

2003-07-04 Thread John Levon
On Fri, Jul 04, 2003 at 10:48:05AM -0400, Matej Cepl wrote:

> > I'm beginning to use LYX, and I've got a problem with the spell checker,
> > for a document in french. The thing is that, when LYX begins the spell
> > checking, it alwais breakes the words in the accents (for example, for
> > the word "problme", it checks "probl" and "me", but never recognises
> > the whole word).
> 
> This is actually a very old bug in LyX, which unfortunately still did
> not get fixed. Let's hope ... :-)

Huh ? Somebody is going to have to describe what the issue is. If I
type "problme" it spellchecks and suggests "probléme" just fine, and
replaces fine. Similarly I have no problems spellchecking existing words
with accents in

john


Re: spell checking

2003-07-04 Thread Matej Cepl
On 2003-07-04, 13:40 GMT, Eduardo Haro wrote:
> I'm beginning to use LYX, and I've got a problem with the spell checker,
> for a document in french. The thing is that, when LYX begins the spell
> checking, it alwais breakes the words in the accents (for example, for
> the word "problme", it checks "probl" and "me", but never recognises
> the whole word).

This is actually a very old bug in LyX, which unfortunately still did
not get fixed. Let's hope ... :-)

   Matěj

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



spell checking

2003-07-04 Thread Eduardo Haro
Hello,

I'm beginning to use LYX, and I've got a problem with the spell checker,
for a document in french. The thing is that, when LYX begins the spell
checking, it alwais breakes the words in the accents (for example, for
the word "problme", it checks "probl" and "me", but never recognises
the whole word).

Do you have an idea where the problem is?

Thanks.

-- 
Ed <[EMAIL PROTECTED]>


>




Re: spell-checking czech documents

2002-12-17 Thread Matej Cepl
Ondrej Martinek wrote:
> I'm using LyX version 1.2.1. If I run the spell-checker on a czech 
> document it doesn't understand words with certain czech characters (ie. 
> ž).  I thought this problem can be solved by "Use input encoding" switch 
> but the czech dictionary doesn't support "-T latin2" option.

Nazdar Ondro,

for me the Czech spellchecking works like a charm (attached
document is spelled without ispell complaining). Check the
attached file ~/.lyx/lyxrc for setting up the Czech behavior.

   Happy Christmas!

  Matěj

-- 
Matej Cepl, [EMAIL PROTECTED],
Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
See, when the GOVERNMENT spends money, it creates jobs; whereas
when the money is left in the hands of TAXPAYERS, God only knows
what they do with it. Bake it into pies, probably. Anything to
avoid creating jobs.
-- Dave Barry


#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass scrartcl
\begin_preamble
% Dela to radost tth
%%tth: \newcommand{foreignlanguage}[2]{#2}

\setlength{\overfullrule}{5pt}
\deffootnote{1em}{1em}%
{\textsuperscript{\normalfont\thefootnotemark\ }}
\newcommand{\HR}{\bigskip%
{\centering\noindent\large\sloppy * * *\par}%
\bigskip%
}
\usepackage{mathpazo,helvet,courier}
\renewcommand*\theenumi{(\alph{enumi})}
\renewcommand\labelenumi{\theenumi}
\end_preamble
\language czech
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

využít
\the_end

\latex_command "latex"
\relyx_command "reLyX"
\literate_command "none"
\literate_extension "none"
\ps_command "gs"
\view_ps_command "gv -swap"
\view_pspic_command "gv"
\chktex_command "none"
\spell_command "ispell"
\fax_command "none"
\print_spool_command "lpr"
\print_spool_printerprefix "-P"
\font_encoding "default"
#CZ
\ascii_roff_command "groff -t -Tlatin2 $$FName"
\screen_font_encoding iso8859-2
\use_alt_language true
\alternate_language czech
\use_escape_chars true
\escape_chars "áÁäÄčČďĎéÉěĚëËíÍľĽĺĹňŇóÓôÔöÖřŘšŕŔŠťŤúÚůŮüÜýÝžŽ"
\use_personal_dictionary true
\personal_dictionary .ispell_czech
\use_input_encoding true



spell-checking czech documents

2002-12-17 Thread Ondrej Martinek
Hi,

I'm using LyX version 1.2.1. If I run the spell-checker on a czech 
document it doesn't understand words with certain czech characters (ie. 
ž).  I thought this problem can be solved by "Use input encoding" switch 
but the czech dictionary doesn't support "-T latin2" option.

The strange thing is that if I check for example the word "využít" using 
the command

	echo "využít" | ispell -d czech -l

It's correct. But LyX seems to check it as two different words: "vyu" 
and "ít". LyX apparently treats "ž" as a non-word character.

Any solutions?

Regards
--ondra