Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!wuarchive!emory!att!cbnewsj!cbnewsk!pegasus!hansen From: hansen@pegasus.att.com (Tony L. Hansen) Newsgroups: comp.lang.c++ Subject: Re: Monthly Posted C++ products & books list (troff format) Summary: -ms? -mm? Keywords: C++ products books list Message-ID: <1990Oct30.203242.15125@cbnewsk.att.com> Date: 30 Oct 90 20:32:42 GMT References: <681@adesign.uucp> <2613@cirrusl.UUCP> Sender: hansen@cbnewsk.att.com (tony.l.hansen) Organization: AT&T Bell Laboratories Lines: 55 << As usual you may print it on your favorite printer with the cmd : << tbl <[this_list] | [your_troff_cmd] -mm | [your_print_cmd] < Wouldn't it be better to use -ms instead? The mm macros are not widely < available, and are also distributed only under AT&T's nondisclosure < license. Sigh. Unfortunately, -ms is no more widely available than -mm. If you want to write generic troff, you have either accept some limitations, or provide your own macros. For many people, providing your own macros is NOT an easy task for anything more than the simple items. Another alternative is to provide both -mm and -ms alternatives and hope that that covers 99% of the interested people. Here is one attempt at writing a combination version which can shift from -mm to -ms based on the command line setting of the v register. I hope it helps someone. Tony Hansen att!pegasus!hansen, attmail!tony hansen@pegasus.att.com Instructions: replace the beginning of Jessie's posting with the following, down to the first .P. To print with -mm, use the command: tbl < [this_lis] | [your_troff] -mm | [your_print_command] To print with -ms, use the command: tbl < [this_lis] | [your_troff] -ms -rv1 | [your_print_command] ---------------------------------- Cut Here ------------------------------- .ds CP \s+1\&C\v'-0.1m'++\v'0.1m'\s-1\& .ie '\nv'0' \{\ '\" troff -mm definitions . PH "''\*(CP Products & Books List'September 1990'" . PF '''' \} .el \{\ '\" troff -ms definitions . ds LH . ds CH \*(CP Products & Books List . ds RH September 1990 . ds LF . ds CF . ds RF . de P . LP .. . de SK . bp .. \} .P Here is the latest list of currently available \*(CP products. Heartfull thanks