Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!im4u!suhler From: suhler@im4u.UUCP Newsgroups: comp.sys.mac Subject: Re: File format of Microsoft Word Message-ID: <2450@im4u.UUCP> Date: Fri, 4-Dec-87 21:48:32 EST Article-I.D.: im4u.2450 Posted: Fri Dec 4 21:48:32 1987 Date-Received: Tue, 8-Dec-87 07:14:45 EST Reply-To: suhler@im4u.UUCP (Paul A. Suhler) Distribution: na Organization: Univ of Texas Electrical & Computer Engineering Dept Lines: 27 Summary: Rich Text Format Spec Rich Text Format is designed for different Microsoft applications on different hardware to be able to interchange formatted text and pictures. Anyone can use it to generate formatted stuff for inclusion in MS documents. Microsoft sent me the RTF spec for free. Just write to: Microsoft Corporation RTF/Applications 16011 NE 36th Way Box 97017 Redmond, WA 98073-9717 If you want to see it, though, just get into Word and save a document as "Interchange format (RTF)" (through the "Save As" menu item). Then open that file through Word and answer "No" when it asks "Interpret RTF" or whatever. You'll see that an RTF document has four major sections, the font table, style sheet, color table, and document contents. I was trying to generate a formatted bibliography document from inside HyperCard. I created an RTF header by saving a small document as RTF. I edited out the fonts and styles I didn't need to use and saved it in a file read by HC. The stack read in the RTF header file, wrote it out into the biblio file, wrote out individual entries with appropriate control words inserted (e.g., to create italics), put out one final '}' or whatever, and closed the file. Then I could open it from Word and include it in the paper for which I'd formatted the bibliography. It was really easy. -- Paul Suhler suhler@im4u.UTEXAS.EDU 512-474-9517/471-3903