[scribus] Removing extra spaces??
John Brown
johnbrown105 at hotmail.com
Thu Nov 6 11:52:45 UTC 2014
On Thu, 6 Nov 2014 08:50:55 +0100, Peter Nermader wrote:
>
>>
>>
>> Or, to do it the way I want, have <period><space><space> be a special case
>> that the macro doesn't change.
>>
>>
> Yes, that would in worst case just leave a few places where they would
> manually have to remove extra spaces after a period that is not between
> sentences.
>
> So, how is your suggested code to do that?
>
1) Replace <period><space><space> with something-that-does-not-occur-in-your-text.
2) REPEAT
Replace <space><space> with <space>
UNTIL there is nothing to replace.
3) Replace something-that-does-not-occur-in-your-text with <period><space><space>.
Regards,
John Brown.
More information about the scribus
mailing list