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/soelim.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'man/man1/soelim.1') diff --git a/man/man1/soelim.1 b/man/man1/soelim.1 index 6378d414..6b8f4652 100755 --- a/man/man1/soelim.1 +++ b/man/man1/soelim.1 @@ -11,19 +11,19 @@ soelim \- preprocess so inclusion commands in troff input .I Soelim reads the specified files or the standard input and performs the textual inclusion implied by -.IR troff (1) +.IM troff (1) directives of the form .TP .B "\&.so some_file .PP when they appear at the beginning of input lines. This is useful when using programs such as -.IR tbl (1) +.IM tbl (1) that do not normally do this, allowing placement of individual tables or other text objects in separate files to be run as a part of a large document. .SH SOURCE .B \*9/bin/soelim .SH "SEE ALSO" -.IR deroff (1), -.IR troff (1) +.IM deroff (1) , +.IM troff (1) -- 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/soelim.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'man/man1/soelim.1') diff --git a/man/man1/soelim.1 b/man/man1/soelim.1 index 6b8f4652..c7324035 100755 --- a/man/man1/soelim.1 +++ b/man/man1/soelim.1 @@ -11,19 +11,19 @@ soelim \- preprocess so inclusion commands in troff input .I Soelim reads the specified files or the standard input and performs the textual inclusion implied by -.IM troff (1) +.MR troff (1) directives of the form .TP .B "\&.so some_file .PP when they appear at the beginning of input lines. This is useful when using programs such as -.IM tbl (1) +.MR tbl (1) that do not normally do this, allowing placement of individual tables or other text objects in separate files to be run as a part of a large document. .SH SOURCE .B \*9/bin/soelim .SH "SEE ALSO" -.IM deroff (1) , -.IM troff (1) +.MR deroff (1) , +.MR troff (1) -- cgit v1.2.3