Spellchecking dictionaries in LyX 2.4 installer
Stephan Witt
st.witt at gmx.net
Fri Oct 30 20:24:33 UTC 2020
Am 30.10.2020 um 19:48 schrieb Yu Jin <yu_jin at lyx.org>:
>
> Am Fr., 30. Okt. 2020 um 19:29 Uhr schrieb Pavel Sanda <sanda at lyx.org>:
> On Fri, Oct 30, 2020 at 07:19:06PM +0100, Yu Jin wrote:
> > Actually I remember my first attempts to work with LyX, I asked google and
> > found it pretty quickly.
> >
> > Btw. by default following dicts are included in the installer on Windows:
> > de_DE
> > en_GB
> > en_US
> > es_ES
> > es_MX
> > fr_FR
>
> Do you have an estimate what would be the difference in installer size if we included all dicts?
>
> you mean all from https://www.lyx.org/trac/browser/lyxsvn/dictionaries/trunk ?!
> There is 300+ MB thesaurus and 240 MB dictionaries unpacked.
> Including those produces a 105 MB large installer.
> Including "only" the dicts produces a 82 MB large installer.
For the Mac I package 82 dicts - 4 of them are linked to identical versions - e.g. en_NZ.dic -> en_GB.dic.
These make an additional disk size of approximately 246 MB if uncompressed.
Fortunately the disk image can use a HFS+ feature: the files are compressed and so it's 50 MB in package and on target systems.
I don’t know if something similar is possible on windows.
$ ls -l /Volumes/LyX-2.4.0dev/LyX.app/Contents/Resources/dicts/ | awk '{ sum += $5 ; }END{ print sum; }‘
246535517
$ $ du -sh /Volumes/LyX-2.4.0dev/LyX.app/Contents/Resources/dicts/
50M /Volumes/LyX-2.4.0dev/LyX.app/Contents/Resources/dicts
The dict files are from the lyxsvn repository.
Stephan
More information about the lyx-devel
mailing list