Q:  I see that in Release 2 some of the documentation is in a format which has an .rtfd extension.  What is this file type?  How can I create one?   
	
A:  The .rtfd extension is a file type introduced in Release 2 that takes advantage of a feature of the Text object supporting embedded graphics.  An RTFD document is formatted as a file package which contains an .rtf file and any associated graphics that will be rendered in the document when opened by the Edit.app.

You can easily create an RTFD document in Release 2 and later by dragging a PostScript or TIFF file into an RTF Edit window.  The graphic is be automatically imaged (similar to the way Mail does this).  When the file is saved to disk it is be saved as an RTFD document.  (However, see the bug warning below.)

Note:  To convert a window to RTF in the Edit.app, choose Make Rich Text from the Text submenu of the Format menu (Command R).

Note: Trying to open a RTFD file under Release 1.0 causes the directory to be opened as a normal directory under the Browser.  This displays the component RTF and PostScript files.  The 1.0 Edit application may be used to open and read the RTF file; however, the graphics directives are ignored.  These graphics directives appear wherever a graphic should be inserted and have the format "graphicname>".  (However, see the bug warning below.)

Q:  How can I copy a graphic from an RTFD document and paste it into another document?

A:  NeXT has reworked the RTFD format for Release 3.  In Release 2 it is not possible to copy the PostScript to the pasteboard by selecting the graphic and choosing Cop"  from the Edit menu.   

Under Release 2 the easiest way to copy a graphic is to:

a)	In the Workspace, open the file as a folder and copy using the File Viewer or
b)	Use the Terminal application to copy the graphic to a new directory.  (This circumvents the file package filter in the Workspace.)
  
The file may then be imported into the desired application as any other PostScript file.

Under Release 3 you can just copy the graphic to the pasteboard.

Bug Warnings:  
The following bugs apply only to Release 2 systems:

·	There is a known bug in Release 2 which occurs when the name of an image has a space in itÐthe  image displays itself correctly when you drop the icon in the window;  however, if you save the document and attempt to reopen it, the image does not display.  To prevent this bug, never drag in a graphic that has a space in its name.

·	There is a known bug in Release 2 which occurs if you delete a graphic from an RTFD document, the corresponding graphic file isn't deleted from the file package.   In the Workspace Manager, use the Open as Folder command to view the file package, and delete the corresponding TIFF or EPS file.

·	There is a known bug in Release 2 which occurs if you use the Save As command to overwrite another RTFD document.  What occurs is that you get the original file package included as a subdirectory of the new one.  Find and delete this subdirectory, as in the previous paragraph.

Valid for 2.0, 3.0, 3.1

QA614