[softwarelist] Re: OvPro and RTF

  • From: Martin Devon <martin.devon@xxxxxxxxxxxxxx>
  • To: davidpilling@xxxxxxxxxxxxx
  • Date: Fri, 4 Mar 2011 23:26:58 +0000

On Fri, 04 Mar 2011 18:56:30 +0000 (GMT)
Dave Symes <dave@xxxxxxxxxxxxx> wrote:

> On 10 Jan, dave@xxxxxxxxxxxxx wrote:
> 
> > There is obviously something amiss with the OvPro RTF Saving.
> 
> Remember my quest back in January when getting Her indoors to use
> OvPro instead of the Publisher thing.
> 
> A sort of works around was used, put the OvPro.rtf into Abiword then
> export as RTF which will load into Word okay.
> 
> The problem has now become far worse.
> Previously she was using sexless quotes, but now using OvPro has
> taken to using sexed quotes.
> 
> OvPro.Rtf makes a real mess up of it.
> Oh it appears to have done the translation okay, but when loaded into
> AbiWord, MSWord, etc the start quote/quotes are missing and the end
> quote/quotes are the start quote/quotes way around.
> 
> She is totally urinated off with the OvPro experience and has now gone
> back to Imp Publisher.
> 
> Anyone know what's going on here as I certainly don't.

If you change !MakeRTF.!Runimage as below, handed double quotes
handed single quotes and diphthongs will be replaced with simple
equivalents.

DEFFNtext(f%)
REM Read Text Object
LOCAL c%,t$
t$=""
c%=BGET#f%
WHILE c%<>ASC("""")
  IF c%=ASC("\") THEN c%=BGET#f%
  CASE c% OF
    WHEN 158:t$+="fi"
    WHEN 159:t$+="fl"
    WHEN 148,149:t$+=CHR$34
    WHEN 144,145:t$+="'"
    WHEN 230:t$+="ae"
    OTHERWISE t$+=CHR$(c%)
   ENDCASE
  c%=BGET#f%
ENDWHILE
=t$

HTH

Martin

-- 
Martin R Devon MSc
Consulting Engineer, Box, Wiltshire, UK
RISC OS in the timber-frame housing industry
To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling

Other related posts: