I'd suggest that, before giving advice, people actually try what they are
suggesting.

In OOo and LO, unlike MSO, paragraphs are designated by surrounding the
text with <p></p> symbols (like html). As a result, there is no "paragraph
mark" to search for, and using either ^p or \n in the search field will
give you a "search key not found" error.

On the other hand, if you ended a line with a Shift-enter, no new paragraph
is created. Instead, a \n symbol is inserted into the text. If you enable
regular expressions and put a \n in the find field, the \n will be found
and can be replaced by anything you like (including nothing).

There is no way I've ever found in OOo or LO to use ^p in the search field.
^p works in every version of MSO I've tried, but not in LO.

I verified what I'm saying by actually trying it in LO 3.4.3

jomali

On Mon, Nov 28, 2011 at 9:55 AM, Bob Houston <[email protected]>wrote:

>
> Hi to all,
> I use ^p to designate paragraph returns in LO and I think it works in MS
> Word as well.  I have a need to remove blank lines (empty paragraphs) from
> time to time.
> I search for ^p^p and replace with ^p (the ^ (caret) is above the 6 ).
> I'm not sure what a 'soft return' is, but to take out the hard return and
> just let the text flow, I search for ^p and replace with ' ' (one blank)
> assuming there was no blanks after the .  before the hard return.  If you
> need to take out tabs ^t will work.
>  Bob
> Bob Houston eBook Formattinghttp://about.me/BobHouston
> http://facebook.com/eBookFormatting
>
>
> > Date: Mon, 28 Nov 2011 05:47:41 -0800
> > From: [email protected]
> > To: [email protected]
> > Subject: [libreoffice-users] Re: deleting hard returns
> >
> > Hi Tom and e-letter
> >
> > I think you both missed step number 2 in Miroslaw's answer
> >
> > > 2. In "More options" check "Regular expressions".
> >
> > Although this is not quite user friendly, it works perfectly and it is
> good
> > to know that LO has this feature.
> >
> > I'm keeping this one on my personal Tips and Tricks list ;)
> >
> > Thank you, Miroslaw!
> >
> > --
> > View this message in context:
> http://nabble.documentfoundation.org/deleting-hard-returns-tp3541244p3542232.html
> > Sent from the Users mailing list archive at Nabble.com.
> >
> > --
> > For unsubscribe instructions e-mail to:
> [email protected]
> > Problems?
> http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> > Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
> > List archive: http://listarchives.libreoffice.org/global/users/
> > All messages sent to this list will be publicly archived and cannot be
> deleted
> >
>
> --
> For unsubscribe instructions e-mail to: [email protected]
> Problems?
> http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
> List archive: http://listarchives.libreoffice.org/global/users/
> All messages sent to this list will be publicly archived and cannot be
> deleted
>
>

-- 
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to