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/man1/wintext.1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'man/man1/wintext.1') diff --git a/man/man1/wintext.1 b/man/man1/wintext.1 index 966b307b..269db2e0 100644 --- a/man/man1/wintext.1 +++ b/man/man1/wintext.1 @@ -22,11 +22,11 @@ wintext, ", "" \- access text in current window prints the text of the current .I win (see -.IR acme (1)), -.IR 9term (1), +.IM acme (1) ), +.IM 9term (1) , or (Unix's) -.IR tmux (1) +.IM tmux (1) window to standard output. .PP .I \*y @@ -43,7 +43,7 @@ prints the last command executed. prints the last command that .I \*y would print and then executes it by piping it into -.IR rc (1). +.IM rc (1) . .PP Both .I \*y @@ -61,7 +61,7 @@ or .BR # . .SH EXAMPLES Print the -.IR ls (1) +.IM ls (1) and .I lc commands executed in this window: @@ -87,8 +87,8 @@ ramfs rc read rio rm % .EE .SH SEE ALSO -.IR 9term (1), -.IR acme (1) +.IM 9term (1) , +.IM acme (1) .SH SOURCE .B \*9/bin .SH BUGS @@ -96,5 +96,5 @@ ramfs rc read rio rm and .I \*(yy are hard to type in shells other than -.IR rc (1). +.IM rc (1) . .\" and in troff! -- 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/man1/wintext.1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'man/man1/wintext.1') diff --git a/man/man1/wintext.1 b/man/man1/wintext.1 index 269db2e0..b7108e46 100644 --- a/man/man1/wintext.1 +++ b/man/man1/wintext.1 @@ -22,11 +22,11 @@ wintext, ", "" \- access text in current window prints the text of the current .I win (see -.IM acme (1) ), -.IM 9term (1) , +.MR acme (1) ), +.MR 9term (1) , or (Unix's) -.IM tmux (1) +.MR tmux (1) window to standard output. .PP .I \*y @@ -43,7 +43,7 @@ prints the last command executed. prints the last command that .I \*y would print and then executes it by piping it into -.IM rc (1) . +.MR rc (1) . .PP Both .I \*y @@ -61,7 +61,7 @@ or .BR # . .SH EXAMPLES Print the -.IM ls (1) +.MR ls (1) and .I lc commands executed in this window: @@ -87,8 +87,8 @@ ramfs rc read rio rm % .EE .SH SEE ALSO -.IM 9term (1) , -.IM acme (1) +.MR 9term (1) , +.MR acme (1) .SH SOURCE .B \*9/bin .SH BUGS @@ -96,5 +96,5 @@ ramfs rc read rio rm and .I \*(yy are hard to type in shells other than -.IM rc (1) . +.MR rc (1) . .\" and in troff! -- cgit v1.2.3