home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!news.bbn.com!olivea!pagesat!spssig.spss.com!news.oc.com!convex!connolly
- From: connolly@convex.com (Dan Connolly)
- Newsgroups: comp.text.frame
- Subject: Re: Creating Unix man Pages with Frame
- Message-ID: <1993Jan12.235540.26451@news.eng.convex.com>
- Date: 12 Jan 93 23:55:40 GMT
- References: <1993Jan11.235617.28049@brt.com>
- Sender: usenet@news.eng.convex.com (news access account)
- Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
- Lines: 42
- Nntp-Posting-Host: pixel.convex.com
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
-
- 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?
-
- Yes. It's pretty simple-minded, but it worked for our purposes.
- It's written in lisp, for use with the freely distributable XLISP
- interpreter.
-
- [Unfortunately, it's based on a MIF->LISP perl script too. I have
- since figured out how to read MIF straight into LISP without the perl
- tool, but I haven't put those smarts in the mif2man filter.]
-
- The troff it produces is kinda ugly: you woudln't want to edit
- it by hand, and it doesn't utilize the -man macros fully, but
- it displays and prints right.
-
-
- Let me know if this is good enough for what you want to do, and I'll
- try to clean it up and post it.
-
- Here's a sample of the output:
-
- .\" Example
- .PF l 1i 1.25i 0i
- .ta 0.25i
- \fR\&\s10\&metrics project7.met
-
- .\" Body
- .PF l 0.75i 0.75i 0i
- .ta 0i 0.75i
- \fR\&\s10\&The above example invokes the CXmetrics graphical user interface for
- viewing the metrics data contained in the file project7.met. For more
- information about the graphical user interface, refer to the CONVEX
- CXmetrics UserUs Guide.
-
- .SH SEE ALSO
- .\" Body
- .PF l 0.75i 0.75i 0i
- .ta 0i 0.75i
- \fR\&\s10\&\fR\&\s10\&metrics(5)\fR\&\s10\&
-