Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Kindle Price: £4.42

Save £3.57 (45%)

includes VAT*
* Unlike print books, digital books are subject to VAT.

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

Deliver to your Kindle or other device

Deliver to your Kindle or other device

RTF Pocket Guide: The Universal Document Format by [Burke, Sean M.]
Kindle App Ad

RTF Pocket Guide: The Universal Document Format 1st Edition, Kindle Edition

3.5 out of 5 stars 2 customer reviews

See all 2 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
£4.42

60 Kindle Books for £1
Browse our selection of Kindle Books discounted to £1 each. Learn more

Product description

About the Author

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.

Excerpt. © Reprinted by permission. All rights reserved.

PART I: RTF Tutorial

This book is a convenient reference for Rich Text Format (RTF). It covers the essentials of RTF, especially the parts that you need to know if you’re writing a program to generate RTF files. This book is also a useful introduction to parsing RTF, although that is a more complex task.

RTF is a document format. RTF is not intended to be a markup language anyone would use for coding entire documents by hand (although it has been done!). Instead, it’s meant to be a format for document data that all sorts of programs can read and write. For example, if you even just skim this book, you should be able to write a program (in the programming language of your choice) that can analyze the contents of a database and produce a summary of it as an RTF document with whatever kinds of formatting you want. The flexibility of RTF makes it an ideal format for everything from generating invoices or sales reports, to producing dictionaries based on databases of words.

This book is not a complete reference to every last feature of RTF; Microsoft’s comprehensive but terse Rich Text Format (RTF) Specification is the closest you will find to that. In the Microsoft Knowledgebase at support.microsoft.com, its access number is 269575. Version 1.5 of the specification and before are more verbose, and might be more useful. Microsoft doesn’t distribute copies of them anymore, but you can find them allover the Internet by running a search on "Rich Text Format (RTF) Specification" in Google or a similar search engine.

Why RTF?
RTF is a handy format for several reasons. RTF is a mature format. RTF’s syntax is stable and straightforward, and its specification has existed for over a decade—an eternity in computer years. In fact, while there has been a proliferation of incompatible binary formats calling themselves "Microsoft Word file format," RTF has stayed the course and evolved along backwardcompatible lines. That means if you generate an RTF file today, you should be able to read it in 10 years, and you should have no trouble reading an RTF file generated 10 years ago.

Many applications understand RTF. Since RTF has been around for so long, just about every word processor since the late 1980s can understand it. While not every word processor understands every RTF feature perfectly, most of them understand the RTF commands discussed in this book quite well. Moreover, RTF is the data format for "rich text controls" in MSWindows APIs; RTF-rendering APIs are part of the Carbon/Cocoa APIs in Mac OS X; and you can even read RTF documents on iPods, Apple’s portable music players.

Most people have the software to read RTF. That is, if you email an RTF file to a dozen people you know, chances are that almost all of them can read it with a word processor already on their system, whether it’s MSWord, some other word processor (ABIWord, StarOffice, Text-Edit), or just the RTF-literate write.exe that has been part of MSWindows since at least Windows 98.

In RTF, format control is straightforward. In HTML, if you want to control the size and style of text or the positioning and justification of paragraphs, the best you can do istry a long detour through CSS, a standard that is erratically implemented even today. In RTF, font size and style, paragraph indenting, page breaks, page numbering, page headers and footers, widow-and-orphan control, and dozens of other features are each a single, simple command.

RTF is a multilingual format. RTF now supports Unicode, so it can represent text in just about every human language ever written.

RTF is easy to generate. You can produce RTF without any knowledge of the font metrics needed for Adobe PostScript or PDF. In addition, since RTF files are text files, it’s easy to produce RTF with a program in any programming language, whether it’s Perl, Java, C++, Pascal, COBOL, Lisp, or anything in between.


Product details

  • Format: Kindle Edition
  • File Size: 1403 KB
  • Print Length: 158 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (22 July 2003)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B00BMW81EW
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Enhanced Typesetting: Not Enabled
  • Average Customer Review: 3.5 out of 5 stars 2 customer reviews
  • Amazon Bestsellers Rank: #791,980 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  • Would you like to tell us about a lower price?


Customer reviews

Share your thoughts with other customers
See all 2 customer reviews

Top customer reviews

on 8 April 2010
Format: Paperback
0Comment|Was this review helpful to you? Report abuse
on 15 September 2009
Format: Paperback
0Comment|Was this review helpful to you? Report abuse

Most helpful customer reviews on Amazon.com

Amazon.com: 4.0 out of 5 stars 16 reviews
17 people found this helpful.
5.0 out of 5 starsnecessary preface to MS RTF Specs
on 7 August 2003 - Published on Amazon.com
Format: Paperback|Verified Purchase
2 people found this helpful.
4.0 out of 5 starsThe RTF Pocket Guide - A Review
on 2 January 2008 - Published on Amazon.com
Format: Paperback|Verified Purchase
7 people found this helpful.
4.0 out of 5 starsReally good content and very poor editing
on 12 August 2005 - Published on Amazon.com
Format: Paperback|Verified Purchase
5.0 out of 5 starsFive Stars
on 10 November 2017 - Published on Amazon.com
Format: Paperback|Verified Purchase
4.0 out of 5 starsExcellent book. Served my initial purpose very well
on 10 August 2015 - Published on Amazon.com
Format: Paperback|Verified Purchase
click to open popover

Where's My Stuff?

Delivery and Returns

Need Help?