Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am just using the default template in Word 2007, but it seems something is strange with linebreaks.

If I copy text to a formfield where there will be a linespace in word there will only be a newline in the formfield or notepad or whatever.

Likewise if I copy text from notepad then each linebreak with a space between paragraphs is treated as 2 linebreaks...

How can I fix this, as it doesn't happen with all documents, jus those using the default style

share|improve this question

1 Answer 1

I did some experimenting. Here's what I think is happening.

In Word 2007 the default style when Word is first installed is called Normal. This style places spaces between paragraphs so that pressing Enter results in a space between paragraphs. There is another style called No Spacing which doesn't place spacing after the paragraph.

Type the following text in Notepad and copy it.

This is text with no spacing
This is the next line

This is a line with spacing before the line.

Paste it into a new Work 2007 document (which is using the default Normal spacing) and it will appear as follows.

This is text with no spacing

This is the next line



This is a line with spacing before the line.

Note there is a blank space after each line break. This occurs because the default style in Word 2007 has spacing after the paragraph.

Copying the text above from Word to Notepad results in the text I originally typed in Notepad.

I don't see the first behaviour you describe. I always see a line feed and carriage return when pasting from Word to Notepad. However, this might happen if the destination application (the one you paste into) uses Unix line endings instead of Windows line endings. Unix lines end in a linefeed; this causes a new line to start at the left margin. Windows lines end in a linefeed and a carriage return. Wikipedia has this to say on the topic

The different newline conventions often cause text files that have been transferred between systems of different types to be displayed incorrectly. For example, files originating on Unix or Apple Macintosh systems may appear as a single long line on some Windows programs. Conversely, when viewing a file originating from a Windows computer on a Unix system, the extra CR may be displayed as ^M at the end of each line or as a second line break.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.