Gentoo Archives: gentoo-user

From: "Füves Zoltán" <zoleexfz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: OpenOffice-bin spell checking?
Date: Wed, 25 Feb 2009 14:54:57
Message-Id: 49A55BB8.8060506@gmail.com
In Reply to: Re: [gentoo-user] Re: OpenOffice-bin spell checking? by Mark Knecht
1 Mark Knecht írta:
2 > On Wed, Feb 25, 2009 at 12:18 AM, Zoltán Füves <zoleexfz@×××××.com> wrote:
3 >
4 >> 2009/2/25 Mark Knecht <markknecht@×××××.com>:
5 >>
6 >>> Is OO really so stupid that it makes you add by hand for each user an
7 >>> extension spelling library from /usr/lib/openoffice/extension/install
8 >>> to get a spelling checker to work?
9 >>>
10 >> Sorry about that but I have the same problem with OO3 and in my
11 >> install I didn't find this directory. So somehow can I fix it in
12 >> openoffice 3? Actually I need the hunspell support and it looks like
13 >> to configured but I cant use it in the main programs :( .
14 >>
15 >> thanks for your help
16 >> Z.
17 >>
18 >>
19 >>
20 >>> On Tue, Feb 24, 2009 at 8:03 PM, Mark Knecht <markknecht@×××××.com> wrote:
21 >>>
22 >>>> Hi,
23 >>>> I emerged eselect-oodict and it acts like it's doing something but
24 >>>> still I don't see any dictionaries in
25 >>>>
26 >>>> Tools->Options->Language Settings->Writing Aids
27 >>>>
28 >>>> Under Languages I have selected English (USA)
29 >>>>
30 >>>> Is there something else I have to turn on to get spell checking
31 >>>> working for my wife? I do not see the entry this person has in the
32 >>>> upper box. Why not? I seem to have hunspell installed and it says it's
33 >>>> a replacement for myspell. Does it work? What's the special trick?
34 >>>>
35 >>>> Thanks,
36 >>>> Mark
37 >>>>
38 >>>>
39 >>>> dragonfly ~ # eselect oodict show
40 >>>> OpenOffice.org configured dictionaries
41 >>>> [1] myspell
42 >>>> Configured language codes from /usr/share/myspell:
43 >>>> en
44 >>>> dragonfly ~ # eselect oodict unset myspell-en
45 >>>> dragonfly ~ # eselect oodict show
46 >>>> OpenOffice.org configured dictionaries
47 >>>> (none)
48 >>>> dragonfly ~ # eselect oodict set myspell-en
49 >>>> dragonfly ~ # eselect oodict show
50 >>>> OpenOffice.org configured dictionaries
51 >>>> [1] myspell
52 >>>> Configured language codes from /usr/share/myspell:
53 >>>> en
54 >>>> dragonfly ~ #
55 >>>>
56 >>>> dragonfly ~ # eix -Ic spell
57 >>>> [I] app-dicts/aspell-en (6.0.0@08/10/2007): English (US, British,
58 >>>> Canadian) language dictionary for aspell
59 >>>> [I] app-dicts/myspell-en (20081002@02/24/2009): English dictionaries
60 >>>> for myspell/hunspell
61 >>>> [I] app-text/aspell (0.60.5@08/27/2007): A spell checker replacement for ispell
62 >>>> [I] app-text/gnome-spell (1.0.8(1)@07/27/2008): Gnome spellchecking component
63 >>>> [I] app-text/hunspell (1.2.8@01/28/2009): Hunspell spell checker - an
64 >>>> improved replacement for myspell in OOo.
65 >>>> Found 5 matches.
66 >>>> dragonfly ~ #
67 >>>>
68 >
69 > Hi Zoltan,
70 > Sorry for the problems.
71 >
72 > OK, on all my machines there are extension dictionaries located at
73 >
74 > /usr/lib/openoffice/share/extension/install/
75 >
76 > lightning ~ # ls /usr/lib/openoffice/share/extension/install/
77 > dict-en.oxt dict-es.oxt dict-fr.oxt
78 >
79 > When I first searched for who put them there equery doesn't seem to
80 > tell me what package they come from:
81 >
82 > lightning ~ # equery belongs
83 > /usr/lib/openoffice/share/extension/install/dict-en.oxt
84 > [ Searching for file(s)
85 > /usr/lib/openoffice/share/extension/install/dict-en.oxt in *... ]
86 > lightning ~ #
87 >
88 > But this is a 64-bit system and /usr/lib is a link to /usr/lib64. When
89 > I use that path it says OpenOffice provided them:
90 >
91 > lightning ~ # equery belongs
92 > /usr/lib64/openoffice/share/extension/install/dict-en.oxt
93 > [ Searching for file(s)
94 > /usr/lib64/openoffice/share/extension/install/dict-en.oxt in *... ]
95 > app-office/openoffice-bin-3.0.0
96 > (/usr/lib64/openoffice/share/extension/install/dict-en.oxt)
97 > lightning ~ #
98 >
99 >
100 Ok I check it this paths location :
101
102 In my box look something like:
103 @genesis ~ $ ls -l /usr/lib/openoffice/share/dict/ooo/
104 összesen 4
105 -rw-r--r-- 1 root root 633 febr 1 11.23 dictionary.lst
106 lrwxrwxrwx 1 root root 31 febr 1 11.23 hu_HU_u8.aff ->
107 /usr/share/myspell/hu_HU_u8.aff
108 lrwxrwxrwx 1 root root 31 febr 1 11.23 hu_HU_u8.dic ->
109 /usr/share/myspell/hu_HU_u8.dic
110 lrwxrwxrwx 1 root root 30 febr 1 11.23 hyph_hu.dic ->
111 /usr/share/myspell/hyph_hu.dic
112 lrwxrwxrwx 1 root root 31 febr 1 11.23 th_hu_HU.dat ->
113 /usr/share/myspell/th_hu_HU.dat
114 lrwxrwxrwx 1 root root 31 febr 1 11.23 th_hu_HU.idx ->
115 /usr/share/myspell/th_hu_HU.idx
116
117 and t has a 32 bit cpu, it is interesting, when I emerged OO3 I used the
118 hu option flag and t looks like generated links property, and it seems
119 like the programs can use spell checking.
120 > QUESTION TO ALL: Is this is equery bug that it doesn't trace links or
121 > is there an option somewhere to tell it to do that? (Not reading the
122 > man page right now)
123 >
124 > Hopefully you can do a search for dict-en.oxt and find your copy
125 > but if it's really not there and you cannot find it on some other
126 > machine then there does seem to be another possibility. It you start
127 > OOwriter and go to Tools->Extension Manager then I see a link in the
128 > bottom left that says 'Get more extensions here'. Clicking on that
129 > took me to the OpenOffice web site and there you can find a search bar
130 > on the left.
131 Yes it solve that mystery :)
132 > If I type 'English Dictionary' or US English' and do the
133 > search I come up with a number of options I can download. I haven't
134 > tested it but I suspect that you save them somewhere and then load
135 > them in the Extension Manager to make them active. I don't know how
136 > those dictionaries differ from the one supplied with openoffice-3.0
137 >
138 > I see lots of other dictionaries, as well as page formatting
139 > templates and stuff for calc. Maybe those will be of interest also.
140 >
141 > Note that new extensions do not seem to become active until you
142 > close and restart writer.
143 >
144 of course It's done :)
145 > Hope this helps,
146 >
147 Thanks a lot
148 > Mark
149 >
150 >
151 >
152 Z.

Replies

Subject Author
Re: [gentoo-user] Re: OpenOffice-bin spell checking? Mark Knecht <markknecht@×××××.com>