On Sat, Apr 17, 2010 at 1:45 PM, Stephan Witt <st.w...@gmx.net> wrote: > Hi, > > thinking about the way to go with spell checkers and thesaurus... > > Currently the build on Mac is able to include aspell with a subset of > dictionaries.
I've just downloaded your alpha2 build, and it seems to run fine for me, at least mostly. Spellchecking is a bit weird, though: it seems not to recognize any long words. For example, with the splash.lyx doc, it doesn't like "documentation", "introduction", "characteristics", etc. (It also doesn't like DVI or LaTeX, but that's to be expected.) > 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, > 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? > * 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) Both enchant and hunspell, installed via macports, work for me with cmake. But what would be best is Apple's spellchecker. (Then we wouldn't have to worry about dictionaries.) > * JMarc asked for some more general way for distributing bundled dictionaries. > Is there any proposal how to proceed here? > * How to give the user the option to install missing dictionaries on her own? > The lookup in LYX_USERDIR is only the first step. Should there be some > build-in mechanism > to help installing (aspell)-dictionaries there? > * What is the state of thesaurus support? Can anyone give me some pointer to > documentation > how it should be enabled for Mac? I'm not sure what the problem is. In your alpha2 build, it is enabled (though it is broken at the moment, as was pointed out in another thread). Just point LyX > Preferences > Paths > Thesaurus to the location of the mythes dictionaries (which I have at LYX_USERDIR/thesaurus), and it should work. > * What is the potential gain in support for native spellchecker/thesaurus of > Mac OS X? > Would that be desirably? * no need to worry about dictionaries for different languages (and bloat the LyX.app bundle) * keep user's added words in sync with those added via other programs BH