Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpesoc1!hpcllla!hpclisp!hpclscu!shankar From: shankar@hpclscu.HP.COM (Shankar Unni) Newsgroups: comp.unix.wizards Subject: Re: Need information for using man and mm together Message-ID: <670002@hpclscu.HP.COM> Date: 12 Jan 88 02:28:14 GMT References: <3532@whuts.UUCP> Organization: HP ITG/ISO Computer Language Lab Lines: 25 / hpclscu:comp.unix.wizards / gwyn@brl-smoke.ARPA (Doug Gwyn ) / 4:02 am Jan 8, 1988 / In article <3532@whuts.UUCP> jdw1@whuts.UUCP (WILLIAMS) writes: >>Has anyone written a shell script that utilizes the mm and man >>macros in the same document? >Be aware that macro packages keep state information in various >troff number registers, and assume certain conventions, so two >concurrent macro packages could easily step on each other's toes. >I don't know if this is true of -mm and -man. I know for a fact that this is true, for example of -ms (which is a pretty inoffensive package) and -mm, because -mm uses a horrid number of internal macros, diversions, traps, and state variables (which are implemented as macros..). It just blows away any other package that is combined with it. Your best ticket is to define (if you have the stomach to create troff macros) extensions to the -man package to perform fancy stuff like bullets, lists, etc (if that's what you are after). ----------------------------------------------------------------------------- Shankar Unni allegra) Unix Mail: shankar@hpda UUCP: ucbvax)!hplabs!hpda!shankar HPMAIL: SHANKAR UNNI/HPUNIX/UX sun) Telnet: 1-447-5797 (AT&T: (408) 447-5797) decwrl) -----------------------------------------------------------------------------