Am 19.04.2010 um 14:39 schrieb Jean-Marc Lasgouttes:

> Stephan Witt <st.w...@gmx.net> writes:
>> Currently the build on Mac is able to include aspell with a subset of 
>> dictionaries.
>> I've prepared a patch to allow for searching dictionaries at different 
>> locations.
>> I'll attach it below. Now LyX/Mac is looking at runtime 
>> 1) in LYX_USERDIR,
> 
> Where exactly?

See below...

> 
>> 2) included aspell framework and
>> 3) systems macports installation 
>> until it finds any support for the requested language.
> 
> 
>> There are some questions remaining:
>> * Are the locations of the runtime lookup above sensible?
> 
> Could you give typical examples?

Note, the current implementation is guarded by _APPLE_ #ifdef.
After some discussion it could be more general...

Therefore currently it is Apple-like:
1) aspell user dir: /Users/stephan/Library/Application 
Support/LyX-2.0.0svn/Aspell.framework/Resources/dict
2) aspell bundle path: 
/Users/stephan/cvs/lyx/lyx-build/LyX-2.0.0svn.app/Contents/Frameworks/Aspell.framework/Resources/dict
3) macports path: /opt/local/share/aspell

>> * Is aspell the best spell checker available?
>>  (At least its the one compiling out of the box on Mac, I failed with 
>> enchant and hunspell)
> 
> Enchant is only a wrapper for other spellcheckers. As you say below the
> other alternative is the native OS X spellchecker.

Yes, I had the hope to go with enchant or hunspell to have access to the native 
OS X spellchecker.

> 
>> * JMarc asked for some more general way for distributing bundled 
>> dictionaries.
>>  Is there any proposal how to proceed here?
> 
> What I would propose is to put dictionaries in 
> $sysdir/aspell-dicts
> $userdir/aspell-dicts

For the Apple app $sysdir would be 
/Users/stephan/cvs/lyx/lyx-build/LyX-2.0.0svn.app/Contents/Resources?

> 
>> * What is the potential gain in support for native spellchecker/thesaurus of 
>> Mac OS X?
>>  Would that be desirably?
> 
> I think this should be an alternative to aspell, since it is the tool
> used by all other programs, after all.

1) Alternative in the sense of replacement of aspell?
2) Or as another option for the user?

I guess the answer is 2)

Stephan

Reply via email to