I have the pleasure, perhaps honor , of being the principal editor of a revised version of the RTF file format specification. The focus of this revision is interoperability with Microsoft Word, RichEdit and all those other programs that support the venerable standard. More specifically, this new version contains definitions for all of the control words that show up in RTF files, fixes some errors, improves the English, and makes the formatting consistent. It's really worth it, since RTF is so great at allowing documents to travel fluidly forward and backward through time. HTML is reasonably good at time travel, but it's not nearly as rich. Meanwhile XML formats require new namespaces whenever we add new features. With RTF one just defines appropriate new control words,
Genuine Office 2010, which older readers happily ignore and new ones can understand if they choose to. Sometimes it's tricky work because the people who wrote the underlying code have left the Word team, if not Microsoft, and one has to reverse engineer a lot. But that's something my colleagues and I have been doing for years in maintaining and generalizing RichEdit's RTF converters. You just enter a construct in Word, save it as RTF and look at it with a plain-text editor. Also Word can be too "helpful" in editing the document: autoFormatting,
Windows 7 Pro, smart quotes, and background spelling need to be disabled or else i's get capitalized when they shouldn't be, curly quotes get used when ASCII quotes should be used, and the second of two capitals gets lower cased. Word has a very cool Compare feature that's invaluable for projects like this one. It lets you see all the changes you've made to a document without confronting you with revision marks as you edit. Go to the Review tab,
Microsoft Office 2007 Professional, choose Compare and enter the file names of the original and revised documents. Then after a little while (at least with the 300 page RTF specification), up comes the compared version with revision markings for all changes. You can also see a revision pane with a summary of the corrections as well as windows with the original and revised documents. To display all four windows, it's handy to have a large screen. In particular,
Office 2010 Professional, the Compare facility readily reveals if Word has made background changes you don't want. Many people have helped with this revision,
Genuine Office 2007, both in spotting problems by examining a myriad RTF documents as well as in filling in gaps in understanding from personal experience and/or examination of the Word code. Now it's your turn. If you want to see changes in the RTF specification, please send them to me. - Murray Sargent <div