home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!hartman
- From: hartman@informix.com (Robert Hartman)
- Newsgroups: comp.text.frame
- Subject: Re: Creating Unix man Pages with Frame
- Message-ID: <1993Jan12.200906.22831@informix.com>
- Date: 12 Jan 93 20:09:06 GMT
- References: <1993Jan11.235617.28049@brt.com>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 35
-
- In article <1993Jan11.235617.28049@brt.com> paulk@brt.com (Paul Kennedy) writes:
- >
- >Has anyone out there created a filter and a set of formats that would
- >allow one to create a man page with FrameMaker and then export it
- >to a text file compatible with the Unix man utility?
- >
- >This seems retrograde but there a couple of people at my site that
- >are so used to Frame that they don't feel comfortable with [nt]roff.
- >Nonetheless they'd still like to create man pages compatible with
- >the current man system.
- >
- >Thanks in advance.
- >
- >Paul Kennedy
- >Berkeley Research and Trading
- >
- >----
- >
- >I am just a modern guy.
-
- The easy way to do this is to simply drop the pages into plain text and
- write an awk or sed script to break out pages into separate files.
- When you do this you forego the highlighting and other formatting
- features of nroff man pages, but that may be of marginal value anyway,
- depending on what you're documenting. If there are no formatting
- commands in a file, nroff acts pretty-much like cat.
-
- The hard way is to write a filter for the MIF output. Since you can't
- save to MML, MIF is the only ASCII format that preserves layout, and
- more importantly for man pages, text highlighting information. I
- suspect that the MIF filter is nontrivial to write. It would have to
- be site-specific as well, since only you will know what paragraph
- formats you'll use to emulate the man page format.
-
- -r
-