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].
> > 
> > Of course, I can just enter some spaces to force it (and I did, just to
> > get the job done), but that is not a good solution. If I later edit the
> > text before or after there will be some extra spaces that should not be
> > there.
> > 
> > I thought I could just select "[-sonorant]" and apply some feature to
> > it so it would always stay together. But I can't find any way to do
> > that. I can't use Insert Non-Breaking Space because the notation
> > doesn't have any spaces in it. A non-breaking hyphen would work, except
> > that I can't use a hyphen. The standards for the notation require an
> > n-dash, which Writer interprets as a regular hyphen.
> > 
> > Is there any way to tell Writer "keep the next X characters together"?

> A Shift-Enter before the entry will force the whole thing down to the
> next line.

Yes, of course it will. So will just an ordinary Enter key. But you
still have the problem of text reflowing incorrectly if you later add
or delete text before the point where you "fixed" the break. It would
be much more elegant just to apply a "keep this text on the same line"
property to a string.

I could swear I have done this before. But it may have been years ago
in Word, or perhaps in InDesign. I'm just hoping that the feature does
exist in Writer and I have just forgotten where the button is.

Oh, and I came up with my own workaround. The problem was that Writer
thought it should break a line on an en-dash, which it interpreted the
same as a hyphen. So I entered a non-breaking hyphen instead of the
en-dash, and that stopped it from breaking on the en-dash. But I need
the length of the en-dash in the notation I am using, so I selected the
non-breaking hyphen and went into Character > Position and made it 150%
of the normal length. It worked. 

So now I have another trick I can use, but I still wish I could stop a
string from breaking without having to force it with an Enter,
Shift-Enter or adding spaces.
-- 


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

Reply via email to