Print this page | Go back to previous topic
Forum nameThe Computer Forum
Topic subjectLined breaks
Topic URLhttp://www.pcqanda.com/dc/dcboard.php?az=show_topic&forum=2&topic_id=565820
565820, Lined breaks
Posted by aptfourd, Thu Jan-17-19 05:53 PM
I am using OS Microsoft and Windows 10 and am trying to copy a document which has a line break every few words, but not necessarily at end of sentences. It takes up only half across the page and I want to delete these line endings and allow text to go as far as possible on page. Please can you tell me what to do.
565821, RE: Lined breaks
Posted by therube, Thu Jan-17-19 06:46 PM
.doc file?
.txt file?

Word?
edlin?

Vim:

%s/[\r\n]/ /g
!]] fmt -w 80



 ;-).
565822, RE: Line breaks
Posted by aptfourd, Thu Jan-17-19 10:25 PM
Quote:
QUOTE:
.doc file?
.txt file?

Word?
edlin?

Vim:

%s/<\r\n>/ /g
!]] fmt -w 80



;-).


It is a .doc file and the following is an example of the kind of layout to which I'm referring, although it actually has a paragraph sign at the end of each line and this needs cancelling so that each line prints right up to the right hand side of the page.

Many thanks for your help.

Masculine and Feminine Nouns
In Spanish all nouns are masculine or feminine. Usually, nouns that end with an "o" are masculine, and nouns that end with an "a" are feminine. For example,"manzana" (apple) is feminine and "diario" (newspaper) is masculine.
The articles "el" and "un" are used with masculine nouns, and the articles "la" and"una" are used with feminine nouns. "The apple" is "la manzana" and "a newspaper" is "un diario."
Accent Marks
Vowels in Spanish can have an accent mark, such as the "u" in "menú" (menu).
One use of the accent mark is to indicate which syllable should be stressed in
the pronunciation. For example, in "teléfono" (telephone), the second "e" has the
most stress.
Accent marks are also used to distinguish homophones. For example, "él" and
"el" are homophones because they have the same pronunciation. However, "él"
is a masculine pronoun (meaning "he" or "him") and "el" is a masculine article
(meaning "the").
The Second Person Singular
565823, RE: Line breaks
Posted by KJT, Thu Jan-17-19 10:51 PM
Try pasting the entire document into a text file - notepad (or word pad) - and then copying the text file back into a different, new Word document.

Press the Win key plus R, then type in notepad to open notepad.

Jim.
565824, RE: Line breaks
Posted by GreyFalcon, Fri Jan-18-19 01:14 PM
That sounds like a possible solution. I had a similar problem with a resume that had some custom graphics. When I edited it and added a few punctuation marks and another paragraph the lines started moving around and exhibiting some strange behavior when copied into a word document. I also found it could not be uploaded online because of the way it was originally created even as a .pdf. Maybe something similar is happening here. I have used a similar approach in the past with Notepad to make text behave that has been created with different formats and had absolutely no clue as to why it worked.
565825, RE: Line breaks
Posted by aptfourd, Fri Jan-18-19 05:43 PM
Thank you all so much for your help, but the suggestions didn't work for me unfortunately. However I did find the following solution, which I am giving below in the hope it will assist someone else.:-

Highlight text.
On the HOME tab click REPLACE, which is at extreme right. (Control+H is shortcut). Cursor will be flashing in ‘Find what’ box.
Click on MORE and then on SPECIAL, or just click on SPECIAL if the MORE option doesn’t appear
Select PARAGRAPH MARK from options.
In REPLACE WITH box enter an empty space by simply pressing on Keyboard space button.
Click on REPLACE ALL.

Thanks again.