User login

Prevent LibreOffice/OpenOffice from splitting a string of text on symbols in the text

OpenOffice was insisting on splitting a line a string of text !$has_money between the exclamation point and the dollar sign.

As far as i can tell the only solution is to insert a special character, the "zero-width non-breaking space": U+FEFF.

It's something like fifth from last when using the insert special character dialog.

Searched words: 
open office do not split word open office write keep characters together Open Office Writer breaking between characters Libre Office spacing no line break between symbol characters

Comments

Possibly-better solution to the wrong-linebreak problem

If you enable Complex Layout in Tools->Options->Language Settings, then on the Insert menu under Special Character... a special option under the "Formatting mark" entry is enabled: from that drop-down menu, you can now choose "No-width no break" and the problem is solved.

For me, it happened to insist that a .44 Magnum should be formatted as "." "44" etc.

(I gleaned this solution after trying (but failing) to find the U+2060 character mentioned here: https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=5160)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.