removing space at the end of line

Heiko Haida info at heiko-haida.de
Mon Mar 23 13:34:36 PDT 2015


 

Hi Craig, 

this sounds familiar. It was always necessary to start a first search
from text, a second one from within a table (and sometimes a third one
on the master pages). 

So it seems that FrameMaker has not changed its behaviour with version
12. 

Best regards - Tino H. Haida, Berlin 

Craig Ede: 

> Oddly enough, after posting this I ran into an issue I hadn't seen before while stepping through a series of such replaces.
> 
> Sometimes after removing a space in a table it reports "Not found." Yet if you click outside the table, it will continue to find such items. Sounds like a bug to me. The occurrence of multiple paragraphs in a table, some of which may have spaces at the end of a paragraph, may not have been adequately tested by Adobe.
> 
> Craig
> 
> -------------------------
> From: Adam.Hollett at solacesystems.com
> To: craigede at hotmail.com
> Subject: RE: removing space at the end of line
> Date: Mon, 23 Mar 2015 19:59:18 +0000
> 
> Thanks so much for this. I've had a blog post brewing in my head for some time about how regular expressions can be very useful for editing. Have yet to write it, though. 
> 
> I'll be using this very frequently, I think. 
> 
> Adam Hollett 
> 
> Customer Documentation 
> 
> Solace Systems 
> 
> adam.hollett at solacesystems.com 
> 
> FROM: framers-bounces at lists.frameusers.com [mailto:framers-bounces at lists.frameusers.com] ON BEHALF OF Craig Ede
> SENT: March-23-15 3:31 PM
> TO: framers
> SUBJECT: removing space at the end of line 
> 
> Thanks to Rick Quatro's excellent webinar on regular expression search and replace some time back I was able to construct the following reg exp search in FM 12 to remove a space occurring at the end of a line right before the end of paragraph marker. I've been using for it for awhile. I'm sure others have constructed something similar, but for those of you who don't want to mess around and experiment:
> 
> Find: (?<=.) (?=x0a)
> 
> Replace with nothing. Of course, the Regular Expressions option has to be checked in the Find/Replace dialog.
> 
> Earlier versions of FrameMaker would allow you to replace a space followed by an end of paragraph, but you had to replace with the paragraph marker. That would result in your paragraph being formatted with the tag of the following paragraph which was often not what you wanted.
> 
> Hope this is useful to someone out there. I find that Word conversions often suffer from these extra spaces.
> 
> Thank you.
> 
> Craig
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20150323/aba114c5/attachment.htm>


More information about the framers mailing list