Fixing pasted or imported text that won't break properly and causes large white-spaces between words
The first passage below shows text copied and pasted "without formatting" into a new document. Note that some words break at the end of the sentence, but without hyphenation. Note also that the type is not justified, even though the paragraph style is fully justified. If you try to fix this the easy, normal way you might find that it cannot be done. I'm not going to go into detail to explain everything that won't work; instead I will just jump to a fix that does work.
This fix involved the use of the LibreOffice add-on, "Advanced Find and Replace." Click the link to install it, then save your work, close LO and then re-open it. Now you will see the Advanced Find and Replace icon in the menu bar.
--Frustrating, wrongly-formatted text after copy and paste. |
(Be sure to select the text you want to correct before you do the Find and Replace).
After you install the add-on, click the icon to launch "Alternative Find & Replace." Then make it look like the image below. In the Replace box there is a single space. (So, what you are doing is replacing one kind of space with a different, "normal" kind of space. You don't need to know the details; trust me, this is what you must do to fix your problem.)
Comments
Post a Comment
Only comments that improve or disprove the contents of the posts on this blog will be approved. Opinions and speculations generally will not be approved. "Self-serving" links will not be approved. Product and advertising links will not be approved, but plain text recommendations might be approved. No form of vulgarity or cursing will be approved. No personal disparaging remarks will be approved. All comments become the property of this blog immediately upon the member's/reader's posting of the comment. All comments may be rejected or edited without recourse to or by the commenter. By posting, you agree to hold harmless this blog, its owner, editors, administrators and contributors, even if your post is approved as-is.