On Wednesday 07 December 2005 22:05, Stephen Harris wrote: > > Stephen, just to clear up any confusion: LyX/Win doesn't use aspell.exe > > at all. It is linked statically against libaspell.a
> Now I am confused. I have a Aspell....053Setup.exe and a en dictionary > .exe. I thought these were required by LyX? There is no libaspell* on > this #1 computer. Did it come with LyX? LyX/Win doesn't use aspell.exe at all. It is linked statically against libaspell.a That is, when I compile LyX, I bundle the contents of libaspell.a on my machine into lyx.exe. That's part of the reason why Aspell must be installed at C:\Aspell on *your* machine because, whilst the library and all its functions are parcelled up inside of lyx.exe, so are the hard-coded paths to the external resource files that this library needs to actually operate successfully. Things like the dictionary, for example. It *is* possible to overcome this C:\Aspell requirement with the current lyx.exe, but it's not straightforward. You need to define an environment variable that informs Aspell where to find its resource files. Google on 'aspell "environment variable"' for the hairy details. Longer term, we (the LyX devels) should aim to do this (define the location of Aspell resource files) programmatically by passing the path to these resource files to some Aspell function that we can call from the main lyx routines. (Presumably, this path would be stored in your preferences file.) Once we achieve this "passing the path" solution we can probably investigate whether we need to link lyx.exe statically with libaspell or whether we can use an aspell.dll that lives separately to lyx.exe and which can, therefore, be upgraded on your machine independently to any lyx.exe upgrade. As for your question, "did I need to compile Aspell?", I think that the answer is "no". I *think that you just need the contents of C:\Aspell\data and C: \Aspell\dict which, on my machine, contain: /mnt/windowsC/Aspell/data: ASCII.dat cp1256.dat iso8859-13.dat iso8859-5.dat koi8-r.dat cp1250.dat cp1257.dat iso8859-14.dat iso8859-6.dat koi8-u.dat cp1251.dat cp1258.dat iso8859-15.dat iso8859-7.dat spell cp1252.dat dvorak.kbd iso8859-1.dat iso8859-8.dat split.kbd cp1253.dat en.dat iso8859-2.dat iso8859-9.dat standard.kbd cp1254.dat en_phonet.dat iso8859-3.dat ispell viscii.dat cp1255.dat iso8859-10.dat iso8859-4.dat koi8-f.dat /mnt/windowsC/Aspell/dict: american.alias en_CA.multi english.alias american-w-accents.alias en_CA-only.rws en.multi british.alias en_CA-w-accents.multi en-only.rws british-w-accents.alias en_GB.multi en_US.multi canadian.alias en_GB-only.rws en_US-only.rws canadian-w-accents.alias en_GB-w-accents.multi en_US-w-accents.multi Are things clearer now? If they are, and if you discover that what I've written is actually correct, perhaps you might like to shove the contents of this mail onto the wiki to help head off any future confusions. Regards, -- Angus