8 Commits

Author SHA1 Message Date
Dmitri Vereshchagin
10564b1175 tmac/tmac.an: define .MR in a groff compatible way
groff 1.23.0 added .MR to its -man macro package.  The NEWS file states
that the inclusion of the macro "was prompted by its introduction to
Plan 9 from User Space's troff in August 2020."  From d32deab it seems
that the name for Plan 9 from User Space's implementation was suggested
by groff maintainer G. Brandon Robinson.

Not sure if the intention was to make these definitions compatible, but
it would be nice if they were.

Currently, Plan 9 from User Space's .MR expects its second argument to
be parenthesized.  groff's .MR does not.  This results in extra
parentheses appearing in manual references when viewing Plan 9 from User
Space's manual pages on a system using groff.
2025-07-27 09:58:50 -04:00
Russ Cox
d32deab17b tmac: rename IM (italic manual) to MR (manual reference)
Suggested by G. Brandon Robinson.
2020-08-15 20:09:40 -04:00
Russ Cox
977b25a76a 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.
2020-08-13 23:43:43 -04:00
David du Colombier
b97cbfdf91 venti-fmt(8): minor fix in synopsis
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4571051
2011-06-07 16:21:57 -04:00
David du Colombier
cbc99e3e52 man: import changes from plan 9
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4559071
2011-06-03 13:23:57 -04:00
Russ Cox
64ef09ff89 man: import fixes from plan 9 (0intro@gmail.com)
R=rsc
http://codereview.appspot.com/4515060
2011-05-10 13:46:17 -04:00
rsc
72efb66636 explain bloom 2005-07-24 13:45:11 +00:00
rsc
bdf5b5cde1 new man pages 2005-07-13 13:23:47 +00:00