Cover image for RTF pocket guide
RTF pocket guide
Burke, Sean M.
Personal Author:
First edition.
Publication Information:
Beijing ; Cambridge : O'Reilly, [2003]

Physical Description:
vi, 149 pages : illustrations ; 18 cm
General Note:
"The universal document format"--Cover.
Title Subject:
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.9.T48 B87 2003 Adult Non-Fiction Central Closed Stacks

On Order



Rich Text Format, or RTF, is the internal markup language used by Microsoft Word and understood by dozens of other word processors. RTF is a universal file format that pervades practically every desktop. Because RTF is text, it's much easier to generate and process than binary .doc files. Any programmer working with word processing documents needs to learn enough RTF to get around, whether it's to format text for Word (or almost any other word processor), to make global changes to an existing document, or to convert Word files to (or from) another format. RTF Pocket Guide is a concise and easy-to-use tutorial and quick-reference for anyone who occasionally ends up mired in RTF files. As the first published book to cover the RTF format in any detail, this small pocket guide explains the syntax of RTF with examples throughout, including special sections on Unicode RTF and MSHelp RTF, and several full programs that demonstrate how to work in RTF effectively.Most word processors produce RTF documents consisting of arcane and redundant markup. This book is the first step to finding order in the disorder of RTF.

Author Notes

Sean M. Burke is an active member in the Perl community and one of CPAN's most prolific module authors. He has been a columnist for The Perl Journal since 1998, and is an authority on markup languages. Trained as a linguist, he also develops tools for software internationalization and native language preservation. Sean is also the author of O'Reilly's Perl & LWP.

Table of Contents

Part I. RTF Tutorial
Why RTF?p. 2
This Book's Approachp. 3
RTF "Hello, World!"p. 4
Overview of Simple RTFp. 6
Basic RTF Syntaxp. 9
Paragraphsp. 14
Character Formattingp. 26
Document Structurep. 35
Incidental Featuresp. 48
Stylesp. 66
Tablesp. 73
Part II. Creating MS Windows Help Files
Help-RTF Basicsp. 89
Hyperlinks and Popupsp. 91
More Topic Informationp. 93
Imagesp. 97
Help-RTF's Peculiaritiesp. 100
Learning Morep. 101
Part III. Example Programs
A Datebook Generatorp. 103
A Directory Listerp. 108
An Origami CD Case Makerp. 113
An RTF Metadata Extractorp. 122
Remarks on Parsingp. 124
Part IV. Reference Tables
ASCII-RTF Character Chartp. 127
RTF Language Codesp. 135
Converting to Twipsp. 137
Indexp. 141