Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.apps > #2732

Re: Search & Replace

Subject Re: Search & Replace
Newsgroups comp.sys.acorn.apps
From Erving <erving@riscos.org>
Date 2012-01-15 11:03 +0000
Message-ID <b520e75152.kbarter@orpheusnet.co.uk> (permalink)
References (2 earlier) <4df1cc4e52.kbarter@orpheusnet.co.uk> <mpro.lxla9i00ah5wj04o0.vinceh@softrock.co.uk> <05ce934f52.martin@bach.planiverse.com> <mpro.lxluat009i9pl028k.vinceh@softrock.co.uk> <jekri1$pjg$1@dont-email.me>
Organization Home

Show all headers | View raw


In message <jekri1$pjg$1@dont-email.me>
          druck <news@druck.org.uk> wrote:

> You can export the text from a frame in DDE format (Impression's tagged
> text format), manipulate it, and reload it in to the document. You can
> also do the same with Ovation's tagged format.

This is fine if the DDE is formatted correctly, which it is not in my 
case.

When saved in DDE format a file is produced which which begins with  
settings used in the document, including definitions of all styles, 
followed with the text interspersed with style changes viz:
"text in base style {"Style A" on} text with style A applied {" Style 
B" on} text with styles A & B applied {"Style A" off} text with style 
B applied {"Style B" off}

The first part of this file can be discarded and the resultant smaller 
file can be dragged into a base Impression document with styles 
already set, and these style definitions can be different from those 
originally used.

I have a directory of some 350 cribs of Scottish dances saved in this 
way all with about a dozen styles which would make any typographer 
shudder but designed to make interpretation simple (for an example see
http://www.londonhighlandclub.co.uk/Ncrib.pdf )

However, somehow some of these DDE files do not have some of the
{"xxx" off} end of style markers. If these files are successively 
dragged into a base document each will be affected by the 'hanging' 
styles of those before; however if each file is dragged to the start 
of the document no problems occur, unless that is one saves the 
document in DDE format and then reimports it when the styles go 
haywire.
There is no problem applying a series of search and replace actions in 
Impression, and I would like a way to automate this for a predefined
set.
Alternatively it would be more useful to have some way to add the 
missing {"xxx" off}s to the end of these files.
I wish there was an option in Impression to save text with styles but 
without the preamble of style definitions, which I have to delate each 
time I save on of these files.

Back to comp.sys.acorn.apps | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Search & Replace Erving <erving@riscos.org> - 2012-01-08 10:47 +0000
  Re: Search & Replace Paul Sprangers <Paul@sprie.nl> - 2012-01-08 12:27 +0100
    Re: Search & Replace News poster <workstuff@mail.com> - 2012-01-09 11:09 +0100
    Re: Search & Replace Erving <erving@riscos.org> - 2012-01-09 10:28 +0000
      Re: Search & Replace Vince M Hudd <vinceh@softrock.co.uk> - 2012-01-10 15:41 +0000
        Re: Search & Replace Martin Wuerthner <spamtrap@mw-software.com> - 2012-01-10 23:40 +0100
          Re: Search & Replace Vince M Hudd <vinceh@softrock.co.uk> - 2012-01-10 22:54 +0000
            Re: Search & Replace druck <news@druck.org.uk> - 2012-01-11 20:30 +0000
              Re: Search & Replace Erving <erving@riscos.org> - 2012-01-15 11:03 +0000
                Re: Search & Replace Harriet Bazley <bazley@feathermail.co.uk> - 2012-01-17 23:15 +0000
                Re: Search & Replace Dave Symes <dave@triffid.co.uk> - 2012-01-18 07:32 +0000
                Re: Search & Replace "David Holden" <SpamBin@apdl.co.uk> - 2012-01-18 09:30 +0000
                Re: Search & Replace Dave Symes <dave@triffid.co.uk> - 2012-01-18 19:48 +0000
                Re: Search & Replace Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-01-18 10:25 +0000
                Re: Search & Replace Harriet Bazley <bazley@feathermail.co.uk> - 2012-01-19 04:04 +0000
      Re: Search & Replace Erving <erving@riscos.org> - 2012-01-15 15:20 +0000

csiph-web