Hi,

On Mon, Mar 2, 2009 at 03:49, John Jason Jordan wrote:
> On Mon, 2 Mar 2009 01:21:26 +0100
> "Manfred J. Krause" dijo:
>> On Sun, Mar 1, 2009 at 23:51, Manfred J. Krause wrote:
>> > On Sun, Mar 1, 2009 at 22:45, John Jason Jordan wrote:
>> >> On Sun, 01 Mar 2009 13:21:09 -0700
>> >> Robert Hodgins <[email protected]> dijo:
>> >>
>> >>> On Sun, 2009-03-01 at 12:09 -0800, John Jason Jordan wrote:
>> >>> > I can't believe I don't know how to do this, as many years as I have
>> >>> > been using Writer.
>> >>> >
>> >>> > Suppose I have a line of text that ends with a scientific notation like
>> >>> > "[-sonorant]." Because of the length of the line Writer breaks it
>> >>> > between the "[-" and the "sonorant].
>> >>> >
>> >>> > To further clarify, the automatic line break makes it end like [-
>> >>> > sonorant], followed by the rest of the sentence.
>> >>> >
>> >>> > This is just wrong. I need Writer to keep it all on one line so it is
>> >>> > [-sonorant]. [...]
>> >
>> > You may try:
>> >
>> > Insert > Formatting Mark > No-width no break
>> > (CTL must be enabled)
>> >
>> > [-<No-width no break>sonorant].
>> >
>> > See also  ->
>> > <http://www.openoffice.org/servlets/SearchList?list=users&searchText=%22No-width+no+break%22&defaultField=body&Search=Search>
>>
>> Related topics  ->
>>
>> (1)
>> Help <F1>
>> Index: hyphenation;preventing for specific words
>>
>> (2)
>> Issue 64400
>> dash/hyphen (-) should be forwarded to spellchecker
>> <http://qa.openoffice.org/issues/show_bug.cgi?id=64400>
>
> Thanks for the suggestions. I thought you had it, but it doesn't work.
>
> First, I do have CTL enabled, but inserting no-wdth-no-break did
> nothing. Writer still breaks on the en-dash, thinking that it is a
> manual hyphen.

Sorry - I've tried it out before posting it to the list
[with Win XP, OOo 3.0.1, language: en-US, preinstalled default
dictionary dict-en.oxt, n-dash = U+2013] and it worked fine.

> Then I tried the instructions in Index > Hyphenation > Preventing for
> specific words. I entered it in the standard.dic with an = after it,
> but Writer still thinks it can be hyphenated because it still
> interprets the en-dash as a manual hyphen.

That's only for the word 'sonorant' -> sonorant=

You may also try it out with Unicode ...
"No-width no break" in Writer is equivalent to U+2060 [word joiner];
you may also choose U+FEFF [zero width no-break space]

Manfred

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to