From 977b25a76ae8263e53fb4eb1abfc395769f23e3d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 13 Aug 2020 23:41:59 -0400 Subject: 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. --- man/man3/genrandom.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'man/man3/genrandom.3') diff --git a/man/man3/genrandom.3 b/man/man3/genrandom.3 index ddf481e4..320ecd14 100644 --- a/man/man3/genrandom.3 +++ b/man/man3/genrandom.3 @@ -25,11 +25,11 @@ number generator. The X9.17 generator is seeded by 24 truly random bytes read via .I truerand (see -.IR rand (3)). +.IM rand (3) ). .PP .I Prng uses the native -.IR rand (3) +.IM rand (3) pseudo-random number generator to fill the buffer. Used with .IR srand , this function can produce a reproducible stream of pseudo random @@ -38,8 +38,8 @@ numbers useful in testing. Both functions may be passed to .I mprand (see -.IR mp (3)). +.IM mp (3) ). .SH SOURCE .B \*9/src/libsec .SH SEE ALSO -.IR mp (3) +.IM mp (3) -- cgit v1.2.3 From d32deab17bfffa5bffc5fab3e6577558e40888c5 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 15 Aug 2020 20:07:38 -0400 Subject: tmac: rename IM (italic manual) to MR (manual reference) Suggested by G. Brandon Robinson. --- man/man3/genrandom.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'man/man3/genrandom.3') diff --git a/man/man3/genrandom.3 b/man/man3/genrandom.3 index 320ecd14..b5875635 100644 --- a/man/man3/genrandom.3 +++ b/man/man3/genrandom.3 @@ -25,11 +25,11 @@ number generator. The X9.17 generator is seeded by 24 truly random bytes read via .I truerand (see -.IM rand (3) ). +.MR rand (3) ). .PP .I Prng uses the native -.IM rand (3) +.MR rand (3) pseudo-random number generator to fill the buffer. Used with .IR srand , this function can produce a reproducible stream of pseudo random @@ -38,8 +38,8 @@ numbers useful in testing. Both functions may be passed to .I mprand (see -.IM mp (3) ). +.MR mp (3) ). .SH SOURCE .B \*9/src/libsec .SH SEE ALSO -.IM mp (3) +.MR mp (3) -- cgit v1.2.3