OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Globally replace hard returns with page breaks

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
rx7chick
General User
General User


Joined: 04 Jul 2012
Posts: 14

PostPosted: Wed Jul 04, 2012 6:52 am    Post subject: Globally replace hard returns with page breaks Reply with quote

I am formatting an eBook and the guidelines specifically state: "Use page breaks instead of hard returns." I am new to this terminology. I have been searching for over an hour for a way to do this globally throughout the entire document, with no result. I found some articles that do not take into account explaining what hard returns and page breaks are in Writer, or what they are even called in Writer.

What is a simple operation to identify and find "hard returns" and replace them with "page breaks?"

Thanks so much. This is a bit urgent as I cannot submit the book until this is done. It is holding me back.
Back to top
View user's profile Send private message
jrkrideau
Super User
Super User


Joined: 08 Aug 2005
Posts: 6732
Location: Kingston ON Canada

PostPosted: Wed Jul 04, 2012 11:04 am    Post subject: Re: Globally replace hard returns with page breaks Reply with quote

rx7chick wrote:
I am formatting an eBook and the guidelines specifically state: "Use page breaks instead of hard returns." I am new to this terminology. I have been searching for over an hour for a way to do this globally throughout the entire document, with no result. I found some articles that do not take into account explaining what hard returns and page breaks are in Writer, or what they are even called in Writer.

What is a simple operation to identify and find "hard returns" and replace them with "page breaks?"

Thanks so much. This is a bit urgent as I cannot submit the book until this is done. It is holding me back.


This is guessing a bit but it sounds like the editor does not want a lot of empty paragraphs.

A hard return is essentially hitting the return key to move to a new line.

Unfortunately too many people use a word processor like a type writer and hit return a few times to get to the start of a new page. This is not good.

When you want to start a new page go Insert > Manual Break > Page break.

This is what the instructions want.

Good luck
_________________
jrkrideau
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2
Back to top
View user's profile Send private message
rx7chick
General User
General User


Joined: 04 Jul 2012
Posts: 14

PostPosted: Wed Jul 04, 2012 2:24 pm    Post subject: Finding Hard returns Reply with quote

What do I do to locate all of the "hard returns?" this is all very new to me. The thought of replacing each one individually is daunting. But first I have to find them.
Thanks for the reply
Back to top
View user's profile Send private message
Robert Tucker
Moderator
Moderator


Joined: 16 Aug 2004
Posts: 3407
Location: Manchester UK

PostPosted: Wed Jul 04, 2012 11:46 pm    Post subject: Reply with quote

Turn on non-printing characters (View>Nonprinting Characters – Ctrl+F10) and look for ¶. Install the AltSearch extension and search for \p. (jrkrideau's suspicions being correct, you will probably want to search for multiple occurrences – \p\p\p.)
_________________
OpenOffice 4.0.0 and LibreOffice 4.x.x on Fedora 20, Ubuntu 13.10, Windows 8.1 Preview (Triple Boot)
Back to top
View user's profile Send private message
jrkrideau
Super User
Super User


Joined: 08 Aug 2005
Posts: 6732
Location: Kingston ON Canada

PostPosted: Thu Jul 05, 2012 4:50 am    Post subject: Re: Finding Hard returns Reply with quote

rx7chick wrote:
What do I do to locate all of the "hard returns?" this is all very new to me. The thought of replacing each one individually is daunting. But first I have to find them.
Thanks for the reply


Well you don't want to replace all the hard breaks. As Robert Tucker says you want to look for muliple ones. Each paragraph in your text will have at least one ¶. You only need to replace the muliple ones.
_________________
jrkrideau
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2
Back to top
View user's profile Send private message
carrt7
Newbie
Newbie


Joined: 07 Nov 2006
Posts: 3
Location: Hamilton, Ontario

PostPosted: Sun Jul 08, 2012 1:36 pm    Post subject: Reply with quote

"Turn on non-printing characters (View>Nonprinting Characters – Ctrl+F10) and look for ¶. Install the AltSearch extension and search for \p. (jrkrideau's suspicions being correct, you will probably want to search for multiple occurrences – \p\p\p.)"

Ahh - this sounds just what I'm looking for, too. If I install the AltSearch extension, will I be able to use the Find&Replace regex facility across paragraphs?

For example, can I search for "c/r aa c/r bb c/r" and replace it with "c/r aa bb c/r"? If so, terrific!

Forgive my ignorance: (a) how do I install the AltSearch extension, (b) where do I find Help items about it?

Many thanks, carrt7
_________________
Thank heavens for Linux.
Back to top
View user's profile Send private message Visit poster's website
rx7chick
General User
General User


Joined: 04 Jul 2012
Posts: 14

PostPosted: Wed Jul 18, 2012 2:52 am    Post subject: I cannot find out how to accomplish replacing hard returns Reply with quote

I appreciate all the effort being made to help me, but I am not able to do what has to be done.
I was able to show all the hidden characters and I see many symbols ¶. The only way I can find to remove them is to put the cursor just before it, hit delete, which then brings the following text up, then do a manual page break or line break. But in some seemingly random places it causes the following text to be italicized and I cannot get it to go to normal text. Doing this also has destroyed the formatting of my cover page, making all the text the same size and I can't get it to format differently.

I am completely stumped. Doing this has also done a weird thing with my Table of Contents, moving seemingly randomly thru the list of chapters in the TOC and adding breaks in that, plus bringing text after the TOC, to before the TOC. I have a total mess on my hands and unless I can figure this out I am dead in the water. None of this is intuitive. I have spent hours on this and only succeeded in creating such a mess I may have to do the entire book over. Can anyone advise? I know this post is garbled. but I barely understand myself what is happening. I have used Writer for years and never needed to know this stuff before.
Back to top
View user's profile Send private message
jrkrideau
Super User
Super User


Joined: 08 Aug 2005
Posts: 6732
Location: Kingston ON Canada

PostPosted: Wed Jul 18, 2012 6:41 am    Post subject: Re: I cannot find out how to accomplish replacing hard retur Reply with quote

rx7chick wrote:
I appreciate all the effort being made to help me, but I am not able to do what has to be done.
I was able to show all the hidden characters and I see many symbols ¶. The only way I can find to remove them is to put the cursor just before it, hit delete, which then brings the following text up, then do a manual page break or line break. But in some seemingly random places it causes the following text to be italicized and I cannot get it to go to normal text. Doing this also has destroyed the formatting of my cover page, making all the text the same size and I can't get it to format differently.

I am completely stumped. Doing this has also done a weird thing with my Table of Contents, moving seemingly randomly thru the list of chapters in the TOC and adding breaks in that, plus bringing text after the TOC, to before the TOC. I have a total mess on my hands and unless I can figure this out I am dead in the water. None of this is intuitive. I have spent hours on this and only succeeded in creating such a mess I may have to do the entire book over. Can anyone advise? I know this post is garbled. but I barely understand myself what is happening. I have used Writer for years and never needed to know this stuff before.



It's totally intuitive after the first few months of wrestling with it. Twisted Evil

More seriously, it sounds like you may have some hard formatting mixed in with your styles plus the italic issue may be due to you grabbing a style from a previous paragraph. --grabbing is not very exact but that is all I can think of at the moment.

For example if you have a style Italic and you a) remove a couple of ¶s that ends up merging the lower paragraph,say in default style into the upper italic style, if you hit return again the lower paragraph will probably be in italic . No guarantee since it depends on the Next Style option under the Organizer tab in the Style.

Is there any chance that you could post a portion of the file somewhere such as MediaFire for us to have a look at it?
_________________
jrkrideau
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2
Back to top
View user's profile Send private message
rx7chick
General User
General User


Joined: 04 Jul 2012
Posts: 14

PostPosted: Sun Jul 29, 2012 5:48 am    Post subject: [SOLVED] Reply with quote

Thank you for all the help. I finally got how to do this. I deleted all the spaces between paragraphs, then put my cursor where I wanted the next chapter to start, selected Insert > Manual Break > Page Break. Cleaned up all the mess. Thanks!
_________________
Currently using Windows XP SP3
Open Office 3.4.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group