fix a long-standing (since 1993) problem with the invocations of the 'real'
.Dd and .TH macros (after loading the right sets of macros). Both were being called with a different number of macros than they were actually called with, and that was screwing up Dd's processing of its arguments. This fix is groff-specific. It's apparently possible to do this is a non-groff-specific way, but relatively hard, and my roff skills just aren't up to it (and I have no intention of changing that 8-). I've marked the lines that are groff-specific, at least.
This commit is contained in:
parent
594ba5d1c8
commit
7781a356bb
|
@ -31,15 +31,17 @@
|
|||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from @(#)tmac.andoc 5.6 (Berkeley) 8/5/91
|
||||
.\" $NetBSD: andoc,v 1.1 1997/03/27 03:12:33 mycroft Exp $
|
||||
.\" $NetBSD: andoc,v 1.2 1997/05/28 19:55:09 cgd Exp $
|
||||
.\"
|
||||
.de Dd
|
||||
.rm Dd
|
||||
.so /usr/share/tmac/tmac.doc
|
||||
.Dd "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8"
|
||||
.\" XXX the following is groff-specific
|
||||
.Dd \\$@
|
||||
..
|
||||
.de TH
|
||||
.rm TH
|
||||
.so /usr/share/tmac/tmac.an.old
|
||||
.TH "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8"
|
||||
.\" XXX the following is groff-specific
|
||||
.TH \\$@
|
||||
..
|
||||
|
|
Loading…
Reference in New Issue