[comp.sys.next] RTF file tool distribution 1.05 available

izumi@fugitive.berkeley.edu (Izumi Ohzawa) (03/05/91)

The following was posted to comp.text and comp.sys.mac.apps.
Simply reposted here for comp.sys.next.

-------------------------------------------------------------
Article 8518 of comp.text:
From: bin@primate.wisc.edu (Brain in Neutral)
Newsgroups: comp.text,comp.sys.mac.apps
Subject: RTF file tool distribution 1.05 available
Message-ID: <4002@uakari.primate.wisc.edu>
Date: 4 Mar 91 20:30:26 GMT
Organization: Cafe Limbo
Lines: 89


Distribution 1.05 of an RTF file reading tool is available for anonymous
FTP on host indri.primate.wisc.edu (address 128.104.230.11) in the
directory ~ftp/pub/RTF.  The distribution is in the form of a shell archive.

The most notable difference from distribution 1.04 is that the RTF reader
recognizes about twice as many control symbols as before (about 300 now).
Some bugs were also fixed to amend some truly amazing braindamage, and the
the translaters were updated to take advantage of some new capabilities.

The RTF-to-troff translator has undergone extensive revision, although it
probably should not be hard to find RTF files that make it die a horrible
death.

An RTF specification document is also available on indri.  This is a much
more complete document than the one currently available on sumex.  It is
available as a Macintosh Microsoft Word document in stuffed binhex format,
and in RTF format.

Below is the README from the distribution.
-----------------------------------------------------------------------------

RTF-stuff 1.05
04 Mar 91	Paul DuBois	dubois@primate.wisc.edu

This directory contains source and documentation (heh, heh, heh) for
a simple RTF (Rich Text Format) translation tool.  Files in this format
can be produced with, e.g., Microsoft Word.

If you use the Imakefile, you must obtain the WRPRC imake distribution.
If you want to skip that and just use the Makefile you will have to edit
some of the make variable definitions.  Use "make -n" and "make -n install"
to see what will happen on your machine first!

Documentation that is in troff format should be formatted with the -ms
macros.

The WRPRC imake distribution is available via anonymous ftp to host
indri.primate.wisc.edu (Internet address 128.104.230.11) in ~ftp/pub.

The translators currently available are listed below.  Most of them
don't do anything interesting.

rtf2null	RTF -> nothing
rtf2text	RTF -> plain text
rtf2troff	RTF -> troff
rtfwc		"translates" RTF into character, word and paragraph count
rtfdiag		RTF diagnostic program, used mainly to test RTF reader
rtfskel		RTF translator skeleton, for use in building new translators

Each translator uses a tool which reads an RTF input stream and passes
pieces of it to a writer.

There is also a tool, rtfindent, which reads an RTF file and writes it in
somewhat more readable form.  This is helpful when designing a translator,
to see what RTF files look like, but the output should not be fed into
a translator.

Distribution files of interest:

rtf.h		RTF header file; include in any source file using
		RTF-specific info.
reader.c	RTF reader.  Must be part of any RTF translator.  See the
		sample translators for examples of use.
rtfskel.c	Skeleton translator.  You can rip this apart to use as the
		basis for new translators.
Porting		Some notes on machine dependencies.

Version History:

20 Jan 91 V1.00.  Project conceived.

07 Feb 91 V1.01.  First release for FTP on indri.

08 Feb 91 V1.02.  Added rtfskel.

08 Feb 91 V1.03.  Style reprocessing and built-in destination readers were
	actually tried in the balance.  And found wanting.  Fixed 'em.
	Put some actually useful stuff in rtfdiag.

09 Feb 91 V1.04.  Renamed rtfAscii class to rtfText.  Original name was poor
	since character values can be outside ascii range (> 127).

04 Mar 91 V1.05.  Lots of changes, most notably that twice as many control
	symbols are recognized by the reader.  Also some bug fixes.  See
	"1.05-changes".
-- 
Paul DuBois
dubois@primate.wisc.edu


-- 
Izumi Ohzawa             [ $@Bg_78^=;(J ]
USMail: University of California, 360 Minor Hall, Berkeley, CA 94720
Telephone: (415) 642-6440             Fax:  (415) 642-3323
Internet: izumi@violet.berkeley.edu   NeXTmail: izumi@pinoko.berkeley.edu