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

@ -40,7 +40,7 @@ points at the structure for the architecture being debugged.
It is set implicitly by
.I crackhdr
(see
.IR mach-file (3))
.IM mach-file (3) )
and can be set explicitly by calling
.I machbyname
or
@ -66,31 +66,31 @@ Mac OS X).
Other manual pages
describe the library functions in detail.
.PP
.IR Mach-cmd (3)
.IM Mach-cmd (3)
describes some convenience routines for attaching to
processes and core files.
.PP
.IR Mach-file (3)
.IM Mach-file (3)
describes the manipulation of binary files.
.PP
.IR Mach-map (3)
.IM Mach-map (3)
describes the interface to address spaces and register sets
in executable files and executing programs.
.PP
.IR Mach-stack (3)
.IM Mach-stack (3)
describes support for unwinding the stack.
.PP
.IR Mach-swap (3)
.IM Mach-swap (3)
describes helper functions for accessing data
in a particular byte order.
.PP
.IR Mach-symbol (3)
.IM Mach-symbol (3)
describes the interface to debugging symbol information.
.SH SOURCE
.B \*9/src/libmach
.SH "SEE ALSO
.IR mach-file (3),
.IR mach-map (3),
.IR mach-stack (3),
.IR mach-swap (3),
.IR mach-symbol (3)
.IM mach-file (3) ,
.IM mach-map (3) ,
.IM mach-stack (3) ,
.IM mach-swap (3) ,
.IM mach-symbol (3)