Preventing line wrap after colons (bug?)

Everything related to our flagship word processor.
Post Reply
Aaron
Posts: 3
Joined: 2008-01-17 16:00:33

Preventing line wrap after colons (bug?)

Post by Aaron »

I'm having trouble with citations such as:

(I:455)

There are no blank spaces at all there, but I'm getting line wraps at the colons, so that they sometimes end up looking like: (I:
455)

This is über-annoying! Any help?

Aaron
User avatar
martin
Official Nisus Person
Posts: 5230
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Post by martin »

I'm afraid there's no solution for you currently- this is just the way the system typesetter likes to break the line. We might be able to modify the behavior for a future release, or add a "keep on same line" option.
rwg
Posts: 21
Joined: 2008-03-31 21:16:23

Post by rwg »

An alternative would be to introduce a zero-width no-break space, as in Mellel. (Not sure how difficult this would be.)

Rolf
User avatar
martin
Official Nisus Person
Posts: 5230
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Post by martin »

rwg wrote:An alternative would be to introduce a zero-width no-break space
Thanks for the idea Rolf, and for educating me! We have a solution, as the zero-width non-breaking space is part of Unicode (as U+2060) and Apple's typesetter handles it just fine. Here's what to do:

1. Place the caret after the ":" character.
2. Type the text "U+2060".
3. Select exactly the text "U+2060". Be sure not to include any surrounding characters.
4. Use the menu Edit > Convert > From Unicode Code Points.

You should now have a non-breaking space following the colon. If you use this a lot, it might be a good idea to add it to your QuickFix expansions. You can also use the menu Edit > Special Characters to insert non-breaking spaces, but it can be somewhat involved.
Aaron
Posts: 3
Joined: 2008-01-17 16:00:33

Post by Aaron »

Thanks! That works. I'm really curious about why apple decided to make line breaks happen at such places. It is also really bad for URLS.
Post Reply