tmac: introduce real manual reference macro instead of overloading IR

The overloading of IR emits magic \X'...' sequences that turn into HTML manual links.
But not all such IR invocations should be manual links;
those had to be written to avoid the IR macro before.
Worse, the \X'...' ending the IR causes troff to emit only a single space after a period.

Defining a new IM macro for manual references fixes both problems.

Fixes #441.
This commit is contained in:
Russ Cox 2020-08-13 23:41:59 -04:00
parent a1c4307800
commit 977b25a76a
297 changed files with 1790 additions and 1774 deletions

View file

@ -109,7 +109,7 @@ converts a
.B VtEntry
structure describing a Venti file
(see
.IR venti (7))
.IM venti (7) )
into a 40-byte
.RB ( VtEntrySize )
structure at
@ -122,7 +122,7 @@ converts a
.B VtFcall
structure describing a Venti protocol message
(see
.IR venti (7))
.IM venti (7) )
into a packet.
.I Vtfcallunpack
does the reverse conversion.
@ -130,7 +130,7 @@ does the reverse conversion.
The fields in a
.B VtFcall
are named after the protocol fields described in
.IR venti (7),
.IM venti (7) ,
except that the
.B type
field is renamed
@ -158,7 +158,7 @@ and the packet
The block type enumeration defined in
.B <venti.h>
(presented in
.IR venti (7))
.IM venti (7) )
differs from the one used on disk and in the network
protocol.
The disk and network representation uses different
@ -232,7 +232,7 @@ is nil, the label is ignored.
and
.I vtscorefmt
are
.IR print (3)
.IM print (3)
formatters to print
.B VtFcall
structures and scores.
@ -244,9 +244,9 @@ is installed as
.SH SOURCE
.B \*9/src/libventi
.SH SEE ALSO
.IR venti (1),
.IR venti (3),
.IR venti (7)
.IM venti (1) ,
.IM venti (3) ,
.IM venti (7)
.SH DIAGNOSTICS
.IR Vtentrypack ,
.IR vtfcallpack ,