I was just there and it answered some of my questions, but not all of them.
The file hyph_sv_SE.dic contains a lot of lines, one of them looks like
this:
.d^^e4r3
However, I couldn't find an explanation anywhere what this means. The only
help I could get at http://lingucomponent.openoffice.org/hyphenator.html
seemed to be how to port the TeX hyphenation dictionary to ALTLinux
hyphenation format. That was not what I wanted to do. I don't even know
what the TeX hyphenation dictionary is. All I want to do, is the following:
When I have finished writing something, I might find some words that are
not hyphenated correctly, or maybe they are not hyphenated at all. This
happens all the time, at least when writing in Swedish (which I do maybe
99 times out of 100). Many years ago, when I used Word 97 (which came with
my PC), I could highlight a word and hyphenate it manually. I could then
decidxe where to hyphenate the word. Let's say that the word was
"maskinkomponenter", then a dialog showed the word like this:
"ma-skin-kom-po-nen-ter"
Now, I could move the cursor to any of the "-" (except those that made the
first part of the word too long to fit on the line). Then I clicked OK and
the word was manually hyphenated, at least as far as I remember.
Now, there is a word, among many others, that doesn't seem to be
hyphenated at all with Open Office, so I guess that the hyph_sv_SE.dic is
not 100% complete. So every time a word shows up that isn't hyphenated, I
would like to tell the system how to do it, so it remembers it next time.
In this case I am talking about the word "tvättställ". The hyphenation
dictionary doesn't seem to know that this word is a combination of the two
words "tvätt" and "ställ", which means that they can be separated by a
"-", so in this case it's natural to split them when hyphenating, like
this:
Blah blah blah tvätt-
ställ blah blah...
When writing in Writer, I can do some of this manually. If I see a word
that I think SHOULD have been hyphenated, I can place the cursor where I
want it to split, then press Ctrl+-. If there is room for the first part
of the word on the line above it, it will then be moved there. That's ok
for me, I could actually work that way, but WHY does this not work in text
boxes (or text frames or whatever you call them, you know, when creating a
rectangle and then write text in it, and set it to wrap and blah blah
blah)? Why can't writing text work exactly the same no matter where I
write it?
I even tried to first write the text in Writer (not in a text box) and
then copy and paste it to a text box, but the only thing that happened was
that all my ctrl+- were changed to just "-". So if I add a word somewhere,
the "-" will still be there, wether the word is hyphenated or not.
Sorry for being such a pain in the... well, you know.
Johnny
Den 2006-05-05 15:33:18 skrev G. Roderick Singleton
<[EMAIL PROTECTED]>:
On Fri, 2006-05-05 at 14:07 +0200, Johnny Andersson wrote:
Open Office 1.1.5
Windows 98 (Build 1998)
It seems like the soft "-" (Ctrl+-) does not work in text boxes. How do
I
get around this? I really need it!
I can think of at least one "workaround", and that would be if it was
possible to edit the hyphenation dictionary or whatever it is called
(sorry for my really bad English), but I couldn't find a way to do this.
The reason I write this is that I was entering some text in a rectangle
in
OOo Draw (I am going to do a lot of graphical stuff later in that file,
that's why I use Draw for this particular job) and then I found that I
needed to use the Tools -> Hyphenate, so I did. Now I found that a
particular word was not hyphenated (I write in Swedish), but I think it
should. So I thouoght that I could just place the cursor in that word
and
press Ctrl+- to insert an unvisible "-", but that didn't work! It works
when I write normal text in Writer and since I think that OOP is used
when
programming OpenOffice I think it's a bit strange that the same tools
show
up differently in differnt applications. I think that as long as I write
text, it should not matter WHERE I do it. As plain Writer text or in
text
boxes, it should act the same all the time.
So, what I really want to ask is this:
1. Is there a workaround for this problem in 1.1.5?
2. Can I edit the hyph_sv_SE.dic file? If yes, how?
3. I read something about that I could use "=" in the dictionary to tell
the hyphenator where to hyphenate, so I tried it on one word. I replaced
the word "popmusikproducent" by "pop=mu=sik=pro=du=cent". This seems to
work, BUT now the word "popmusikproducent" are shown as wrong spelled..!
So, do I need both lines in the dictionary?
4. Let's say that I write some text and the hyphenator is turned on.
When
I read it I find that a word is NOT hyphenated when it should. What is
the
easiest way to make it do so AND make it remember this for the future? I
am still talking about entering text into rectangles and other kinds of
text boxes.
Using Open Office 2.0 is not an option; 1.1.5 is slow enough for me on
my
old PC. I have tried 2.0 so I am not guessing here. It was a real pain.
As I said in my reply to you on dev, check out
http://lingucomponent.openoffice.org/ for details on hyphenation et
cetera.
--
Johnny
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]