Xref: utzoo comp.unix.questions:4979 comp.unix.wizards:6020 Path: utzoo!utgpu!water!watmath!clyde!rutgers!sunybcs!boulder!hao!oddjob!mimsy!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: Need information for using man and mm together Message-ID: <6998@brl-smoke.ARPA> Date: 8 Jan 88 12:02:17 GMT References: <3532@whuts.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 14 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? Some, maybe most, implementations of troff simply do not support two -m options at the same time. However, since the -m option is just an abbreviation for a file name, you can explicitly name the file(s) instead. Usually, for example, -mm corresponds to /usr/lib/tmac/tmac.m 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.