RTF text to real RTF

Have a problem? A question? This is the place for answers from other Express users.
Post Reply
hatchmo
Posts: 99
Joined: 2004-03-01 10:35:56
Location: Cotati, CA

RTF text to real RTF

Post by hatchmo »

I have a text document displaying RTF codes. How do I force Nisus Writer Express to display it as RTF (interpreting all the code)?

For example, paste the text below into a new NWX document. Save it as an RTF document, complete with .RTF extension. Close it and double-click on it. It still opens as text--not RTF.

Code: Select all

{\rtf1 \mac \ansicpg437 \cocoartf102 {\fonttbl {\f0 \fnil \fcharset77 Times New Roman{\*\falt Times}
;}
{\f1 \fnil \fcharset77 Times-Roman{\*\falt Times}
;}
}
{\colortbl ;\red0 \green0 \blue0 ;}
\deftab720 \defformat \viewkind4 \viewscale100 {\*\nisuswindow \x194 \y4 \w649 \h946 }
\paperw11904 \paperh16836 \margl1440 \margr1440 \margt1440 \margb1440 \gutter0 \pgnstart1 \sectd \sbkpage \cols1 \ltrsect \colbalsxn1 \marglsxn1440 \margrsxn1440 \margtsxn1440 \margbsxn1440 \guttersxn0 \headery720 \footery720 \pgncont \pgndec \sxncont \sxndec \pard \ql \sl0 \slmult1 \ri3080 \f1 \fs24 \nosupersub \up0 \kerning0 \expnd0 \expndtw0 \CocoaLigature0 \cf1 Aa aaa aaaa aaaa aaaa a a  a   a aaaa aaaa aaaa. Aa aaa aaaa aaaa aaaa a a  a   a aaaa aaaa aaaa. Aa aaa aaaa aaaa aaaa a a  a   a aaaa aaaa aaaa. Aa aaa aaaa aaaa aaaa a a  a   a aaaa aaaa aaaa. Aa aaa aaaa aaaa aaaa a a  a   a aaaa aaaa aaaa. Aa aaa aaaa aaaa aaaa a a  a   a aaaa aaaa aaaa. Aa aaa aaaa aaaa aaaa a a  a   a aaaa aaaa aaaa. Aa aaa aaaa aaaa aaaa a a  a   a aaaa aaaa aaaa. Aa aaa aaaa aaaa aaaa a a  a   a aaaa aaaa aaaa. }
Al Hatch
charles
Posts: 481
Joined: 2002-11-26 11:40:35
Location: San Diego, CA
Contact:

Post by charles »

There are two things to do here:

1. Be sure you save as plain text. You are trying to just save this as plain text, even though the text itself is RTF. I know it is confusing, just trust me.

2. Nisus Writer will expect you to save with a TXT extension or something like that. So, save the file with the txt extension and then rename it in the Finder as RTF.

Now, close your file and reopen it in Nisus Writer and everything should work!
hatchmo
Posts: 99
Joined: 2004-03-01 10:35:56
Location: Cotati, CA

Post by hatchmo »

This is truly weird. I never would have figured it out myself. Thanks, Charles.
Al Hatch
charles
Posts: 481
Joined: 2002-11-26 11:40:35
Location: San Diego, CA
Contact:

Post by charles »

hatchmo wrote:This is truly weird. I never would have figured it out myself. Thanks, Charles.
Hatchmo: I think is it weird that you even HAD raw RTF to show like that! :wink: Where did it come from?

-C
hatchmo
Posts: 99
Joined: 2004-03-01 10:35:56
Location: Cotati, CA

Post by hatchmo »

charles wrote:

>that you even HAD raw RTF to show like that! Where did it come from?

I've written an OS X Applescript to take scraps of text (written in NWX or dragged and dropped or clipped or whatever) and concatenate them into a single NWX document. All the text appears fine after import, but RTF looks like, well, RTF. This will make it much easier.

Al
Al Hatch
charles
Posts: 481
Joined: 2002-11-26 11:40:35
Location: San Diego, CA
Contact:

Post by charles »

Oh, that sounds very interesting, actually! How are you invoking this AppleScript? Maybe we can do something so you would never have to even see the RTF.

-C
Post Reply