Changes in rtftohtml 2.7.5
- Changed the processing of line breaks (\line in RTF,
<shift><return> in MS Word). These were being treated the same as
paragraph marks, but they should have been treated as a simple break. Where
this makes a difference is in lists.
The filter now correctly renders
the following example as a single list element (i.e. one bullet mark) across
two lines.
* some list element\line
more stuff belonging to same list element, but on a different line.
- MSWord 6.0 for the Macintosh is now using 'RTF ' as the file type for rtf
files, instead of TEXT. This caused rtftohtml to ignore those files in the OPEN
file dialog box. You could not drag and drop those RTF files onto the filter
either. The filter now accepts file types of RTF or TEXT.
IMPORTANT!
To make drag-n-drop of MSWord 6.0 RTF files work on your Macintosh, you
must:
1. Download rtftohtml 2.7.5 onto your Macintosh
2. Copy ALL PREVIOUS VERSIONS of rtftohtml onto a backup disk. Then
REMOVE them from your hard-disk.
3. Restart your Macintosh, while holding down the OPTION and Apple keys. This
will re-build your desktop.
Changes in rtftohtml 2.7.4
- Fixed a bug where column widths of 1 character caused an infinate loop.
- Fixed a problem for NeXT RTF files where \ followed by a
newline was not being interpreted as a \par mark.
- Footnote numbers were not being reset at the start of each file, so the
sceond document converted would have footnotes starting at > 1.
- Some Word 6.0 RTF symbols were improperly coded as destinations. This
caused rtftohtml to discard the rest of the file (searching for a closing '}'
)
Changes in rtftohtml 2.7.3
- Modified status bar for Mac platform - it was incorrect for large
files.
- Changed error messages to print line and column information rather than
context.
- Modified MWF processing to produce the correct WMF header
- Added code to recognize that style names of the form "Normal, fred"
actually mean that either Normal or fred are recognized as the style name.
(Implies that style names with ',' in html-trans are incorrect.)
- Added -V option to UNIX version
- Corrected usage message on UNIX version
Changes in rtftohtml 2.7
- Footnotes are now written to a separate file (filename_fn.html). This
allows the <back> button of all browsers to navigate back from a footnote
to the footnote reference.
- A table of contents file is now generated using the text from all headings
<H1>..<Hn> and any table of contents entries in the RTF. The table
of contents has hypertext links from the TOC entries to their locations in the
main HTML text. The -T option disables this feature.
- Generation of graphics files can be disabled through the -G option. The
filter still generates the hypertext links to the graphics files, but it does
not re-write the files themselves. This improves performance for graphics
intensive RTF files.
- Fixed a bug where table of contents entries and index entries were not
appearing in the HTML output.
- Fixed a bug that caused aborts when graphics occurred in a table.
- rtftohtml now closes off any "text" markup
(<em>,<b>,<cite>) before emitting a paragraph tag. This more
closely matches the HTML DTD and corrects a few error conditions.
- The format of the html-trans file has changed. You will need to use the
html-trans file from this distribution and then add any changes that you made
to customize your html-trans.
- Footnotes no longer require special styles in order to work. This means
that all superscripts can now be translated to <su></su> or any
other markup you prefer.
- The Macintosh interface now allows the file Creator to be selected for
graphics, HTML and error files.
- Fixed a bug that caused formatted text in tables to be lost or added to
the wrong cells.
-
Notes on rtftohtml 2.5
This release of rtftohtml requires a new version of the html-trans file. Using
your old one will not work.
The new format file has an additional item added to the .PTag table. An
entry now looks like this:
#"name","starttag","endtag","col2mark","tabmark","parmark",allowtext,cannest,DelteCol1,fold
.PTag
...
"Normal","","\n","\t","\t","<p>\n",1,0,0,1
"pre","<pre>","</pre>","\t","\t","\n",0,0,0,0
The
fold field should be set to zero (0) for all entries except
"pre" or "listing". A zero entry allows rtftohtml to insert
newlines "\n" into the source so that lines do not get too long in
your HTML file. This feature is designed to make editing/viewing of HTML source
files easier with editors like vi. You must use one (1) for "pre"