Michael Adams wrote:
On Thursday 08 April 2010 06:40, Dotan Cohen wrote:
Every line in your example document is a new paragraph. To see that more
clearly, click open the "View" and choose "Non-printing Characters". New
paragraphs are then marked with a symbol which looks like a backwards "P"
(also spaces show as a dot, and tabs as a right-pointing arrow).
To start a new line without starting a new paragraph, hold the Shift key
when pressing Enter, instead of just pressing Enter (with Non-printing
Characters shown, you see an arrow pointing down then left as is common
on the Enter key). The options for widow and orphan control or keep
paragraphs together then work. You might then want to change the "Indents
and Spacing" paragraph options to remove the indent.
You can set different options for different paragraphs, so changing them
at one point in the document won't affect the whole document. To save
having to change every individual paragraph's options (once you've
replaced new paragraph marks with new lines) you can modify the "Text
body" style - from the "Format" menu choose "Styles and Formatting",
right-click "Text body" and select "Modify..." and set whatever text
flow, indent and other options you want for the style.
Hope that helps.
Mark.
Thanks, Mark. That text was copied and pasted from a website. Is there
a way to convert all the New Paragraph marks to New Line marks? I
tried to do the same conversion once and failed to find a way, but
maybe it does exist.
I think this is bad advice, effectively changing the document to one paragraph
just does not sound right to me.
Did you select all and then make the change? Were the affected paragraphs
definitely selected? Select all does not work well after copy and paste from
the net where DIV's get converted to sections and the sections get selected
individually. In this case i usually click on the offending paragraph, then
select all and make my change.
You may as a last resort need to copy the data out of the sections and from
navigator then delete the sections.
It is a worry if paragraphs that were changed later revert. I have not seen
this specific behaviour.
HTH
Suggestion for converting the "each line is a paragraph" into
the original paragraph setup:
1) Go through the text placing a # after the punctuation mark at the
end of each paragraph.
2) Open Find (Control+F).
3) Enter $ in the Search box and # in the Replace box.
4) Click More options button.
5) Click the Regular Expression box.
6) Click the Replace all. Now you have one paragraph with the #'s
showing where each paragraph ends.
7) Replace $ with # in the Search box and replace # with \n in the
Replace box.
8) The Regular Expression box should be checked (ticked).
9) Click Replace all.
Now you should have your paragraphs looking like they did on the
web page. The suggestions about orphan and widow paragarphs should no
work as well.
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]