Date: Sun, 17 Feb 2002 13:33:37 -0800 From: Rich Morin <rdm@cfcl.com> To: freebsd-doc@freebsd.org Subject: Any troff wizards out there? Message-ID: <p0510030db895d1bd9db9@[192.168.254.205]>
next in thread | raw e-mail | index | archive | help
I am using the troff MS macros to generate the front matter for the DOSSIER volumes. I use the XA macro to create table of contents entries, as: .XA 10 \fCcpp(1:RedHat/cpp)\fR check out RCS revisions .XA 11 \fCctm(1:FreeBSD)\fR source code mirror system Each entry contains two lines. The first line consists of a name (e.g., cpp) and a parenthesized designation. The second line contains an (indented) description. So far so good; everything prints as desired: cpp(1:RedHat/cpp) check out RCS revisions . . . . . . . 10 Except that the two lines do not always stay together at the end of a page. It's been suggested to me that I use the .ne troff command. Our resident troff "expert" says this is beyond her. She thinks we need to modify the .XA macro to "do the right thing". Keeps (as in "keep this line with next") are created from scratch under troff -ms (there is no keep command, per se) using diversions. Help?? -r -- email: rdm@cfcl.com; phone: +1 650-873-7841 http://www.cfcl.com/rdm - my home page, resume, etc. http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc. http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0510030db895d1bd9db9>