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

@ -15,7 +15,7 @@ converts
.I files
(or standard input),
which should be the device-independent output of
.IR troff (1),
.IM troff (1) ,
into the PostScript printer language.
.PP
The options are:
@ -29,7 +29,8 @@ to stretch the PostScript output (default 1.0).
Set a comment in the PostScript output
marking the number of copies that should be printed.
The comment is intended for ancient versions of the Unix
\fIlp\fR(1) and is not recognized by any current printer
.IR lp (1)
and is not recognized by any current printer
or print spooler.
.TP
.BI -d
@ -46,11 +47,11 @@ logical pages per physical page
Using this option emits PostScript with invalid document structuring
comments.
It will print fine but will not view correctly in
.IR gv (1)
.IM gv (1)
or
.I psv
(see
.IR page (1)).
.IM page (1) ).
.TP
.BI -o " pagelist
Print only the pages in the
@ -109,5 +110,5 @@ psv /tmp/a.ps
.SH SOURCE
.B \*9/src/cmd/postscript/tr2post
.SH SEE ALSO
.IR troff (1),
.IR psfonts (1)
.IM troff (1) ,
.IM psfonts (1)