#1   Report Post  
Posted to microsoft.public.word.pagelayout
Uddhava
 
Posts: n/a
Default Untidy Text

Dear all,

I have MS Word 2002. Tidy text means one space between each word like this
across the length of a iine. However when I copy
text from a web page it sometimes
comes out like this ie with multiple spaces between words
and
short lines . Or this might happen when
the text I am copying for example here
http://ccbs.ntu.edu.tw/FULLTEXT/JR-PHIL/inada4.htm has short lines
or blank
space at the
start of a line (indentation).

Is there some way to correct this? What I want the text to do is to run
together ie to have one space between each line / cut out empty space and to
fill the length of the line. Is there some way to define these conditions for
a block of text? I have a tried a few things but no success, so I am having
to do corrections manually, which in a long document takes forever. Any
suggestions?

Thank you
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Uddhava
 
Posts: n/a
Default Untidy Text

Dear all,

X = space between word

When IXXXXXX posted XXthe XXaboveXX I XXXXadded XXXXXXextra XXXspaces
XXbetweenXXXX words to illustrate my problem. Ironically, the forum soffware
detected these unnatural spaces and automactically deleted them ie tidied up
my text. This is just what I am trying to acheive in MS Word.
  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
 
Posts: n/a
Default Untidy Text

I'm seeing multiple spaces in your original post. I assume the problem is
not just that the lines are justified. You can remove excess spaces by
searching for " {2,}" (without the quotation marks; note the space before
the opening brace) and replacing with a single space.


--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Uddhava" wrote in message
...
Dear all,

I have MS Word 2002. Tidy text means one space between each word like

this
across the length of a iine. However when I copy
text from a web page it sometimes
comes out like this ie with multiple spaces between words
and
short lines . Or this might happen when
the text I am copying for example here
http://ccbs.ntu.edu.tw/FULLTEXT/JR-PHIL/inada4.htm has short

lines
or blank
space at the
start of a line (indentation).

Is there some way to correct this? What I want the text to do is to run
together ie to have one space between each line / cut out empty space and

to
fill the length of the line. Is there some way to define these conditions

for
a block of text? I have a tried a few things but no success, so I am

having
to do corrections manually, which in a long document takes forever. Any
suggestions?

Thank you


  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Uddhava
 
Posts: n/a
Default Untidy Text

"Suzanne S. Barnhill" wrote:

You can remove excess spaces by
searching for " {2,}" (without the quotation marks; note the space before
the opening brace) and replacing with a single space.



Dear Suzanne,

Thanks for your reply.

I assume the problem is not just that the lines are justified


Well it is sometimes something to do with justifying in the sense that I am
trying to undo the justifying embedded in the original text. For example take
the first paragraph of the link that I mentioned before -
http://ccbs.ntu.edu.tw/FULLTEXT/JR-PHIL/inada4.htm
This is written in short lines and the multiple spaces are there in the
process of justifying it, but the problem is that this formatting (short
lines and multiple spaces) which I don't want is carried into Word. I can
manage to lose the indentation by pushing the whole block of text to the left
but I am still stuck with the horrible short lines and multiple spaces.

Anyway I tried your {2,}
space, curly bracket, 2, comma, curly bracket
but it doesn't seem to work - I get '0 replacements were made'



  #5   Report Post  
Posted to microsoft.public.word.pagelayout
RobertVA
 
Posts: n/a
Default Untidy Text

Uddhava wrote:
"Suzanne S. Barnhill" wrote:

You can remove excess spaces by
searching for " {2,}" (without the quotation marks; note the space before
the opening brace) and replacing with a single space.



Dear Suzanne,

Thanks for your reply.

I assume the problem is not just that the lines are justified


Well it is sometimes something to do with justifying in the sense that I am
trying to undo the justifying embedded in the original text. For example take
the first paragraph of the link that I mentioned before -
http://ccbs.ntu.edu.tw/FULLTEXT/JR-PHIL/inada4.htm
This is written in short lines and the multiple spaces are there in the
process of justifying it, but the problem is that this formatting (short
lines and multiple spaces) which I don't want is carried into Word. I can
manage to lose the indentation by pushing the whole block of text to the left
but I am still stuck with the horrible short lines and multiple spaces.

Anyway I tried your {2,}
space, curly bracket, 2, comma, curly bracket
but it doesn't seem to work - I get '0 replacements were made'


You ARE going to get large gaps between words if you use full
justification on relatively narrow columns. That's the way it makes the
last word even with the right margin. The effect is particularly
noticeable if there is a long first word on the next line. If you don't
like the gaps you have to switch to Left Justify and put up with the
jagged right edge.


  #6   Report Post  
Posted to microsoft.public.word.pagelayout
Uddhava
 
Posts: n/a
Default Untidy Text

"RobertVA" wrote:

You ARE going to get large gaps between words if you use full
justification on relatively narrow columns. That's the way it makes the
last word even with the right margin. The effect is particularly
noticeable if there is a long first word on the next line. If you don't
like the gaps you have to switch to Left Justify and put up with the
jagged right edge.



Dear Robert,

Yes I understand why the multiple spaces are there in the original text
(written by someone else) but the question is how to get rid of them - the
align left button will get rid of the muiltiple spaces when the text is
originated by me but doesn't seem to work with text pasted from a web page.
Anyway there is still the problem of short lines. When I write a Word doc,
the right indent marker is at say 15 but some text pasted from the web
ignores my marker at 15 and stops short at say 11.
  #7   Report Post  
Posted to microsoft.public.word.pagelayout
RobertVA
 
Posts: n/a
Default Untidy Text

Uddhava wrote:
"RobertVA" wrote:

You ARE going to get large gaps between words if you use full
justification on relatively narrow columns. That's the way it makes the
last word even with the right margin. The effect is particularly
noticeable if there is a long first word on the next line. If you don't
like the gaps you have to switch to Left Justify and put up with the
jagged right edge.



Dear Robert,

Yes I understand why the multiple spaces are there in the original text
(written by someone else) but the question is how to get rid of them - the
align left button will get rid of the muiltiple spaces when the text is
originated by me but doesn't seem to work with text pasted from a web page.
Anyway there is still the problem of short lines. When I write a Word doc,
the right indent marker is at say 15 but some text pasted from the web
ignores my marker at 15 and stops short at say 11.


"...my marker at 15..." You are either using a VERY wide page or metric
measurements in your ruler. Unless the text contains some long words
justification typically works pretty well as long as the column is over
about 3 inches or 75 mm. Unless you use a really small font you will get
some obvious gaps with narrower columns. The text won't usually extend
to the right column where there's a typed return. You can see spaces and
typed returns by clicking the Paragraph symbol on the tool bar (looks
like a backwards "P" with two vertical lines). With that function on
spaces will look like periods.

There are multiple ways of adding spaces in web pages, and the results
you get from a cut and paste may vary with how the page author achieved
the spaces. If the page source contains multiple space between words or
even returns your browser will normally compress the spaces to a single
space. The page author could potentially override this behavior in a
couple of ways, but I'm not sure you want an HTML lesson.

Some people I'm acquainted with clear the formatting from text by
pasting it to a notepad document, copying the text to the clipboard
again from the notepad document and THEN pasting the text in Word. This
will eliminate things like justification, fonts and attributes like
italics and boldface. It probably won't eliminate actual multiple
consecutive spaces, tabs or typed returns.

I don't have the latest version of Word (I have Word 97) BUT I have a
"Paste Special..." option on my "Edit" menu. The pop-up that appears
when I click that option offers an ability to "Paste as unformatted
text". Again this should eliminate everything but multiple spaces, tabs
and typed returns. Maybe later versions of Word have the same item on
their "Edit" menu. In Word 97 I would eliminate multiple consecutive
spaces by typing "^w" (without quotes - "w" stands for "White space") in
the "Find What:" field of the "Replace" pop-up, and " " (a single space)
in the "Replace with:" field. For tabs entering "^t" in the "Find what:"
field should work (do this before "^w").

When there are typed returns within what I believe should be paragraphs
I replace the returns I want with an unusual character like a tilde (~)
or a pipe (|). I then use Word's "Replace" function to change typed
returns to a space, replace white space with a single space and THEN
replace my chosen unusual character with returns.
  #8   Report Post  
Posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
 
Posts: n/a
Default Untidy Text

Sorry, I forgot to mention that you have to check "Use wildcards" in the
Replace dialog. Also, if your lines of text are shorter than the margin
width (especially since this is text copied from the Web), see
http://word.mvps.org/FAQs/Formatting/CleanWebText.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Uddhava" wrote in message
...
"Suzanne S. Barnhill" wrote:

You can remove excess spaces by
searching for " {2,}" (without the quotation marks; note the space

before
the opening brace) and replacing with a single space.



Dear Suzanne,

Thanks for your reply.

I assume the problem is not just that the lines are justified


Well it is sometimes something to do with justifying in the sense that I

am
trying to undo the justifying embedded in the original text. For example

take
the first paragraph of the link that I mentioned before -
http://ccbs.ntu.edu.tw/FULLTEXT/JR-PHIL/inada4.htm
This is written in short lines and the multiple spaces are there in the
process of justifying it, but the problem is that this formatting (short
lines and multiple spaces) which I don't want is carried into Word. I can
manage to lose the indentation by pushing the whole block of text to the

left
but I am still stuck with the horrible short lines and multiple spaces.

Anyway I tried your {2,}
space, curly bracket, 2, comma, curly bracket
but it doesn't seem to work - I get '0 replacements were made'




  #9   Report Post  
Posted to microsoft.public.word.pagelayout
Uddhava
 
Posts: n/a
Default Untidy Text

"Suzanne S. Barnhill" wrote:

Sorry, I forgot to mention that you have to check "Use wildcards" in the
Replace dialog.


OK using the first pargraph of my link above I get 44 replacements - however
all this achieves is to shift the spaces around, I still have numerous
multiple spaces but in a different arrangement
  #10   Report Post  
Posted to microsoft.public.word.pagelayout
Doug Robbins - Word MVP
 
Posts: n/a
Default Untidy Text

If you turn on the display of paragraph marks by clicking on the ¶ button,
you will probably only see one dot between each word meaning that there is
only one space between each word. What appears to be additional spaces, but
is not multiple spaces, is caused by the text being justified as has been
mentioned earlier in this thread.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Uddhava" wrote in message
...
"Suzanne S. Barnhill" wrote:

Sorry, I forgot to mention that you have to check "Use wildcards" in the
Replace dialog.


OK using the first pargraph of my link above I get 44 replacements -
however
all this achieves is to shift the spaces around, I still have numerous
multiple spaces but in a different arrangement





Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Header with picture or text box Scott Page Layout 15 April 28th 23 02:52 AM
Creating dynamic cross reference links in a Word document torajudo Microsoft Word Help 5 April 27th 23 08:57 PM
Open word in text mode Jay Douglas Microsoft Word Help 9 February 15th 06 08:30 AM
Word applies direct format on File open Uriel Microsoft Word Help 16 November 27th 05 07:22 PM
How to select paragraph between tow specified words? ALIOX Microsoft Word Help 1 June 28th 05 08:56 AM


All times are GMT +1. The time now is 07:30 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"