<< , >> , Title , Contents , Index

1 An Overview of rtftohtml

rtftohtml reads up RTF format documents and translates them to HTML. In processing text, the filter chooses HTML markup based on three characteristics . These are

  1. The destination  of the text. Example destinations are header, footer, nootnote, picture.
  2. The paragraph style . Paragraph styles are user-definable entities, but some are pre-defined by the word processing package. For Microsoft Word (on the Macintosh) examples are "Normal" and "heading 1".
  3. The text attributes . Examples of text styles are bold, courier, 12 point.

The filter has built-in rules for dealing with destinations. For paragraph and text styles, the rules for translation are contained in a file called html-trans  (see Section 5.1). By modifying this file, you can train rtftohtml to perform the correct translations for your documents. The most common change that you will need to make is to add your own paragraph styles to html-trans.

rtftohtml should produce reasonable HTML output  for most documents. Here is what you can expect:


<< , >> , Title , Contents , Index